@zebra-fed/zeta-web
    Preparing search index...

    Class ZetaAccordion

    The accordion is a control element comprising a vertically stacked list of items, such as labels or thumbnails. Each item can be "expanded" or "collapsed" to reveal the content associated with that item. There can be zero expanded items, exactly one, or more than one item expanded at a time, depending on the configuration.

    The contents within the tag will be the child of the open accordion. Typically, this would be list items. Custom styles are applied to <li> elements to match Zeta styles.

    Hierarchy

    • ContourableInterface<this> & LitElement<this> & InteractiveInterface<this>
      • ZetaAccordion
    Index

    Other

    • Returns ZetaAccordion

    accordionTitle?: string

    The title of the accordion.

    contained: boolean = false

    Creates a border around the accordion.

    disabled: boolean
    open: boolean = false

    Whether the accordion is open.

    rounded: boolean
    styles: CSSResultGroup[] = ...

    rendering

    • Invoked on each update to perform rendering tasks. This method may return any value renderable by lit-html's ChildPart - typically a TemplateResult. Setting properties inside this method will not trigger the element to update.

      Returns TemplateResult<1>