Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ColorPickerDef

This will create color picker.

WARNING: Name of this interface differs from value expected in type field ("ColorSelector" instead of "ColorPicker"). Make sure to use the correct value.

Hierarchy

Indexable

[key: string]: any

This will create color picker.

WARNING: Name of this interface differs from value expected in type field ("ColorSelector" instead of "ColorPicker"). Make sure to use the correct value.

Index

Properties

Optional afterInit

Optional attr

attr: IDictionary<string>

Object defining html attributes for controls root element.

Optional big

big: undefined | false | true

if true will render color picker control as big thumbnail. (default: false)

Optional change

Callback that will be called when color is changed.

Optional click

Callback that will be called when control is clicked.

Optional colorSelectorClass

colorSelectorClass: undefined | string

CSS class to add to color picker popup.

Optional css

css: JQueryCssProperties

Object defining css styles for controls root element.

Optional enabled

enabled: undefined | false | true

If true control will be enabled if false control will be disabled (inactive).

Optional fixedWidth

fixedWidth: undefined | number

Optional id

id: undefined | string

Reference id of the control, it will be used to reference this control in the code throuth FieldsIndex objects.

Optional ignore

ignore: undefined | false | true

If true this control definition will be ignored and control will not be initiated.

Optional init

Callback that will be called when control is initialised.

Optional noAlpha

noAlpha: undefined | false | true

If true will not allow to select opacity. (default: false)

Optional noFidexWidth

noFidexWidth: undefined | false | true

If true control width will adjust to parent width else will be fixed width. (default: false)

noTransparent

noTransparent: boolean

If true will not allow to select transparent color. (default: false)

Optional on

Optional styleClass

styleClass: undefined | string

Style class to add on root element of the control.

type

type: "ColorSelector"

Optional value

value: undefined | string

Initial color in a hex form (ex. #000000).

Optional visible

visible: undefined | false | true

Set initial visibility of control. (default: true)