Signature
Example
Razor
<kendo-signature>
</kendo-signature>
Attributes
Attribute | Type | Description |
---|---|---|
name | String | Sets the name of the component. |
has-client-component | Boolean | |
deferred | Boolean | Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method. |
is-in-client-template | Boolean | When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute. |
as-module | Boolean | |
background-color | String | Gets or sets the background color of the signature. |
color | String | The stroke color of the signature. |
enable | Boolean | If set to false, the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input. |
fill-mode | FillMode | Sets a value controlling how the color is applied. |
height | Double | Determines the height of the signature in pixels. |
hide-line | Boolean | A value indicating whether the dotted line should be displayed in the background. |
label | String | Specifies the label that will be rendered on the k-signature-canvas element of the component with the aria-label attribute. |
maximizable | Boolean | A value indicating whether the component can be maximized |
on-change | String | Fired when the value of the widget is changed by the user.The event handler function context (available via the this keyword) will be set to the widget instance. |
on-close | String | Fired when the value popup of the component is changed |
on-open | String | Fired when the value of the widget is changed by the user.The event handler function context (available via the this keyword) will be set to the widget instance. |
popup-scale | Double | Defines a value indicating the scaling size of the popup signature pad |
readonly | Boolean | If set to true, the widget will be readonly and will not allow user input. The widget is not readonly by default and allows user input. |
rounded | Rounded | Sets a value controlling the border radius. |
sanitize-id | Boolean | |
script-attributes | IDictionary<String,Object> | |
size | ComponentSize | Sets a value controlling the size of the component. |
smooth | Boolean | A value indicating whether to smoothen out the signature lines. |
stroke-width | Double | Defines how wide will the stroke be. |
value | String | A string value representing a Base64-encoded PNG image |
width | Double | Determines the width of the signature in pixels. |