AmpAttributes Properties

The AmpAttributes type exposes the following members.

Properties
  NameDescription
Public propertyHeight
Height of element.
Public propertyHeigths
The value of this attribute is a sizes expression based on media expressions.
Public propertyIsFallback
Define that current element is fallback.
Public propertyIsNoloading
The noloading attribute indicates whether the "loading indicator" should be turned off for this element.
Public propertyIsPlaceHolder
The placeholder attribute indicates that the element marked with this attribute acts as a placeholder for the parent AMP element.
Public propertyLayout
AMP provides a set of layouts that specify how an AMP component behaves in the document layout.
Public propertyMedia
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.
Public propertyOn
The on attribute is used to install event handlers on elements.
Public propertySizes
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.
Public propertyWidth
Width of element.
See Also