| 7 | * @since 3.0.0 |
| 8 | */ |
| 9 | export interface Options extends ResponsiveOptions { |
| 10 | /** |
| 11 | * The type of the slider. |
| 12 | * - 'slide': A slider with the slide transition |
| 13 | * - 'loop' : A carousel slider |
| 14 | * - 'fade' : A slider with the fade transition. This does not support the perPage option. |
| 15 | */ |
| 16 | type?: string; |
| 17 | |
| 18 | /** |
| 19 | * The `role` attribute for the root element. |
| 20 | * If the tag is `<section>`, this value will not be used. The default value is `'region'`. |
| 21 | */ |
| 22 | role?: string; |
| 23 | |
| 24 | /** |
| 25 | * Determines whether to disable any actions while the slider is transitioning. |
| 26 | * Even if `false`, the slider forcibly waits for transition on the loop points. |
| 27 | */ |
| 28 | waitForTransition?: boolean; |
| 29 | |
| 30 | /** |
| 31 | * If `true`, the width of slides are determined by their width. |
| 32 | * The `perPage` and `perMove` options should be `1`. |
| 33 | */ |
| 34 | autoWidth?: boolean; |
| 35 | |
| 36 | /** |
| 37 | * If `true`, the height of slides are determined by their height. |
| 38 | * The `perPage` and `perMove` options should be `1`. |
| 39 | */ |
| 40 | autoHeight?: boolean; |
| 41 | |
| 42 | /** |
| 43 | * The start index. |
| 44 | */ |
| 45 | start?: number; |
| 46 | |
| 47 | /** |
| 48 | * Changes the arrow SVG path, like 'm7.61 0.807-2.12...'. |
| 49 | */ |
| 50 | arrowPath?: string; |
| 51 | |
| 52 | /** |
| 53 | * Determines whether to activate autoplay or not. |
| 54 | * If `paused`, it will not begin when the slider becomes active. |
| 55 | * You need to provided play/pause buttons or manually start it by `Autoplay#play()`. |
| 56 | */ |
| 57 | autoplay?: boolean | 'pause'; |
| 58 | |
| 59 | /** |
| 60 | * The autoplay interval in milliseconds. |
| 61 | */ |
| 62 | interval?: number; |
| 63 | |
| 64 | /** |
| 65 | * Determines whether to pause autoplay on mouseover. |
| 66 | */ |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…