File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ If using ```tns-core-modules```
21
21
22
22
Be sure to run a new build after adding plugins to avoid any issues.
23
23
24
- ### Usage
24
+ ## Usage
25
25
26
26
27
- ## Plain NativeScript
27
+ ### Plain NativeScript
28
28
29
29
<span style =" color :red " >IMPORTANT: </span >_ Make sure you include ` xmlns:mdt="@nativescript-community/ui-material-textview" ` on the Page element_
30
30
31
- ### XML
31
+ #### XML
32
32
33
33
``` XML
34
34
<Page xmlns : mdt =" @nativescript-community/ui-material-textview" >
@@ -41,7 +41,7 @@ Be sure to run a new build after adding plugins to avoid any issues.
41
41
</Page >
42
42
```
43
43
44
- ### CSS
44
+ #### CSS
45
45
46
46
``` CSS
47
47
mdctextview {
@@ -54,7 +54,7 @@ mdctextview {
54
54
}
55
55
```
56
56
57
- ## NativeScript + Angular
57
+ ### NativeScript + Angular
58
58
59
59
``` typescript
60
60
import { NativeScriptMaterialTextViewModule } from " @nativescript-community/ui-material-textview/angular" ;
@@ -74,7 +74,7 @@ import { NativeScriptMaterialTextViewModule } from "@nativescript-community/ui-m
74
74
(textChange) =" onTextChange($event)" ></MDTextView >
75
75
```
76
76
77
- ## NativeScript + Vue
77
+ ### NativeScript + Vue
78
78
79
79
``` javascript
80
80
import TextViewPlugin from ' @nativescript-community/ui-material-textview/vue' ;
@@ -99,8 +99,6 @@ Also, you can bind the text to some instance data using the `v-model` directive:
99
99
100
100
Inherite from Nativescript [ TextView] ( https://docs.nativescript.org/ui/ns-ui-widgets/text-view ) so it already has all the same attributes
101
101
102
- ## Attributes
103
-
104
102
* ** variant** _ optional_
105
103
106
104
An attribute to set the variant of the textview. Can be ``` outline ``` or ``` underline ``` or ``` filled ``` . No value means ``` underline ``` textview
You can’t perform that action at this time.
0 commit comments