Try Install Learn Blog API Packages GitHub
Pages
mint-ui

Search
Basic information
Entities
Versions
Dependencies
mint-color 0.9.0 <= v < 1.0.0

Ui.ColorPicker

A color picker component.

Properties

disabled
:
Bool
=
false

Whether or not the picker is disabled.

invalid
:
Bool
=
false

Whether or not the picker is invalid.

offset
:
Number
=
5

The offset of the dropdown from the input.

onChange
:
Function(Color, Promise(Void))
=
Promise.never1

The change event handler.

position
:
Ui.Position
=
Ui.Position::BottomRight

The position of the dropdown.

size
:
Ui.Size
=
Ui.Size::Inherit

The size of the picker.

value
:
Color
=
Color::HEX("000000FF")

The current value (as Color).

Functions

render
:
Html

Renders the date picker.