Skip to content

Commit 6a078a2

Browse files
textfield, dividers
1 parent 55c88fb commit 6a078a2

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

packages/textfield/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,23 @@ Material Design's [Text field](https://material.io/components/text-fields) compo
1010
### :warning: Warning :warning:
1111
From NativeScript 5.x using this component will break the [NativeScript tab component](https://docs.nativescript.org/ui/components/tabs) on iOS (which is bound to be removed). This is needed to allow using the latest native iOS features. If needed you can use either [bottomnavigationbar](https://www.npmjs.com/package/@nativescript-community/ui-material-bottomnavigationbar) (this one is the best choice, closest to material design) or [material-tabs](https://www.npmjs.com/package/@nativescript-community/ui-material-tabs) (clone of the NativeScript one, but with a little less features).
1212

13+
##
14+
1315
For N 7.0
1416
* `tns plugin add @nativescript-community/ui-material-textfield`
1517

18+
##
19+
1620
For N 6.x
1721
* `tns plugin add nativescript-material-textfield`
1822

23+
##
24+
1925
If using ```tns-core-modules```
2026
* `tns plugin add [email protected]`
2127

28+
##
29+
2230
Be sure to run a new build after adding plugins to avoid any issues.
2331

2432
## Usage
@@ -54,6 +62,8 @@ mdctextfield {
5462
}
5563
```
5664

65+
##
66+
5767
### NativeScript + Angular
5868

5969
```typescript
@@ -74,6 +84,8 @@ import { NativeScriptMaterialTextFieldModule } from "@nativescript-community/ui-
7484
(textChange)="onTextChange($event)"></MDTextField>
7585
```
7686

87+
##
88+
7789
### NativeScript + Vue
7890

7991
```javascript
@@ -94,7 +106,6 @@ Also, you can bind the text to some instance data using the `v-model` directive:
94106
<MDTextField v-model="value" />
95107
```
96108

97-
98109
## Attributes
99110

100111
Inherite from Nativescript [TextField](https://docs.nativescript.org/ui/ns-ui-widgets/text-field) so it already has all the same attributes

0 commit comments

Comments
 (0)