Members
(static) observedAttributes
Set observable values here. When Changed, attributeChangedCallback is invoked
Methods
(static) test()
FOR TESTING PURPOSES
_fetchAttributes(messageopt)
Component attributes are _fetched and defaults are set if undefined
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
message |
string |
<optional> |
NOTSET | message text |
_fetchElements()
Stores DOM elements of interest for future use
_finalize()
SAVE DATA FOR ANALYTICS
_onClick()
A sample callback usage function - see connectedCallback()
attributeChangedCallback()
Called with .setAttribute(...) function call
connectedCallback()
This function is called when this is attached to DOM
destroy()
Destroy the instance object and artifacts
disconnectedCallback()
Invoked When component is removed. Usually with a .remove() function call