readonly
Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input.
Parameters
readonly Boolean
If set to true
, the widget will not allow user input. If set to false
, the widget will allow user input.
Example - allow user input
<div id="signature"></div>
<script>
$("#signature").kendoSignature({
readonly: true
});
var signature = $("#signature").data("kendoSignature");
signature.readonly(false);
</script>
Example - make the widget readonly
<div id="signature"></div>
<script>
$("#signature").kendoSignature();
var signature = $("#signature").data("kendoSignature");
signature.readonly(true);
</script>