You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs_src/content/docs/00-introduction.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ title: Introduction
4
4
5
5
#### What is NativeScript?
6
6
7
-
[NativeScript](https://www.nativescript.org/) is an open-source framework to develop apps on the Apple iOS and Android platforms. It is open source and can be found on [github](https://github.com/nativescript/nativescript)
7
+
[NativeScript](https://www.nativescript.org/) is an open-source framework to develop apps on the Apple iOS and Android platforms. It is open source and can be found on [github](https://github.com/nativescript/nativescript).
@@ -51,9 +53,9 @@ When an element is a direct child of `<absoluteLayout>`, you can work with the f
51
53
52
54
### DockLayout
53
55
54
-
`<DockLayout>` is a layout container that lets you dock child elements to the sides or the center of the layout.
56
+
`<dockLayout>` is a layout container that lets you dock child elements to the sides or the center of the layout.
55
57
56
-
`<DockLayout>` has the following behavior:
58
+
`<dockLayout>` has the following behavior:
57
59
58
60
* Uses the `dock` property to dock its children to the `left`, `right`, `top`, `bottom` or center of the layout.<br/>To dock a child element to the center, it must be the **last child** of the container and you must set the `stretchLastChild` property of the parent to `true`.
59
61
* Enforces layout constraints to its children.
@@ -126,15 +128,15 @@ The following example creates a single line of 4 elements that stretch across th
126
128
127
129
#### Additional children props
128
130
129
-
When an element is a direct child of `<DockLayout>`, you can work with the following additional properties.
131
+
When an element is a direct child of `<dockLayout>`, you can work with the following additional properties.
130
132
131
133
| Name | Type | Description |
132
134
|------|------|-------------|
133
135
| `dock` | `String` | Specifies which side to dock the element to.<br/>Valid values: `top`, `right`, `bottom`, or `left`.
134
136
135
137
### FlexboxLayout
136
138
137
-
`<FlexboxLayout>` is a layout container that provides a non-exact implementation of the [CSS Flexbox layout](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox). This layout lets you arrange child components both horizontally and vertically.
139
+
`<flexboxLayout>` is a layout container that provides a non-exact implementation of the [CSS Flexbox layout](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox). This layout lets you arrange child components both horizontally and vertically.
138
140
139
141
#### Examples
140
142
@@ -202,6 +204,7 @@ The following example creates four items with enabled line wrapping. When the ro
#### Column flex layout with reverse order and items with a different `alignSelf`
@@ -236,7 +239,7 @@ The following example shows how to use:
236
239
237
240
#### Additional children props
238
241
239
-
When an element is a direct child of `<FlexboxLayout>`, you can work with the following additional properties.
242
+
When an element is a direct child of `<flexboxLayout>`, you can work with the following additional properties.
240
243
241
244
| Name | Type | Description |
242
245
|------|------|-------------|
@@ -248,11 +251,11 @@ When an element is a direct child of `<FlexboxLayout>`, you can work with the fo
248
251
249
252
### GridLayout
250
253
251
-
`<GridLayout>` is a layout container that lets you arrange its child elements in a table-like manner.
254
+
`<gridLayout>` is a layout container that lets you arrange its child elements in a table-like manner.
252
255
253
256
The grid consists of rows, columns, and cells. A cell can span one or more rows and one or more columns. It can contain multiple child elements which can span over multiple rows and columns, and even overlap each other.
254
257
255
-
By default, `<GridLayout>` has one column and one row. You can add columns and rows by configuring the `columns` and the `rows` properties. In these properties, you need to set the number of columns and rows and their width and height. You set the number of columns by listing their widths, separated by a comma. You set the number of rows by listing their heights, separated by a comma.
258
+
By default, `<gridLayout>` has one column and one row. You can add columns and rows by configuring the `columns` and the `rows` properties. In these properties, you need to set the number of columns and rows and their width and height. You set the number of columns by listing their widths, separated by a comma. You set the number of rows by listing their heights, separated by a comma.
256
259
257
260
You can set a fixed size for column width and row height or you can create them in a responsive manner:
258
261
@@ -289,6 +292,7 @@ The following example creates a grid with responsive design, where space is alot
#### Stack layout with horizontally aligned children
@@ -419,7 +426,7 @@ The following example creates a diagonal stack of items with responsive sizes. I
419
426
420
427
### WrapLayout
421
428
422
-
`<WrapLayout>` is a layout container that lets you position items in rows or columns, based on the `orientation` property. When the space is filled, the container automatically wraps items onto a new row or column.
429
+
`<wrapLayout>` is a layout container that lets you position items in rows or columns, based on the `orientation` property. When the space is filled, the container automatically wraps items onto a new row or column.
`<actionBar>` is a UI component that provides a toolbar at the top of the activity window.
9
+
`<actionBar>` is a UI component that provides a toolbar at the top of the activity window.
10
10
11
11
This component is the NativeScript abstraction for the Android [app bar](https://developer.android.com/training/appbar/) and the iOS [navigation bar](https://developer.apple.com/design/human-interface-guidelines/ios/bars/navigation-bars/).
0 commit comments