When you create a new instance from Master Slider, you have access to some properties in the slider instance object. In this article, you can find the list of available properties.
Slider
Name | Type | Description |
controls | Object | An object containing all added UI control instances. |
element | Element | The slider main element. |
initialized | Boolean | Whether the slider is initialized or not. |
layoutController | MSLayoutController | The slider layout controller instance object. |
slides | Array | The list of all slides added to the slider. |
Layout controller
Layout controller is responsible to control slider layout, breakpoints and align ui controls. You have access to layout controller instance object by sliderObject.layoutController
.
Name | Type | Description |
activeBreakPoint | String | The active breakpoint name. |
activeBreakPointSize | Number | The active breakpoint size in pixels. |
height | Number | Slider height in pixels. |
isNarrow | Boolean | Whether the slider layout is narrow or not. |
width | Number | Slider width in pixels. |
viewElement | Element | The slider view element. |