Represents attributes used by the amp-components. More...
Inherits Object.
Public Member Functions | |
bool | get_IsFallback () const |
Define that current element is fallback. More... | |
void | set_IsFallback (bool value) |
Define that current element is fallback. More... | |
System::String | get_Heigths () const |
The value of this attribute is a sizes expression based on media expressions. More... | |
void | set_Heigths (System::String value) |
The value of this attribute is a sizes expression based on media expressions. More... | |
LayoutType | get_Layout () const |
AMP provides a set of layouts that specify how an AMP component behaves in the document layout. More... | |
void | set_Layout (LayoutType value) |
AMP provides a set of layouts that specify how an AMP component behaves in the document layout. More... | |
System::String | get_Media () const |
The value of media is a media query. If the query does not match, the element is not rendered and its resources and potentially its child resources will not be fetched. If the browser window changes size or orientation, the media queries are re-evaluated and elements are hidden and shown based on the new results. More... | |
void | set_Media (System::String value) |
The value of media is a media query. If the query does not match, the element is not rendered and its resources and potentially its child resources will not be fetched. If the browser window changes size or orientation, the media queries are re-evaluated and elements are hidden and shown based on the new results. More... | |
bool | get_IsNoloading () const |
The noloading attribute indicates whether the "loading indicator" should be turned off for this element. More... | |
void | set_IsNoloading (bool value) |
The noloading attribute indicates whether the "loading indicator" should be turned off for this element. More... | |
System::String | get_On () const |
The on attribute is used to install event handlers on elements. More... | |
void | set_On (System::String value) |
The on attribute is used to install event handlers on elements. More... | |
bool | get_IsPlaceHolder () const |
The placeholder attribute indicates that the element marked with this attribute acts as a placeholder for the parent AMP element. More... | |
void | set_IsPlaceHolder (bool value) |
The placeholder attribute indicates that the element marked with this attribute acts as a placeholder for the parent AMP element. More... | |
System::String | get_Sizes () const |
The value of the AMP sizes attribute is a sizes expression that selects the defined size corresponding to the media query based on the current window size. More... | |
void | set_Sizes (System::String value) |
The value of the AMP sizes attribute is a sizes expression that selects the defined size corresponding to the media query based on the current window size. More... | |
int32_t | get_Width () const |
Width of element. More... | |
void | set_Width (int32_t value) |
Width of element. More... | |
int32_t | get_Height () const |
Height of element. More... | |
void | set_Height (int32_t value) |
Height of element. More... | |
virtual System::String | ToAmpHtml () |
Represents amp html version of attributes. More... | |
virtual System::String | ToHtml () |
Represents html version of attributes. More... | |
AmpAttributes () | |
Represents attributes used by the amp-components.
Aspose::Email::Amp::AmpAttributes::AmpAttributes | ( | ) |
int32_t Aspose::Email::Amp::AmpAttributes::get_Height | ( | ) | const |
Height of element.
System::String Aspose::Email::Amp::AmpAttributes::get_Heigths | ( | ) | const |
The value of this attribute is a sizes expression based on media expressions.
bool Aspose::Email::Amp::AmpAttributes::get_IsFallback | ( | ) | const |
Define that current element is fallback.
bool Aspose::Email::Amp::AmpAttributes::get_IsNoloading | ( | ) | const |
The noloading attribute indicates whether the "loading indicator" should be turned off for this element.
bool Aspose::Email::Amp::AmpAttributes::get_IsPlaceHolder | ( | ) | const |
The placeholder attribute indicates that the element marked with this attribute acts as a placeholder for the parent AMP element.
LayoutType Aspose::Email::Amp::AmpAttributes::get_Layout | ( | ) | const |
AMP provides a set of layouts that specify how an AMP component behaves in the document layout.
System::String Aspose::Email::Amp::AmpAttributes::get_Media | ( | ) | const |
The value of media is a media query. If the query does not match, the element is not rendered and its resources and potentially its child resources will not be fetched. If the browser window changes size or orientation, the media queries are re-evaluated and elements are hidden and shown based on the new results.
System::String Aspose::Email::Amp::AmpAttributes::get_On | ( | ) | const |
The on attribute is used to install event handlers on elements.
System::String Aspose::Email::Amp::AmpAttributes::get_Sizes | ( | ) | const |
The value of the AMP sizes attribute is a sizes expression that selects the defined size corresponding to the media query based on the current window size.
int32_t Aspose::Email::Amp::AmpAttributes::get_Width | ( | ) | const |
Width of element.
void Aspose::Email::Amp::AmpAttributes::set_Height | ( | int32_t | value | ) |
Height of element.
void Aspose::Email::Amp::AmpAttributes::set_Heigths | ( | System::String | value | ) |
The value of this attribute is a sizes expression based on media expressions.
void Aspose::Email::Amp::AmpAttributes::set_IsFallback | ( | bool | value | ) |
Define that current element is fallback.
void Aspose::Email::Amp::AmpAttributes::set_IsNoloading | ( | bool | value | ) |
The noloading attribute indicates whether the "loading indicator" should be turned off for this element.
void Aspose::Email::Amp::AmpAttributes::set_IsPlaceHolder | ( | bool | value | ) |
The placeholder attribute indicates that the element marked with this attribute acts as a placeholder for the parent AMP element.
void Aspose::Email::Amp::AmpAttributes::set_Layout | ( | LayoutType | value | ) |
AMP provides a set of layouts that specify how an AMP component behaves in the document layout.
void Aspose::Email::Amp::AmpAttributes::set_Media | ( | System::String | value | ) |
The value of media is a media query. If the query does not match, the element is not rendered and its resources and potentially its child resources will not be fetched. If the browser window changes size or orientation, the media queries are re-evaluated and elements are hidden and shown based on the new results.
void Aspose::Email::Amp::AmpAttributes::set_On | ( | System::String | value | ) |
The on attribute is used to install event handlers on elements.
void Aspose::Email::Amp::AmpAttributes::set_Sizes | ( | System::String | value | ) |
The value of the AMP sizes attribute is a sizes expression that selects the defined size corresponding to the media query based on the current window size.
void Aspose::Email::Amp::AmpAttributes::set_Width | ( | int32_t | value | ) |
Width of element.
|
virtual |
Represents amp html version of attributes.
|
virtual |
Represents html version of attributes.