|
10 | 10 | <ion-label>Example</ion-label> |
11 | 11 | </ion-item-divider> |
12 | 12 |
|
13 | | - <ion-card> |
14 | | - <ion-toolbar> |
15 | | - <fiv-buttons [iconsOnly]="iconsOnly" [forceActionsheet]="forceActionsheet" [forcePopover]="forcePopover" |
16 | | - [header]="header" [subHeader]="subHeader" [count]="count" slot="end"> |
17 | | - <fiv-button [color]="'primary'" (click)="presentToast('add clicked')" [text]="'Add'"> |
18 | | - </fiv-button> |
19 | | - <fiv-button (click)="presentToast('delete clicked')" [icon]="'md-trash'" [text]="'Delete'"> |
20 | | - </fiv-button> |
21 | | - <fiv-button (click)="presentToast('select image clicked')" [icon]="'md-image'" [text]="'Select Image'"> |
22 | | - </fiv-button> |
23 | | - <fiv-button (click)="presentToast('take photo clicked')" [icon]="'md-camera'" [text]="'Take Photo'"> |
24 | | - </fiv-button> |
25 | | - </fiv-buttons> |
26 | | - </ion-toolbar> |
27 | | - <ion-card-content> |
28 | | - Parameters: |
| 13 | + <ion-toolbar> |
| 14 | + <fiv-buttons [iconsOnly]="iconsOnly" [forceActionsheet]="forceActionsheet" [forcePopover]="forcePopover" |
| 15 | + [header]="header" [subHeader]="subHeader" [count]="count" slot="end"> |
| 16 | + <fiv-button [color]="'primary'" (click)="presentToast('add clicked')" [text]="'Add'"> |
| 17 | + </fiv-button> |
| 18 | + <fiv-button (click)="presentToast('delete clicked')" [icon]="'md-trash'" [text]="'Delete'"> |
| 19 | + </fiv-button> |
| 20 | + <fiv-button (click)="presentToast('select image clicked')" [icon]="'md-image'" [text]="'Select Image'"> |
| 21 | + </fiv-button> |
| 22 | + <fiv-button (click)="presentToast('take photo clicked')" [icon]="'md-camera'" [text]="'Take Photo'"> |
| 23 | + </fiv-button> |
| 24 | + </fiv-buttons> |
| 25 | + </ion-toolbar> |
29 | 26 |
|
30 | | - <ion-item> |
31 | | - <ion-label position="floating">Number of visible icons outside of popover / actionsheet</ion-label> |
32 | | - <ion-input min="0" max="4" type="number" placeholder="0 - 4" [(ngModel)]="count"></ion-input> |
33 | | - </ion-item> |
34 | | - <ion-item> |
35 | | - <ion-label position="floating">Header Text (Actionsheet only)</ion-label> |
36 | | - <ion-input type="text" placeholder="header" [(ngModel)]="header"></ion-input> |
37 | | - </ion-item> |
38 | | - <ion-item> |
39 | | - <ion-label position="floating">Subheader Text (Actionsheet only)</ion-label> |
40 | | - <ion-input type="text" placeholder="subHeader" [(ngModel)]="subHeader"></ion-input> |
41 | | - </ion-item> |
42 | | - <ion-item> |
43 | | - <ion-label>Force Actionsheet</ion-label> |
44 | | - <ion-checkbox [checked]="forceActionsheet" [(ngModel)]="forceActionsheet" slot="end"></ion-checkbox> |
45 | | - </ion-item> |
46 | | - <ion-item> |
47 | | - <ion-label>Force Popover</ion-label> |
48 | | - <ion-checkbox [checked]="forcePopover" [(ngModel)]="forcePopover" slot="end"></ion-checkbox> |
49 | | - </ion-item> |
50 | | - <ion-item> |
51 | | - <ion-label>Show icons only (Toolbar only)</ion-label> |
52 | | - <ion-checkbox [checked]="iconsOnly" [(ngModel)]="iconsOnly" slot="end"></ion-checkbox> |
53 | | - </ion-item> |
54 | | - </ion-card-content> |
55 | | - </ion-card> |
| 27 | + <ion-item> |
| 28 | + <ion-label position="floating">Number of visible icons outside of popover / actionsheet</ion-label> |
| 29 | + <ion-input min="0" max="4" type="number" placeholder="0 - 4" [(ngModel)]="count"></ion-input> |
| 30 | + </ion-item> |
| 31 | + <ion-item> |
| 32 | + <ion-label position="floating">Header Text (Actionsheet only)</ion-label> |
| 33 | + <ion-input type="text" placeholder="header" [(ngModel)]="header"></ion-input> |
| 34 | + </ion-item> |
| 35 | + <ion-item> |
| 36 | + <ion-label position="floating">Subheader Text (Actionsheet only)</ion-label> |
| 37 | + <ion-input type="text" placeholder="subHeader" [(ngModel)]="subHeader"></ion-input> |
| 38 | + </ion-item> |
| 39 | + <ion-item> |
| 40 | + <ion-label>Force Actionsheet</ion-label> |
| 41 | + <ion-checkbox [checked]="forceActionsheet" [(ngModel)]="forceActionsheet" slot="end"></ion-checkbox> |
| 42 | + </ion-item> |
| 43 | + <ion-item> |
| 44 | + <ion-label>Force Popover</ion-label> |
| 45 | + <ion-checkbox [checked]="forcePopover" [(ngModel)]="forcePopover" slot="end"></ion-checkbox> |
| 46 | + </ion-item> |
| 47 | + <ion-item> |
| 48 | + <ion-label>Show icons only (Toolbar only)</ion-label> |
| 49 | + <ion-checkbox [checked]="iconsOnly" [(ngModel)]="iconsOnly" slot="end"></ion-checkbox> |
| 50 | + </ion-item> |
56 | 51 |
|
57 | 52 | </app-example> |
58 | 53 | </ion-col> |
|
0 commit comments