new TodoApp()
NB: Attributes not available here - use connectedCallback to reference
- Source:
Members
componentVersion
Component version
- Source:
componentVersion
Component version
- Source:
componentVersion
Component version
- Source:
(static) observedAttributes
Makes HTML attribute change watched
- Source:
(static) observedAttributes
Makes HTML attribute change watched
- Source:
(static) observedAttributes
Makes HTML attribute change watched
- Source:
Methods
attributeChangedCallback(attrib, oldVal, newVal)
Runs when an observed attribute changes - Note: values are always strings
NOTE: On initial startup, this is called for each watched attrib set in HTML - BEFORE connectedCallback is called.
Parameters:
Name | Type | Description |
---|---|---|
attrib |
string | Name of watched attribute that has changed |
oldVal |
string | The previous attribute value |
newVal |
string | The new attribute value |
- Source:
attributeChangedCallback(attrib, oldVal, newVal)
Runs when an observed attribute changes - Note: values are always strings
NOTE: On initial startup, this is called for each watched attrib set in HTML - BEFORE connectedCallback is called.
Parameters:
Name | Type | Description |
---|---|---|
attrib |
string | Name of watched attribute that has changed |
oldVal |
string | The previous attribute value |
newVal |
string | The new attribute value |
- Source:
attributeChangedCallback(attrib, oldVal, newVal)
Runs when an observed attribute changes - Note: values are always strings
NOTE: On initial startup, this is called for each watched attrib set in HTML - BEFORE connectedCallback is called.
Parameters:
Name | Type | Description |
---|---|---|
attrib |
string | Name of watched attribute that has changed |
oldVal |
string | The previous attribute value |
newVal |
string | The new attribute value |
- Source:
connectedCallback()
Runs when an instance is added to the DOM
- Source:
connectedCallback()
Runs when an instance is added to the DOM
- Source:
connectedCallback()
Runs when an instance is added to the DOM
- Source:
disconnectedCallback()
Runs when an instance is removed from the DOM
- Source:
disconnectedCallback()
Runs when an instance is removed from the DOM
- Source:
disconnectedCallback()
Runs when an instance is removed from the DOM
- Source: