- Source
Example
//Python:
import dash
import dash_lumino_components as dlc
dock = dlc.DockPanel([
dlc.Widget(
"Content",
id="test-widget",
title="Title",
icon="fa fa-folder-open",
closable=True,
caption="Hover label of the widget"
)],
id="dock-panel")
Type Definitions
propTypes
PropertiesName | Type | Description |
---|---|---|
id | string | ID of the widget |
children | Object | | The children of this component |
title | string | The title of the widget |
closable | boolean | Is the widget closable |
caption | string | The long title of the widget |
deleted | boolean | Is the widget deleted. Note: In the future this might dissapear and the deleted widgets are automatically removed from the dom. |
icon | string | The icon of the widget (a cass class name) |
setProps | Dash-assigned callback that should be called to report property changes to Dash, to make them available for callbacks. |
- Source