mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
fix wording
This commit is contained in:
@ -53,7 +53,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`.
|
||||
|
||||
@ -77,32 +77,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.
|
||||
|
@ -4,7 +4,7 @@ title: "border"
|
||||
description: "Examples for using Border"
|
||||
---
|
||||
# Border
|
||||
Using borders requires the "ui/border" module.
|
||||
Using borders requires the Border module.
|
||||
<snippet id='border-require'/>
|
||||
|
||||
### Declaring a Border.
|
||||
|
@ -22,17 +22,17 @@ Binding the image source property to a view-model property.
|
||||
</StackLayout>
|
||||
</Page>
|
||||
```
|
||||
### How to create an image and set its source.
|
||||
### Creating an image and setting its source
|
||||
<snippet id='img-create'/>
|
||||
|
||||
### How to create an image and set its src.
|
||||
### Creating an image and setting its src
|
||||
<snippet id='img-create-src'/>
|
||||
|
||||
### How to create an image and set its src to file within the application.
|
||||
### Creating an image and setting its src to a file within the application
|
||||
<snippet id='img-create-local'/>
|
||||
|
||||
### How to create an image and set its src to Data URI.
|
||||
### Creating an image and setting its src to Data URI
|
||||
<snippet id='img-create-datauri'/>
|
||||
|
||||
### How to set image stretching.
|
||||
### Setting image stretching
|
||||
<snippet id='img-set-stretch'/>
|
||||
|
@ -13,20 +13,20 @@ Using a label requires the Label module.
|
||||
{%raw%}<Label text="{{ title }}" />{%endraw%}
|
||||
</Page>
|
||||
```
|
||||
### How to set label text content
|
||||
### Setting the label text content
|
||||
<snippet id='label-settext'/>
|
||||
|
||||
### How to turn on text wrapping for a label
|
||||
### Turning on text wrapping for a label
|
||||
<snippet id='label-textwrap'/>
|
||||
|
||||
### How to style a label via css class
|
||||
### Styling a label via css class
|
||||
<snippet id='label-cssclass'/>
|
||||
|
||||
### How to style a label via css type
|
||||
### Styling a label via css type
|
||||
<snippet id='label-cssclass-type'/>
|
||||
|
||||
### How to style a label via css control identifier
|
||||
### Styling a label via css control identifier
|
||||
<snippet id='label-css-identifier'/>
|
||||
|
||||
### How to bind text property of a label to an observable model
|
||||
### Binding text property of a label to an observable model
|
||||
<snippet id='label-observable'/>
|
||||
|
@ -6,7 +6,7 @@ description: "Examples for using scroll-view"
|
||||
# ScrollView
|
||||
Using a ScrollView requires the ScrollView module.
|
||||
<snippet id='article-require-scrollview-module'/>
|
||||
### Declaring the ScrollView.
|
||||
### Declaring the ScrollView
|
||||
``` XML
|
||||
<Page>
|
||||
<ScrollView>
|
||||
|
Reference in New Issue
Block a user