-
-
Notifications
You must be signed in to change notification settings - Fork 5
Component
This decorator is the heart of the framework. It allows the framework to find the elements and child elements based on the selectors and to initialize the template object.
A brief list of all possible configurations that can be made to the component.
The selector property is described in detail here.
The matches elements of the selector option are matched against this selector. A warning is logged into the console if the elements do not match. This is only used for error prevention if a third party uses created components.
Only elements within the element that was found using the selector are searched. The configuration is expected to be an array of strings corresponding to the data attributes of the target elements.
The results of the childrenSelectors property is described in detail here.
The template property is described in detail here.
The external used Template (templateUrl property) is stored inside the localStorage if this property is set to true
- Classes
- Decorators
- CustomEvents
- Helpers
- Interfaces
- Polyfills