@duckafire/html.js 0.3.0-1 → 0.3.0-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -232,7 +232,7 @@ will be overrided.
232
232
  #### Set default values
233
233
 
234
234
  * `void htmljs_set_default_properties_values(tag: string[, validateTag: boolean = false], htmlProperties: object)`
235
- * `void htmljs_set_default_properties_values( [validateTag: boolean = false ,] args: array )`
235
+ * `void htmljs_set_default_properties_values( [validateTag: boolean = false ,] args: object )`
236
236
  * `tag`: element whose properties will receive a, or more, default value(s).
237
237
  * `validateTag`: specifics if `tag` have to be validated (check if it exists or not).
238
238
  * `htmlProperties`: all tags, and their default values, that will receive a default
@@ -250,12 +250,17 @@ will be overrided.
250
250
  #### Unset default values
251
251
 
252
252
  * `void htmljs_unset_default_properties_values(tag: string[, validateTag: boolean = false], htmlProperties: array)`
253
- * `void htmljs_unset_default_properties_values( [validateTag: boolean = false ,] args: array )`
253
+ * `void htmljs_unset_default_properties_values( [validateTag: boolean = false ,] args: object )`
254
254
  * `tag`: element whose properties will lose a, or more, default value(s).
255
255
  * `validateTag`: specifics if `tag` have to be validated (check if it exists or not).
256
256
  * `htmlProperties`: a list of properties that will lose their default values.
257
257
  * `args`: an object containing a list of tags, with their HTML properties.
258
258
 
259
+ > [!IMPORTANT]
260
+ > The properties names used in this function must be equal the named used in
261
+ > `htmljs_set_default_properties_values`. Therefore, if `fontSize` was set this
262
+ > function only will recognize it - so `"font-size"` will not work.
263
+
259
264
  > [!NOTE] \
260
265
  > These values are global, they affects all the *Creation Functions* call that occur
261
266
  > after that it is called. *Special Properties* are included too, but their
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@duckafire/html.js",
3
3
  "author": "duckafire",
4
- "version": "0.3.0-1",
4
+ "version": "0.3.0-2",
5
5
  "license": "Zlib",
6
6
  "description": "Just a very simple components library.",
7
7
  "keywords": ["front-end", "client", "html", "dom", "light", "components", "web", "simple", "minimalist", "easy"],