mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
Created base view controller class
This commit is contained in:
@ -1,13 +1,14 @@
|
|||||||
(function(window, document, ion) {
|
(function(ionic) {
|
||||||
|
ionic.ViewController = function(options) {
|
||||||
ion.controllers = ion.controllers || {};
|
this.init();
|
||||||
|
|
||||||
ion.controllers.ViewController = function(options) {
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ion.controllers.ViewController.prototype = {
|
ion.ViewController.prototype = {
|
||||||
|
// Initialize this view controller
|
||||||
|
init: function() {
|
||||||
|
},
|
||||||
// Destroy this view controller, including all child views
|
// Destroy this view controller, including all child views
|
||||||
destroy: function() {
|
destroy: function() {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
})(this, document, ion = this.ion || {});
|
})(this.ionic);
|
||||||
|
|||||||
Reference in New Issue
Block a user