PHP Class Kirki_Controls_Color_Control, kirki

See also: https://github.com/23r9i0/wp-color-picker-alpha
Inheritance: extends Kirki_Customize_Control
Datei anzeigen Open project: aristath/kirki

Public Properties

Property Type Description
$palette boolean Colorpicker palette
$type string The control type.

Public Methods

Method Description
enqueue ( ) Enqueue control related scripts/styles.
to_json ( ) Refresh the parameters passed to the JavaScript via JSON.

Protected Methods

Method Description
content_template ( ) An Underscore (JS) template for this control's content (but not its container).

Method Details

content_template() protected method

Class variables for this control class are available in the data JS object; export custom variables by overriding {@see \Kirki_Customize_Control::to_json()}.
See also: WP_Customize_Control::print_template()
protected content_template ( )

enqueue() public method

Enqueue control related scripts/styles.
public enqueue ( )

to_json() public method

Refresh the parameters passed to the JavaScript via JSON.
public to_json ( )

Property Details

$palette public_oe property

Colorpicker palette
public bool $palette
return boolean

$type public_oe property

The control type.
public string $type
return string