@aurodesignsystem-dev/auro-slideshow 0.0.0-pr77.0 → 0.0.0-pr79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/demo/api.md CHANGED
@@ -11,17 +11,17 @@ with several options such as autoplay, navigation controls, and pagination dots.
11
11
  | Properties | Attributes | Modifiers | Type | Default | Description |
12
12
  | ----------- | ----------- | --------- | ------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
13
13
  | autoplay | autoplay | | boolean | | If true, the slideshow will play automatically. |
14
- | autoScroll | autoScroll | | boolean | | If true, the slideshow will scroll continuously. |
14
+ | autoScroll | autoscroll | | boolean | | If true, the slideshow will scroll continuously. |
15
15
  | delay | delay | | number | `7000` | Slide duration in milliseconds (Only used with `autoplay`). |
16
- | fullBleed | fullBleed | | boolean | | If set, the slideshow will take up the width of its parent container showing previous and next slides. **Note:** a parent container must have `overflow-x: hidden` to prevent horizontal scrolling. |
16
+ | fullBleed | fullbleed | | boolean | | If set, the slideshow will take up the width of its parent container showing previous and next slides. **Note:** a parent container must have `overflow-x: hidden` to prevent horizontal scrolling. |
17
17
  | loop | loop | | boolean | | If true, the slideshow will loop back to the first slide after reaching the last slide. |
18
18
  | navigation | navigation | | boolean | | If true, the slideshow will display navigation arrows for previous and next slides when the slide container is hovered. |
19
19
  | pagination | pagination | | boolean | | If true, the slideshow will display pagination dots for each slide. If autoplay is on, the active dot will also show a progress bar. |
20
- | pauseLabel | pauseLabel | | string | | DEPRECATED - Use `ariaLabel.slideshow.pause` instead. |
21
- | playLabel | playLabel | | string | | DEPRECATED - Use `ariaLabel.slideshow.play` instead. |
22
- | playOnInit | playOnInit | | boolean | | If true, the slideshow will start playing automatically on page load when `autoplay` or `autoScroll` are on. |
23
- | scrollSpeed | scrollSpeed | | number | `0.75` | Number of pixels auto scroll should advance per frame (Only used with `autoScroll`). |
24
- | startDelay | startDelay | | number | `1000` | Delay in milliseconds before the auto scroll starts (Only used with `autoScroll`). |
20
+ | playOnInit | playoninit | | boolean | | If true, the slideshow will start playing automatically on page load when `autoplay` or `autoScroll` are on. |
21
+ | scrollSpeed | scrollspeed | | number | `0.75` | Number of pixels auto scroll should advance per frame (Only used with `autoScroll`). |
22
+ | startDelay | startdelay | | number | `1000` | Delay in milliseconds before the auto scroll starts (Only used with `autoScroll`). |
23
+ | pauseLabel | pauselabel | | string | | Accessible label for the pause button. **Deprecated:** use `ariaLabel.slideshow.pause` instead. |
24
+ | playLabel | playlabel | | string | | Accessible label for the play button. **Deprecated:** use `ariaLabel.slideshow.play` instead. |
25
25
 
26
26
  ### Methods
27
27
 
@@ -55,51 +55,49 @@ with several options such as autoplay, navigation controls, and pagination dots.
55
55
  ## Basic
56
56
 
57
57
  <div class="exampleWrapper">
58
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
59
- <!-- The below content is automatically added from ./../apiExamples/basic.html -->
60
- <auro-slideshow>
61
- <div style="height: 480px">
62
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
63
- </div>
64
- <div style="height: 480px">
65
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
66
- </div>
67
- <div style="height: 480px">
68
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
69
- </div>
70
- <div style="height: 480px">
71
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
72
- </div>
73
- <div style="height: 480px">
74
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
75
- </div>
76
- </auro-slideshow>
77
- <!-- AURO-GENERATED-CONTENT:END -->
58
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
59
+ <!-- The below content is automatically added from ./../apiExamples/basic.html -->
60
+ <auro-slideshow>
61
+ <div style="height: 480px">
62
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
63
+ </div>
64
+ <div style="height: 480px">
65
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
66
+ </div>
67
+ <div style="height: 480px">
68
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
69
+ </div>
70
+ <div style="height: 480px">
71
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
72
+ </div>
73
+ <div style="height: 480px">
74
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
75
+ </div>
76
+ </auro-slideshow>
77
+ <!-- AURO-GENERATED-CONTENT:END -->
78
78
  </div>
79
79
  <auro-accordion alignRight>
80
- <span slot="trigger">See code</span>
80
+ <span slot="trigger">See code</span>
81
81
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basic.html) -->
82
82
  <!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
83
83
 
84
- ```html
85
- <auro-slideshow>
86
- <div style="height: 480px">
87
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
88
- </div>
89
- <div style="height: 480px">
90
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
91
- </div>
92
- <div style="height: 480px">
93
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
94
- </div>
95
- <div style="height: 480px">
96
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
97
- </div>
98
- <div style="height: 480px">
99
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
100
- </div>
101
- </auro-slideshow>
102
- ```
84
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow&gt;
85
+ &lt;div style="height: 480px"&gt;
86
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1"&gt;
87
+ &lt;/div&gt;
88
+ &lt;div style="height: 480px"&gt;
89
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2"&gt;
90
+ &lt;/div&gt;
91
+ &lt;div style="height: 480px"&gt;
92
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3"&gt;
93
+ &lt;/div&gt;
94
+ &lt;div style="height: 480px"&gt;
95
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4"&gt;
96
+ &lt;/div&gt;
97
+ &lt;div style="height: 480px"&gt;
98
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
99
+ &lt;/div&gt;
100
+ &lt;/auro-slideshow&gt;</code></pre>
103
101
  <!-- AURO-GENERATED-CONTENT:END -->
104
102
  </auro-accordion>
105
103
 
@@ -110,51 +108,49 @@ with several options such as autoplay, navigation controls, and pagination dots.
110
108
  Setting the `autoplay` attribute will render the play button so users can stop or start the slideshow.
111
109
 
112
110
  <div class="exampleWrapper">
113
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/autoplay.html) -->
114
- <!-- The below content is automatically added from ./../apiExamples/autoplay.html -->
115
- <auro-slideshow autoplay playOnInit loop>
116
- <div style="height: 480px">
117
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
118
- </div>
119
- <div style="height: 480px">
120
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
121
- </div>
122
- <div style="height: 480px">
123
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
124
- </div>
125
- <div style="height: 480px">
126
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
127
- </div>
128
- <div style="height: 480px">
129
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
130
- </div>
131
- </auro-slideshow>
132
- <!-- AURO-GENERATED-CONTENT:END -->
111
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/autoplay.html) -->
112
+ <!-- The below content is automatically added from ./../apiExamples/autoplay.html -->
113
+ <auro-slideshow autoplay playOnInit loop>
114
+ <div style="height: 480px">
115
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
116
+ </div>
117
+ <div style="height: 480px">
118
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
119
+ </div>
120
+ <div style="height: 480px">
121
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
122
+ </div>
123
+ <div style="height: 480px">
124
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
125
+ </div>
126
+ <div style="height: 480px">
127
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
128
+ </div>
129
+ </auro-slideshow>
130
+ <!-- AURO-GENERATED-CONTENT:END -->
133
131
  </div>
134
132
  <auro-accordion alignRight>
135
- <span slot="trigger">See code</span>
133
+ <span slot="trigger">See code</span>
136
134
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/autoplay.html) -->
137
135
  <!-- The below code snippet is automatically added from ./../apiExamples/autoplay.html -->
138
136
 
139
- ```html
140
- <auro-slideshow autoplay playOnInit loop>
141
- <div style="height: 480px">
142
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
143
- </div>
144
- <div style="height: 480px">
145
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
146
- </div>
147
- <div style="height: 480px">
148
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
149
- </div>
150
- <div style="height: 480px">
151
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
152
- </div>
153
- <div style="height: 480px">
154
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
155
- </div>
156
- </auro-slideshow>
157
- ```
137
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow autoplay playOnInit loop&gt;
138
+ &lt;div style="height: 480px"&gt;
139
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1"&gt;
140
+ &lt;/div&gt;
141
+ &lt;div style="height: 480px"&gt;
142
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2"&gt;
143
+ &lt;/div&gt;
144
+ &lt;div style="height: 480px"&gt;
145
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3"&gt;
146
+ &lt;/div&gt;
147
+ &lt;div style="height: 480px"&gt;
148
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4"&gt;
149
+ &lt;/div&gt;
150
+ &lt;div style="height: 480px"&gt;
151
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
152
+ &lt;/div&gt;
153
+ &lt;/auro-slideshow&gt;</code></pre>
158
154
  <!-- AURO-GENERATED-CONTENT:END -->
159
155
  </auro-accordion>
160
156
 
@@ -167,51 +163,49 @@ Setting the `autoScroll` attribute will also render the play button, but unlike
167
163
  `autoScroll` is disabled on mobile devices.
168
164
 
169
165
  <div class="exampleWrapper">
170
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/autoscroll.html) -->
171
- <!-- The below content is automatically added from ./../apiExamples/autoscroll.html -->
172
- <auro-slideshow navigation autoScroll playOnInit loop>
173
- <div style="height: 480px; max-width: 400px;">
174
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
175
- </div>
176
- <div style="height: 480px; max-width: 400px;">
177
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
178
- </div>
179
- <div style="height: 480px; max-width: 400px;">
180
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
181
- </div>
182
- <div style="height: 480px; max-width: 400px;">
183
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
184
- </div>
185
- <div style="height: 480px; max-width: 400px;">
186
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
187
- </div>
188
- </auro-slideshow>
189
- <!-- AURO-GENERATED-CONTENT:END -->
166
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/autoscroll.html) -->
167
+ <!-- The below content is automatically added from ./../apiExamples/autoscroll.html -->
168
+ <auro-slideshow navigation autoScroll playOnInit loop>
169
+ <div style="height: 480px; max-width: 400px;">
170
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
171
+ </div>
172
+ <div style="height: 480px; max-width: 400px;">
173
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
174
+ </div>
175
+ <div style="height: 480px; max-width: 400px;">
176
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
177
+ </div>
178
+ <div style="height: 480px; max-width: 400px;">
179
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
180
+ </div>
181
+ <div style="height: 480px; max-width: 400px;">
182
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
183
+ </div>
184
+ </auro-slideshow>
185
+ <!-- AURO-GENERATED-CONTENT:END -->
190
186
  </div>
191
187
  <auro-accordion alignRight>
192
- <span slot="trigger">See code</span>
188
+ <span slot="trigger">See code</span>
193
189
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/autoscroll.html) -->
194
190
  <!-- The below code snippet is automatically added from ./../apiExamples/autoscroll.html -->
195
191
 
196
- ```html
197
- <auro-slideshow navigation autoScroll playOnInit loop>
198
- <div style="height: 480px; max-width: 400px;">
199
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
200
- </div>
201
- <div style="height: 480px; max-width: 400px;">
202
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
203
- </div>
204
- <div style="height: 480px; max-width: 400px;">
205
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
206
- </div>
207
- <div style="height: 480px; max-width: 400px;">
208
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
209
- </div>
210
- <div style="height: 480px; max-width: 400px;">
211
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
212
- </div>
213
- </auro-slideshow>
214
- ```
192
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow navigation autoScroll playOnInit loop&gt;
193
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
194
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1"&gt;
195
+ &lt;/div&gt;
196
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
197
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2"&gt;
198
+ &lt;/div&gt;
199
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
200
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3"&gt;
201
+ &lt;/div&gt;
202
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
203
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4"&gt;
204
+ &lt;/div&gt;
205
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
206
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5"&gt;
207
+ &lt;/div&gt;
208
+ &lt;/auro-slideshow&gt;</code></pre>
215
209
  <!-- AURO-GENERATED-CONTENT:END -->
216
210
  </auro-accordion>
217
211
 
@@ -220,51 +214,49 @@ Setting the `autoScroll` attribute will also render the play button, but unlike
220
214
  To set a custom slide duration on an `autoplay` slideshow, use the `delay` attribute to pass in a new value in milliseconds. The default value is 7000. This will show each slide for 7 seconds before moving to the next slide.
221
215
 
222
216
  <div class="exampleWrapper">
223
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/delay.html) -->
224
- <!-- The below content is automatically added from ./../apiExamples/delay.html -->
225
- <auro-slideshow autoplay delay="2000">
226
- <div style="height: 480px">
227
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
228
- </div>
229
- <div style="height: 480px">
230
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
231
- </div>
232
- <div style="height: 480px">
233
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
234
- </div>
235
- <div style="height: 480px">
236
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
237
- </div>
238
- <div style="height: 480px">
239
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
240
- </div>
241
- </auro-slideshow>
242
- <!-- AURO-GENERATED-CONTENT:END -->
217
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/delay.html) -->
218
+ <!-- The below content is automatically added from ./../apiExamples/delay.html -->
219
+ <auro-slideshow autoplay delay="2000">
220
+ <div style="height: 480px">
221
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
222
+ </div>
223
+ <div style="height: 480px">
224
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
225
+ </div>
226
+ <div style="height: 480px">
227
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
228
+ </div>
229
+ <div style="height: 480px">
230
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
231
+ </div>
232
+ <div style="height: 480px">
233
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
234
+ </div>
235
+ </auro-slideshow>
236
+ <!-- AURO-GENERATED-CONTENT:END -->
243
237
  </div>
244
238
  <auro-accordion alignRight>
245
- <span slot="trigger">See code</span>
239
+ <span slot="trigger">See code</span>
246
240
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/delay.html) -->
247
241
  <!-- The below code snippet is automatically added from ./../apiExamples/delay.html -->
248
242
 
249
- ```html
250
- <auro-slideshow autoplay delay="2000">
251
- <div style="height: 480px">
252
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
253
- </div>
254
- <div style="height: 480px">
255
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
256
- </div>
257
- <div style="height: 480px">
258
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
259
- </div>
260
- <div style="height: 480px">
261
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
262
- </div>
263
- <div style="height: 480px">
264
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
265
- </div>
266
- </auro-slideshow>
267
- ```
243
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow autoplay delay="2000"&gt;
244
+ &lt;div style="height: 480px"&gt;
245
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1"&gt;
246
+ &lt;/div&gt;
247
+ &lt;div style="height: 480px"&gt;
248
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2"&gt;
249
+ &lt;/div&gt;
250
+ &lt;div style="height: 480px"&gt;
251
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3"&gt;
252
+ &lt;/div&gt;
253
+ &lt;div style="height: 480px"&gt;
254
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4"&gt;
255
+ &lt;/div&gt;
256
+ &lt;div style="height: 480px"&gt;
257
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
258
+ &lt;/div&gt;
259
+ &lt;/auro-slideshow&gt;</code></pre>
268
260
  <!-- AURO-GENERATED-CONTENT:END -->
269
261
  </auro-accordion>
270
262
 
@@ -275,63 +267,61 @@ To enable the slideshow to show a preview of the previous and next slides, use t
275
267
  **Note:** To use this properly, a parent container MUST have `overflow-x: hidden` to prevent horizontal scrolling on the page. It is not recommended to put `overflow-x: hidden` on the `<body>` element as this will prevent horizontal scrolling if fixed-width elements become wider than the page. This is only done for demo purposes.
276
268
 
277
269
  <div class="exampleWrapper">
278
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/full-bleed.html) -->
279
- <!-- The below content is automatically added from ./../apiExamples/full-bleed.html -->
280
- <auro-slideshow fullBleed autoplay navigation loop>
281
- <div style="height: 480px">
282
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
283
- </div>
284
- <div style="height: 480px">
285
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
286
- </div>
287
- <div style="height: 480px">
288
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
289
- </div>
290
- <div style="height: 480px">
291
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
292
- </div>
293
- <div style="height: 480px">
294
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
295
- </div>
296
- </auro-slideshow>
297
- <!-- For demo purposes only -->
298
- <style>
270
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/full-bleed.html) -->
271
+ <!-- The below content is automatically added from ./../apiExamples/full-bleed.html -->
272
+ <auro-slideshow fullBleed autoplay navigation loop>
273
+ <div style="height: 480px">
274
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
275
+ </div>
276
+ <div style="height: 480px">
277
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
278
+ </div>
279
+ <div style="height: 480px">
280
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
281
+ </div>
282
+ <div style="height: 480px">
283
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
284
+ </div>
285
+ <div style="height: 480px">
286
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
287
+ </div>
288
+ </auro-slideshow>
289
+ <!-- For demo purposes only -->
290
+ <style>
299
291
  body {
300
292
  overflow-x: hidden;
301
293
  }
302
- </style>
303
- <!-- AURO-GENERATED-CONTENT:END -->
294
+ </style>
295
+ <!-- AURO-GENERATED-CONTENT:END -->
304
296
  </div>
305
297
  <auro-accordion alignRight>
306
- <span slot="trigger">See code</span>
298
+ <span slot="trigger">See code</span>
307
299
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/full-bleed.html) -->
308
300
  <!-- The below code snippet is automatically added from ./../apiExamples/full-bleed.html -->
309
301
 
310
- ```html
311
- <auro-slideshow fullBleed autoplay navigation loop>
312
- <div style="height: 480px">
313
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
314
- </div>
315
- <div style="height: 480px">
316
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
317
- </div>
318
- <div style="height: 480px">
319
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
320
- </div>
321
- <div style="height: 480px">
322
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
323
- </div>
324
- <div style="height: 480px">
325
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
326
- </div>
327
- </auro-slideshow>
328
- <!-- For demo purposes only -->
329
- <style>
330
- body {
331
- overflow-x: hidden;
332
- }
333
- </style>
334
- ```
302
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow fullBleed autoplay navigation loop&gt;
303
+ &lt;div style="height: 480px"&gt;
304
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1"&gt;
305
+ &lt;/div&gt;
306
+ &lt;div style="height: 480px"&gt;
307
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2"&gt;
308
+ &lt;/div&gt;
309
+ &lt;div style="height: 480px"&gt;
310
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3"&gt;
311
+ &lt;/div&gt;
312
+ &lt;div style="height: 480px"&gt;
313
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4"&gt;
314
+ &lt;/div&gt;
315
+ &lt;div style="height: 480px"&gt;
316
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
317
+ &lt;/div&gt;
318
+ &lt;/auro-slideshow&gt;
319
+ &lt;!-- For demo purposes only --&gt;
320
+ &lt;style&gt;
321
+ body {
322
+ overflow-x: hidden;
323
+ }
324
+ &lt;/style&gt;</code></pre>
335
325
  <!-- AURO-GENERATED-CONTENT:END -->
336
326
  </auro-accordion>
337
327
 
@@ -340,51 +330,49 @@ To enable the slideshow to show a preview of the previous and next slides, use t
340
330
  If the `loop` attribute is on, the slideshow will go back to the first slide when it reaches the end. If `autoplay` or `autoScroll` is on and `loop` is off, the slideshow will stop on the last slide.
341
331
 
342
332
  <div class="exampleWrapper">
343
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/loop.html) -->
344
- <!-- The below content is automatically added from ./../apiExamples/loop.html -->
345
- <auro-slideshow pagination navigation loop>
346
- <div style="height: 480px">
347
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
348
- </div>
349
- <div style="height: 480px">
350
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
351
- </div>
352
- <div style="height: 480px">
353
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
354
- </div>
355
- <div style="height: 480px">
356
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
357
- </div>
358
- <div style="height: 480px">
359
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
360
- </div>
361
- </auro-slideshow>
362
- <!-- AURO-GENERATED-CONTENT:END -->
333
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/loop.html) -->
334
+ <!-- The below content is automatically added from ./../apiExamples/loop.html -->
335
+ <auro-slideshow pagination navigation loop>
336
+ <div style="height: 480px">
337
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
338
+ </div>
339
+ <div style="height: 480px">
340
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
341
+ </div>
342
+ <div style="height: 480px">
343
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
344
+ </div>
345
+ <div style="height: 480px">
346
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
347
+ </div>
348
+ <div style="height: 480px">
349
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
350
+ </div>
351
+ </auro-slideshow>
352
+ <!-- AURO-GENERATED-CONTENT:END -->
363
353
  </div>
364
354
  <auro-accordion alignRight>
365
- <span slot="trigger">See code</span>
355
+ <span slot="trigger">See code</span>
366
356
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/loop.html) -->
367
357
  <!-- The below code snippet is automatically added from ./../apiExamples/loop.html -->
368
358
 
369
- ```html
370
- <auro-slideshow pagination navigation loop>
371
- <div style="height: 480px">
372
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
373
- </div>
374
- <div style="height: 480px">
375
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
376
- </div>
377
- <div style="height: 480px">
378
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
379
- </div>
380
- <div style="height: 480px">
381
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
382
- </div>
383
- <div style="height: 480px">
384
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
385
- </div>
386
- </auro-slideshow>
387
- ```
359
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow pagination navigation loop&gt;
360
+ &lt;div style="height: 480px"&gt;
361
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1"&gt;
362
+ &lt;/div&gt;
363
+ &lt;div style="height: 480px"&gt;
364
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2"&gt;
365
+ &lt;/div&gt;
366
+ &lt;div style="height: 480px"&gt;
367
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3"&gt;
368
+ &lt;/div&gt;
369
+ &lt;div style="height: 480px"&gt;
370
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4"&gt;
371
+ &lt;/div&gt;
372
+ &lt;div style="height: 480px"&gt;
373
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
374
+ &lt;/div&gt;
375
+ &lt;/auro-slideshow&gt;</code></pre>
388
376
  <!-- AURO-GENERATED-CONTENT:END -->
389
377
  </auro-accordion>
390
378
 
@@ -397,51 +385,49 @@ If `loop` is off, the respective arrow control will be disabled/hidden when the
397
385
  `navigation` controls are disabled on mobile devices.
398
386
 
399
387
  <div class="exampleWrapper">
400
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/navigation.html) -->
401
- <!-- The below content is automatically added from ./../apiExamples/navigation.html -->
402
- <auro-slideshow navigation>
403
- <div style="height: 480px">
404
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
405
- </div>
406
- <div style="height: 480px">
407
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
408
- </div>
409
- <div style="height: 480px">
410
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
411
- </div>
412
- <div style="height: 480px">
413
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
414
- </div>
415
- <div style="height: 480px">
416
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
417
- </div>
418
- </auro-slideshow>
419
- <!-- AURO-GENERATED-CONTENT:END -->
388
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/navigation.html) -->
389
+ <!-- The below content is automatically added from ./../apiExamples/navigation.html -->
390
+ <auro-slideshow navigation>
391
+ <div style="height: 480px">
392
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
393
+ </div>
394
+ <div style="height: 480px">
395
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
396
+ </div>
397
+ <div style="height: 480px">
398
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
399
+ </div>
400
+ <div style="height: 480px">
401
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
402
+ </div>
403
+ <div style="height: 480px">
404
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
405
+ </div>
406
+ </auro-slideshow>
407
+ <!-- AURO-GENERATED-CONTENT:END -->
420
408
  </div>
421
409
  <auro-accordion alignRight>
422
- <span slot="trigger">See code</span>
410
+ <span slot="trigger">See code</span>
423
411
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/navigation.html) -->
424
412
  <!-- The below code snippet is automatically added from ./../apiExamples/navigation.html -->
425
413
 
426
- ```html
427
- <auro-slideshow navigation>
428
- <div style="height: 480px">
429
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
430
- </div>
431
- <div style="height: 480px">
432
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
433
- </div>
434
- <div style="height: 480px">
435
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
436
- </div>
437
- <div style="height: 480px">
438
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
439
- </div>
440
- <div style="height: 480px">
441
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
442
- </div>
443
- </auro-slideshow>
444
- ```
414
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow navigation&gt;
415
+ &lt;div style="height: 480px"&gt;
416
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1"&gt;
417
+ &lt;/div&gt;
418
+ &lt;div style="height: 480px"&gt;
419
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2"&gt;
420
+ &lt;/div&gt;
421
+ &lt;div style="height: 480px"&gt;
422
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3"&gt;
423
+ &lt;/div&gt;
424
+ &lt;div style="height: 480px"&gt;
425
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4"&gt;
426
+ &lt;/div&gt;
427
+ &lt;div style="height: 480px"&gt;
428
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
429
+ &lt;/div&gt;
430
+ &lt;/auro-slideshow&gt;</code></pre>
445
431
  <!-- AURO-GENERATED-CONTENT:END -->
446
432
  </auro-accordion>
447
433
 
@@ -450,51 +436,49 @@ If `loop` is off, the respective arrow control will be disabled/hidden when the
450
436
  Setting the `pagination` attribute will render pagination dots to indicate the number of slides. The current slide dot is represented by a filled wide dot to match the look of the progress bar.
451
437
 
452
438
  <div class="exampleWrapper">
453
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/pagination.html) -->
454
- <!-- The below content is automatically added from ./../apiExamples/pagination.html -->
455
- <auro-slideshow pagination>
456
- <div style="height: 480px">
457
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
458
- </div>
459
- <div style="height: 480px">
460
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
461
- </div>
462
- <div style="height: 480px">
463
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
464
- </div>
465
- <div style="height: 480px">
466
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
467
- </div>
468
- <div style="height: 480px">
469
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
470
- </div>
471
- </auro-slideshow>
472
- <!-- AURO-GENERATED-CONTENT:END -->
473
- </div>
474
- <auro-accordion alignRight>
475
- <span slot="trigger">See code</span>
476
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/pagination.html) -->
477
- <!-- The below code snippet is automatically added from ./../apiExamples/pagination.html -->
478
-
479
- ```html
439
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/pagination.html) -->
440
+ <!-- The below content is automatically added from ./../apiExamples/pagination.html -->
480
441
  <auro-slideshow pagination>
481
442
  <div style="height: 480px">
482
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
443
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
483
444
  </div>
484
445
  <div style="height: 480px">
485
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
446
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
486
447
  </div>
487
448
  <div style="height: 480px">
488
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
449
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
489
450
  </div>
490
451
  <div style="height: 480px">
491
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
452
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
492
453
  </div>
493
454
  <div style="height: 480px">
494
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
455
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
456
+ </div>
457
+ </auro-slideshow>
458
+ <!-- AURO-GENERATED-CONTENT:END -->
495
459
  </div>
496
- </auro-slideshow>
497
- ```
460
+ <auro-accordion alignRight>
461
+ <span slot="trigger">See code</span>
462
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/pagination.html) -->
463
+ <!-- The below code snippet is automatically added from ./../apiExamples/pagination.html -->
464
+
465
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow pagination&gt;
466
+ &lt;div style="height: 480px"&gt;
467
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1"&gt;
468
+ &lt;/div&gt;
469
+ &lt;div style="height: 480px"&gt;
470
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2"&gt;
471
+ &lt;/div&gt;
472
+ &lt;div style="height: 480px"&gt;
473
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3"&gt;
474
+ &lt;/div&gt;
475
+ &lt;div style="height: 480px"&gt;
476
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4"&gt;
477
+ &lt;/div&gt;
478
+ &lt;div style="height: 480px"&gt;
479
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
480
+ &lt;/div&gt;
481
+ &lt;/auro-slideshow&gt;</code></pre>
498
482
  <!-- AURO-GENERATED-CONTENT:END -->
499
483
  </auro-accordion>
500
484
 
@@ -503,51 +487,49 @@ Setting the `pagination` attribute will render pagination dots to indicate the n
503
487
  Setting the `playOnInit` attribute will start playing the slideshow when the page loads if either `autoplay` or `autoScroll` are enabled. Otherwise, the slideshow will not start playing until the user clicks the play button or the `play()` method is called.
504
488
 
505
489
  <div class="exampleWrapper">
506
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/playoninit.html) -->
507
- <!-- The below content is automatically added from ./../apiExamples/playoninit.html -->
508
- <auro-slideshow autoScroll playOnInit loop>
509
- <div style="height: 480px; max-width: 400px;">
510
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
511
- </div>
512
- <div style="height: 480px; max-width: 400px;">
513
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
514
- </div>
515
- <div style="height: 480px; max-width: 400px;">
516
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
517
- </div>
518
- <div style="height: 480px; max-width: 400px;">
519
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
520
- </div>
521
- <div style="height: 480px; max-width: 400px;">
522
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
523
- </div>
524
- </auro-slideshow>
525
- <!-- AURO-GENERATED-CONTENT:END -->
490
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/playoninit.html) -->
491
+ <!-- The below content is automatically added from ./../apiExamples/playoninit.html -->
492
+ <auro-slideshow autoScroll playOnInit loop>
493
+ <div style="height: 480px; max-width: 400px;">
494
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
495
+ </div>
496
+ <div style="height: 480px; max-width: 400px;">
497
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
498
+ </div>
499
+ <div style="height: 480px; max-width: 400px;">
500
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
501
+ </div>
502
+ <div style="height: 480px; max-width: 400px;">
503
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
504
+ </div>
505
+ <div style="height: 480px; max-width: 400px;">
506
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
507
+ </div>
508
+ </auro-slideshow>
509
+ <!-- AURO-GENERATED-CONTENT:END -->
526
510
  </div>
527
511
  <auro-accordion alignRight>
528
- <span slot="trigger">See code</span>
512
+ <span slot="trigger">See code</span>
529
513
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/playoninit.html) -->
530
514
  <!-- The below code snippet is automatically added from ./../apiExamples/playoninit.html -->
531
515
 
532
- ```html
533
- <auro-slideshow autoScroll playOnInit loop>
534
- <div style="height: 480px; max-width: 400px;">
535
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
536
- </div>
537
- <div style="height: 480px; max-width: 400px;">
538
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
539
- </div>
540
- <div style="height: 480px; max-width: 400px;">
541
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
542
- </div>
543
- <div style="height: 480px; max-width: 400px;">
544
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
545
- </div>
546
- <div style="height: 480px; max-width: 400px;">
547
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
548
- </div>
549
- </auro-slideshow>
550
- ```
516
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow autoScroll playOnInit loop&gt;
517
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
518
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1"&gt;
519
+ &lt;/div&gt;
520
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
521
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2"&gt;
522
+ &lt;/div&gt;
523
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
524
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3"&gt;
525
+ &lt;/div&gt;
526
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
527
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4"&gt;
528
+ &lt;/div&gt;
529
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
530
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5"&gt;
531
+ &lt;/div&gt;
532
+ &lt;/auro-slideshow&gt;</code></pre>
551
533
  <!-- AURO-GENERATED-CONTENT:END -->
552
534
  </auro-accordion>
553
535
 
@@ -556,51 +538,49 @@ Setting the `playOnInit` attribute will start playing the slideshow when the pag
556
538
  To set a custom speed on an `autoScroll` slideshow, use the `scrollSpeed` attribute to pass in a new value in pixels per frame. The default value is 0.75. To make the slideshow scroll faster, use a higher number. The value does not need to be whole number.
557
539
 
558
540
  <div class="exampleWrapper">
559
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/scrollspeed.html) -->
560
- <!-- The below content is automatically added from ./../apiExamples/scrollspeed.html -->
561
- <auro-slideshow navigation autoScroll scrollSpeed="2.88" loop>
562
- <div style="height: 480px; max-width: 400px;">
563
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
564
- </div>
565
- <div style="height: 480px; max-width: 400px;">
566
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
567
- </div>
568
- <div style="height: 480px; max-width: 400px;">
569
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
570
- </div>
571
- <div style="height: 480px; max-width: 400px;">
572
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
573
- </div>
574
- <div style="height: 480px; max-width: 400px;">
575
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
576
- </div>
577
- </auro-slideshow>
578
- <!-- AURO-GENERATED-CONTENT:END -->
541
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/scrollspeed.html) -->
542
+ <!-- The below content is automatically added from ./../apiExamples/scrollspeed.html -->
543
+ <auro-slideshow navigation autoScroll scrollSpeed="2.88" loop>
544
+ <div style="height: 480px; max-width: 400px;">
545
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
546
+ </div>
547
+ <div style="height: 480px; max-width: 400px;">
548
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
549
+ </div>
550
+ <div style="height: 480px; max-width: 400px;">
551
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
552
+ </div>
553
+ <div style="height: 480px; max-width: 400px;">
554
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
555
+ </div>
556
+ <div style="height: 480px; max-width: 400px;">
557
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
558
+ </div>
559
+ </auro-slideshow>
560
+ <!-- AURO-GENERATED-CONTENT:END -->
579
561
  </div>
580
562
  <auro-accordion alignRight>
581
- <span slot="trigger">See code</span>
563
+ <span slot="trigger">See code</span>
582
564
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/scrollspeed.html) -->
583
565
  <!-- The below code snippet is automatically added from ./../apiExamples/scrollspeed.html -->
584
566
 
585
- ```html
586
- <auro-slideshow navigation autoScroll scrollSpeed="2.88" loop>
587
- <div style="height: 480px; max-width: 400px;">
588
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
589
- </div>
590
- <div style="height: 480px; max-width: 400px;">
591
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
592
- </div>
593
- <div style="height: 480px; max-width: 400px;">
594
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
595
- </div>
596
- <div style="height: 480px; max-width: 400px;">
597
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
598
- </div>
599
- <div style="height: 480px; max-width: 400px;">
600
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
601
- </div>
602
- </auro-slideshow>
603
- ```
567
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow navigation autoScroll scrollSpeed="2.88" loop&gt;
568
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
569
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1"&gt;
570
+ &lt;/div&gt;
571
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
572
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2"&gt;
573
+ &lt;/div&gt;
574
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
575
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3"&gt;
576
+ &lt;/div&gt;
577
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
578
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4"&gt;
579
+ &lt;/div&gt;
580
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
581
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5"&gt;
582
+ &lt;/div&gt;
583
+ &lt;/auro-slideshow&gt;</code></pre>
604
584
  <!-- AURO-GENERATED-CONTENT:END -->
605
585
  </auro-accordion>
606
586
 
@@ -609,51 +589,49 @@ To set a custom speed on an `autoScroll` slideshow, use the `scrollSpeed` attrib
609
589
  To set a custom delay before the `autoScroll` restarts, use the `startDelay` attribute to pass in a new value in milliseconds. The default value is 1000. This will cause the slideshow to wait 1 second before it resumes autoscrolling.
610
590
 
611
591
  <div class="exampleWrapper">
612
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/startdelay.html) -->
613
- <!-- The below content is automatically added from ./../apiExamples/startdelay.html -->
614
- <auro-slideshow navigation autoScroll startDelay="200" loop>
615
- <div style="height: 480px; max-width: 400px;">
616
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
617
- </div>
618
- <div style="height: 480px; max-width: 400px;">
619
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
620
- </div>
621
- <div style="height: 480px; max-width: 400px;">
622
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
623
- </div>
624
- <div style="height: 480px; max-width: 400px;">
625
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
626
- </div>
627
- <div style="height: 480px; max-width: 400px;">
628
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
629
- </div>
630
- </auro-slideshow>
631
- <!-- AURO-GENERATED-CONTENT:END -->
592
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/startdelay.html) -->
593
+ <!-- The below content is automatically added from ./../apiExamples/startdelay.html -->
594
+ <auro-slideshow navigation autoScroll startDelay="200" loop>
595
+ <div style="height: 480px; max-width: 400px;">
596
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
597
+ </div>
598
+ <div style="height: 480px; max-width: 400px;">
599
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
600
+ </div>
601
+ <div style="height: 480px; max-width: 400px;">
602
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
603
+ </div>
604
+ <div style="height: 480px; max-width: 400px;">
605
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
606
+ </div>
607
+ <div style="height: 480px; max-width: 400px;">
608
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
609
+ </div>
610
+ </auro-slideshow>
611
+ <!-- AURO-GENERATED-CONTENT:END -->
632
612
  </div>
633
613
  <auro-accordion alignRight>
634
- <span slot="trigger">See code</span>
614
+ <span slot="trigger">See code</span>
635
615
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/startdelay.html) -->
636
616
  <!-- The below code snippet is automatically added from ./../apiExamples/startdelay.html -->
637
617
 
638
- ```html
639
- <auro-slideshow navigation autoScroll startDelay="200" loop>
640
- <div style="height: 480px; max-width: 400px;">
641
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
642
- </div>
643
- <div style="height: 480px; max-width: 400px;">
644
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
645
- </div>
646
- <div style="height: 480px; max-width: 400px;">
647
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
648
- </div>
649
- <div style="height: 480px; max-width: 400px;">
650
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
651
- </div>
652
- <div style="height: 480px; max-width: 400px;">
653
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
654
- </div>
655
- </auro-slideshow>
656
- ```
618
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow navigation autoScroll startDelay="200" loop&gt;
619
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
620
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1"&gt;
621
+ &lt;/div&gt;
622
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
623
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2"&gt;
624
+ &lt;/div&gt;
625
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
626
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3"&gt;
627
+ &lt;/div&gt;
628
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
629
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4"&gt;
630
+ &lt;/div&gt;
631
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
632
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5"&gt;
633
+ &lt;/div&gt;
634
+ &lt;/auro-slideshow&gt;</code></pre>
657
635
  <!-- AURO-GENERATED-CONTENT:END -->
658
636
  </auro-accordion>
659
637
 
@@ -668,59 +646,57 @@ To customize the aria-labels for the slideshow controls, use the following slots
668
646
  - `ariaLabel.slideshow.pause` - Pause slideshow button
669
647
 
670
648
  <div class="exampleWrapper">
671
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/slots_aria-label.html) -->
672
- <!-- The below content is automatically added from ./../apiExamples/slots_aria-label.html -->
673
- <auro-slideshow autoplay navigation>
674
- <span slot="ariaLabel.scroll.left">Custom label for previous slide</span>
675
- <span slot="ariaLabel.scroll.right">Custom label for next slide</span>
676
- <span slot="ariaLabel.slideshow.play">Custom label for play slideshow</span>
677
- <span slot="ariaLabel.slideshow.pause">Custom label for pause slideshow</span>
678
- <div style="height: 480px">
679
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
680
- </div>
681
- <div style="height: 480px">
682
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
683
- </div>
684
- <div style="height: 480px">
685
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
686
- </div>
687
- <div style="height: 480px">
688
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
689
- </div>
690
- <div style="height: 480px">
691
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
692
- </div>
693
- </auro-slideshow>
694
- <!-- AURO-GENERATED-CONTENT:END -->
649
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/slots_aria-label.html) -->
650
+ <!-- The below content is automatically added from ./../apiExamples/slots_aria-label.html -->
651
+ <auro-slideshow autoplay navigation>
652
+ <span slot="ariaLabel.scroll.left">Custom label for previous slide</span>
653
+ <span slot="ariaLabel.scroll.right">Custom label for next slide</span>
654
+ <span slot="ariaLabel.slideshow.play">Custom label for play slideshow</span>
655
+ <span slot="ariaLabel.slideshow.pause">Custom label for pause slideshow</span>
656
+ <div style="height: 480px">
657
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
658
+ </div>
659
+ <div style="height: 480px">
660
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
661
+ </div>
662
+ <div style="height: 480px">
663
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
664
+ </div>
665
+ <div style="height: 480px">
666
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
667
+ </div>
668
+ <div style="height: 480px">
669
+ <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
670
+ </div>
671
+ </auro-slideshow>
672
+ <!-- AURO-GENERATED-CONTENT:END -->
695
673
  </div>
696
674
  <auro-accordion alignRight>
697
- <span slot="trigger">See code</span>
675
+ <span slot="trigger">See code</span>
698
676
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/slots_aria-label.html) -->
699
677
  <!-- The below code snippet is automatically added from ./../apiExamples/slots_aria-label.html -->
700
678
 
701
- ```html
702
- <auro-slideshow autoplay navigation>
703
- <span slot="ariaLabel.scroll.left">Custom label for previous slide</span>
704
- <span slot="ariaLabel.scroll.right">Custom label for next slide</span>
705
- <span slot="ariaLabel.slideshow.play">Custom label for play slideshow</span>
706
- <span slot="ariaLabel.slideshow.pause">Custom label for pause slideshow</span>
707
- <div style="height: 480px">
708
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1">
709
- </div>
710
- <div style="height: 480px">
711
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2">
712
- </div>
713
- <div style="height: 480px">
714
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3">
715
- </div>
716
- <div style="height: 480px">
717
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4">
718
- </div>
719
- <div style="height: 480px">
720
- <img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5">
721
- </div>
722
- </auro-slideshow>
723
- ```
679
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow autoplay navigation&gt;
680
+ &lt;span slot="ariaLabel.scroll.left"&gt;Custom label for previous slide&lt;/span&gt;
681
+ &lt;span slot="ariaLabel.scroll.right"&gt;Custom label for next slide&lt;/span&gt;
682
+ &lt;span slot="ariaLabel.slideshow.play"&gt;Custom label for play slideshow&lt;/span&gt;
683
+ &lt;span slot="ariaLabel.slideshow.pause"&gt;Custom label for pause slideshow&lt;/span&gt;
684
+ &lt;div style="height: 480px"&gt;
685
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=1" alt="Random image 1"&gt;
686
+ &lt;/div&gt;
687
+ &lt;div style="height: 480px"&gt;
688
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=2" alt="Random image 2"&gt;
689
+ &lt;/div&gt;
690
+ &lt;div style="height: 480px"&gt;
691
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=3" alt="Random image 3"&gt;
692
+ &lt;/div&gt;
693
+ &lt;div style="height: 480px"&gt;
694
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=4" alt="Random image 4"&gt;
695
+ &lt;/div&gt;
696
+ &lt;div style="height: 480px"&gt;
697
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/1000/480?random=5" alt="Random image 5"&gt;
698
+ &lt;/div&gt;
699
+ &lt;/auro-slideshow&gt;</code></pre>
724
700
  <!-- AURO-GENERATED-CONTENT:END -->
725
701
  </auro-accordion>
726
702
 
@@ -729,80 +705,78 @@ To customize the aria-labels for the slideshow controls, use the following slots
729
705
  ### Full-Bleed + AutoScroll Preview
730
706
 
731
707
  <div class="exampleWrapper">
732
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/full-bleed-autoscroll.html) -->
733
- <!-- The below content is automatically added from ./../apiExamples/full-bleed-autoscroll.html -->
734
- <auro-slideshow fullBleed navigation autoScroll playOnInit loop>
735
- <div style="height: 480px; max-width: 400px;">
736
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
737
- </div>
738
- <div style="height: 480px; max-width: 400px;">
739
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
740
- </div>
741
- <div style="height: 480px; max-width: 400px;">
742
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
743
- </div>
744
- <div style="height: 480px; max-width: 400px;">
745
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
746
- </div>
747
- <div style="height: 480px; max-width: 400px;">
748
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
749
- </div>
750
- <div style="height: 480px; max-width: 400px;">
751
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=6" alt="Random image 6">
752
- </div>
753
- <div style="height: 480px; max-width: 400px;">
754
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=7" alt="Random image 7">
755
- </div>
756
- <div style="height: 480px; max-width: 400px;">
757
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=8" alt="Random image 8">
758
- </div>
759
- </auro-slideshow>
760
- <!-- For demo purposes only -->
761
- <style>
708
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/full-bleed-autoscroll.html) -->
709
+ <!-- The below content is automatically added from ./../apiExamples/full-bleed-autoscroll.html -->
710
+ <auro-slideshow fullBleed navigation autoScroll playOnInit loop>
711
+ <div style="height: 480px; max-width: 400px;">
712
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
713
+ </div>
714
+ <div style="height: 480px; max-width: 400px;">
715
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
716
+ </div>
717
+ <div style="height: 480px; max-width: 400px;">
718
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
719
+ </div>
720
+ <div style="height: 480px; max-width: 400px;">
721
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
722
+ </div>
723
+ <div style="height: 480px; max-width: 400px;">
724
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
725
+ </div>
726
+ <div style="height: 480px; max-width: 400px;">
727
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=6" alt="Random image 6">
728
+ </div>
729
+ <div style="height: 480px; max-width: 400px;">
730
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=7" alt="Random image 7">
731
+ </div>
732
+ <div style="height: 480px; max-width: 400px;">
733
+ <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=8" alt="Random image 8">
734
+ </div>
735
+ </auro-slideshow>
736
+ <!-- For demo purposes only -->
737
+ <style>
762
738
  body {
763
739
  overflow-x: hidden;
764
740
  }
765
- </style>
766
- <!-- AURO-GENERATED-CONTENT:END -->
741
+ </style>
742
+ <!-- AURO-GENERATED-CONTENT:END -->
767
743
  </div>
768
744
  <auro-accordion alignRight>
769
- <span slot="trigger">See code</span>
745
+ <span slot="trigger">See code</span>
770
746
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/full-bleed-autoscroll.html) -->
771
747
  <!-- The below code snippet is automatically added from ./../apiExamples/full-bleed-autoscroll.html -->
772
748
 
773
- ```html
774
- <auro-slideshow fullBleed navigation autoScroll playOnInit loop>
775
- <div style="height: 480px; max-width: 400px;">
776
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1">
777
- </div>
778
- <div style="height: 480px; max-width: 400px;">
779
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2">
780
- </div>
781
- <div style="height: 480px; max-width: 400px;">
782
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3">
783
- </div>
784
- <div style="height: 480px; max-width: 400px;">
785
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4">
786
- </div>
787
- <div style="height: 480px; max-width: 400px;">
788
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5">
789
- </div>
790
- <div style="height: 480px; max-width: 400px;">
791
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=6" alt="Random image 6">
792
- </div>
793
- <div style="height: 480px; max-width: 400px;">
794
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=7" alt="Random image 7">
795
- </div>
796
- <div style="height: 480px; max-width: 400px;">
797
- <img style="object-fit: cover;" src="https://picsum.photos/400/480?random=8" alt="Random image 8">
798
- </div>
799
- </auro-slideshow>
800
- <!-- For demo purposes only -->
801
- <style>
802
- body {
803
- overflow-x: hidden;
804
- }
805
- </style>
806
- ```
749
+ <pre class="language-html"><code class="language-html">&lt;auro-slideshow fullBleed navigation autoScroll playOnInit loop&gt;
750
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
751
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=1" alt="Random image 1"&gt;
752
+ &lt;/div&gt;
753
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
754
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=2" alt="Random image 2"&gt;
755
+ &lt;/div&gt;
756
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
757
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=3" alt="Random image 3"&gt;
758
+ &lt;/div&gt;
759
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
760
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=4" alt="Random image 4"&gt;
761
+ &lt;/div&gt;
762
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
763
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=5" alt="Random image 5"&gt;
764
+ &lt;/div&gt;
765
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
766
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=6" alt="Random image 6"&gt;
767
+ &lt;/div&gt;
768
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
769
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=7" alt="Random image 7"&gt;
770
+ &lt;/div&gt;
771
+ &lt;div style="height: 480px; max-width: 400px;"&gt;
772
+ &lt;img style="object-fit: cover;" src="https://picsum.photos/400/480?random=8" alt="Random image 8"&gt;
773
+ &lt;/div&gt;
774
+ &lt;/auro-slideshow&gt;
775
+ &lt;!-- For demo purposes only --&gt;
776
+ &lt;style&gt;
777
+ body {
778
+ overflow-x: hidden;
779
+ }
780
+ &lt;/style&gt;</code></pre>
807
781
  <!-- AURO-GENERATED-CONTENT:END -->
808
782
  </auro-accordion>