\Kendo\UI\AutoCompletePrefixOptions

A PHP class representing the prefixOptions setting of AutoComplete.

Methods

icon

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

Returns

\Kendo\UI\AutoCompletePrefixOptions

Parameters

$value string

Example

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

separator

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

Returns

\Kendo\UI\AutoCompletePrefixOptions

Parameters

$value boolean

Example

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

template

The template for the prefix adornment of the component.

Returns

\Kendo\UI\AutoCompletePrefixOptions

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

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

Example - using \Kendo\JavaScriptFunction

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