vwc-slider
This component is an extension of <mwc-slider>
API
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
disabled |
boolean |
||
markers |
boolean |
||
max |
number |
||
min |
number |
||
pin |
boolean |
||
step |
number |
||
value |
number |
Methods
Method | Type | Description |
---|---|---|
click |
(): void |
|
layout |
(): void |
Layout is called on mousedown / touchstart as the dragging animations of slider are calculated based off of the bounding rect which can change between interactions with this component, and this is the only location in the foundation that udpates the rects. e.g. scrolling horizontally causes adverse effects on the bounding rect vs mouse drag / touchmove location. |
setAriaLabel |
(label: string): void |