@serenity-is/corelib / ToolButton
Interface: ToolButton
Extends
Properties
action?
optionalaction:string
Inherited from
Defined in
cssClass?
optionalcssClass:string
Inherited from
Defined in
disabled?
optionaldisabled:boolean| () =>boolean
Inherited from
Defined in
hint?
optionalhint:string
Inherited from
Defined in
hotkey?
optionalhotkey:string
Defined in
hotkeyAllowDefault?
optionalhotkeyAllowDefault:boolean
Defined in
hotkeyContext?
optionalhotkeyContext:any
Defined in
icon?
optionalicon:IconClassName
Inherited from
Defined in
onClick()?
optionalonClick: (e) =>void
Parameters
e
MouseEvent & object
Returns
void
Inherited from
Defined in
ref()?
optionalref: (el) =>void
Parameters
el
HTMLElement
Returns
void
Inherited from
Defined in
separator?
optionalseparator:boolean|"left"|"right"|"both"
Defined in
title?
optionaltitle:string|HTMLElement|DocumentFragment|SVGElement
Inherited from
Defined in
visible?
optionalvisible:boolean| () =>boolean