Skip to content

Commit

Permalink
Added example of usage of carousel arrows (#5397)
Browse files Browse the repository at this point in the history
* Added example of usage of carousel arrows

* Added type of markdown (html)
  • Loading branch information
alex-moreno authored and erwinmombay committed Oct 7, 2016
1 parent 744f158 commit f505854
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions extensions/amp-carousel/amp-carousel.md
Expand Up @@ -65,6 +65,12 @@ Visibility of arrows can also be controlled via styling, and a media query can b
only display arrows at certain screen widths. On desktop, arrows will always be displayed
unless only a single child is present.

Usage example:

```html
<amp-carousel width="100" height="100" controls layout="responsive" type="slides">
```

**type**
- `carousel` (default) - All slides are shown and are scrollable horizontally.
Be aware that `type=carousel` does not currently support `layout=responsive`.
Expand Down

0 comments on commit f505854

Please sign in to comment.