Constructor
new ProgressComponent(dataObjectopt, optionsopt)
Parameters:
Name | Type | Attributes | Default | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dataObject |
DataObject |
<optional> |
null | ||||||||||||||||
options |
Object |
<optional> |
null |
Properties
|
- Source:
- To Do:
-
- make it watch a field on the dataObject with a filter function that maps to 'starting'|'complete'|'failed'|[0,1]
Example
const progressComponent = new ProgressComponent(myDataModel, {
dataField: 'completion'
})
Members
value
value - float from 0 to 1
value
value - float from 0 to 1