You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,7 @@ config includes following options:
36
36
Methods:
37
37
* on(delay): toggle loader on. return promise. (if delay is provided, wait delay(ms) before on )
38
38
* off(delay): toggle loader off. (if delay is provided, wait delay(ms) before off )
39
+
* cancel(v): cancel delayed action. force state to `v` if v is defined.
39
40
* is-on: return true if loader is running, else false.
40
41
* toggle(state,delay): toggle loader based on state(true/false). toggle according to current state if state is omitted. return promise ( delay behavior according to whether it's on or off )
41
42
* on(event, cb): listen to events, including: ( TBD? conflict with on(delay) )
0 commit comments