SignatureTagHelper
Example
Razor
<kendo-signature>
</kendo-signature>
Attributes
Attribute | Type | Description |
---|---|---|
name | String | Sets the name of the component. |
as-module | Boolean | Specifies whether the initialization script of the component will be rendered as a JavaScript module. |
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. |
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 | The name of the JavaScript function that will handle the change event. 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 | The name of the JavaScript function that will handle the close event. Fired when the value popup of the component is changed |
on-open | String | The name of the JavaScript function that will handle the open event. 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 |
rounded | Rounded | Sets a value controlling the border radius. |
script-attributes | IDictionary<String,Object> | Sets the attributes that will be added to the script tag of the component's initialization script. |
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. |
deferred | Boolean | Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method. |
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. |