pinafore/routes/_components/dialog/showComposeDialog.js

12 lines
248 B
JavaScript
Raw Normal View History

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