AmpAccordion

AmpAccordion class

Inherits: Aspose::Email::Amp::AmpComponent

A UI element that facilitates showing/hiding different sections.

Constructors

NameDescription
AmpAccordion

Methods

NameDescription
get_DisableSessionStatesSet this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion.
get_ExpandSingleSectionSet this attribute on the amp-accordion to only allow one section to be expanded at a time.
get_RequiredScriptRequired script that muct be added to head section.
get_SectionsList of sections.
set_DisableSessionStatesSet this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion.
set_ExpandSingleSectionSet this attribute on the amp-accordion to only allow one section to be expanded at a time.
ToAmpHtmlRepresents amp html version of component.
ToHtmlRepresents html version of component.