mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: addimg tabbable component android
This commit is contained in:
@@ -332,7 +332,7 @@ export interface BackstackEntry {
|
||||
}
|
||||
|
||||
// @public
|
||||
export class BottomNavigation extends TabNavigationBase {
|
||||
export class BottomNavigation extends TabbableComponent {
|
||||
android: any /* android.view.View */;
|
||||
|
||||
ios: any /* UITabBarController */;
|
||||
@@ -2195,6 +2195,26 @@ export class Switch extends View {
|
||||
offBackgroundColor: Color;
|
||||
}
|
||||
|
||||
// @public
|
||||
export abstract class TabbableComponent extends TabNavigationBase {
|
||||
android: any /* android.view.View */;
|
||||
|
||||
ios: any /* UITabBarController */;
|
||||
|
||||
items: Array<TabContentItem>;
|
||||
|
||||
on(eventNames: string, callback: (data: EventData) => void, thisArg?: any);
|
||||
|
||||
// Warning: (ae-forgotten-export) The symbol "SelectedIndexChangedEventData" needs to be exported by the entry point index.d.ts
|
||||
on(event: "selectedIndexChanged", callback: (args: SelectedIndexChangedEventData_2) => void, thisArg?: any);
|
||||
|
||||
selectedIndex: number;
|
||||
|
||||
public static selectedIndexChangedEvent: string;
|
||||
|
||||
tabStrip: TabStrip;
|
||||
}
|
||||
|
||||
// @public
|
||||
export class TabContentItem extends ContentView {
|
||||
// (undocumented)
|
||||
@@ -2237,7 +2257,6 @@ export class TabNavigationBase extends View {
|
||||
|
||||
on(eventNames: string, callback: (data: EventData) => void, thisArg?: any);
|
||||
|
||||
// Warning: (ae-forgotten-export) The symbol "SelectedIndexChangedEventData" needs to be exported by the entry point index.d.ts
|
||||
on(event: "selectedIndexChanged", callback: (args: SelectedIndexChangedEventData_2) => void, thisArg?: any);
|
||||
|
||||
onItemsChanged(oldItems: TabContentItem[], newItems: TabContentItem[]): void;
|
||||
@@ -2282,7 +2301,7 @@ export class TabNavigationBase extends View {
|
||||
}
|
||||
|
||||
// @public
|
||||
export class Tabs extends TabNavigationBase {
|
||||
export class Tabs extends TabbableComponent {
|
||||
android: any /* android.view.View */;
|
||||
|
||||
ios: any /* UITabBarController */;
|
||||
|
||||
Reference in New Issue
Block a user