UNPKG

vue-parent-change-transition

Version:
10 lines (7 loc) 198 B
/* @flow */ import { addProp } from 'compiler/helpers' export default function html (el: ASTElement, dir: ASTDirective) { if (dir.value) { addProp(el, 'innerHTML', `_s(${dir.value})`) } }