We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e62f59 commit 0158355Copy full SHA for 0158355
playground/virtual-dom/App.vue
@@ -75,7 +75,7 @@ defineRender((
75
<input
76
{...{ value: count.value }}
77
{...count.value ? { for: 'id' } : {}}
78
- onInput={count.value = $event.target.value}
+ onInput={($event: any) => count.value = $event.target.value}
79
/>
80
{/* Function Components */}
81
{Component}
src/core/transform.ts
@@ -69,9 +69,6 @@ export function transformVueJsxVapor(
69
if (node.value?.type === 'JSXExpressionContainer') {
70
if (/^on[A-Z]/.test(name)) {
71
name = name.replace(/^(?:on)([A-Z])/, (_, $1) => `@${$1.toLowerCase()}`)
72
-
73
- if (!isFunctionExpression(node.value.expression))
74
- s.appendRight(node.value.expression.start!, '($event) => ')
}
else if (!name.startsWith('v-')) {
name = `:${name}`
0 commit comments