UNPKG

@jsxc/jsxc

Version:

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

17 lines (13 loc) 292 B
export default class Overlay { private element; constructor() { this.element = $('<div>'); this.element.addClass('jsxc-overlay jsxc-overlay-black'); } public open() { this.element.appendTo('body'); } public close() { this.element.remove(); } }