Hi
i would like to insert ion-tab in template with an abstract ion-tab
i try but it show after content and the links doesn’t work
he must be under Chats header like a sub menu of search
thanks you for helping me
thidenthi
Hi
i would like to insert ion-tab in template with an abstract ion-tab
i try but it show after content and the links doesn’t work
he must be under Chats header like a sub menu of search
thanks you for helping me
thidenthi
hei i got the same problem.
have you fix it sir?
Hi
i fix the problem on create manually tab system (template) :
<div class="button-bar">
<a class="button or noborder" ng-model="button.first" ng-click="click(button.first)" ng-class="button.first.clicked?'or noborder':'button-light'">navbutton1</a>
<a class="button or noborder" ng-model="button.second" ng-click="click(button.second)" ng-class="button.second.clicked?'or noborder':'button-light'">navbutton2</a>
</div>
<div ng-if="statetab==true">
<!--content of the tab1 -->
</div>
<div ng-if="statetab==false">
<!--content of the tab2 -->
</div>
and the controller :
$scope.button = {};
$scope.button.first = {};
$scope.button.second = {};
$scope.statetab = true;
$scope.button.first.clicked = true;
$scope.click = function(button){
$scope.button.first.clicked = false;
$scope.button.second.clicked = false;
button.clicked = true;
if ($scope.button.first.clicked ==true)
{
$scope.statetab = true;
}
else
{
$scope.statetab = false;
}
};
good luck