Members
(static) observedAttributes
Set observable values here. When Changed, attributeChangedCallback is invoked
Methods
(static) test()
FOR TESTING PURPOSES
_fetchAttributes(author, version, widthopt, heightopt, activeopt)
Component attributes are fetched and defaults are set if not provided
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
author |
string | component owner | ||
version |
string | Latest version of this component | ||
width |
string |
<optional> |
100% | panel width |
height |
string |
<optional> |
100% | body height |
active |
integer |
<optional> |
0 | index of active tab |
_fetchElements()
Stores DOM elements of interest for future use
_finalize()
SAVE DATA FOR ANALYTICS
_init()
BUILDS OUT TABS
_onclick(which)
A sample callback usage function - see connectedCallback()
Parameters:
Name | Type | Description |
---|---|---|
which |
integer | index of tab that was clicked |
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
disconnectedCallback()
Invoked When component is removed. Usually with a .remove() function call