# Slots ## dot - **Scoped**: - `{number} pos` Position in the component, calculated as a percentage - `{number} index` Slider index - `{number | string} value` Slider value - `{boolean} focus` Whether the slider is in focus - `{boolean} disabled` Whether the slider is disabled - **Usage**: ```html ``` ## tooltip - **Scoped**: - `{number} pos` Position in the component, calculated as a percentage - `{number} index` Slider index - `{number | string} value` Slider value - `{boolean} focus` Whether the slider is in focus - `{boolean} disabled` Whether the slider is disabled - **Usage**: ```html ``` ## label - **Scoped**: - `{number | string} label` label - `{number} pos` Position in the component, calculated as a percentage - `{number | string} value` Slider value - `{boolean} active` Whether the location is active (in the progress bar range) - **Usage**: ```html ``` ::: tip If you don't add `.vue-slider-mark-label`, you need to calculate the position yourself. ::: ## step - **Scoped**: - `{number | string} label` label - `{number} pos` Position in the component, calculated as a percentage - `{number | string} value` Slider value - `{boolean} active` Whether the location is active (in the progress bar range) - **Usage**: ```html ``` ## mark - **Scoped**: - `{number | string} label` label - `{number} pos` Position in the component, calculated as a percentage - `{number | string} value` Slider value - `{boolean} active` Whether the location is active (in the progress bar range) - **Usage**: The slot of the mark (including `label` and `step`), need to set the location of the mark in the component. ```html ``` ## process - **Scoped**: - `{number} start` Start position of the progress - `{number} end` End position of the progress - `{number} index` Index of the progress (can be used in multi-progress) - `{object} style` Progress style, Contains the calculated style of the component (size, position, etc) - **Usage**: The slot of the process. ```html ```