com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class AmpAccordion



  • public class AmpAccordion
    extends AmpComponent

    A UI element that facilitates showing/hiding different sections.

    • Constructor Detail

      • AmpAccordion

        public AmpAccordion()
    • Method Detail

      • getSections

        public final List<Section> getSections()

        List of sections.

      • getDisableSessionStates

        public final boolean getDisableSessionStates()

        Set this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion.

      • setDisableSessionStates

        public final void setDisableSessionStates(boolean value)

        Set this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion.

      • getExpandSingleSection

        public final boolean getExpandSingleSection()

        Set this attribute on the amp-accordion to only allow one section to be expanded at a time.

      • setExpandSingleSection

        public final void setExpandSingleSection(boolean value)

        Set this attribute on the amp-accordion to only allow one section to be expanded at a time.

      • toAmpHtml

        public String toAmpHtml()

        Represents amp html version of component.

        Specified by:
        toAmpHtml in class AmpComponent
        Returns:
      • toHtml

        public String toHtml()

        Represents html version of component.

        Specified by:
        toHtml in class AmpComponent
        Returns: