label.floating Boolean
(default: false)
If set to true
, the widget will be wrapped in a container that will allow the fl
oating label functionality.
Important: The value meth od does not trigger the
focusout
event of the timepicker. This can affect the floating label functionality. To overcome this behavior, manually invoke therefresh
method of the Floating La bel:$("#timepicker").data("kendoTimePicker").label.floatingLabel.refresh( );
Example - create a floating label
<input id="timepicker" />
<script>
$("#timepicker").kendoTimePicker({
label: {
content: "Date",
floating: true
}
})
</script>