(vnode: VNode)
| 19 | type AssignerFn = (value: any) => void |
| 20 | |
| 21 | const getModelAssigner = (vnode: VNode): AssignerFn => { |
| 22 | const fn = |
| 23 | vnode.props!['onUpdate:modelValue'] || |
| 24 | (__COMPAT__ && vnode.props!['onModelCompat:input']) |
| 25 | return isArray(fn) ? value => invokeArrayFns(fn, value) : fn |
| 26 | } |
| 27 | |
| 28 | function onCompositionStart(e: Event) { |
| 29 | ;(e.target as any).composing = true |
no test coverage detected