pinafore/routes/_components/dialog/showComposeDialog.js
2018-03-27 00:02:55 -07:00

12 lines
248 B
JavaScript

import ComposeDialog from './ComposeDialog.html'
export function showComposeDialog () {
let dialog = new ComposeDialog({
target: document.getElementById('modal-dialog'),
data: {
label: 'Compose dialog'
}
})
dialog.show()
}