Dashboard
A dashboard for combining the handling of multiple child input fields.
Options
- autoStart |
boolean
: if set totrue
, theonGenerate
function is executed at startup with the default input values. Default:true
. - autoUpdate |
boolean
: controls whether theonGenerate
function should be invoked automatically when one of the child input fields changes. Default:false
. - description |
(string|node)
: dashboard description. Default:''
. - disabled |
boolean
: controls whether the dashboard shall be disabled. Default:false
. - label |
string
: button label. Default:none
. - maxWidth |
number
: maximum width of dashboard. Default:600
. - className |
string
: class name. Default:''
. - bodyClassName |
string
: class name for the card body. Default:'d-grid gap-3'
. - style |
object
: CSS inline styles. Default:{}
. - onGenerate |
function
: function invoked when the button is clicked or one of the dashboard input values changes (ifautoUpdate
is set totrue
). The function is called with the values of the input fields, in the order in which they are placed in the dashboard. Default:onGenerate() {}
. - title |
(string|node)
: card title. Default:''
.
Examples
- Minimal
- Multiple Inputs
Live Editor
Result
ReferenceError: Provider is not defined
Live Editor
Result
ReferenceError: Provider is not defined