label.content String|Function (default: "")

    Sets the inner HTML of the label.

    Example - create a label from a string

    Open In Dojo
    <input id="timepicker" />
    <script>
        $("#timepicker").kendoTimePicker({
                label: {
                    content: "Date"
                }
        })
    </script>

    The function context (available through the keyword this) will be set to the wid get instance.

    Example - create a label from a function

    Open In Dojo
    <input id="timepicker" />
    <script>
        $("#timepicker").kendoTimePicker({
                label: {
                    content: function() {
                        return "Date";
                    }
                }
        })
    </script>
    In this article