pinafore/routes/_components/dialog/showComposeDialog.js

12 lines
248 B
JavaScript
Raw Normal View History

2018-03-27 09:02:55 +02:00
import ComposeDialog from './ComposeDialog.html'
export function showComposeDialog () {
let dialog = new ComposeDialog({
target: document.getElementById('modal-dialog'),
data: {
label: 'Compose dialog'
}
})
dialog.show()
}