Home Reference Source
public class | source

ProgressComponent

Extends:

potassium-es/src/Component~Component → ProgressComponent

ProgressComponent tracks change of a process.

TODO:

  • make it watch a field on the dataObject with a filter function that maps to 'starting'|'complete'|'failed'|[0,1]

Constructor Summary

Public Constructor
public

constructor(dataObject: DataObject, options: Object)

Member Summary

Public Members
public get

value: *

public set

Public Constructors

public constructor(dataObject: DataObject, options: Object) source

Params:

NameTypeAttributeDescription
dataObject DataObject
  • optional
  • default: null
options Object
  • optional
  • default: null
options.initialValue number
  • optional
  • default: 0
options.dataField string
  • optional
  • default: null

a DataModel field to track with this progress readout

Public Members

public get value: * source

public set value source