@stencil/vue-output-target
Advanced tools
Comparing version 0.0.1-dev.11698436133.1950e76d to 0.0.1-dev.11698436359.1aeaa5db
{ | ||
"name": "@stencil/vue-output-target", | ||
"version": "0.0.1-dev.11698436133.1950e76d", | ||
"version": "0.0.1-dev.11698436359.1aeaa5db", | ||
"description": "Vue output target for @stencil/core components.", | ||
@@ -55,3 +55,3 @@ "main": "dist/index.cjs.js", | ||
}, | ||
"gitHead": "950e76d536f12e84f9e31bf371ec2c8c223a205f", | ||
"gitHead": "aeaa5dbb9bb221e5466cf29369adfc3afbb25083", | ||
"volta": { | ||
@@ -58,0 +58,0 @@ "extends": "../../package.json" |
@@ -90,3 +90,3 @@ // @ts-nocheck | ||
const vModelDirective = { | ||
created(el: HTMLElement) { | ||
created: (el: HTMLElement) => { | ||
const eventsNames = Array.isArray(modelUpdateEvent) ? modelUpdateEvent : [modelUpdateEvent]; | ||
@@ -185,3 +185,3 @@ eventsNames.forEach((eventName: string) => { | ||
const node = h(name, propsToAdd, slots.default && slots.default()); | ||
return modelProp === undefined ? node : withDirectives(node, [vModelDirective]); | ||
return modelProp === undefined ? node : withDirectives(node, [[vModelDirective]]); | ||
}; | ||
@@ -188,0 +188,0 @@ }); |
54277