X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Fjquery%2Fjquery.spinner.js;h=073fb3dc5732bf6c6334a6af3a51afc16521beda;hb=ff25ac0533bb74b7a4fcac0e9a06efb5a5a8c2d5;hp=1cd6ff0576e4f2fe68f3cd45d66a89bbad98f253;hpb=e7c8c43d2336540eae0d0279e3e7e945acff8c89;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/jquery/jquery.spinner.js b/resources/jquery/jquery.spinner.js index 1cd6ff0576..073fb3dc57 100644 --- a/resources/jquery/jquery.spinner.js +++ b/resources/jquery/jquery.spinner.js @@ -49,16 +49,13 @@ * * @static * @inheritable - * @param {Object|string} [opts] Options. An object with the following keys: - * - * - id: If given, spinner will be given an id of "mw-spinner-{id}" - * - size: 'small' (default) or 'large' for a 20-pixel or 32-pixel spinner - * - type: 'inline' (default) or 'block'. Inline creates an inline-block with width and - * height equal to spinner size. Block is a block-level element with width 100%, height - * equal to spinner size. - * - * If a string is given, it will be treated as the value of the 'id' option. - * + * @param {Object|string} [opts] Options. If a string is given, it will be treated as the value + * of the `id` option. If an object is given, the possible option keys are: + * @param {string} [opts.id] If given, spinner will be given an id of "mw-spinner-{id}". + * @param {string} [opts.size='small'] 'small' or 'large' for a 20-pixel or 32-pixel spinner. + * @param {string} [opts.type='inline'] 'inline' or 'block'. Inline creates an inline-block with + * width and height equal to spinner size. Block is a block-level element with width 100%, + * height equal to spinner size. * @return {jQuery} */ createSpinner: function ( opts ) {