SignatureComponent
Represents the Kendo UI Signature component for Angular.
Use the Signature to let users add a hand-drawn signature to forms.
<kendo-signature [(ngModel)]="signatureValue"></kendo-signature>
Selector
kendo-signature
Export Name
Accessible in templates as #kendoSignatureInstance="kendoSignature"
Inputs
| Name | Type | Default | Description | 
|---|---|---|---|
backgroundColor | 
 | 
 Sets the background color of the Signature. Accepts CSS color names and hex values.
The default value is determined by the theme   | |
color | 
 | 
 Sets the stroke color of the Signature. Accepts CSS color names and hex values.
The default value is determined by the theme   | |
exportScale | 
 | 
 | 
 Sets the scale factor for the exported image. The Signature width and height are multiplied by this value when converting the signature to an image.  | 
fillMode | 
 | 
 | 
 Sets the background and border styles of the Signature (see example).  | 
height | 
 | 
 Sets the height of the Signature in pixels. You can also set the height using inline styles or CSS.  | |
hideLine | 
 | 
 | 
 When set to   | 
maximizable | 
 | 
 | 
 When set to   | 
popupScale | 
 | 
 | 
 Sets the scale factor for the popup. The Signature width and height are multiplied by this value when showing the popup.  | 
rounded | 
 | 
 | 
 Sets the border radius of the Signature (see example).  | 
size | 
 | 
 | 
 Sets the padding of the Signature internal controls (ee example).  | 
smooth | 
 | 
 | 
 When set to   | 
strokeWidth | 
 | 
 | 
 Sets the stroke width of the Signature.  | 
tabindex | 
 | 
 | 
 Specifies the tabindex of the component.  | 
value | 
 | 
 Gets or sets the value of the Signature. The value is a Base64-encoded PNG image.  | |
width | 
 | 
 Sets the width of the Signature in pixels. You can also set the width using inline styles or CSS.  | 
Fields
| Name | Type | Default | Description | 
|---|---|---|---|
disabled | 
 | 
 | 
 Sets the disabled state of the Signature. Set to   | 
isFocused | 
 | 
 Indicates if the Signature wrapper is focused.  | |
isOpen | 
 | 
 Indicates if the Signature popup is open.  | |
readonly | 
 | 
 | 
 Sets the read-only state of the Signature. Set to   | 
Events
| Name | Type | Description | 
|---|---|---|
close | 
 | 
 Fires before the popup closes. This event is preventable. If you cancel it, the popup stays open.  | 
blur | 
 | 
 Fires when the Signature loses focus.  | 
focus | 
 | 
 Fires when the Signature receives focus.  | 
open | 
 | 
 Fires before the popup opens. This event is preventable. If you cancel it, the popup stays closed.  | 
valueChange | 
 | 
 Fires when the signature value changes.  | 
Methods
blur | 
|---|
| 
 Blurs the Signature.  | 
focus | 
|---|
| 
 Focuses the Signature wrapper container.  | 
reset | 
|---|
| 
 Clears the value of the Signature.  | 
toggle | ||||||
|---|---|---|---|---|---|---|
| 
 Toggles the popup of the Signature. Does not trigger the   | ||||||
  |