UNPKG

@jsxc/jsxc

Version:

Real-time XMPP chat application with video calls, file transfer and encrypted communication

15 lines (11 loc) 331 B
import Dialog from '../Dialog'; let notificationTemplate = require('../../../template/notification.hbs'); export default function (subject: string, message: string, from?: string) { let content = notificationTemplate({ subject, message, from, }); let dialog = new Dialog(content); dialog.open(); }