mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
@@ -128,6 +128,10 @@
|
||||
angular.module('tabsTest', ['ionic'])
|
||||
|
||||
.controller('RootCtrl', function($scope, $timeout) {
|
||||
|
||||
$scope.$on('tab.shown', function() { console.error('tab.shown Root this should not happen'); });
|
||||
$scope.$on('tab.hidden', function() { console.error('tab.hidden Root this should not happen'); });
|
||||
|
||||
$scope.controllerChanged = function(event) {
|
||||
console.log('Controller changed', event);
|
||||
|
||||
@@ -165,6 +169,9 @@
|
||||
$scope.settingsModal = modal;
|
||||
});
|
||||
|
||||
$scope.$on('tab.shown', function() { console.log('tab.shown Home'); });
|
||||
$scope.$on('tab.hidden', function() { console.log('tab.hidden Home'); });
|
||||
|
||||
var removeItem = function(item, button) {
|
||||
$ionicActionSheet.show({
|
||||
buttons: [],
|
||||
|
||||
Reference in New Issue
Block a user