ColourPicker
com.alecdorrington.laminarcomponents.ColourPicker
object ColourPicker
A swatch opening a popover that chooses a colour from given swatches, by shade and hue, or by its #rrggbb code. The popover is position: fixed and placed again beside its swatch on every scroll, so that a scrolling list cannot clip it. A colour is chosen only once a gesture settles (a drag let go), never mid-drag, so that choosing may ask a question or save.
Drawn as .lc-colour-picker, its swatch .lc-colour-swatch, and its popover .lc-colour-popover, holding the .lc-colour-presets (.lc-colour-preset), the .lc-colour-field of shades (its thumb .lc-colour-field-thumb), the .lc-colour-hue slider and the .lc-colour-code field.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ColourPicker.type
Members list
In this article