<kendo:autoComplete-label>

Adds a label before the input. If the input has no id attribute, a generated id will be assigned. The string and the function parameters are setting the inner HTML of the label.

Example

<kendo:autoComplete>
    <kendo:autoComplete-label></kendo:autoComplete-label>
</kendo:autoComplete>

Configuration Attributes

content java.lang.String

Sets the inner HTML of the label.

Example

<kendo:autoComplete-label content="content">
</kendo:autoComplete-label>

floating boolean

If set to true, the widget will be wrapped in a container that will allow the floating label functionality.

Example

<kendo:autoComplete-label floating="floating">
</kendo:autoComplete-label>

Event Attributes

content String

Sets the inner HTML of the label.

Example

<kendo:autoComplete-label content="handle_content">
</kendo:autoComplete-label>
<script>
    function handle_content(e) {
        // Code to handle the content event.
    }
</script>

Event Tags

kendo:autoComplete-label-content

Sets the inner HTML of the label.

Example

<kendo:autoComplete-label>
    <kendo:autoComplete-label-content>
        <script>
            function(e) {
                // Code to handle the content event.
            }
        </script>
    </kendo:autoComplete-label-content>
</kendo:autoComplete-label>
In this article
Not finding the help you need?