APIs

Show:

Library for the flx-accordion.

Constructor

flexygo.ui.wc.FlxAccordionElement

() FlxAccordionElement

Returns:

FlxAccordionElement:

.

Methods

add

(
  • title
  • content
)

Adds title and content

Parameters:

  • title String
    • The title.
  • content Any
    • The content.

attributeChangedCallback

()

Fires when the attribute value of the element is changed.

connectedCallback

()

Fires when element is attached to DOM

toggle

(
  • itm
)

toggle through items

Parameters:

  • itm JQuery
    • The itm.

Properties

connected

Boolean

Set when component is attached to DOM

observedAttributes

Array

Array of observed attributes.