@serenity-is/corelib / ToolButton
Interface: ToolButton
Defined in: src/ui/widgets/toolbar.tsx:16
Extends
Properties
action?
optionalaction:string
Defined in: src/ui/widgets/toolbar.tsx:5
Inherited from
cssClass?
optionalcssClass:string
Defined in: src/ui/widgets/toolbar.tsx:8
Inherited from
disabled?
optionaldisabled:boolean| () =>boolean
Defined in: src/ui/widgets/toolbar.tsx:13
Inherited from
hint?
optionalhint:string
Defined in: src/ui/widgets/toolbar.tsx:7
Inherited from
hotkey?
optionalhotkey:string
Defined in: src/ui/widgets/toolbar.tsx:17
hotkeyAllowDefault?
optionalhotkeyAllowDefault:boolean
Defined in: src/ui/widgets/toolbar.tsx:18
hotkeyContext?
optionalhotkeyContext:any
Defined in: src/ui/widgets/toolbar.tsx:19
icon?
optionalicon:IconClassName
Defined in: src/ui/widgets/toolbar.tsx:9
Inherited from
onClick()?
optionalonClick: (e) =>void
Defined in: src/ui/widgets/toolbar.tsx:10
Parameters
e
MouseEvent & object
Returns
void
Inherited from
ref()?
optionalref: (el) =>void
Defined in: src/ui/widgets/toolbar.tsx:11
Parameters
el
HTMLElement
Returns
void
Inherited from
separator?
optionalseparator:boolean|"left"|"right"|"both"
Defined in: src/ui/widgets/toolbar.tsx:20
title?
optionaltitle:string|HTMLElement|DocumentFragment|SVGElement|MathMLElement
Defined in: src/ui/widgets/toolbar.tsx:6
Inherited from
visible?
optionalvisible:boolean| () =>boolean
Defined in: src/ui/widgets/toolbar.tsx:12