Action sheet working

This commit is contained in:
Max Lynch
2013-10-04 23:20:18 -05:00
parent a8f7793a1c
commit 2938e104c2
16 changed files with 306 additions and 21 deletions

22
dist/ionic.js vendored
View File

@ -1730,6 +1730,28 @@ window.ionic = {
}
})(window.ionic);
;
(function(ionic) {
/**
* An ActionSheet is the slide up menu popularized on iOS.
*
* You see it all over iOS apps, where it offers a set of options
* triggered after an action.
*/
ionic.views.ActionSheet = function(opts) {
this.el = opts.el;
};
ionic.views.ActionSheet.prototype = {
show: function() {
this.el.classList.add('active');
},
hide: function() {
this.el.classList.remove('active');
}
};
})(ionic);
;
(function(ionic) {