From b5068aae059c50ef837d2a5a20ae6c85d8ee7f98 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 22 Feb 2018 23:53:07 +0900 Subject: wip --- src/web/app/common/mios.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/web/app/common') diff --git a/src/web/app/common/mios.ts b/src/web/app/common/mios.ts index e3a66f5b11..e20f4bfe4e 100644 --- a/src/web/app/common/mios.ts +++ b/src/web/app/common/mios.ts @@ -67,6 +67,16 @@ export default class MiOS extends EventEmitter { private isMetaFetching = false; + public app: Vue; + + public new(vm, props) { + const w = new vm({ + parent: this.app, + propsData: props + }).$mount(); + document.body.appendChild(w.$el); + } + /** * A signing user */ -- cgit v1.2.3-freya