mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-01 04:05:18 +00:00
feature(dom) Images: add chaining
This commit is contained in:
parent
ffba931c1b
commit
73dbba8f17
1 changed files with 6 additions and 0 deletions
|
|
@ -129,6 +129,8 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
this.hide = function() {
|
||||
var element = Images.get();
|
||||
DOM.hide(element);
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
this.setProgress = function(value, title) {
|
||||
|
|
@ -141,6 +143,8 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
if (title)
|
||||
element.title = title;
|
||||
}
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
this.clearProgress = function() {
|
||||
|
|
@ -151,6 +155,8 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
element.setAttribute(DATA, '');
|
||||
element.title = '';
|
||||
}
|
||||
|
||||
return this;
|
||||
};
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue