Working modal stuff

This commit is contained in:
Max Lynch
2013-10-04 17:47:54 -05:00
parent e8d76af832
commit c338f75882
12 changed files with 214 additions and 95 deletions

15
js/views/modalView.js Normal file
View File

@ -0,0 +1,15 @@
(function(ionic) {
ionic.views.Modal = function(opts) {
this.el = opts.el;
};
ionic.views.Modal.prototype = {
show: function() {
this.el.classList.add('active');
},
hide: function() {
this.el.classList.remove('active');
}
};
})(ionic);