progress

Progress module.

Source:

module:progress

Source:

Maintains progress state of user traversing through form, using currently focused input or the last changed input as the indicator for the current location.

Members

(static) all :Array.<Element>

Source:
Type:
  • Array.<Element>

(static) lastChanged :Element

Source:
Type:
  • Element

(static) status :number

Source:
Type:
  • number

Methods

(static) get() → {string}

Source:
Returns:

status

Type
string

(static) update(el)

Source:

Updates rounded % value of progress and triggers event if changed.

Parameters:
Name Type Description
el Element

the element that represent the current state of progress

(static) updateTotal()

Source:

Updates total