class Color (View source)

Methods

output($inputName, $value = null, $options = array())

Creates form fields and JavaScript includes to add a color picker widget.

Details

output($inputName, $value = null, $options = array())

Creates form fields and JavaScript includes to add a color picker widget.

$dh->output('background-color', '#f00'); .

Parameters

$inputName
$value
$options