This commit is contained in:
syuilo
2018-02-22 23:53:07 +09:00
parent e98626dbbc
commit b5068aae05
14 changed files with 102 additions and 126 deletions

View File

@@ -169,22 +169,18 @@ export default Vue.extend({
});
},
react() {
document.body.appendChild(new MkReactionPicker({
propsData: {
source: this.$refs.reactButton,
post: this.p,
compact: true
}
}).$mount().$el);
(this as any).os.new(MkReactionPicker, {
source: this.$refs.reactButton,
post: this.p,
compact: true
});
},
menu() {
document.body.appendChild(new MkPostMenu({
propsData: {
source: this.$refs.menuButton,
post: this.p,
compact: true
}
}).$mount().$el);
(this as any).os.new(MkPostMenu, {
source: this.$refs.menuButton,
post: this.p,
compact: true
});
}
}
});