|
3 | 3 | "completions": [
|
4 | 4 | {
|
5 | 5 | "trigger": "phx-value-*",
|
6 |
| - "contents": "phx-value-${1:*}={$2}", |
| 6 | + "contents": "phx-value-${1:*}=\"$2\"", |
7 | 7 | "kind": "snippet",
|
8 | 8 | "details": "Params"
|
9 | 9 | },
|
10 | 10 | {
|
11 | 11 | "trigger": "phx-click",
|
12 |
| - "contents": "phx-click={$1}", |
| 12 | + "contents": "phx-click=\"$1\"", |
13 | 13 | "kind": "snippet",
|
14 | 14 | "details": "Click Events"
|
15 | 15 | },
|
16 | 16 | {
|
17 | 17 | "trigger": "phx-click-away",
|
18 |
| - "contents": "phx-click-away={$1}", |
| 18 | + "contents": "phx-click-away=\"$1\"", |
19 | 19 | "kind": "snippet",
|
20 | 20 | "details": "Click Events"
|
21 | 21 | },
|
22 | 22 | {
|
23 | 23 | "trigger": "phx-change",
|
24 |
| - "contents": "phx-change={$1}", |
| 24 | + "contents": "phx-change=\"$1\"", |
25 | 25 | "kind": "snippet",
|
26 | 26 | "details": "Form Events"
|
27 | 27 | },
|
28 | 28 | {
|
29 | 29 | "trigger": "phx-submit",
|
30 |
| - "contents": "phx-submit={$1}", |
| 30 | + "contents": "phx-submit=\"$1\"", |
31 | 31 | "kind": "snippet",
|
32 | 32 | "details": "Form Events"
|
33 | 33 | },
|
34 | 34 | {
|
35 | 35 | "trigger": "phx-feedback-for",
|
36 |
| - "contents": "phx-feedback-for={$1}", |
| 36 | + "contents": "phx-feedback-for=\"$1\"", |
37 | 37 | "kind": "snippet",
|
38 | 38 | "details": "Form Events"
|
39 | 39 | },
|
40 | 40 | {
|
41 | 41 | "trigger": "phx-disable-with",
|
42 |
| - "contents": "phx-disable-with={$1}", |
| 42 | + "contents": "phx-disable-with=\"$1\"", |
43 | 43 | "kind": "snippet",
|
44 | 44 | "details": "Form Events"
|
45 | 45 | },
|
46 | 46 | {
|
47 | 47 | "trigger": "phx-trigger-action",
|
48 |
| - "contents": "phx-trigger-action={$1}", |
| 48 | + "contents": "phx-trigger-action=\"$1\"", |
49 | 49 | "kind": "snippet",
|
50 | 50 | "details": "Form Events"
|
51 | 51 | },
|
52 | 52 | {
|
53 | 53 | "trigger": "phx-auto-recover",
|
54 |
| - "contents": "phx-auto-recover={$1}", |
| 54 | + "contents": "phx-auto-recover=\"$1\"", |
55 | 55 | "kind": "snippet",
|
56 | 56 | "details": "Form Events"
|
57 | 57 | },
|
58 | 58 | {
|
59 | 59 | "trigger": "phx-blur",
|
60 |
| - "contents": "phx-blur={$1}", |
| 60 | + "contents": "phx-blur=\"$1\"", |
61 | 61 | "kind": "snippet",
|
62 | 62 | "details": "Focus Events"
|
63 | 63 | },
|
64 | 64 | {
|
65 | 65 | "trigger": "phx-focus",
|
66 |
| - "contents": "phx-focus={$1}", |
| 66 | + "contents": "phx-focus=\"$1\"", |
67 | 67 | "kind": "snippet",
|
68 | 68 | "details": "Focus Events"
|
69 | 69 | },
|
70 | 70 | {
|
71 | 71 | "trigger": "phx-window-blur",
|
72 |
| - "contents": "phx-window-blur={$1}", |
| 72 | + "contents": "phx-window-blur=\"$1\"", |
73 | 73 | "kind": "snippet",
|
74 | 74 | "details": "Focus Events"
|
75 | 75 | },
|
76 | 76 | {
|
77 | 77 | "trigger": "phx-window-focus",
|
78 |
| - "contents": "phx-window-focus={$1}", |
| 78 | + "contents": "phx-window-focus=\"$1\"", |
79 | 79 | "kind": "snippet",
|
80 | 80 | "details": "Focus Events"
|
81 | 81 | },
|
82 | 82 | {
|
83 | 83 | "trigger": "phx-keydown",
|
84 |
| - "contents": "phx-keydown={$1}", |
| 84 | + "contents": "phx-keydown=\"$1\"", |
85 | 85 | "kind": "snippet",
|
86 | 86 | "details": "Key Events"
|
87 | 87 | },
|
88 | 88 | {
|
89 | 89 | "trigger": "phx-keyup",
|
90 |
| - "contents": "phx-keyup={$1}", |
| 90 | + "contents": "phx-keyup=\"$1\"", |
91 | 91 | "kind": "snippet",
|
92 | 92 | "details": "Key Events"
|
93 | 93 | },
|
94 | 94 | {
|
95 | 95 | "trigger": "phx-window-keydown",
|
96 |
| - "contents": "phx-window-keydown={$1}", |
| 96 | + "contents": "phx-window-keydown=\"$1\"", |
97 | 97 | "kind": "snippet",
|
98 | 98 | "details": "Key Events"
|
99 | 99 | },
|
100 | 100 | {
|
101 | 101 | "trigger": "phx-window-keyup",
|
102 |
| - "contents": "phx-window-keyup={$1}", |
| 102 | + "contents": "phx-window-keyup=\"$1\"", |
103 | 103 | "kind": "snippet",
|
104 | 104 | "details": "Key Events"
|
105 | 105 | },
|
106 | 106 | {
|
107 | 107 | "trigger": "phx-key",
|
108 |
| - "contents": "phx-key={$1}", |
| 108 | + "contents": "phx-key=\"$1\"", |
109 | 109 | "kind": "snippet",
|
110 | 110 | "details": "Key Events"
|
111 | 111 | },
|
112 | 112 | {
|
113 | 113 | "trigger": "phx-update",
|
114 |
| - "contents": "phx-update={$1}", |
| 114 | + "contents": "phx-update=\"$1\"", |
115 | 115 | "kind": "snippet",
|
116 | 116 | "details": "DOM Patching"
|
117 | 117 | },
|
118 | 118 | {
|
119 | 119 | "trigger": "phx-remove",
|
120 |
| - "contents": "phx-remove={$1}", |
| 120 | + "contents": "phx-remove=\"$1\"", |
121 | 121 | "kind": "snippet",
|
122 | 122 | "details": "DOM Patching"
|
123 | 123 | },
|
124 | 124 | {
|
125 | 125 | "trigger": "phx-hook",
|
126 |
| - "contents": "phx-hook={$1}", |
| 126 | + "contents": "phx-hook=\"$1\"", |
127 | 127 | "kind": "snippet",
|
128 | 128 | "details": "JS Interop"
|
129 | 129 | },
|
130 | 130 | {
|
131 | 131 | "trigger": "phx-debounce",
|
132 |
| - "contents": "phx-debounce={$1}", |
| 132 | + "contents": "phx-debounce=\"$1\"", |
133 | 133 | "kind": "snippet",
|
134 | 134 | "details": "Rate Limiting"
|
135 | 135 | },
|
136 | 136 | {
|
137 | 137 | "trigger": "phx-throttle",
|
138 |
| - "contents": "phx-throttle={$1}", |
| 138 | + "contents": "phx-throttle=\"$1\"", |
139 | 139 | "kind": "snippet",
|
140 | 140 | "details": "Rate Limiting"
|
141 | 141 | },
|
142 | 142 | {
|
143 | 143 | "trigger": "phx-track-static",
|
144 |
| - "contents": "phx-track-static={$1}", |
| 144 | + "contents": "phx-track-static=\"$1\"", |
145 | 145 | "kind": "snippet",
|
146 | 146 | "details": "Static Tracking"
|
147 | 147 | }
|
|
0 commit comments