Make WordPress Core

Changeset 42675


Ignore:
Timestamp:
02/09/2018 02:31:18 PM (7 years ago)
Author:
atimmer
Message:

Docs: Improve JSDoc for media/views/spinner.js.

Props avillegasn.
Fixes #43230.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/media/views/spinner.js

    r41351 r42675  
    11/**
    22 * wp.media.view.Spinner
     3 *
     4 * Represents a spinner in the Media Library.
     5 *
     6 * @since 3.9.0
    37 *
    48 * @memberOf wp.media.view
     
    1519    delay: 400,
    1620
     21    /**
     22     * Shows the spinner. Delays the visibility by the configured amount.
     23     *
     24     * @since 3.9.0
     25     *
     26     * @return {wp.media.view.Spinner} The spinner.
     27     */
    1728    show: function() {
    1829        if ( ! this.spinnerTimeout ) {
     
    2536    },
    2637
     38    /**
     39     * Hides the spinner.
     40     *
     41     * @since 3.9.0
     42     *
     43     * @return {wp.media.view.Spinner} The spinner.
     44     */
    2745    hide: function() {
    2846        this.$el.removeClass( 'is-active' );
Note: See TracChangeset for help on using the changeset viewer.