{ "template": { "prefix": "template", "body": [ "" ], "description": "template element" }, "v-text": { "prefix": "vText", "body": [ "v-text=\"${1:msg}\"" ], "description": "Expects: string. Updates the element’s textContent." }, "v-html": { "prefix": "vHtml", "body": [ "v-html=\"${1:html}\"" ], "description": "Expects: string. Updates the element’s innerHTML." }, "v-show": { "prefix": "vShow", "body": [ "v-show=\"${1:condition}\"" ], "description": "Expects: any" }, "v-if": { "prefix": "vIf", "body": [ "v-if=\"${1:condition}\"" ], "description": "Expects: any" }, "v-else": { "prefix": "vElse", "body": [ "v-else" ], "description": "Does not expect expression. previous sibling element must have v-if or v-else-if." }, "v-else-if": { "prefix": "vElseIf", "body": [ "v-else-if=\"${1:condition}\"" ], "description": "Expects: any. previous sibling element must have v-if or v-else-if." }, "v-for-without-key": { "prefix": "vForWithoutKey", "body": [ "v-for=\"${1:item} in ${2:items}\"" ], "description": "Expects: Array | Object | number | string" }, "v-for": { "prefix": "vFor", "body": [ "v-for=\"(${1:item}, ${2:index}) in ${3:items}\" :key=\"${4:index}\"" ], "description": "Expects: Array | Object | number | string" }, "v-on": { "prefix": "vOn", "body": [ "v-on:${1:event}=\"${2:handle}\"" ], "description": "Expects: Function | Inline Statement" }, "v-on-shortcut": { "prefix": "@", "body": [ "@${1:event}=\"${2:handle}\"" ], "description": "v-on shortcut from vue 3" }, "v-bind": { "prefix": "vBind", "body": [ "v-bind$1=\"${2}\"" ], "description": "Expects: any (with argument) | Object (without argument)" }, "v-model": { "prefix": "vModel", "body": [ "v-model=\"${1:something}\"" ], "description": "Expects: varies based on value of form inputs element or output of components" }, "v-slot": { "prefix": "vSlot", "body": [ "v-slot$1=\"${2}\"" ], "description": "Expects: JavaScript expression that is valid in a function argument position (supports destructuring in supported environments). Optional - only needed if expecting props to be passed to the slot." }, "v-pre": { "prefix": "vPre", "body": [ "v-pre" ], "description": "Does not expect expression" }, "v-cloak": { "prefix": "vCloak", "body": [ "v-cloak" ], "description": "Does not expect expression" }, "v-once": { "prefix": "vOnce", "body": [ "v-once" ], "description": "Does not expect expression" }, "key": { "prefix": "key", "body": [ ":key=\"${1:key}\"" ], "description": "Expects: string. Children of the same common parent must have unique keys. Duplicate keys will cause render errors." }, "ref": { "prefix": "ref", "body": [ "ref=\"${1:reference}\"$0" ], "description": "Expects: string. ref is used to register a reference to an element or a child component. The reference will be registered under the parent component’s $refs object. If used on a plain DOM element, the reference will be that element; if used on a child component, the reference will be component instance." }, "slotA": { "prefix": "slotA", "body": [ "slot=\"$1\"$0" ], "description": "slot=''. Expects: string. Used on content inserted into child components to indicate which named slot the content belongs to." }, "slotE": { "prefix": "slotE", "body": [ "$2$0" ], "description": ". Expects: string. Used on content inserted into child components to indicate which named slot the content belongs to." }, "slotScope": { "prefix": "slotScope", "body": [ "slot-scope=\"$1\"$0" ], "description": "Used to denote an element or component as a scoped slot. The attribute’s value should be a valid JavaScript expression that can appear in the argument position of a function signature. This means in supported environments you can also use ES2015 destructuring in the expression. Serves as a replacement for scope in 2.5.0+." }, "scope": { "prefix": "scope", "body": [ "scope=\"${1:this api replaced by slot-scope in 2.5.0+}\"$0" ], "description": "Used to denote a