Home Reference Source
import ButtonComponent from 'formiojs/src/components/button/Button.js'
public class | source

ButtonComponent

Extends:

src/components/_classes/component/Component.js~ComponentField → ButtonComponent

Direct Subclass:

StripeCheckoutComponent

Static Member Summary

Static Public Members
public static get

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

Static Method Summary

Static Public Methods
public static

schema(extend: ...*): *

Member Summary

Public Members
public get
public get

clicked: *

public
public get
public get
public
public get
public
public get
public get

labelInfo: {"hidden": boolean}

public set
public get
public get
Private Members
private

Method Summary

Public Methods
public

attach(element: *): *

public
public

createInput(container: *): *

public
public

detach(element: *)

public

focus()

public

getValue(): *

public

onClick(event: *)

public

openOauth(settings: *)

public

render(): *

public

Inherited Summary

From class Field
public

render(element: *): *

Static Public Members

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

Static Public Methods

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

Params:

NameTypeAttributeDescription
extend ...*

Return:

*

Public Members

public get className: * source

public get clicked: * source

public dataValue: boolean source

public get defaultSchema: * source

public get defaultValue: boolean source

public disabled: boolean source

public get emptyValue: boolean source

public hasError: boolean source

public get inputInfo: * source

public get labelInfo: {"hidden": boolean} source

public set loading source

public get oauthConfig: boolean source

public get skipInEmail: boolean source

Private Members

private _visible: boolean source

Public Methods

public attach(element: *): * source

Params:

NameTypeAttributeDescription
element *

Return:

*

public attachButton() source

public createInput(container: *): * source

Params:

NameTypeAttributeDescription
container *

Return:

*

public createLabel() source

public detach(element: *) source

Params:

NameTypeAttributeDescription
element *

public focus() source

public getValue(): * source

Return:

*

public onClick(event: *) source

Params:

NameTypeAttributeDescription
event *

public openOauth(settings: *) source

Params:

NameTypeAttributeDescription
settings *

public render(): * source

Override:

Field#render

Return:

*

public triggerReCaptcha() source