Spinner
The Spinner can be used with App, Aside, Table, SideBar and Button.
You can assign the data-ts.busy
to the App
element to initialize a
Spinner.
The attribute value can be true
or false
or perhaps an optional
loading messsage. The Spinner can also be controlled with an equivalent JavaScript API as
seen below.
If you want a blocking overlay, you can use the
data-ts.blocking
attribute.
You can use the function of spin(message)
to change the message of the
spinner
Aside and SideBar
Assign the Aside
or
SideBar
to initialize a Spinner.
You can also use the equivalent API.
Button
Assign the data-ts.busy
attribute to a Button
to initialize a
Spinner.
Table
You can assign the data-ts.busy
attribute to a Table
to initialize a
Spinner; or you can use the busy
and done
methods like this.