Skip to content

LayoutButtonFactory

Constructors

new LayoutButtonFactory()

new LayoutButtonFactory(): LayoutButtonFactory

Returns

LayoutButtonFactory

Defined in

layoutFactory.ts:45

Properties

button

button: LayoutButtonDef

Defined in

layoutFactory.ts:43

Methods

key()

key(key?): this

Parameters

key?: string

Returns

this

Defined in

layoutFactory.ts:49


identifier()

identifier(identifier?): this

Parameters

identifier?: string

Returns

this

Defined in

layoutFactory.ts:54


title()

title(title?): this

Parameters

title?: string

Returns

this

Defined in

layoutFactory.ts:59


display()

display(display): this

Parameters

display: boolean

Returns

this

Defined in

layoutFactory.ts:64


action()

action(action?): this

Parameters

action?: string

Returns

this

Defined in

layoutFactory.ts:69


function()

function(functionDef?): this

Parameters

functionDef?: ButtonFunction

Returns

this

Defined in

layoutFactory.ts:78


link(link?): this

Parameters

link?: string

Returns

this

Defined in

layoutFactory.ts:87


style()

style(style?): this

Parameters

style?: string

Returns

this

Defined in

layoutFactory.ts:96


danger()

danger(): LayoutButtonFactory

Returns

LayoutButtonFactory

Defined in

layoutFactory.ts:101


icon()

icon(icon?): this

Parameters

icon?: string

Returns

this

Defined in

layoutFactory.ts:110


form()

form(form): this

Parameters

form: boolean

Returns

this

Defined in

layoutFactory.ts:119


popconfirm()

popconfirm(confirm): this

Parameters

confirm: string | boolean

Returns

this

Defined in

layoutFactory.ts:124


loading()

loading(loading): this

Parameters

loading: boolean

Returns

this

Defined in

layoutFactory.ts:133


forceTitle()

forceTitle(forceTitle): this

Parameters

forceTitle: boolean = true

Returns

this

Defined in

layoutFactory.ts:142


iconOnly()

iconOnly(iconOnly): this

Parameters

iconOnly: boolean = true

Returns

this

Defined in

layoutFactory.ts:151


recipes()

recipes(recipes): this

Parameters

recipes: undefined | LayoutElementRecipes | object

Returns

this

Defined in

layoutFactory.ts:156


options()

options(options?): LayoutButtonFactory

Parameters

options?: LayoutEventTargetOptions

Returns

LayoutButtonFactory

Defined in

layoutFactory.ts:161


type()

type(type): LayoutButtonFactory

Parameters

type: string

Returns

LayoutButtonFactory

Defined in

layoutFactory.ts:166


add()

add(button): LayoutButtonFactory

Parameters

button: LayoutButtonDef | LayoutButtonFactory

Returns

LayoutButtonFactory

Defined in

layoutFactory.ts:171


create()

create(): LayoutButtonDef

Returns

LayoutButtonDef

Defined in

layoutFactory.ts:177