A UI element that facilitates showing/hiding different sections. More...
Inherits Aspose::Email::Amp::AmpComponent.
Public Member Functions | |
| System::SharedPtr< System::Collections::Generic::ListExt< System::SharedPtr< Section > > > | get_Sections () const |
| List of sections. More... | |
| bool | get_DisableSessionStates () const |
| Set this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion. More... | |
| void | set_DisableSessionStates (bool value) |
| Set this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion. More... | |
| bool | get_ExpandSingleSection () const |
| Set this attribute on the amp-accordion to only allow one section to be expanded at a time. More... | |
| void | set_ExpandSingleSection (bool value) |
| Set this attribute on the amp-accordion to only allow one section to be expanded at a time. More... | |
| System::String | get_RequiredScript () override |
| Required script that muct be added to head section. More... | |
| System::String | ToAmpHtml () override |
| Represents amp html version of component. More... | |
| System::String | ToHtml () override |
| Represents html version of component. More... | |
| AmpAccordion () | |
Public Member Functions inherited from Aspose::Email::Amp::AmpComponent | |
| System::SharedPtr< AmpAttributes > | get_Attributes () const |
| AMP provides a set of common attributes that are extended to many AMP components. More... | |
| System::String | get_Fallback () const |
| A fallback is a convention that allows the element to communicate to the reader that the browser does not support the element. More... | |
| void | set_Fallback (System::String value) |
| A fallback is a convention that allows the element to communicate to the reader that the browser does not support the element. More... | |
| System::SharedPtr< AmpComponent > | get_Placeholder () const |
| 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. More... | |
| void | set_Placeholder (System::SharedPtr< AmpComponent > value) |
| 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. More... | |
| AmpComponent () | |
A UI element that facilitates showing/hiding different sections.
| Aspose::Email::Amp::AmpAccordion::AmpAccordion | ( | ) |
| bool Aspose::Email::Amp::AmpAccordion::get_DisableSessionStates | ( | ) | const |
Set this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion.
| bool Aspose::Email::Amp::AmpAccordion::get_ExpandSingleSection | ( | ) | const |
Set this attribute on the amp-accordion to only allow one section to be expanded at a time.
|
overridevirtual |
Required script that muct be added to head section.
Implements Aspose::Email::Amp::AmpComponent.
| System::SharedPtr<System::Collections::Generic::ListExt<System::SharedPtr<Section> > > Aspose::Email::Amp::AmpAccordion::get_Sections | ( | ) | const |
List of sections.
| void Aspose::Email::Amp::AmpAccordion::set_DisableSessionStates | ( | bool | value | ) |
Set this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion.
| void Aspose::Email::Amp::AmpAccordion::set_ExpandSingleSection | ( | bool | value | ) |
Set this attribute on the amp-accordion to only allow one section to be expanded at a time.
|
overridevirtual |
|
overridevirtual |