UNPKG

hae

Version:

Mobile web UI based on Vux

20 lines (15 loc) 292 B
import Vue from 'vue' import { createVM, show, hide } from './util' let $vm if (!$vm) { $vm = createVM(Vue) } const manager = {} export default { show (options) { return show.call(manager, $vm, options) }, hide () { return hide.call(manager, $vm) } }