1
0
Fork 0
forked from 0x2620/oxjs

handle setting css of image element, add image loading gradient css for dialogs

This commit is contained in:
rolux 2013-03-07 13:26:22 +05:30
commit 6c29a1c5cd
6 changed files with 17 additions and 1 deletions

View file

@ -49,6 +49,13 @@ Ox.ImageElement = function(options, self) {
self.$image.appendTo(that);
}
that.css = function(css) {
that.$element.css(css);
self.$screen && self.$screen.css(css);
self.$image.css(css);
return that;
};
return that;
};