Members
(static) observedAttributes
Set observable values here. When Changed, attributeChangedCallback is invoked
Methods
_fetchAttributes(titleopt)
Component attributes are _fetched and defaults are set if undefined
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
title |
string |
<optional> |
"Menus" | background color |
_fetchElements()
Stores DOM elements of interest for future use
_finalize()
SAVE DATA FOR ANALYTICS
_initialize()
SAVE DATA FOR ANALYTICS
_onClick()
A sample callback usage function - see connectedCallback()
_toggle()
SAVE DATA FOR ANALYTICS
attributeChangedCallback()
Called with .setAttribute(...) function call
configure()
configure the instance object and artifacts
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