@purevue/compiler-core
Version:
## 📖 Introduction
11 lines • 408 B
TypeScript
import { type DirectiveTransform } from '../types';
/**
* 简化版 transformOn,处理 v-on 指令转换为普通属性
* 支持事件名转换为 onXxx 格式,表达式简单包装
* @param dir 指令节点
* @param node 元素节点
* @param context 转换上下文
* @returns 生成的属性节点数组
*/
export declare const transformOn: DirectiveTransform;
//# sourceMappingURL=vOn.d.ts.map