1
0
Fork 0
forked from 0x2620/oxjs

modularize oxui

This commit is contained in:
rolux 2011-04-23 00:03:10 +02:00
commit 0024af978c
106 changed files with 16127 additions and 47034 deletions

View file

@ -0,0 +1,27 @@
Ox.LoadingIcon = function(options, self) {
var self = self || {},
that = new Ox.Element('img', self)
.defaults({
size: 'medium'
})
.options(options || {})
.attr({
src: Ox.UI.getImagePath('symbolLoading.svg')
})
.addClass(
'OxLoadingIcon Ox' + Ox.toTitleCase(self.options.size)
);
that.start = function() {
that.animate({
opacity: 1
}, 250);
return that;
};
that.stop = function() {
that.animate({
opacity: 0
}, 250);
return that;
}
return that;
}