filename updates

This commit is contained in:
Adam Bradley
2013-10-01 09:57:49 -05:00
parent c7b96cb52d
commit 7386f3f468
6 changed files with 40 additions and 32 deletions

25
js/views/sideMenuView.js Normal file
View File

@ -0,0 +1,25 @@
(function(ionic) {
ionic.views.SideMenu = function(opts) {
this.el = opts.el;
this.width = opts.width;
this.isEnabled = opts.isEnabled || true;
};
ionic.views.SideMenu.prototype = {
getFullWidth: function() {
return this.width;
},
setIsEnabled: function(isEnabled) {
this.isEnabled = isEnabled;
},
bringUp: function() {
this.el.style.zIndex = 0;
},
pushDown: function() {
this.el.style.zIndex = -1;
}
};
})(ionic);