\Kendo\UI\ChipListItem

A PHP class representing the item setting of ChipListItems.

Methods

attributes

Defines custom attributes of the Chip's element.

Returns

\Kendo\UI\ChipListItem

Parameters

$value ``

avatarClass

If set, value will be appended to the icon's element class attribute. It also appends "k-chip avatar" and "k-avatar" classes to the icon's element.

Returns

\Kendo\UI\ChipListItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\ChipListItem();
$item->avatarClass('value');
?>

enabled

Toggles the enabled state of the Chip item.

Returns

\Kendo\UI\ChipListItem

Parameters

$value boolean

Example

<?php
$item = new \Kendo\UI\ChipListItem();
$item->enabled(true);
?>

icon

Defines the name for an existing icon in a Kendo UI theme or SVG content. The icon is rendered inside the chip by a span.k-icon or span.k-svg-icon element.See web font icons help article for more details on Kendo UI icons.

Returns

\Kendo\UI\ChipListItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\ChipListItem();
$item->icon('value');
?>

iconClass

If set, value will be appended to the icon's element class attribute.

Returns

\Kendo\UI\ChipListItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\ChipListItem();
$item->iconClass('value');
?>

label

The label text of the chip. Default is empty string.

Returns

\Kendo\UI\ChipListItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\ChipListItem();
$item->label('value');
?>

selected

Toggles the selected state of the Chip.

Returns

\Kendo\UI\ChipListItem

Parameters

$value boolean

Example

<?php
$item = new \Kendo\UI\ChipListItem();
$item->selected(true);
?>

themeColor

Sets the color of the component according to the applied theme.

Returns

\Kendo\UI\ChipListItem

Parameters

$value string

Example

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