Module: jPicker

jPicker (Adapted from version 1.1.6)

jQuery Plugin for Photoshop style color picker

License:
Source:

Classes

module.exports

Methods

(static) jPicker($) → {external:jQuery}

Parameters:
Name Type Description
$ external:jQuery

The jQuery object, external:jQuery.fn.$.fn.jPicker, external:jQuery.fn.$.fn.jPicker.defaults)

Source:
Returns:
Type
external:jQuery

(inner) isNullish(val) → {boolean}

Whether a value is null or undefined.

Parameters:
Name Type Description
val any
Source:
Returns:
Type
boolean

Type Definitions

CancelCallback(activeColor, cancelButton) → {void}

Parameters:
Name Type Description
activeColor external:jQuery.jPicker.Color
cancelButton external:jQuery
Source:
Returns:

Return value not used.

Type
void

CommitCallback(activeColor, okButton) → {void}

Parameters:
Name Type Description
activeColor external:jQuery.jPicker.Color
okButton external:jQuery
Source:
Returns:

Return value not used.

Type
void

HSV

Type:
Properties:
Name Type Description
h Integer
s Integer
v Integer
Source:

JPickerInit

Type:
Properties:
Name Type Attributes Description
a Integer <optional>
b Integer <optional>
g Integer <optional>
h Integer <optional>
r Integer <optional>
s Integer <optional>
v Integer <optional>
hex string <optional>
ahex string <optional>
Source:

LiveCallback(ui, context) → {void}

Will be bound to active jQuery.jPicker.Color.

Parameters:
Name Type Description
ui external:jQuery
context Element
Source:
Returns:
Type
void

MinMaxRangeX

Type:
Properties:
Name Type Description
minX Float
maxX Float
rangeX Float
Source:

MinMaxRangeXY

Type:
Source:

MinMaxRangeY

Type:
Properties:
Name Type Description
minY Float
maxY Float
rangeY Float
Source:

RGB

Type:
Properties:
Name Type Description
r Integer
g Integer
b Integer
Source:

RGBA

Type:
Properties:
Name Type Description
r Integer
g Integer
b Integer
a Integer
Source:

SliderOptions

Type:
Properties:
Name Type Description
arrow external:jQuery | PlainObject
Properties
Name Type Description
image string

Not in use?

width Float
height Float
map PlainObject
Properties
Name Type Description
width Float
height Float
Source: