hyper-element 0.12.0 → 0.13.0
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.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -521,7 +521,7 @@ Being able to set attributes at run-time should be the same for dealing with a n
|
|
|
521
521
|
|
|
522
522
|
**⚠ To support dynamic attributes on custom elements YOU MUST USE `customElements.define` which requires native ES6 support! Use `/build/hyperElement.min.js`.**
|
|
523
523
|
|
|
524
|
-
This is what allows for the passing any dynamic attributes from parent to child custom element! You can also pass a `function` to a child element (that extends hyperElement).
|
|
524
|
+
This is what allows for the passing any dynamic attributes from parent to child custom element! You can also pass a `function`, `boolean`, `number`, or `object` to a child element (that extends hyperElement).
|
|
525
525
|
|
|
526
526
|
**Example:**
|
|
527
527
|
|
package/package.json
CHANGED