Commit graph

12 commits

Author SHA1 Message Date
Ayo
f8aac1420f counter example 2023-11-20 22:14:37 +01:00
Ayo
6869ccb3e7 feat: more explainer for using WebComponent.props
- update readme with more read/write access explanation and example
- update demo page to use .props
2023-11-18 10:31:12 +01:00
Ayo
910a5096d0 feat: props Proxy for camelCase counterparts
- provide easy access to any observed attribute.
- update README examples
- update JSDoc examples
2023-11-17 23:10:02 +01:00
Ayo
aabbb09c89 feat: better example to show observed attrs are only smallcase 2023-11-17 16:08:25 +01:00
Ayo
bef423fde1 feat: support boolean attribute
if no value is passed to an attribute it returns 'true'
2023-11-17 15:42:45 +01:00
Ayo
8a977ce3e2 feat: access kebab-case props with camelCase counterpart 2023-10-20 11:58:36 +02:00
Ayo
c360bd1b7f feat: make package type module; rename to .mjs 2023-10-19 18:10:10 +02:00
Ayo
9568c4e0d4 feat: onDestroy life-cycle hook 2023-09-25 18:15:55 +02:00
Ayo
0ba7738da1 feat: only call onChanges when previousValue !== currentValue 2023-09-17 13:48:57 +02:00
Ayo
1287b42186 chore: formatting; add sample 2023-09-17 01:36:58 +02:00
Ayo
9b10824928 chore: update examples 2023-09-17 00:00:22 +02:00
Ayo
c9db257d98 chore: initialize package; update examples 2023-09-16 23:33:46 +02:00
Renamed from index.html (Browse further)