New to Kendo UI for jQueryStart a free 30-day trial

Content

methods

Gets or sets the text content.

Parameters:valueString

The new text content to set.

Returns:String

The current content of the text.

<div id="surface"></div>
<script>
    var draw = kendo.drawing;
    var geom = kendo.geometry;

    var position = new geom.Point(10, 10);
    var text = new draw.Text("", position);

    var surface = draw.Surface.create($("#surface"));
    surface.draw(text);

    setInterval(function() {
        text.content(kendo.toString(new Date(), "T"));
    }, 1000);
</script>
Not finding the help you need?
Contact Support