This package includes a few mixins(HOCs) for Component Register.
fn is a function at that returns an object to merge into the components options.
Provides a 'events' as a property to your component with a number of event helpers.
Providers a 'timer' property which has release safe delay and interval methods.
Provides mechanism to polyfill shadydom css in unsupporting browsers. Registers the custom element.
This library also exposes the CSS Polyfill directly with:
Pass in a element and key and it will assign a CSSId for the CSSPolyfill. withShadyCSS does this for you automatically for your custom elements. One limitation is this polyfill only supports a single style tag per shadowroot.
This method uses a mutation observer to transform elements and style tags to work with the updated scoped styles. You must call this on application startup for the polyfill to work both directly and withShadyCSS.