Module: ko/ui/spinner

ko/ui spinner element

This module inherits methods and properties from the module it extends. Add a loading spinner for async tasks.

Example

var spinner = require("ko/ui/spinner").create();
var panel = require("ko/ui/panel").create();
panel.addColumn(spinner);
panel.open();
Author:
  • NathanR, CareyH
License:
  • Mozilla Public License v. 2.0

Extends

Classes

Model()

Methods


require("ko/ui/spinner").create( [options])

Create a new spinner UI element

Parameters:
Name Type Argument Description
options object <optional>

An object containing attributes and options

Returns:
Type
module:ko/ui/spinner~Model