Hierarchy

  • BottomNavigationBarBase
    • BottomNavigationBar

Constructors

  • Returns BottomNavigationBar

Properties

_items: BottomNavigationTabBase[]
activeColor: Color
android: any

Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform.

autoClearBadge: Boolean
backgroundColor: Color

Gets or sets the background color of the view.

badgeColor: Color
badgeTextColor: Color
dynamicElevationOffset: number

@nativescript-community/ui-material-core installMixins.

Gets or sets the dynamic elevation offset of the view.

elevation: number

@nativescript-community/ui-material-core installMixins.

Gets or sets the elevation of the view.

inactiveColor: Color
ios: any

Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform.

rippleColor: Color

@nativescript-community/ui-material-core installMixins.

Gets or sets the ripple-color of the view.

rippleColorAlpha: number

@nativescript-community/ui-material-core installMixins.

Gets or sets the ripple-color alpha of the view.

selectedTabIndex: number
titleVisibility: TitleVisibility
tabPressedEvent: string
tabReselectedEvent: string
tabSelectedEvent: string

Methods

  • Parameters

    • name: string
    • value: BottomNavigationTabBase

    Returns void

  • Parameters

    • index: number

    Returns void

  • Parameters

    • index: number

    Returns void

  • Parameters

    • index: number

    Returns void

  • Returns FragmentManager

  • Returns void

  • Parameters

    • ...args: any

    Returns void

  • Parameters

    Returns void

  • Adds a listener for the specified event name.

    Parameters

    • event: "tabPressed"
    • callback: (args: TabPressedEventData) => void

      The event listener to add. Will be called when an event of the given name is raised.

    • OptionalthisArg: any

      An optional parameter which, when set, will be bound as the this context when the callback is called. Falsy values will be not be bound.

    Returns void

  • Raised when a loaded event occurs.

    Parameters

    Returns void

  • Raised when an unloaded event occurs.

    Parameters

    Returns void

  • Returns void

  • Parameters

    • oldIndex: number
    • newIndex: number

    Returns void

  • Parameters

    • index: number

    Returns void

  • Returns void

  • Parameters

    • index: number

    Returns void

  • Parameters

    • index: number

    Returns void

  • Parameters

    • index: number
    • Optionalvalue: number

    Returns void

  • Parameters

    Returns ViewBase