Base class to representation amp components. More...
Inherits Object.
Inherited by Aspose::Email::Amp::AmpAccordion, Aspose::Email::Amp::AmpCarousel, Aspose::Email::Amp::AmpFitText, Aspose::Email::Amp::AmpForm, Aspose::Email::Amp::AmpImage, and Aspose::Email::Amp::AmpTimeago.
Public Member Functions | |
virtual System::String | get_RequiredScript ()=0 |
Required script that muct be added to head section. More... | |
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... | |
virtual System::String | ToAmpHtml ()=0 |
Represents amp html version of component. More... | |
virtual System::String | ToHtml ()=0 |
Represents html version of component. More... | |
AmpComponent () | |
Base class to representation amp components.
Aspose::Email::Amp::AmpComponent::AmpComponent | ( | ) |
System::SharedPtr<AmpAttributes> Aspose::Email::Amp::AmpComponent::get_Attributes | ( | ) | const |
AMP provides a set of common attributes that are extended to many AMP components.
System::String Aspose::Email::Amp::AmpComponent::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.
System::SharedPtr<AmpComponent> Aspose::Email::Amp::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.
|
pure virtual |
Required script that muct be added to head section.
Implemented in Aspose::Email::Amp::AmpTimeago, Aspose::Email::Amp::AmpImage, Aspose::Email::Amp::AmpForm, Aspose::Email::Amp::AmpFitText, Aspose::Email::Amp::AmpCarousel, Aspose::Email::Amp::AmpAnim, and Aspose::Email::Amp::AmpAccordion.
void Aspose::Email::Amp::AmpComponent::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.
void Aspose::Email::Amp::AmpComponent::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.
|
pure virtual |
Represents amp html version of component.
Implemented in Aspose::Email::Amp::AmpTimeago, Aspose::Email::Amp::AmpImage, Aspose::Email::Amp::AmpForm, Aspose::Email::Amp::AmpFitText, Aspose::Email::Amp::AmpCarousel, Aspose::Email::Amp::AmpAnim, and Aspose::Email::Amp::AmpAccordion.
|
pure virtual |
Represents html version of component.
Implemented in Aspose::Email::Amp::AmpTimeago, Aspose::Email::Amp::AmpImage, Aspose::Email::Amp::AmpForm, Aspose::Email::Amp::AmpFitText, Aspose::Email::Amp::AmpCarousel, and Aspose::Email::Amp::AmpAccordion.