pinafore/routes/_components/dialog/showEmojiDialog.js

13 lines
277 B
JavaScript
Raw Normal View History

2018-02-28 07:18:07 +00:00
import EmojiDialog from './EmojiDialog.html'
export function showEmojiDialog () {
let emojiDialog = new EmojiDialog({
target: document.getElementById('modal-dialog'),
data: {
label: 'Emoji dialog',
title: 'Custom emoji'
}
})
emojiDialog.show()
}