focus

Focuses the widget.

Example

<div id="colorgradient"></div>
<script>
$("#colorgradient").kendoColorGradient();
var colorgradient = $("#colorgradient").data("kendoColorGradient");
colorgradient.focus();
</script>
In this article