I've implemented a custom element 
<https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements>
 
for recurring tasks. I found this easier than implementing the same thing 
as a widget module <https://tiddlywiki.com/dev/#WidgetModules>, which seems 
to require constructing HTML indirectly via objects describing elements 
<https://github.com/tgrosinger/tw5-checklist/blob/master/js/checkbox-wikirule.js#L48>
.

How should this best be organized as a TW5 plugin? My initial thoughts are 
that the JS that defines the custom element and calls customElements.define 
should be a "startup" module while the template could be stored in an HTML 
tiddler.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/d674cd3f-154f-458e-a8bb-7dae2d60239a%40googlegroups.com.

Reply via email to