Module: ko/progress

Shows a small panel with a progress indicator, allows setting of messages to indicate progress

Classes

Progress()

Methods


require("ko/progress").get(determined)

Get a progress element, which can be inserted into the DOM however wanted

Parameters:
Name Type Description
determined bool

whether this progress indicator is determined or undetermined (spinner or load progress)

Returns:

Returns instance of progress, which holds the .message(value) and .close() methods

Type
module:ko/progress~Progress

require("ko/progress").open(determined)

Open a new progress panel

Parameters:
Name Type Description
determined bool

whether this progress indicator is determined or undetermined (spinner or load progress)

Returns:

Returns instance of progress, which holds the .message(value) and .close() methods

Type
module:ko/progress~Progress