Bruce B. Anderson's repositories
trans-render
trans-render provides an alternative way of instantiating a template.
be-importing
Import Static, Declarative HTML Web Components with Streaming HTML
be-enhanced
Provides a base class that enables "casting spells" on DOM elements by enhancing server-rendered DOM elements based on cross-cutting custom attributes. Can also perform "non-verbal" spells programmatically during template instantiation (for example).
xtal-element
Opinionated Web Component Helpers
be-switched
be-switched is a template behavior that lazy loads content when conditions are met.
time-ticker
Web Component that fires event periodically
be-a-beacon
Causes the HTMLTemplate (or any other element it adorns) to emit bubbling event 'i-am-here", the moment it is connected to the live DOM tree.
be-exportable
Make exports from inside a script tag accessible from the DOM.
be-propagating
Creates a subscribable EventTarget, which watches for changes to a provided list of properties of the element it adorns, and the event target emits events with the same name every time the property value changes
be-repeated
Provides standalone support for repeated DOM generation. Like web components, it can work anywhere HTML works. It provides progressive enhancement to server-rendered content, without requiring use of templates.
be-sharing
Share values from (enhancements of) the adorned element to other neighboring DOM (custom) elements, specializing in, but not limited to, microdata enhanced elements.
be-value-added
Enhances some built-in elements with a "value" property, which other enhancements use to provide formatting and binding support.
be-written
Stream a url to a target DOM element.
scratch-box
Web component wrapper around custom animated checkbox (from codepen)