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