/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
examples/amp-list.ssr.html
29 строк
1009 B
Caroline Liu
Apply bulk transform to html tags (#34836)
15 июн 2021, 21:07
Не верифицирован
15 июн 2021, 21:07
3ace35c
Код
Авторство
О чём код?
<!doctype html> <html ⚡ allow-viewer-render-template lang="en"> <head> <meta charset="utf-8"> <script async src="https://cdn.ampproject.org/v0.js"></script> <script async custom-element="amp-bind" src="https://cdn.ampproject.org/v0/amp-bind-0.1.js"></script> <script async custom-element="amp-list" src="https://cdn.ampproject.org/v0/amp-list-0.1.js"></script> <script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.2.js"></script> <style amp4email-boilerplate>body{visibility:hidden}</style> </head> <body> <amp-state id="data"> <script type="application/json"> { "fruit": "Pineapple" } </script> </amp-state> <amp-list id="amp-list" width="auto" height="100" layout="fixed-height" max-items="5" src="https://lively-and-awesome.appspot.com/ssr_amp_list/"> <template type="amp-mustache"> <div class="product">{{name}}</div> </template> </amp-list> </body> </html>