Home Reference Source
import TabsComponent from 'formiojs/src/components/tabs/Tabs.js'
public class | source

TabsComponent

Extends:

src/components/_classes/nested/NestedComponent.js~NestedComponent → TabsComponent

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: ...*): *

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

components: *[]

public
public get
public
public get

schema: *

public get
public get
public get
public

tabs: *[]

Method Summary

Public Methods
public

attach(element: *): *

public

beforeFocus(component: *)

public

clearErrorClasses(elements: *)

public

detach(all: *)

public
public

init()

public

render(): *

public

setErrorClasses(elements: *, dirty: *, hasErrors: *, hasMessages: *, element: *)

public

setTab(index: *)

Set the current tab.

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 Constructors

public constructor() source

Public Members

public components: *[] source

public currentTab: number source

public get defaultSchema: * source

public noField: boolean source

public get schema: * source

public get tabKey: string source

public get tabLikey: string source

public get tabLinkKey: string source

public tabs: *[] source

Public Methods

public attach(element: *): * source

Params:

NameTypeAttributeDescription
element *

Return:

*

public beforeFocus(component: *) source

Params:

NameTypeAttributeDescription
component *

public clearErrorClasses(elements: *) source

Params:

NameTypeAttributeDescription
elements *

public detach(all: *) source

Params:

NameTypeAttributeDescription
all *

public handleTabsValidation() source

public init() source

public render(): * source

Return:

*

public setErrorClasses(elements: *, dirty: *, hasErrors: *, hasMessages: *, element: *) source

Params:

NameTypeAttributeDescription
elements *
dirty *
hasErrors *
hasMessages *
element *
  • optional

public setTab(index: *) source

Set the current tab.

Params:

NameTypeAttributeDescription
index *