WebComponent
Implement this class to build a WebComponent.
Functions
Link copied to clipboard
lifecycle-callback that is called, when an instance is adopted by another DOM
Link copied to clipboard
this callback is used, when building the component in native-js (since ES2015-classes are not supported by Kotlin/JS by now)
Link copied to clipboard
convenience method to get a Flow of the changes of a specific observed attributes.
Link copied to clipboard
lifecycle-callback that is called, when an instance of the component is added to the DOM
Link copied to clipboard
lifecycle-callback that is called, when an instance of the component is removed from the DOM
Link copied to clipboard
this method builds the content of the WebComponent that will be added to it's shadow-DOM.
Link copied to clipboard
Link copied to clipboard
call this method in init to link an external stylesheet.
Link copied to clipboard
call this method in add style information from a static String.