@aurodesignsystem-dev/auro-slideshow 0.0.0-pr21.0 → 0.0.0-pr22.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.html CHANGED
@@ -40,7 +40,7 @@
40
40
  Prism.highlightAll();
41
41
  });
42
42
  </script>
43
- <script type="module" data-demo-script="true" src="../api.min.js"></script>
43
+ <script type="module" data-demo-script="true" src="./api.min.js"></script>
44
44
 
45
45
  <!-- If additional elements are needed for the demo, add them here. -->
46
46
  <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/dist/auro-accordion__bundled.js" type="module"></script>
package/demo/api.md CHANGED
@@ -18,6 +18,29 @@
18
18
  | [playOnInit](#playOnInit) | `playOnInit` | `boolean` | false | If true, the slideshow will start playing automatically on page load. |
19
19
  | [scrollSpeed](#scrollSpeed) | `scrollSpeed` | `number` | 1 | Number of pixels auto scroll should advance per frame. |
20
20
  | [startDelay](#startDelay) | `startDelay` | `number` | 1000 | Delay in milliseconds before the auto scroll starts. |
21
+
22
+ ## Methods
23
+
24
+ | Method | Type | Description |
25
+ |--------------|------------|--------------------------------|
26
+ | [play](#play) | `(): void` | Starts the slideshow playback. |
27
+ | [scrollNext](#scrollNext) | `(): void` | Scrolls to the next slide. |
28
+ | [scrollPrev](#scrollPrev) | `(): void` | Scrolls to the previous slide. |
29
+ | [stop](#stop) | `(): void` | Stops the slideshow playback. |
30
+
31
+ ## Slots
32
+
33
+ | Name | Description |
34
+ |------|--------------------------------------------------|
35
+ | | Default slot for the slides. Each child element will be treated as a slide. |
36
+
37
+ ## CSS Shadow Parts
38
+
39
+ | Part | Description |
40
+ |---------------------|---------------------------------------------|
41
+ | `next-button` | Use to style the next button control. |
42
+ | `play-pause-button` | Use to style the play/pause button control. |
43
+ | `prev-button` | Use to style the previous button control. |
21
44
  <!-- AURO-GENERATED-CONTENT:END -->
22
45
 
23
46
  ## API Examples