Command

A widget which displays items as a canonical menu.

Example
//Python:
import dash
import dash_lumino_components as dlc

command_open = dlc.Command(id="com:openwidget", label="Open", icon="fa fa-plus")

Type Definitions

propTypes

Properties
NameTypeDescription
idstring

The id of the command

labelstring

The label of the command

iconstring

The icon of the command (a cass class name)

n_callednumber

Number of times the command was called

n_called_timestampnumber

Last time that command was called.

setProps

Dash-assigned callback that gets fired when the value changes.