编辑:progressbar.js
/*! * jQuery UI Progressbar 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ //>>label: Progressbar //>>group: Widgets /* eslint-disable max-len */ //>>description: Displays a status indicator for loading state, standard percentage, and other progress indicators. /* eslint-enable max-len */ //>>docs: https://api.jqueryui.com/progressbar/ //>>demos: https://jqueryui.com/progressbar/ //>>css.structure: ../../themes/base/core.css //>>css.structure: ../../themes/base/progressbar.css //>>css.theme: ../../themes/base/theme.css ( function( factory ) { "use strict"; if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define( [ "jquery", "../version", "../widget" ], factory ); } else { // Browser globals factory( jQuery ); } } )( function( $ ) { "use strict"; return $.widget( "ui.progressbar", { version: "1.13.3", options: { classes: { "ui-progressbar": "ui-corner-all", "ui-progressbar-value": "ui-corner-left", "ui-progressbar-complete": "ui-corner-right" }, max: 100, value: 0, change: null, complete: null }, min: 0, _create: function() { // Constrain initial value this.oldValue = this.options.value = this._constrainedValue(); this.element.attr( { // Only set static values; aria-valuenow and aria-valuemax are // set inside _refreshValue() role: "progressbar", "aria-valuemin": this.min } ); this._addClass( "ui-progressbar", "ui-widget ui-widget-content" ); this.valueDiv = $( "<div>" ).appendTo( this.element ); this._addClass( this.valueDiv, "ui-progressbar-value", "ui-widget-header" ); this._refreshValue(); }, _destroy: function() { this.element.removeAttr( "role aria-valuemin aria-valuemax aria-valuenow" ); this.valueDiv.remove(); }, value: function( newValue ) { if ( newValue === undefined ) { return this.options.value; } this.options.value = this._constrainedValue( newValue ); this._refreshValue(); }, _constrainedValue: function( newValue ) { if ( newValue === undefined ) { newValue = this.options.value; } this.indeterminate = newValue === false; // Sanitize value if ( typeof newValue !== "number" ) { newValue = 0; } return this.indeterminate ? false : Math.min( this.options.max, Math.max( this.min, newValue ) ); }, _setOptions: function( options ) { // Ensure "value" option is set after other values (like max) var value = options.value; delete options.value; this._super( options ); this.options.value = this._constrainedValue( value ); this._refreshValue(); }, _setOption: function( key, value ) { if ( key === "max" ) { // Don't allow a max less than min value = Math.max( this.min, value ); } this._super( key, value ); }, _setOptionDisabled: function( value ) { this._super( value ); this.element.attr( "aria-disabled", value ); this._toggleClass( null, "ui-state-disabled", !!value ); }, _percentage: function() { return this.indeterminate ? 100 : 100 * ( this.options.value - this.min ) / ( this.options.max - this.min ); }, _refreshValue: function() { var value = this.options.value, percentage = this._percentage(); this.valueDiv .toggle( this.indeterminate || value > this.min ) .width( percentage.toFixed( 0 ) + "%" ); this ._toggleClass( this.valueDiv, "ui-progressbar-complete", null, value === this.options.max ) ._toggleClass( "ui-progressbar-indeterminate", null, this.indeterminate ); if ( this.indeterminate ) { this.element.removeAttr( "aria-valuenow" ); if ( !this.overlayDiv ) { this.overlayDiv = $( "<div>" ).appendTo( this.valueDiv ); this._addClass( this.overlayDiv, "ui-progressbar-overlay" ); } } else { this.element.attr( { "aria-valuemax": this.options.max, "aria-valuenow": value } ); if ( this.overlayDiv ) { this.overlayDiv.remove(); this.overlayDiv = null; } } if ( this.oldValue !== value ) { this.oldValue = value; this._trigger( "change" ); } if ( value === this.options.max ) { this._trigger( "complete" ); } } } ); } );
保存文件
位置:
home
/
londongranite
/
public_html
/
wp-includes
/
js
/
jquery
/
ui
批量上传
创建
创建
批量权限
批量删除
名称
权限
大小
修改时间
操作
↑ 返回上级
-
-
-
-
accordion.js
-rw-r--r--
15.76 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
accordion.min.js
-rw-r--r--
8.65 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
autocomplete.js
-rw-r--r--
17.12 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
autocomplete.min.js
-rw-r--r--
8.34 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
button.js
-rw-r--r--
11.43 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
button.min.js
-rw-r--r--
6.01 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
checkboxradio.min.js
-rw-r--r--
4.25 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
controlgroup.js
-rw-r--r--
8.42 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
controlgroup.min.js
-rw-r--r--
4.3 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
core.js
-rw-r--r--
48.72 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
core.min.js
-rw-r--r--
20.96 KB
2026-03-15 20:43
编辑
下载
权限
删除
重命名
datepicker.js
-rw-r--r--
80.59 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
datepicker.min.js
-rw-r--r--
35.89 KB
2026-03-15 20:43
编辑
下载
权限
删除
重命名
dialog.js
-rw-r--r--
23.34 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
dialog.min.js
-rw-r--r--
12.79 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
draggable.js
-rw-r--r--
34.71 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
droppable.js
-rw-r--r--
12.6 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
droppable.min.js
-rw-r--r--
6.51 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
effect-blind.js
-rw-r--r--
1.61 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-blind.min.js
-rw-r--r--
880 B
2024-06-27 16:55
编辑
下载
权限
删除
重命名
effect-bounce.js
-rw-r--r--
2.6 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-bounce.min.js
-rw-r--r--
991 B
2024-06-27 16:55
编辑
下载
权限
删除
重命名
effect-clip.js
-rw-r--r--
1.54 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-drop.js
-rw-r--r--
1.56 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-fold.js
-rw-r--r--
2.13 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-fold.min.js
-rw-r--r--
1020 B
2024-06-27 16:55
编辑
下载
权限
删除
重命名
effect-highlight.js
-rw-r--r--
1.21 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-highlight.min.js
-rw-r--r--
648 B
2024-06-27 16:55
编辑
下载
权限
删除
重命名
effect-puff.js
-rw-r--r--
995 B
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-puff.min.js
-rw-r--r--
510 B
2024-06-27 16:55
编辑
下载
权限
删除
重命名
effect-pulsate.js
-rw-r--r--
1.53 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-scale.js
-rw-r--r--
1.34 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-scale.min.js
-rw-r--r--
723 B
2024-06-27 16:55
编辑
下载
权限
删除
重命名
effect-shake.js
-rw-r--r--
1.84 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-shake.min.js
-rw-r--r--
846 B
2024-06-27 16:55
编辑
下载
权限
删除
重命名
effect-size.js
-rw-r--r--
5.29 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-size.min.js
-rw-r--r--
2.43 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
effect-slide.js
-rw-r--r--
1.92 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-slide.min.js
-rw-r--r--
917 B
2024-06-27 16:55
编辑
下载
权限
删除
重命名
effect-transfer.js
-rw-r--r--
888 B
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-transfer.min.js
-rw-r--r--
442 B
2024-06-27 16:55
编辑
下载
权限
删除
重命名
effect.js
-rw-r--r--
24.04 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect.min.js
-rw-r--r--
10.09 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
menu.js
-rw-r--r--
18.52 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
menu.min.js
-rw-r--r--
9.96 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
mouse.js
-rw-r--r--
6.08 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
mouse.min.js
-rw-r--r--
3.35 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
progressbar.js
-rw-r--r--
4.14 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
progressbar.min.js
-rw-r--r--
2.5 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
resizable.js
-rw-r--r--
29.78 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
selectable.js
-rw-r--r--
7.94 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
selectable.min.js
-rw-r--r--
4.4 KB
2026-03-15 20:43
编辑
下载
权限
删除
重命名
selectmenu.js
-rw-r--r--
15.96 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
selectmenu.min.js
-rw-r--r--
9.28 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
slider.js
-rw-r--r--
19.14 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
slider.min.js
-rw-r--r--
10.51 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
sortable.js
-rw-r--r--
46.52 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
sortable.min.js
-rw-r--r--
24.91 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
spinner.js
-rw-r--r--
14.1 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
tabs.js
-rw-r--r--
23.11 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
tooltip.js
-rw-r--r--
14.14 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
tooltip.min.js
-rw-r--r--
6.1 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名