Optional
checkedDisables the input field.
Error state.
Returns the value of element's id content attribute. Can be set to change it.
The initial values of the range selector
Optional
labelThe label displayed above the input.
The maximum value of the slider input field.
The minimum value of the slider input field.
The name given to the input field. This is required when in a form.
Optional
stepIf set, will put steps on the slider at the given increments and the slider will snap to the nearest step.
Static
stylesProtected
firstInvoked when the element is first updated. Implement to perform one time work on the element after update.
firstUpdated() {
this.renderRoot.getElementById('my-text-area').focus();
}
Setting properties inside this method will trigger the element to update again after this update cycle completes.
A ranged input field using a Zeta Slider
The "name" is required when in a form.
ZetaRangeSliderEvent:zeta-range-slider-change - Fired whenever value of range slider is changed. Contains 2 values in details:
min:number
,max:number
.Figma
https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/🦓-ZDS---Components?node-id=980-16448&m=dev
Storybook
https://zeta-ds.web.app/web/storybook/index.html?path=/docs/slider--docs