2018-04-09 01:56:20 +02:00
|
|
|
import ComposeDialog from '../components/ComposeDialog.html'
|
|
|
|
import { createDialogElement } from '../helpers/createDialogElement'
|
|
|
|
import { createDialogId } from '../helpers/createDialogId'
|
|
|
|
|
2018-04-21 18:56:53 +02:00
|
|
|
export default function showComposeDialog () {
|
2018-04-09 01:56:20 +02:00
|
|
|
let dialog = new ComposeDialog({
|
|
|
|
target: createDialogElement(),
|
|
|
|
data: {
|
|
|
|
id: createDialogId(),
|
|
|
|
label: 'Compose dialog'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
dialog.show()
|
|
|
|
}
|