-
-
Notifications
You must be signed in to change notification settings - Fork 154
docs: BottomNavigation & Tabs Examples #141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
c9b4674
initial article
NickIliev 97f3a2e
docs: article about BottomNavigation init
NickIliev 758bf62
docs: BottomNavigation examples
NickIliev e57fff2
docs: BottomNav added styling and tips&tricks
NickIliev 41e10ae
docs: bottom nav snippet IDs
NickIliev 6e500f3
docs: add Tabs examples
NickIliev b29b570
docs: improve & extend the Tabs examples
NickIliev 9672d80
docs: improved offScreenTabLimit demo
NickIliev 200f15e
docs: offScreenTabLimit description
NickIliev b0b46b9
docs: add CSS example for BottomNavigaiton
NickIliev e1c7add
docs: tabs CSS example
NickIliev a568562
docs: Tabs CSS example
NickIliev 7cfca4f
project migration to 6 + font icons for BottomNavigation
NickIliev 5dcc056
docs: tabs tips & tricks article added (font icons)
NickIliev 410a1ee
resolve conflict
NickIliev a4e2e2c
Merge branch 'master' into niliev/bottom
NickIliev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ report | |
|
||
app/**/*.map | ||
app/**/*-ts-*.js | ||
.migration_backup/ | ||
|
||
.DS_Store | ||
**/*.log | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"name": "nativescript-sdk-examples-js", | ||
"description": "NativeScript SDK Examples", | ||
"author": "Telerik <support@telerik.com>", | ||
"version": "0.1.0", | ||
"homepage": "https://github.com/NativeScript/nativescript-sdk-examples-js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/NativeScript/nativescript-sdk-examples-js" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/NativeScript/nativescript-sdk-examples-js/issues" | ||
}, | ||
"keywords": [ | ||
"NativeScript", | ||
"JavaScript", | ||
"SDK", | ||
"example", | ||
"documentation" | ||
], | ||
"license": "Apache-2.0", | ||
"nativescript": { | ||
"id": "org.nativescript.nativescriptsdkexamplesjs", | ||
"tns-android": { | ||
"version": "6.0.0" | ||
}, | ||
"tns-ios": { | ||
"version": "6.0.0" | ||
} | ||
}, | ||
"dependencies": { | ||
"nativescript-theme-core": "~1.0.4", | ||
"tns-core-modules": "6.0.1" | ||
}, | ||
"devDependencies": { | ||
"eslint": "~5.9.0", | ||
"fs-extra": "^0.30.0", | ||
"markdown-snippet-injector": "^0.2.4", | ||
"nativescript-dev-webpack": "1.0.0", | ||
"tar.gz": "^1.0.7", | ||
"tns-platform-declarations": "6.0.1", | ||
"tslint": "5.11.0", | ||
"typescript": "3.4.1" | ||
}, | ||
"scripts": { | ||
"lint": "eslint \"app/**/*.js\"", | ||
"tslint": "tslint -p tsconfig.json", | ||
"tsc": "tsc", | ||
"build": "node scripts/build.js", | ||
"archive": "node scripts/archive.js", | ||
"inject": "mdinject --root=app --docsroot=dist/cookbook --sourceext=\".js|.ts|.css|.xml\" --snippettitles=\"JavaScript|TypeScript|CSS|XML\"", | ||
"pretsc": "npm install", | ||
"pretslint": "npm run tsc", | ||
"prelint": "npm run tslint", | ||
"prebuild": "npm run lint", | ||
"postbuild": "npm run inject && npm run archive", | ||
"e2e": "mocha --opts ./e2e/config/mocha.opts", | ||
"update-webpack": "./node_modules/.bin/update-ns-webpack --deps --configs" | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"extends": "./tsconfig", | ||
"compilerOptions": { | ||
"module": "es2015", | ||
"moduleResolution": "node" | ||
} | ||
} |
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+312 Bytes
...es/Android/src/main/res/drawable-xxhdpi/baseline_account_balance_black_18pt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+296 Bytes
...es/Android/src/main/res/drawable-xxhdpi/baseline_account_balance_black_24pt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+378 Bytes
...es/Android/src/main/res/drawable-xxhdpi/baseline_account_balance_black_36pt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+455 Bytes
...es/Android/src/main/res/drawable-xxhdpi/baseline_account_balance_black_48pt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+259 Bytes
...App_Resources/Android/src/main/res/drawable-xxhdpi/baseline_home_black_18pt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+291 Bytes
...App_Resources/Android/src/main/res/drawable-xxhdpi/baseline_home_black_24pt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+374 Bytes
...App_Resources/Android/src/main/res/drawable-xxhdpi/baseline_home_black_36pt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+465 Bytes
...App_Resources/Android/src/main/res/drawable-xxhdpi/baseline_home_black_48pt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+562 Bytes
...p_Resources/Android/src/main/res/drawable-xxhdpi/baseline_search_black_18pt.png
Oops, something went wrong.
Binary file added
BIN
+636 Bytes
...p_Resources/Android/src/main/res/drawable-xxhdpi/baseline_search_black_24pt.png
Oops, something went wrong.
Binary file added
BIN
+988 Bytes
...p_Resources/Android/src/main/res/drawable-xxhdpi/baseline_search_black_36pt.png
Oops, something went wrong.
Binary file added
BIN
+1.18 KB
...p_Resources/Android/src/main/res/drawable-xxhdpi/baseline_search_black_48pt.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
app/ns-ui-widgets-category/bottom-navigation/bottom-navigation-page.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
const ListViewLinksModel = require("../../links-view-model"); | ||
const link = require("../../link"); | ||
const navigationLinks = [ | ||
new link("Usage", "ns-ui-widgets-category/bottom-navigation/usage/usage-page"), | ||
new link("Theming", "ns-ui-widgets-category/bottom-navigation/theming/theming-page"), | ||
new link("Events", "ns-ui-widgets-category/bottom-navigation/events/events-page"), | ||
new link("Properties", "ns-ui-widgets-category/bottom-navigation/properties/properties-page"), | ||
new link("Tips & Tricks", "ns-ui-widgets-category/bottom-navigation/tips-and-tricks/tips-and-tricks-page") | ||
]; | ||
const navigationLinksTsc = [ | ||
new link("Usage", "ns-ui-widgets-category/bottom-navigation/usage/usage-ts-page"), | ||
new link("Theming", "ns-ui-widgets-category/bottom-navigation/theming/theming-ts-page"), | ||
new link("Events", "ns-ui-widgets-category/bottom-navigation/events/events-ts-page"), | ||
new link("Properties", "ns-ui-widgets-category/bottom-navigation/properties/properties-ts-page"), | ||
new link("Tips & Tricks", "ns-ui-widgets-category/bottom-navigation/tips-and-tricks/tips-and-tricks-ts-page") | ||
]; | ||
|
||
function onNavigatingTo(args) { | ||
const page = args.object; | ||
|
||
page.bindingContext = new ListViewLinksModel({ | ||
links: navigationLinks, | ||
actionBarTitle: args.context.title, | ||
showTypeScriptExamples: false, | ||
tsclinks: navigationLinksTsc | ||
}); | ||
} | ||
exports.onNavigatingTo = onNavigatingTo; |
10 changes: 10 additions & 0 deletions
10
app/ns-ui-widgets-category/bottom-navigation/bottom-navigation-page.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<Page xmlns="http://schemas.nativescript.org/tns.xsd" | ||
xmlns:myList="components" | ||
navigatingTo="onNavigatingTo" | ||
navigatedTo="onNavigatedTo"> | ||
<Page.actionBar> | ||
<ActionBar title="{{ actionBarTitle == null ? '' : actionBarTitle }}" icon="" class="action-bar"/> | ||
</Page.actionBar> | ||
|
||
<myList:list/> | ||
</Page> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
**API Reference for the** [BottomNavigation Class](https://docs.nativescript.org/api-reference/classes/_ui_tab_navigation_bottom_navigation_.bottomnavigation) | ||
|
||
**Native Component** | ||
|
||
| Android | iOS | | ||
|:----------------------|:---------| | ||
| [FrameLayout](https://developer.android.com/reference/android/widget/FrameLayout) | [UITabViewController](https://developer.apple.com/documentation/uikit/uitabbarcontroller?language=objc) | |
6 changes: 6 additions & 0 deletions
6
app/ns-ui-widgets-category/bottom-navigation/events/article.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- `selectedIndexChanged` - Event used to track the tabs interaction though the change of `selectedIndex` property of `BottomNavigation` component. The event data is of type `SelectedIndexChangedEventData` extends `EventData` with two new properties: | ||
- `oldIndex` - Provides the old selected index. | ||
- `newIndwex` - Provides the new selected index. | ||
|
||
<snippet id='bottom-navigation-events-js'/> | ||
<snippet id='bottom-navigation-events-tsc'/> |
27 changes: 27 additions & 0 deletions
27
app/ns-ui-widgets-category/bottom-navigation/events/events-page.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
const fromObject = require("tns-core-modules/data/observable").fromObject; | ||
|
||
exports.onNavigatingTo = (args) => { | ||
const page = args.object; | ||
const vm = fromObject({ | ||
selectedIndex: 1 | ||
}); | ||
|
||
page.bindingContext = vm; | ||
}; | ||
|
||
// >> bottom-navigation-events-js | ||
exports.onBottomNavLoaded = (args) => { | ||
// Using the loaded event to ger a reference to the BottomNavigation | ||
const bottomNavigation = args.object; | ||
|
||
// Using selectedIndexChanged | ||
bottomNavigation.on("selectedIndexChanged", (args) => { | ||
// args is of type SelectedIndexChangedEventData | ||
const oldIndex = args.oldIndex; | ||
const newIndex = args.newIndex; | ||
console.log(`oldIndex: ${oldIndex}; newIndex: ${newIndex}`); | ||
|
||
args.object.page.bindingContext.set("selectedIndex", newIndex); | ||
}); | ||
}; | ||
// << bottom-navigation-events-js |
28 changes: 28 additions & 0 deletions
28
app/ns-ui-widgets-category/bottom-navigation/events/events-page.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<Page navigatingTo="onNavigatingTo"> | ||
<Page.actionBar> | ||
<ActionBar title="BottomNavigation - Events"/> | ||
</Page.actionBar> | ||
<!-- >> bottom-navigation-events-xml --> | ||
<BottomNavigation selectedIndex="1" loaded="onBottomNavLoaded"> | ||
<!-- The bottom tab UI is created via TabStrip (the containier) and TabStripItem (for each tab)--> | ||
<TabStrip> | ||
<TabStripItem title="Home" iconSource="res://baseline_home_black_24pt"></TabStripItem> | ||
<TabStripItem title="Account" iconSource="res://baseline_account_balance_black_24pt"></TabStripItem> | ||
</TabStrip> | ||
|
||
<!-- The number of TabContentItem components should corespond to the number of TabStripItem components --> | ||
<TabContentItem> | ||
<GridLayout rows="*, *"> | ||
<Label row="0" text="Home Page" class="h2 text-center" color="orange"></Label> | ||
<Label row="1" text="{{ 'newIndex: ' + selectedIndex }}" class="h2 text-center"></Label> | ||
</GridLayout> | ||
</TabContentItem> | ||
<TabContentItem> | ||
<GridLayout rows="*, *"> | ||
<Label row="0" text="Account Page" class="h2 text-center"></Label> | ||
<Label row="1" text="{{ 'newIndex: ' + selectedIndex }}" class="h2 text-center"></Label> | ||
</GridLayout> | ||
</TabContentItem> | ||
</BottomNavigation> | ||
<!-- << bottom-navigation-events-xml --> | ||
</Page> |
29 changes: 29 additions & 0 deletions
29
app/ns-ui-widgets-category/bottom-navigation/events/events-ts-page.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// >> bottom-navigation-events-tsc | ||
import { EventData, fromObject } from "tns-core-modules/data/observable"; | ||
import { BottomNavigation, SelectedIndexChangedEventData } from "tns-core-modules/ui/bottom-navigation"; | ||
// >> (hide) | ||
import { Page } from "tns-core-modules/ui/page"; | ||
|
||
export function onNavigatingTo(args: EventData) { | ||
const page = args.object as Page; | ||
const vm = fromObject({ | ||
selectedIndex: 1 | ||
}); | ||
|
||
page.bindingContext = vm; | ||
} | ||
// << (hide) | ||
export function onBottomNavLoaded(args: EventData) { | ||
// Using the loaded event to ger a reference to the BottomNavigation | ||
const bottomNavigation = args.object as BottomNavigation; | ||
|
||
// Using selectedIndexChanged | ||
bottomNavigation.on(BottomNavigation.selectedIndexChangedEvent, (data: SelectedIndexChangedEventData) => { | ||
const oldIndex: number = data.oldIndex; | ||
const newIndex: number = data.newIndex; | ||
console.log(`oldIndex: ${oldIndex}; newIndex: ${newIndex}`); | ||
|
||
(<any>args.object).page.bindingContext.set("selectedIndex", newIndex); | ||
}); | ||
} | ||
// << bottom-navigation-events-tsc |
29 changes: 29 additions & 0 deletions
29
app/ns-ui-widgets-category/bottom-navigation/events/events-ts-page.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<Page navigatingTo="onNavigatingTo"> | ||
<Page.actionBar> | ||
<ActionBar title="BottomNavigation - Events"/> | ||
</Page.actionBar> | ||
<!-- >> bottom-navigation-events-xml --> | ||
<BottomNavigation selectedIndex="1" loaded="onBottomNavLoaded"> | ||
|
||
<!-- The bottom tab UI is created via TabStrip (the containier) and TabStripItem (for each tab)--> | ||
<TabStrip> | ||
<TabStripItem title="Home" iconSource="res://baseline_home_black_24pt"></TabStripItem> | ||
<TabStripItem title="Account" iconSource="res://baseline_account_balance_black_24pt"></TabStripItem> | ||
</TabStrip> | ||
|
||
<!-- The number of TabContentItem components should corespond to the number of TabStripItem components --> | ||
<TabContentItem> | ||
<GridLayout rows="*, *"> | ||
<Label row="0" text="Home Page" class="h2 text-center" color="orangered"></Label> | ||
<Label row="1" text="{{ 'newIndex: ' + selectedIndex }}" class="h2 text-center"></Label> | ||
</GridLayout> | ||
</TabContentItem> | ||
<TabContentItem> | ||
<GridLayout rows="*, *"> | ||
<Label row="0" text="Account Page" class="h2 text-center"></Label> | ||
<Label row="1" text="{{ 'selectednewIndexIndex: ' + selectedIndex }}" class="h2 text-center"></Label> | ||
</GridLayout> | ||
</TabContentItem> | ||
</BottomNavigation> | ||
<!-- << bottom-navigation-events-xml --> | ||
</Page> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: BottomNavigation | ||
description: The NativeScript's BottomNavigation component provides a simple way to navigate between different views while providing common UI for both iOS and Android platforms. The recommended scenario suitable for BottomNavigation is a high level navigaiton with 3 to 5 tabs each with separate function. | ||
position: 416 | ||
slug: bottom-navigation | ||
--- | ||
example-order: usage, theming, properties, events, tips-and-tricks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
> **Disclaimer:** The `BottomNavigation` component is currently in **Beta** version. The component is being actively developed - use [the tracking issue](https://github.com/NativeScript/NativeScript/issues/6967) for details about the ongoing implementation. | ||
|
||
The `BottomNavigation` component provides a simple way to navigate between different views while providing common UI for both iOS and Android platforms. The recommended scenario suitable for `BottomNavigation` is a high level navigation with 3 to 5 tabs each with separate function. For additional information and details about bottom navigation refer to [the Material Design guidelines](https://material.io/design/components/bottom-navigation.html#usage). | ||
|
||
> **Note:** NativeScript 6 introduced two new UI components called `BottomNavigation` and `Tabs`. The idea behind them is to provide more control when building tab based UI, while powering the CSS styling, the icon font support and other specific functionalities. Prior to NativeScript 6, we had the `TabView` component which had top and bottom implementations with different behavoirs for the different platofrms and some styling limitations. With `BottomNavigaiton` and `Tabs` coomponents available, the `TabView` can be considered obsolete. | ||
|
||
The `BottomNavigation` component roundup | ||
|
||
Component Primary Objectives: | ||
- Used for High Level navigation. | ||
- Good for UX structure with 3 to 5 different options. | ||
|
||
Limitations | ||
- No navigation transitions. | ||
- No navigation gestures (e.g., swipe to navigate). | ||
- No content preloading. |
14 changes: 14 additions & 0 deletions
14
app/ns-ui-widgets-category/bottom-navigation/properties/article.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
- `items: Array<TabContentItem>;` - Gets or sets the items of the BottomNavigation. | ||
|
||
- `tabStrip: TabStrip;` - Gets or sets the tab strip of the BottomNavigation. | ||
|
||
- `selectedIndex: number;` - Gets or sets the selectedIndex of the BottomNavigation. | ||
|
||
- `android: any` /* android.view.View */; - Gets the native [android widget](http://developer.android.com/reference/android/support/v4/view/ViewPager.html) that represents the user interface for this component. Valid only when running on Android OS. | ||
|
||
- `ios: any` /* UITabBarController */; - Gets the native iOS [UITabBarController](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITabBarController_Class/) that represents the user interface for this component. Valid only when running on iOS. | ||
|
||
<snippet id='bottom-navigation-properties-js'/> | ||
<snippet id='bottom-navigation-properties-tsc'/> | ||
<snippet id='bottom-navigation-properties-tsc-xml'> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo -
corespond
->correspond