-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Problem
The Slider component doesn't expose createSlider methods (setValue, snap, percent, fromPercent, stepUp, stepDown, etc.) to consumers. These methods appear on the composable API page but not on the component API page.
Root Cause
SliderRoot.vuenever callsdefineExpose— template refs can't access slider methods- The API generator (
generate-api.ts) usesvue-component-metawhich only extracts props/events/slots, not exposed methods
Proposed Fix
- Add
defineExposetoSliderRootwith slider methods - Consider also passing methods through slot props (matching
TabsRootpattern) - Update API generator to surface
defineExposemembers on component docs pages
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels