m-list
Displays dynamic content from a CORS-enabled JSON source. Data is rendered using the specified template.
Attributes
Attribute | Default Value | Description |
---|---|---|
src | Required. URL of the data source for amp-list | |
data-title | Defines the name of the form when saving in Pixcraft | |
max-items | Maximum number of items to display |
Example
html
<m-list src="https://pixcraft.io/amp/get/123?key=mykey&format=json" max-items="3">
<div>[[comment]]</div>
</m-list>