This is an overview of the most common usage of NavigationButton. For more information about the available properties, methods, or events, head over to the complete API documentation for NavigationButton.
<NavigationButton>はAndroidのナビゲーションボタンとiOSのバックボタンを提供するUIコンポーネントです。
詳しく <ActionItem>.
<ActionBar title="My App">
<NavigationButton text="Go back" android.systemIcon="ic_menu_back" @tap="goBack" />
</ActionBar>| 名前 | 型 | 説明 |
|---|---|---|
text | String | (iOS-only) ボタンのテキストを設定する。 |
android.systemIcon | String | (Androidのみ) ボタン内で表示されるアイコン。ic_というプリフェクスで始まるシステムアイコンを指定できる。使用可能なアイコンのすべてのリストは the R.drawable Android classに書いてあります。 |
| 名前 | 説明 |
|---|---|
tap | <NavigationButton>がタップされたときに発火します。 |
| Android | iOS |
|---|---|
android.widget.Toolbar | UINavigationItem |