feature(dom) Images: add chaining

This commit is contained in:
coderaiser 2015-07-02 03:03:14 -04:00
parent ffba931c1b
commit 73dbba8f17

View file

@ -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;
};
},