Hello
Here goes! It was already happening with ionic 2 btw! And also with Tabs instead of Segments.
{
"name": "testApp",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "4.0.0",
"@angular/compiler": "4.0.0",
"@angular/compiler-cli": "4.0.0",
"@angular/core": "4.0.0",
"@angular/forms": "4.0.0",
"@angular/http": "4.0.0",
"@angular/platform-browser": "4.0.0",
"@angular/platform-browser-dynamic": "4.0.0",
"@ionic-native/camera": "^3.4.4",
"@ionic-native/core": "3.4.2",
"@ionic-native/device": "^3.4.4",
"@ionic-native/diagnostic": "^3.4.4",
"@ionic-native/file": "^3.4.4",
"@ionic-native/splash-screen": "3.4.2",
"@ionic-native/status-bar": "3.4.2",
"@ionic/storage": "2.0.1",
"@ngx-translate/core": "^6.0.1",
"@ngx-translate/http-loader": "0.0.3",
"angularfire2": "^2.0.0-beta.8",
"firebase": "^3.7.5",
"install": "^0.8.8",
"ionic-angular": "3.0.1",
"ionicons": "3.0.0",
"npm": "^4.5.0",
"rxjs": "5.1.1",
"sw-toolbox": "3.4.0",
"zone.js": "^0.8.4"
},
"devDependencies": {
"@ionic/app-scripts": "1.3.0",
"@ionic/cli-build-ionic-angular": "0.0.4",
"@ionic/cli-plugin-cordova": "0.0.10",
"typescript": "~2.2.1"
},
"version": "0.0.1",
"description": "testApp"
}
This segment, for instance:
<ion-header>
<ion-navbar color="primary">
<button ion-button menuToggle>
<ion-icon name="menu"></ion-icon>
</button>
<ion-title>Tasting Sheet</ion-title>
<ion-buttons end>
<button ion-button icon-only (click)="delete()">
<ion-icon name="trash"></ion-icon>
</button>
</ion-buttons>
</ion-navbar>
<ion-segment [(ngModel)]="section" color="primary">
<ion-segment-button value="a">
<ion-icon name="create"></ion-icon>
</ion-segment-button>
<ion-segment-button value="b">
<ion-icon name="eye"></ion-icon>
</ion-segment-button>
<ion-segment-button value="c">
<ion-icon name="rose"></ion-icon>
</ion-segment-button>
<ion-segment-button value="d">
<ion-icon name="pint"></ion-icon>
</ion-segment-button>
</ion-segment>
</ion-header>
<ion-content>
<div [ngSwitch]="section">
Thanks