vwc-slider 2.45.0
Install from the command line:
Learn more about npm packages
$ npm install @vonage/vwc-slider@2.45.0
Install via package.json:
"@vonage/vwc-slider": "2.45.0"
About this version
This component is an extension of <mwc-slider>
Property | Modifiers | Type | Description |
---|---|---|---|
disabled |
boolean |
||
markers |
boolean |
||
max |
number |
||
min |
number |
||
pin |
boolean |
||
step |
number |
||
value |
number |
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 |