Commit graph

16 commits

Author SHA1 Message Date
Ayo
d54ff6fa94 fix: illegal invocation 2023-11-18 23:30:56 +01:00
Ayo
341424187b refactor: only pass setter to handler; initializeProps on attribute changes 2023-11-18 23:28:10 +01:00
Ayo
74e7c16335 refactor: add return types; organize code 2023-11-18 22:47:26 +01:00
Ayo
463136eea8 feat: assign DOMStringMap type to props 2023-11-18 02:50:03 +01:00
Ayo
b73a62dc35 feat: camelCase backwards compatibility 2023-11-18 00:45:35 +01:00
Ayo
2616591315 refactor: make props read-only 2023-11-17 23:31:10 +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
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
d3573ec5b2 chore: better example with explanations 2023-11-12 16:06:47 +01:00
Ayo
bfacf84b45 refactor: update jsdocs types & example 2023-11-10 22:04:46 +01:00
Ayo
157e9ed8cb fix: supper.connectedCallback doesn't exist 2023-11-09 11:01:19 +01:00
Ayo
d0e144953a feat: add jsdoc example and links 2023-11-06 23:59:46 +01:00
Ayo
feed3f7005 chore: deliver .js instead of .mjs 2023-10-29 18:10:42 +01: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
b3892cf95d feat: publish type definitions 2023-09-18 22:52:38 +02:00
Renamed from WebComponent.mjs (Browse further)