- Source
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
PropertiesName | Type | Description |
---|---|---|
id | string | The id of the command |
label | string | The label of the command |
icon | string | The icon of the command (a cass class name) |
n_called | number | Number of times the command was called |
n_called_timestamp | number | Last time that command was called. |
setProps | Dash-assigned callback that gets fired when the value changes. |
- Source