New to Telerik UI for PHP? Download free 30-day trial

\Kendo\UI\ColorPickerMessages

A PHP class representing the messages setting of ColorPicker.

Methods

apply

Allows customization of the "Apply" button text.

Returns

\Kendo\UI\ColorPickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\ColorPickerMessages();
$messages->apply('value');
?>

blue

Allows customization of the rgb's blue input's aria-label in the Gradient's input editor. ### messages.alpha String (default: "Alpha")Allows customization of the rgb's alpha input's aria-label in the Gradient's input editor.

Returns

\Kendo\UI\ColorPickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\ColorPickerMessages();
$messages->blue('value');
?>

cancel

Allows customization of the "Cancel" button text.

Returns

\Kendo\UI\ColorPickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\ColorPickerMessages();
$messages->cancel('value');
?>

clearColor

Allows customization of the Clear Color button label.

Returns

\Kendo\UI\ColorPickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\ColorPickerMessages();
$messages->clearColor('value');
?>

contrastRatio

Allows customization of the "Contrast ratio" text in the contrast tool.

Returns

\Kendo\UI\ColorPickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\ColorPickerMessages();
$messages->contrastRatio('value');
?>

fail

Allows customization of the "Fail" text in the contrast tool.

Returns

\Kendo\UI\ColorPickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\ColorPickerMessages();
$messages->fail('value');
?>

gradient

Allows customization of the Gradient view button.

Returns

\Kendo\UI\ColorPickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\ColorPickerMessages();
$messages->gradient('value');
?>

green

Allows customization of the rgb's green input's aria-label in the Gradient's input editor.

Returns

\Kendo\UI\ColorPickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\ColorPickerMessages();
$messages->green('value');
?>

hex

Allows customization of the hex input's aria-label in the Gradient's input editor.

Returns

\Kendo\UI\ColorPickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\ColorPickerMessages();
$messages->hex('value');
?>

palette

Allows customization of the Palette view button.

Returns

\Kendo\UI\ColorPickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\ColorPickerMessages();
$messages->palette('value');
?>

pass

Allows customization of the "Pass" text in the contrast tool.

Returns

\Kendo\UI\ColorPickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\ColorPickerMessages();
$messages->pass('value');
?>

previewInput

Overrides the messages.hex property. Legacy option.

Returns

\Kendo\UI\ColorPickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\ColorPickerMessages();
$messages->previewInput('value');
?>

red

Allows customization of the rgb's red input's aria-label in the Gradient's input editor.

Returns

\Kendo\UI\ColorPickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\ColorPickerMessages();
$messages->red('value');
?>

toggleFormat

Allows customization of the toggle format button's title in the Gradient's input editor.

Returns

\Kendo\UI\ColorPickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\ColorPickerMessages();
$messages->toggleFormat('value');
?>
In this article
Not finding the help you need?