Commit graph

35 commits

Author SHA1 Message Date
736f850dd7 Rework attribute handling in Better 2021-08-03 16:32:19 +02:00
73a6c6767d Add disconnected handling parallel to connected 2021-08-03 14:42:40 +02:00
d620c8528a
Fix typo in onConnect method name 2021-08-02 23:00:33 +02:00
7a299cf07c
Add properties static property to avoid empty xChanged methods 2021-08-02 22:58:52 +02:00
57dacb29c0
Add onConnect callback to Better 2021-08-02 22:44:51 +02:00
f2f4c03d69
Make name filtering exclusive to HTML nodes 2021-07-30 12:12:00 +02:00
a9c4877198
Add special shadowRoot semantics 2021-07-21 12:19:10 +02:00
3c7109155e
Rename initialize to initialise in better.js 2021-06-30 13:54:37 +02:00
397d294f41 Prevent default on skooma event listeners 2021-06-24 15:58:11 +02:00
523a720196 Add comments documenting what stuff does 2021-06-23 16:21:33 +02:00
5cf868a904 Add listener.js 2021-06-23 16:04:33 +02:00
3421f340f7 Rename BetterHTMLElement to Better 2021-06-23 15:14:40 +02:00
124857f7f8
Add event listeners to skooma.js 2021-05-26 11:27:46 +02:00
62f974b878
Fix case of hyphenated skooma elements 2021-05-26 11:26:12 +02:00
544e18f9b8
Remove automatic skooma attribute hyphenation 2021-05-22 18:34:17 +02:00
be31d1fd44
Add mutation observer to BetterHTMLElement 2021-05-22 14:58:07 +02:00
0448cd2742
Update skooma.js to handle numbers 2021-05-22 14:34:17 +02:00
63a85b7570
Fix undeclared variable 2021-05-20 13:15:05 +02:00
fb6b86bf7f
Fix undefined variable in skooma.js 2021-05-17 17:19:32 +02:00
137f586400
Add option for customized built-in elements 2021-05-17 17:18:58 +02:00
60af0773a0
Make hyphenation in consistent with browser APIs
Javascript snake-case gets turned into kebab-case in HTML

Change name attribute in example to match
2021-05-02 10:35:55 +02:00
6f85103c63 Fix skooma.js syntax for strict mode 2021-03-05 13:29:21 +01:00
c16eb29161
Extend skooma to support SVG as well as HTML 2021-02-23 19:11:25 +01:00
5f27242b3f
Fix checking for template objects in skooma.js 2021-02-23 18:55:32 +01:00
d703ae148d
Refactor BetterHTMLElement with more meta-magic 2021-02-22 22:35:05 +01:00
f97ae06d3e
Remove setup function from template.js 2021-02-22 20:24:17 +01:00
7e72b33325
Remove uppercase node special case from skooma.js 2021-02-22 20:23:41 +01:00
7a61b965ba
Rename render to skooma.js 2021-02-22 18:37:53 +01:00
24ee30f72d
Add special case for templates to render script 2021-02-22 18:37:09 +01:00
da2f082939
Improve HTML render helper 2021-02-19 21:37:44 +01:00
79af2b74d8 Add skooma-like functional DOM rendering helper 2021-02-17 11:03:21 +01:00
c8fd5b1c40 Refactor scripts into ES6 modules 2021-02-17 11:02:58 +01:00
bbbb23427a Add Better HTML element class for custom elements 2020-10-27 16:40:38 +01:00
1e6c0de2ec Add template module to more easily write templates 2020-10-27 16:29:29 +01:00
2c5a6d323e Initial commit 🎊
- Add license (Unlicense)
- Add readme with basic introduction
2020-10-27 16:28:02 +01:00