1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-01-10 18:25:50 +01:00
Pinafore-Web-Client-Frontend/routes/_components/dialog/ComposeDialog.html
2018-03-27 00:02:55 -07:00

22 lines
506 B
HTML

<ModalDialog :label :shown :closed :title background="var(--main-bg)">
<ComposeBox realm="dialog" on:postedStatus="onPostedStatus()" />
</ModalDialog>
<script>
import ModalDialog from './ModalDialog.html'
import ComposeBox from '../compose/ComposeBox.html'
export default {
components: {
ModalDialog,
ComposeBox
},
methods: {
async show() {
this.set({shown: true})
},
onPostedStatus() {
this.set({closed: true})
}
}
}
</script>