|
|
@@ -1,7 +1,7 @@
|
|
|
import { type IREffect, IRNodeTypes, type OperationNode } from '../ir'
|
|
|
import type { CodegenContext } from '../generate'
|
|
|
import { genInsertNode, genPrependNode } from './dom'
|
|
|
-import { genSetEvent } from './event'
|
|
|
+import { genSetDynamicEvents, genSetEvent } from './event'
|
|
|
import { genFor } from './for'
|
|
|
import { genSetHtml } from './html'
|
|
|
import { genIf } from './if'
|
|
|
@@ -38,6 +38,8 @@ export function genOperation(
|
|
|
return genSetText(oper, context)
|
|
|
case IRNodeTypes.SET_EVENT:
|
|
|
return genSetEvent(oper, context)
|
|
|
+ case IRNodeTypes.SET_DYNAMIC_EVENTS:
|
|
|
+ return genSetDynamicEvents(oper, context)
|
|
|
case IRNodeTypes.SET_HTML:
|
|
|
return genSetHtml(oper, context)
|
|
|
case IRNodeTypes.SET_REF:
|