amp-inline-gallery docs and validation rules#26109
amp-inline-gallery docs and validation rules#26109sparhami wants to merge 2 commits intoampproject:masterfrom
Conversation
|
Hey @ampproject/wg-caching, these files were changed:
|
honeybadgerdontcare
left a comment
There was a problem hiding this comment.
some minor changes, but otherwise looks good for validation
extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-pagination.html
Outdated
Show resolved
Hide resolved
extensions/amp-inline-gallery/0.1/test/validator-amp-inline-gallery-thumbnails.html
Outdated
Show resolved
Hide resolved
extensions/amp-inline-gallery/validator-amp-inline-gallery.protoascii
Outdated
Show resolved
Hide resolved
extensions/amp-inline-gallery/validator-amp-inline-gallery.protoascii
Outdated
Show resolved
Hide resolved
extensions/amp-inline-gallery/validator-amp-inline-gallery.protoascii
Outdated
Show resolved
Hide resolved
extensions/amp-inline-gallery/validator-amp-inline-gallery.protoascii
Outdated
Show resolved
Hide resolved
extensions/amp-inline-gallery/validator-amp-inline-gallery.protoascii
Outdated
Show resolved
Hide resolved
CrystalOnScript
left a comment
There was a problem hiding this comment.
Some large restructuring requests for this one. Let me know if you have any questions :)
| The above example shows slides using an aspect ratio of 3:2, with 10% of a slide peeking on either side. Note that the carousel itself uses an aspect ratio of 3.6:2 since we show 1.2 slides at a time. | ||
|
|
||
| ### Using pagination indicators | ||
|
|
There was a problem hiding this comment.
Insert a section above here:
"Display pagination indicators by including the <amp-inline-gallery-pagination> element within the <amp-inline-gallery"> component."
Small code sample here please :)
| Where `media` is a [CSS Media Query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries), which controls which pagination configuration to display. | ||
|
|
||
| ### Using thumbnails | ||
|
|
There was a problem hiding this comment.
Insert a section above here:
"Display thumbnails by including the <amp-inline-gallery-thumbnails> element within the <amp-inline-gallery"> component."
Small code sample here please :)
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
honeybadgerdontcare
left a comment
There was a problem hiding this comment.
nit: it's 2020 now, copyright could probably be updated ;)
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
|
Closing in favor of #26708, since CLA signing broke when making changes necessary for merge. |
amp-inline-galleryelements and linking toamp-base-carouselfor its usage.amp-inline-galleryelements.amp-inline-gallery.