Skip to content

ColorPickerRoot ​

ColorPickerRoot stellt einen Slot für die Schaltfläche mit Farbmuster, eine Standardschaltfläche und einen Inhalts-Slot mit aktuellem Farbwert und update() bereit.

ColorPickerRoot

Generated from packages/vue/src/primitives/ColorPicker/ColorPickerRoot.vue

Props

PropDefaultType
color*—Color
label"Edit color"string | undefined
ui—ColorPickerUI | undefined

Events

EventPayloadDescription
update[color: Color]
openChange[open: boolean]
cancel[]

Slots

SlotPropsDescription
trigger{ style: { background: string; }; }
default{ color: Color; }

Siehe auch ​

Released under the MIT License.