IProps | @jupyterlab (original) (raw)
Interface for CommandToolbarButtonComponent props.
Index
Properties
Optional
args
Command arguments
Optional
caption
caption?: string
Overrides command caption
commands
Application commands registry
Optional
icon
Overrides command icon
id
id: string
Command unique id
Optional
label
label?: string | CommandFunc<string>
Overrides command label
Optional
noFocusOnClick
noFocusOnClick?: boolean
Trigger the button on onMouseDown event rather than onClick, to avoid giving the focus on the button.