Class: CollapsibleHeadings

CollapsibleHeadings()

new CollapsibleHeadings()

NB: Attributes not available here - use connectedCallback to reference
Source:

Members

componentVersion

Component version
Source:

componentVersion

Component version
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
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
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:

disconnectedCallback()

Runs when an instance is removed from the DOM
Source:

disconnectedCallback()

Runs when an instance is removed from the DOM
Source:

processElement(element)

Process each found element node. Adds pointer cursor to the heading and wraps content in a div that can be collapsed.
Parameters:
Name Type Description
element HTMLElement The HTML element to process
Source:

processElement(element)

Process each found element node. Adds pointer cursor to the heading and wraps content in a div that can be collapsed.
Parameters:
Name Type Description
element HTMLElement The HTML element to process
Source:

processSlotContent(mutations)

Walk through slot content. Called once when connected and then every time slot content changes param {*} records Mutated records param {*} observer Reference to the observer object
Parameters:
Name Type Description
mutations
Source:

processSlotContent(mutations)

Walk through slot content. Called once when connected and then every time slot content changes param {*} records Mutated records param {*} observer Reference to the observer object
Parameters:
Name Type Description
mutations
Source:

CollapsibleHeadings()

new CollapsibleHeadings()

NB: Attributes not available here - use connectedCallback to reference
Source:

Members

componentVersion

Component version
Source:

componentVersion

Component version
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
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
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:

disconnectedCallback()

Runs when an instance is removed from the DOM
Source:

disconnectedCallback()

Runs when an instance is removed from the DOM
Source:

processElement(element)

Process each found element node. Adds pointer cursor to the heading and wraps content in a div that can be collapsed.
Parameters:
Name Type Description
element HTMLElement The HTML element to process
Source:

processElement(element)

Process each found element node. Adds pointer cursor to the heading and wraps content in a div that can be collapsed.
Parameters:
Name Type Description
element HTMLElement The HTML element to process
Source:

processSlotContent(mutations)

Walk through slot content. Called once when connected and then every time slot content changes param {*} records Mutated records param {*} observer Reference to the observer object
Parameters:
Name Type Description
mutations
Source:

processSlotContent(mutations)

Walk through slot content. Called once when connected and then every time slot content changes param {*} records Mutated records param {*} observer Reference to the observer object
Parameters:
Name Type Description
mutations
Source: