AmpAccordion
Contents
[
Hide
]AmpAccordion class
A UI element that facilitates showing/hiding different sections.
The AmpAccordion type exposes the following members:
Constructors
Name | Description |
---|---|
AmpAccordion() | Initializes a new instance of the AmpAccordion class |
Properties
Name | Description |
---|---|
required_script | Required script that muct be added to head section. |
attributes | AMP provides a set of common attributes that are extended to many AMP components. |
fallback | A fallback is a convention that allows the element to communicate to the reader that the browser does not support the element. |
placeholder | The element marked with the placeholder attribute acts as a placeholder for the parent AMP element. If specified, a placeholder element must be a direct child of the AMP element. |
sections | List of sections. |
disable_session_states | Set this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion. |
expand_single_section | Set this attribute on the amp-accordion to only allow one section to be expanded at a time. |
Methods
Name | Description |
---|---|
to_amp_html() | |
to_html() |
See Also
- namespace aspose.email.amp
- assembly Aspose.Email