AmpAttributes
Contents
[
Hide
]AmpAttributes class
Represents attributes used by the amp-components.
The AmpAttributes type exposes the following members:
Constructors
Name | Description |
---|---|
AmpAttributes() | Initializes a new instance of the AmpAttributes class |
Properties
Name | Description |
---|---|
is_fallback | Define that current element is fallback. |
heigths | The value of this attribute is a sizes expression based on media expressions. |
layout | AMP provides a set of layouts that specify how an AMP component behaves in the document layout. |
media | 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. |
is_noloading | The noloading attribute indicates whether the “loading indicator” should be turned off for this element. |
on | The on attribute is used to install event handlers on elements. |
is_place_holder | The placeholder attribute indicates that the element marked with this attribute acts as a placeholder for the parent AMP element. |
sizes | 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. |
width | Width of element. |
height | Height of element. |
Methods
Name | Description |
---|---|
to_amp_html() | |
to_html() |
See Also
- namespace aspose.email.amp
- assembly Aspose.Email