Skip to content

Commit ecb844f

Browse files
committed
chore: addimg tabbable component android
1 parent 35bed13 commit ecb844f

File tree

18 files changed

+757
-952
lines changed

18 files changed

+757
-952
lines changed

api-reports/NativeScript.api.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ export interface BackstackEntry {
332332
}
333333

334334
// @public
335-
export class BottomNavigation extends TabNavigationBase {
335+
export class BottomNavigation extends TabbableComponent {
336336
android: any /* android.view.View */;
337337

338338
ios: any /* UITabBarController */;
@@ -2195,6 +2195,26 @@ export class Switch extends View {
21952195
offBackgroundColor: Color;
21962196
}
21972197

2198+
// @public
2199+
export abstract class TabbableComponent extends TabNavigationBase {
2200+
android: any /* android.view.View */;
2201+
2202+
ios: any /* UITabBarController */;
2203+
2204+
items: Array<TabContentItem>;
2205+
2206+
on(eventNames: string, callback: (data: EventData) => void, thisArg?: any);
2207+
2208+
// Warning: (ae-forgotten-export) The symbol "SelectedIndexChangedEventData" needs to be exported by the entry point index.d.ts
2209+
on(event: "selectedIndexChanged", callback: (args: SelectedIndexChangedEventData_2) => void, thisArg?: any);
2210+
2211+
selectedIndex: number;
2212+
2213+
public static selectedIndexChangedEvent: string;
2214+
2215+
tabStrip: TabStrip;
2216+
}
2217+
21982218
// @public
21992219
export class TabContentItem extends ContentView {
22002220
// (undocumented)
@@ -2237,7 +2257,6 @@ export class TabNavigationBase extends View {
22372257

22382258
on(eventNames: string, callback: (data: EventData) => void, thisArg?: any);
22392259

2240-
// Warning: (ae-forgotten-export) The symbol "SelectedIndexChangedEventData" needs to be exported by the entry point index.d.ts
22412260
on(event: "selectedIndexChanged", callback: (args: SelectedIndexChangedEventData_2) => void, thisArg?: any);
22422261

22432262
onItemsChanged(oldItems: TabContentItem[], newItems: TabContentItem[]): void;
@@ -2282,7 +2301,7 @@ export class TabNavigationBase extends View {
22822301
}
22832302

22842303
// @public
2285-
export class Tabs extends TabNavigationBase {
2304+
export class Tabs extends TabbableComponent {
22862305
android: any /* android.view.View */;
22872306

22882307
ios: any /* UITabBarController */;

0 commit comments

Comments
 (0)