Skip to content

Commit 7722732

Browse files
committed
Completions: added Surface attributes.
1 parent 5b648af commit 7722732

File tree

1 file changed

+113
-0
lines changed

1 file changed

+113
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
{
2+
"scope": "text.html.surface meta.attribute-with-value",
3+
"completions": [
4+
{
5+
"trigger": "if",
6+
"contents": ":if={$1}",
7+
"kind": "markup",
8+
"details": ":if"
9+
},
10+
{
11+
"trigger": "hook",
12+
"contents": ":hook={$1}",
13+
"kind": "markup",
14+
"details": ":hook"
15+
},
16+
{
17+
"trigger": "show",
18+
"contents": ":show={$1}",
19+
"kind": "markup",
20+
"details": ":show"
21+
},
22+
{
23+
"trigger": "let",
24+
"contents": ":let={$1}",
25+
"kind": "markup",
26+
"details": ":let"
27+
},
28+
{
29+
"trigger": "args",
30+
"contents": ":args={$1}",
31+
"kind": "markup",
32+
"details": ":args"
33+
},
34+
{
35+
"trigger": "values",
36+
"contents": ":values={$1}",
37+
"kind": "markup",
38+
"details": ":values"
39+
},
40+
{
41+
"trigger": "on-click",
42+
"contents": ":on-click={$1}",
43+
"kind": "markup",
44+
"details": ":on-click"
45+
},
46+
{
47+
"trigger": "on-capture-click",
48+
"contents": ":on-capture-click={$1}",
49+
"kind": "markup",
50+
"details": ":on-capture-click"
51+
},
52+
{
53+
"trigger": "on-blur",
54+
"contents": ":on-blur={$1}",
55+
"kind": "markup",
56+
"details": ":on-blur"
57+
},
58+
{
59+
"trigger": "on-focus",
60+
"contents": ":on-focus={$1}",
61+
"kind": "markup",
62+
"details": ":on-focus"
63+
},
64+
{
65+
"trigger": "on-change",
66+
"contents": ":on-change={$1}",
67+
"kind": "markup",
68+
"details": ":on-change"
69+
},
70+
{
71+
"trigger": "on-submit",
72+
"contents": ":on-submit={$1}",
73+
"kind": "markup",
74+
"details": ":on-submit"
75+
},
76+
{
77+
"trigger": "on-keydown",
78+
"contents": ":on-keydown={$1}",
79+
"kind": "markup",
80+
"details": ":on-keydown"
81+
},
82+
{
83+
"trigger": "on-keyup",
84+
"contents": ":on-keyup={$1}",
85+
"kind": "markup",
86+
"details": ":on-keyup"
87+
},
88+
{
89+
"trigger": "on-window-focus",
90+
"contents": ":on-window-focus={$1}",
91+
"kind": "markup",
92+
"details": ":on-window-focus"
93+
},
94+
{
95+
"trigger": "on-window-blur",
96+
"contents": ":on-window-blur={$1}",
97+
"kind": "markup",
98+
"details": ":on-window-blur"
99+
},
100+
{
101+
"trigger": "on-window-keydown",
102+
"contents": ":on-window-keydown={$1}",
103+
"kind": "markup",
104+
"details": ":on-window-keydown"
105+
},
106+
{
107+
"trigger": "on-window-keyup",
108+
"contents": ":on-window-keyup={$1}",
109+
"kind": "markup",
110+
"details": ":on-window-keyup"
111+
}
112+
]
113+
}

0 commit comments

Comments
 (0)