Home Reference Source
import SignatureComponent from 'formiojs/src/components/signature/Signature.js'
public class | source

SignatureComponent

Extends:

src/components/_classes/input/Input.js~Input → SignatureComponent

Static Member Summary

Static Public Members
public static get

builderInfo: {"title": string, "group": string, "icon": string, "weight": number, "documentation": string, "schema": *}

Static Method Summary

Static Public Methods
public static

schema(extend: ...*): *

Member Summary

Public Members
public get
public
public get
public get
public get
public get
public
public
public

Method Summary

Public Methods
public

attach(element: *): *

public

checkSize(force: *, scale: *)

public

detach()

public

focus()

public
public

getValueAsString(value: *): *

public

init()

public
public
public

renderElement(value: *, index: *): *

public
public

setValue(value: *, flags: {}): *

public

showCanvas(show: *)

Static Public Members

public static get builderInfo: {"title": string, "group": string, "icon": string, "weight": number, "documentation": string, "schema": *} source

Static Public Methods

public static schema(extend: ...*): * source

Params:

NameTypeAttributeDescription
extend ...*

Return:

*

Public Members

public get className: string source

public currentWidth: number source

public get defaultSchema: * source

public get emptyValue: string source

public get hasModalSaveButton: boolean source

public get inputInfo: * source

public observer: * source

public scale: number source

public signaturePad: * source

Public Methods

public attach(element: *): * source

Params:

NameTypeAttributeDescription
element *

Return:

*

public checkSize(force: *, scale: *) source

Params:

NameTypeAttributeDescription
force *
scale *

public detach() source

public focus() source

public getModalPreviewTemplate(): * source

Return:

*

public getValueAsString(value: *): * source

Params:

NameTypeAttributeDescription
value *

Return:

*

public init() source

public labelIsHidden(): * source

Return:

*

public onDisabled() source

public renderElement(value: *, index: *): * source

Params:

NameTypeAttributeDescription
value *
index *

Return:

*

public setDataToSigaturePad() source

public setValue(value: *, flags: {}): * source

Params:

NameTypeAttributeDescription
value *
flags {}
  • optional
  • default: {}

Return:

*

public showCanvas(show: *) source

Params:

NameTypeAttributeDescription
show *