22 Commits

Author SHA1 Message Date
8e11072b52 fix: missing s in base_clas 2023-12-31 09:10:20 -06:00
5ba459bcb6 Allow you to configure which element you inherit from. 2023-12-08 19:24:38 -05:00
2b00383712 Cleanup some TODOS 2023-12-08 18:48:41 -05:00
f03d1641d9 Add an attach shadow method 2023-11-25 21:09:12 -05:00
a63670b7d3 Allow mutable forms of the API 2023-11-21 23:03:41 -05:00
7b589373ed Fix some ambiguous wasm_bindgen crate references. 2023-11-21 19:44:14 -05:00
8ce79d34a5 Add the observed event handlers to the shadowRoot
If it exists then add it there. Otherwise add it to the custom element itself.
2023-11-15 21:00:45 -05:00
f41a9d3100 bug: Fix some bugs in the init wiring 2023-11-13 18:46:38 -05:00
76baa1871e feat: Add proper event listener support 2023-11-13 18:07:24 -05:00
8956f485a8 feat: init hook for element constructor 2023-11-13 17:54:14 -05:00
c39293636d maint: bump version to v0.2.0 2023-11-12 20:04:08 -05:00
2f7c3793c5 Add an api for retrieving the id of the element 2023-11-12 18:29:24 -05:00
e71a28b4e3 Add an api for TemplateElement definition. 2023-11-12 18:00:01 -05:00
9dbdccef78 Construct the ONCE name in a way that satisfies lint 2023-10-25 17:17:29 -04:00
55d743f01c fix: usings and lint stuff found by using in app 2023-09-23 12:13:42 -04:00
cb071f4ffc maint: Update version to 0.1.1 2023-08-18 17:14:13 -04:00
4f860a242b feat: Add a define_once method 2023-08-18 17:12:31 -04:00
e1d1b2c80b Setup event handling scaffolding 2022-10-10 16:58:46 -04:00
94e8ee07c6 Clean up the WebComponentHandle closure.
Had a misunderstanding regarding closure lifetimes.
2022-10-10 16:58:43 -04:00
7ffcab1416 Allow specifying the window to create elements in 2022-10-09 17:42:44 -04:00
c311de79b1 Make all the attribute args optional 2022-10-07 10:21:26 -04:00
3520d7b12c Cleanup naming of crates and adding docs 2022-10-06 23:51:33 -04:00