LayoutButtonFactory
Defined in: layoutFactory.ts:42
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new LayoutButtonFactory():
LayoutButtonFactory
Defined in: layoutFactory.ts:45
Returns
Section titled “Returns”LayoutButtonFactory
Properties
Section titled “Properties”button
Section titled “button”button:
LayoutButtonDef
Defined in: layoutFactory.ts:43
Methods
Section titled “Methods”key(
key?):this
Defined in: layoutFactory.ts:49
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”this
identifier()
Section titled “identifier()”identifier(
identifier?):this
Defined in: layoutFactory.ts:54
Parameters
Section titled “Parameters”identifier?
Section titled “identifier?”string
Returns
Section titled “Returns”this
title()
Section titled “title()”title(
title?):this
Defined in: layoutFactory.ts:59
Parameters
Section titled “Parameters”title?
Section titled “title?”string
Returns
Section titled “Returns”this
display()
Section titled “display()”display(
display):this
Defined in: layoutFactory.ts:64
Parameters
Section titled “Parameters”display
Section titled “display”boolean
Returns
Section titled “Returns”this
action()
Section titled “action()”action(
action?):this
Defined in: layoutFactory.ts:69
Parameters
Section titled “Parameters”action?
Section titled “action?”string
Returns
Section titled “Returns”this
function()
Section titled “function()”function(
functionDef?):this
Defined in: layoutFactory.ts:78
Parameters
Section titled “Parameters”functionDef?
Section titled “functionDef?”ButtonFunction
Returns
Section titled “Returns”this
link()
Section titled “link()”link(
link?):this
Defined in: layoutFactory.ts:87
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”this
style()
Section titled “style()”style(
style?):this
Defined in: layoutFactory.ts:96
Parameters
Section titled “Parameters”style?
Section titled “style?”string
Returns
Section titled “Returns”this
danger()
Section titled “danger()”danger():
LayoutButtonFactory
Defined in: layoutFactory.ts:101
Returns
Section titled “Returns”LayoutButtonFactory
icon()
Section titled “icon()”icon(
icon?):this
Defined in: layoutFactory.ts:110
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”this
form()
Section titled “form()”form(
form):this
Defined in: layoutFactory.ts:119
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”this
popconfirm()
Section titled “popconfirm()”popconfirm(
confirm):this
Defined in: layoutFactory.ts:124
Parameters
Section titled “Parameters”confirm
Section titled “confirm”string | boolean
Returns
Section titled “Returns”this
loading()
Section titled “loading()”loading(
loading):this
Defined in: layoutFactory.ts:133
Parameters
Section titled “Parameters”loading
Section titled “loading”boolean
Returns
Section titled “Returns”this
forceTitle()
Section titled “forceTitle()”forceTitle(
forceTitle?):this
Defined in: layoutFactory.ts:142
Parameters
Section titled “Parameters”forceTitle?
Section titled “forceTitle?”boolean = true
Returns
Section titled “Returns”this
iconOnly()
Section titled “iconOnly()”iconOnly(
iconOnly?):this
Defined in: layoutFactory.ts:151
Parameters
Section titled “Parameters”iconOnly?
Section titled “iconOnly?”boolean = true
Returns
Section titled “Returns”this
recipes()
Section titled “recipes()”recipes(
recipes):this
Defined in: layoutFactory.ts:156
Parameters
Section titled “Parameters”recipes
Section titled “recipes”LayoutElementRecipes | { hidden_from_frontend?: string; show_in?: string; recipes?: string; } | undefined
Returns
Section titled “Returns”this
options()
Section titled “options()”options(
options?):LayoutButtonFactory
Defined in: layoutFactory.ts:161
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”LayoutButtonFactory
type()
Section titled “type()”type(
type):LayoutButtonFactory
Defined in: layoutFactory.ts:166
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”LayoutButtonFactory
add(
button):LayoutButtonFactory
Defined in: layoutFactory.ts:171
Parameters
Section titled “Parameters”button
Section titled “button”LayoutButtonDef | LayoutButtonFactory
Returns
Section titled “Returns”LayoutButtonFactory
create()
Section titled “create()”create():
LayoutButtonDef
Defined in: layoutFactory.ts:177