mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Merge pull request #2079 from NativeScript/pete/docs-update
Update docomentation
This commit is contained in:
@@ -54,7 +54,7 @@ The icon can only be set in Android platform. It is hidden by default, but you e
|
||||
</Page>
|
||||
```
|
||||
|
||||
The position option is platform specific. The available values are as follows:
|
||||
The position option is platform-specific. The available values are as follows:
|
||||
* **Android** - `actionBar`, `actionBarIfRoom` and `popup`. The default is `actionBar`.
|
||||
* **iOS** - `left` and `right`. The default is `left`.
|
||||
|
||||
@@ -78,32 +78,31 @@ The position option is platform specific. The available values are as follows:
|
||||
Set `ios.systemIcon` to a number representing the iOS system item to be displayed.
|
||||
Use this property instead of `ActionItem.icon` if you want to diplsay a built-in iOS system icon.
|
||||
Note: systemIcon is not supported on NavigationButton in iOS
|
||||
The value should be a number from the `UIBarButtonSystemItem` enumeration
|
||||
(https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIBarButtonItem_Class/#//apple_ref/c/tdef/UIBarButtonSystemItem)
|
||||
0: Done
|
||||
1: Cancel
|
||||
2: Edit
|
||||
3: Save
|
||||
4: Add
|
||||
5: FlexibleSpace
|
||||
6: FixedSpace
|
||||
7: Compose
|
||||
8: Reply
|
||||
9: Action
|
||||
10: Organize
|
||||
11: Bookmarks
|
||||
12: Search
|
||||
13: Refresh
|
||||
14: Stop
|
||||
15: Camera
|
||||
16: Trash
|
||||
17: Play
|
||||
18: Pause
|
||||
19: Rewind
|
||||
20: FastForward
|
||||
21: Undo
|
||||
22: Redo
|
||||
23: PageCurl
|
||||
The value should be a number from the [UIBarButtonSystemItem](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIBarButtonItem_Class/#//apple_ref/c/tdef/UIBarButtonSystemItem) enumeration:
|
||||
0: `Done`
|
||||
1: `Cancel`
|
||||
2: `Edit`
|
||||
3: `Save`
|
||||
4: `Add`
|
||||
5: `FlexibleSpace`
|
||||
6: `FixedSpace`
|
||||
7: `Compose`
|
||||
8: `Reply`
|
||||
9: `Action`
|
||||
10: `Organize`
|
||||
11: `Bookmarks`
|
||||
12: `Search`
|
||||
13: `Refresh`
|
||||
14: `Stop`
|
||||
15: `Camera`
|
||||
16: `Trash`
|
||||
17: `Play`
|
||||
18: `Pause`
|
||||
19: `Rewind`
|
||||
20: `FastForward`
|
||||
21: `Undo`
|
||||
22: `Redo`
|
||||
23: `PageCurl`
|
||||
|
||||
### Android
|
||||
Set `android.systemIcon` the name of the system drawable resource to be displayed.
|
||||
|
||||
Reference in New Issue
Block a user