File tree Expand file tree Collapse file tree 1 file changed +30
-21
lines changed Expand file tree Collapse file tree 1 file changed +30
-21
lines changed Original file line number Diff line number Diff line change 3
3
<ActionBar title =" Material Vue" >
4
4
</ActionBar >
5
5
<GridLayout rows =" auto,auto,auto,*" >
6
- <HTMLLabel id =" formattedText" padding =" 10 20 30 36" :autoFontSize =" false" :autoFontSizeStep =" 4" maxFontSize =" 38" fontSize =" 30" maxLines =" 2" height =" 140" width =" 100%" :color =" color" backgroundColor =" blue" fontFamily =" Montserrat,montserrat-regular" >
7
- <Span :text =" 'collect' + '\n'" />
8
- <Span :text =" counter + ' '" color =" red" fontWeight =" bold" />
9
- <Span :text =" 'dabbas'" />
10
- </HTMLLabel >
11
- <HTMLLabel class =" test"
12
- row =" 1"
13
- padding =" 0 20 0 36"
14
- maxLines =" 2"
15
- verticalTextAlignment =' center'
16
- height =" 140"
17
- fontSize =" 20"
18
- width =" 100%"
19
- backgroundColor =" yellow"
20
- letterSpacing =" -0.4"
21
- text =" af" />
22
- <StackLayout row =" 2" orientation =" horizontal" >
23
- <Button text =" up" @tap =" counter+=1" />
24
- <Button text =" color" @tap =" color='green'" />
25
- </StackLayout >
26
- <Button text =" bottomsheet" @tap =" showBottomSheet" />
6
+ <GridLayout rows =" 50, 50, 50, 50" >
7
+ <HTMLLabel text =" This is a test" color =" #ff0000" row =" 0" />
8
+
9
+ <HTMLLabel html =" This is a test" color =" #ff0000" row =" 1" />
10
+
11
+ <HTMLLabel
12
+ :html =" someBindedUrl"
13
+ @linkTap =" ()=>{}"
14
+ linkColor =" #ff0000"
15
+ linkUnderline =" false"
16
+ fontFamily =" OpenSans"
17
+ fontSize =" 16"
18
+ margin =" 2 5 5 5"
19
+ textWrap =" true"
20
+ row =" 2"
21
+ ></HTMLLabel >
22
+
23
+ <HTMLLabel
24
+ :html =" someBindedUrl"
25
+ @linkTap =" ()=>{}"
26
+ linkColor =" #ff0000"
27
+ fontFamily =" OpenSans"
28
+ fontSize =" 16"
29
+ margin =" 2 5 5 5"
30
+ textWrap =" true"
31
+ row =" 3"
32
+ ></HTMLLabel >
33
+ </GridLayout >
34
+
27
35
<ListView row =" 3" ref =" listView" itemRowHeight =" 80" for =" example in examples" separatorColor =" transparent" @itemTap =" goToExample" >
28
36
<v-template >
29
37
<StackLayout class =" item" orientation =" horizontal" >
@@ -45,6 +53,7 @@ export default Vue.extend({
45
53
data() {
46
54
return {
47
55
counter:0 ,
56
+ someBindedUrl: ' <a href=\" https://youtube.com\" >Open Youtube.com</a>' ,
48
57
color:' yellow' ,
49
58
examples: getExamples ()
50
59
};
You can’t perform that action at this time.
0 commit comments