show.js 205 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 /* @flow */ export default function show (node: VNodeWithData, dir: VNodeDirective) { if (!dir.value) { const style: any = node.data.style || (node.data.style = {}) style.display = 'none' } }