Aspose::Email::Amp::AmpComponent Class Referenceabstract

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< AmpAttributesget_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< AmpComponentget_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 ()
 

Detailed Description

Base class to representation amp components.

Constructor & Destructor Documentation

◆ AmpComponent()

Aspose::Email::Amp::AmpComponent::AmpComponent ( )

Member Function Documentation

◆ get_Attributes()

System::SharedPtr<AmpAttributes> Aspose::Email::Amp::AmpComponent::get_Attributes ( ) const

AMP provides a set of common attributes that are extended to many AMP components.

◆ get_Fallback()

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.

◆ get_Placeholder()

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.

◆ get_RequiredScript()

virtual System::String Aspose::Email::Amp::AmpComponent::get_RequiredScript ( )
pure virtual

◆ set_Fallback()

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.

◆ set_Placeholder()

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.

◆ ToAmpHtml()

virtual System::String Aspose::Email::Amp::AmpComponent::ToAmpHtml ( )
pure virtual

◆ ToHtml()

virtual System::String Aspose::Email::Amp::AmpComponent::ToHtml ( )
pure virtual