Self-registering global web component that manages the overall UI on the attached div
tag.
Designed to be used as a helper method for the included WebComponents. A full tutorial on how to work with and customize the web components can be found here: Web Component Interface.
This component keeps track of open menus and dialogs and attaches click and tap (onclick or ontouch) events to close them.
By default, this web component is attached to the body
element, but it can be attached to a
div
tag if this behavior is too broad for your particular implementation.
- See: