pinafore/routes/_components/dialog/showEmojiDialog.js
2018-02-27 23:18:07 -08:00

13 lines
277 B
JavaScript

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()
}