OrionColorPicker

Usage

<o-color-picker> affiche un sélecteur de couleur avec plusieurs formats disponibles.

ColorPickerFormat ColorPickerPlayground

Props

Name
autofocusboolean = false
clearableboolean = false
clearToNullboolean = false
debouncenumber = 300
disabledboolean = false
donetypingnumber = 0
forceLabelFloatingboolean = false
formatColorFormat = 'hex'
hideHexboolean = false
hideRgbaboolean = false
inheritValidationStateboolean = undefined
labelstring = undefined
modelValueT = undefined
prefixFontIconstring = undefined
prefixIconOrion.Icon = undefined
readonlyboolean = false
requiredboolean = false
selectOnFocusboolean = false
sizeOrion.Size = 'md'
startValuestring = undefined
suffixFontIconstring = undefined
suffixIconOrion.Icon = undefined
typestring | Orion.DatepickerType = 'text'
validationstring | ((val: any) => boolean) | Orion.Validator.Rule | Orion.Validation.Rule | boolean = undefined
validationErrorMessagestring = undefined

Events

Name
Payload type
focus
FocusEvent
blur
FocusEvent
input
VModelType
change
VModelType
update:modelValue
VModelType
clear
No payload
picked
ColorValue

PublicInstance

Name
Type
hasBeenFocus
() => boolean
isFocus
() => boolean
focus
() => void
blur
Lodash.debounce
clear
() => void
setHasBeenFocus
(value: boolean) => void
isValid
() => boolean
_input
() => HTMLInputElement | undefined