You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/amp-list/amp-list.md
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -298,7 +298,8 @@ An `<amp-list-load-more>` element with the `load-more-button` attribute, which s
298
298
>
299
299
...
300
300
<amp-list-load-moreload-more-button>
301
-
<button>See More</button> /* My custom see more button */
301
+
<!-- My custom see more button -->
302
+
<button>See More</button>
302
303
</amp-list-load-more>
303
304
</amp-list>
304
305
```
@@ -337,7 +338,8 @@ This element is a loader that will be displayed if the user reaches the end of t
337
338
>
338
339
...
339
340
<amp-list-load-moreload-more-loading>
340
-
<svg>...</svg> /* My custom loader */
341
+
<!-- My custom loader -->
342
+
<svg>...</svg>
341
343
</amp-list-load-more>
342
344
</amp-list>
343
345
```
@@ -392,7 +394,8 @@ This element is not provided by default, but if a `<amp-list-load-more>` element
392
394
>
393
395
...
394
396
<amp-list-load-moreload-more-end>
395
-
Congratulations! You've reached the end. /* Custom load-end element */
397
+
<!-- Custom load-end element -->
398
+
Congratulations! You've reached the end.
396
399
</amp-list-load-more>
397
400
</amp-list>
398
401
```
@@ -573,8 +576,6 @@ The AMP for Email spec disallows the use of the following attributes on the AMP
573
576
574
577
[/filter]<!-- formats="email" -->
575
578
576
-
[filter formats="websites, stories"]
577
-
578
579
## Validation
579
580
580
581
See [amp-list rules](https://github.com/ampproject/amphtml/blob/master/extensions/amp-list/validator-amp-list.protoascii) in the AMP validator specification.
0 commit comments