\Kendo\UI\ColorGradientMessages

A PHP class representing the messages setting of ColorGradient.

Methods

alpha

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

Returns

\Kendo\UI\ColorGradientMessages

Parameters

$value string

Example

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

blue

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

Returns

\Kendo\UI\ColorGradientMessages

Parameters

$value string

Example

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

contrastRatio

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

Returns

\Kendo\UI\ColorGradientMessages

Parameters

$value string

Example

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

fail

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

Returns

\Kendo\UI\ColorGradientMessages

Parameters

$value string

Example

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

green

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

Returns

\Kendo\UI\ColorGradientMessages

Parameters

$value string

Example

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

hex

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

Returns

\Kendo\UI\ColorGradientMessages

Parameters

$value string

Example

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

pass

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

Returns

\Kendo\UI\ColorGradientMessages

Parameters

$value string

Example

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

red

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

Returns

\Kendo\UI\ColorGradientMessages

Parameters

$value string

Example

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

toggleFormat

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

Returns

\Kendo\UI\ColorGradientMessages

Parameters

$value string

Example

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