summaryrefslogtreecommitdiff
path: root/src/web/app/common
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-22 23:53:07 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-22 23:53:07 +0900
commitb5068aae059c50ef837d2a5a20ae6c85d8ee7f98 (patch)
treee4fb3849a62453c479900a76418c5eb3bc7e880d /src/web/app/common
parentwip (diff)
downloadsharkey-b5068aae059c50ef837d2a5a20ae6c85d8ee7f98.tar.gz
sharkey-b5068aae059c50ef837d2a5a20ae6c85d8ee7f98.tar.bz2
sharkey-b5068aae059c50ef837d2a5a20ae6c85d8ee7f98.zip
wip
Diffstat (limited to 'src/web/app/common')
-rw-r--r--src/web/app/common/mios.ts10
1 files changed, 10 insertions, 0 deletions
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
*/