Skip to content

Commit 69565e6

Browse files
sis0k0Vasil Chimev
authored andcommitted
test: add text property to action items (#29)
- easier to locate with functional-tests-core
1 parent dc9f5d8 commit 69565e6

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

app/action-bar/action-bar-first.component.ts

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,19 @@ import { Component } from "@angular/core";
55
template: `
66
<ActionBar title="Title 1" automationText="title">
77
<ActionItem *ngIf="show" text="action" (tap)="onTap()" [nsRouterLink]="['/second']"></ActionItem>
8-
<ActionItem (tap)="onShare()" ios.systemIcon="9"
9-
ios.position="left" android.systemIcon="ic_menu_share_holo_light" android.position="actionBar"></ActionItem>
10-
<ActionItem text="delete" (tap)="onDelete()"
8+
9+
<ActionItem
10+
text="share"
11+
(tap)="onShare()"
12+
ios.systemIcon="9"
13+
ios.position="left"
14+
android.systemIcon="ic_menu_share_holo_light"
15+
android.position="actionBar"
16+
></ActionItem>
17+
18+
<ActionItem
19+
text="delete"
20+
(tap)="onDelete()"
1121
ios.systemIcon="16" ios.position="right" android.position="popup"></ActionItem>
1222
</ActionBar>
1323
<StackLayout verticalAlignment="center">

0 commit comments

Comments
 (0)