pinafore/routes/_components/dialog/showEmojiDialog.js
Nolan Lawson 3dc46791e9 refactor
2018-03-03 14:51:48 -08:00

14 lines
295 B
JavaScript

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