pinafore/routes/_components/dialog/showComposeDialog.js
2018-03-31 18:46:44 -07:00

13 lines
290 B
JavaScript

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