mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(build): rename ionic directory to src and update all references in the build process.
This commit is contained in:
48
src/components/segment/test/nav/main.html
Normal file
48
src/components/segment/test/nav/main.html
Normal file
@@ -0,0 +1,48 @@
|
||||
<ion-navbar *navbar>
|
||||
<ion-title>
|
||||
Segment under Navbar
|
||||
</ion-title>
|
||||
</ion-navbar>
|
||||
<ion-toolbar>
|
||||
<ion-segment [(ngModel)]="signInType">
|
||||
<ion-segment-button value="new">
|
||||
New
|
||||
</ion-segment-button>
|
||||
<ion-segment-button value="existing" class="e2eSegmentExistingSegment">
|
||||
Existing
|
||||
</ion-segment-button>
|
||||
<ion-segment-button value="test">
|
||||
Test
|
||||
</ion-segment-button>
|
||||
</ion-segment>
|
||||
</ion-toolbar>
|
||||
|
||||
<ion-content padding>
|
||||
|
||||
<ion-row>
|
||||
<ion-col>
|
||||
<button block (click)="signInType='new'">New</button>
|
||||
</ion-col>
|
||||
<ion-col>
|
||||
<button light block (click)="signInType='existing'">Existing</button>
|
||||
</ion-col>
|
||||
<ion-col>
|
||||
<button dark block (click)="signInType='test'" class="e2eSegmentTestButton">Test</button>
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
|
||||
<div [ngSwitch]="signInType">
|
||||
<div *ngSwitchWhen="'existing'">
|
||||
Signing up as an <b>Existing User</b>.
|
||||
</div>
|
||||
<div *ngSwitchWhen="'new'">
|
||||
Signing up as a <b>New User</b>.
|
||||
</div>
|
||||
<div *ngSwitchWhen="'test'">
|
||||
Signing up as a <b>Test User</b>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button block (click)="goToPage2()">Next Page</button>
|
||||
|
||||
</ion-content>
|
||||
Reference in New Issue
Block a user