-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathButton4.js
144 lines (108 loc) · 1.99 KB
/
Button4.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
Text(){
"Send!"
} // End of Text
BorderColor(){
ColorFade(Button4.Fill, -15%)
} // End of BorderColor
DisabledBorderColor(){
RGBA(166, 166, 166, 1)
} // End of DisabledBorderColor
PressedBorderColor(){
Button4.Fill
} // End of PressedBorderColor
HoverBorderColor(){
ColorFade(Button4.BorderColor, 20%)
} // End of HoverBorderColor
BorderStyle(){
BorderStyle.Solid
} // End of BorderStyle
FocusedBorderColor(){
Button4.BorderColor
} // End of FocusedBorderColor
Color(){
RGBA(255, 255, 255, 1)
} // End of Color
DisabledColor(){
RGBA(166, 166, 166, 1)
} // End of DisabledColor
PressedColor(){
Button4.Fill
} // End of PressedColor
HoverColor(){
RGBA(255, 255, 255, 1)
} // End of HoverColor
DisplayMode(){
DisplayMode.Edit
} // End of DisplayMode
Fill(){
RGBA(56, 96, 178, 1)
} // End of Fill
DisabledFill(){
RGBA(244, 244, 244, 1)
} // End of DisabledFill
PressedFill(){
Button4.Color
} // End of PressedFill
HoverFill(){
ColorFade(RGBA(56, 96, 178, 1), -20%)
} // End of HoverFill
Font(){
Font.'Open Sans'
} // End of Font
FontWeight(){
FontWeight.Semibold
} // End of FontWeight
Align(){
Align.Center
} // End of Align
VerticalAlign(){
VerticalAlign.Middle
} // End of VerticalAlign
X(){
37
} // End of X
Y(){
565
} // End of Y
Width(){
160
} // End of Width
Height(){
40
} // End of Height
ZIndex(){
AutoValue
} // End of ZIndex
RadiusTopLeft(){
10
} // End of RadiusTopLeft
RadiusTopRight(){
10
} // End of RadiusTopRight
RadiusBottomLeft(){
10
} // End of RadiusBottomLeft
RadiusBottomRight(){
10
} // End of RadiusBottomRight
BorderThickness(){
2
} // End of BorderThickness
FocusedBorderThickness(){
4
} // End of FocusedBorderThickness
Size(){
15
} // End of Size
Italic(){
false
} // End of Italic
Underline(){
false
} // End of Underline
Strikethrough(){
false
} // End of Strikethrough
OnSelect(){
MicrosoftTeams.PostMessageToChannelV3(LabelTeamId.Text, LabelChannelId.Text, { content : TextInputMessage.Text, contentType : "text"} )
} // End of OnSelect