\Kendo\UI\MultiSelectPrefixOptions

A PHP class representing the prefixOptions setting of MultiSelect.

Methods

icon

Defines the name for an existing icon in a Kendo UI theme or SVG content

Returns

\Kendo\UI\MultiSelectPrefixOptions

Parameters

$value string

Example

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

separator

If set to false, the prefix adornment will not have a separator.

Returns

\Kendo\UI\MultiSelectPrefixOptions

Parameters

$value boolean

Example

<?php
$prefixOptions = new \Kendo\UI\MultiSelectPrefixOptions();
$prefixOptions->separator(true);
?>

template

The template for the prefix adornment of the component.

Returns

\Kendo\UI\MultiSelectPrefixOptions

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

<?php
$prefixOptions = new \Kendo\UI\MultiSelectPrefixOptions();
$prefixOptions->template('value');
?>

Example - using \Kendo\JavaScriptFunction

<?php
$prefixOptions = new \Kendo\UI\MultiSelectPrefixOptions();
$prefixOptions->template(new \Kendo\JavaScriptFunction('function() { }'));
?>
In this article
Not finding the help you need?