Interface Accordion

    • Field Detail

      • PN_DESIGN_HEADING_ELEMENT

        static final java.lang.String PN_DESIGN_HEADING_ELEMENT
        Name of the configuration policy property that stores the default value for the accordion heading's HTML element.
        Since:
        com.adobe.cq.wcm.core.components.models 12.8.0
        See Also:
        getHeadingElement(), Constant Field Values
    • Method Detail

      • isSingleExpansion

        default boolean isSingleExpansion()
        Indicates whether the accordion forces a single item to be expanded at a time or not.
        Returns:
        true if the accordion forces a single item to be expanded at a time; false otherwise
        Since:
        com.adobe.cq.wcm.core.components.models 12.8.0
      • getExpandedItems

        default java.lang.String[] getExpandedItems()
        Returns the items that are expanded by default.
        Returns:
        the expanded items
        Since:
        com.adobe.cq.wcm.core.components.models 12.8.0
      • getHeadingElement

        default java.lang.String getHeadingElement()
        Returns the HTML element to use for accordion headers.
        Returns:
        the HTML element to use for accordion headers
        Since:
        com.adobe.cq.wcm.core.components.models 12.8.0