new Spinner()
wp.media.view.Spinner
Represents a spinner in the Media Library.
- Since:
-
- 3.9.0
- Source:
Extends
- wp.media.View
- wp.Backbone.View
- Backbone.View
Methods
-
dispose()
-
- Inherited From:
- Source:
- To Do:
-
- The internal comment mentions this might have been a stop-gap before Backbone 0.9.8 came out. Figure out if Backbone core takes care of this in Backbone.View now.
Returns:
Returns itself to allow chaining.- Type
- wp.media.View
-
hide()
-
Hides the spinner.
- Since:
-
- 3.9.0
- Source:
Returns:
The spinner. -
remove()
-
- Inherited From:
- Source:
Returns:
Returns itself to allow chaining.- Type
- wp.media.View
-
show()
-
Shows the spinner. Delays the visibility by the configured amount.
- Since:
-
- 3.9.0
- Source:
Returns:
The spinner.