summaryrefslogtreecommitdiff
path: root/WebInterface/src/js/modules/ui/collections/play.js
blob: cdea7778653f1c2ef78c9be233399f4de17df7d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import Backdrop from '../components/backdrop';
import BannerController from '../components/notification-banner';

/**
 * UI Loader for play page
 */
export default class Play {
  /**
   * Registers components for play page
   */
  constructor() {
    this.backdrop = new Backdrop('menu', 'front-layer', 'show-menu');
    this.bannerController = new BannerController(iface, 'notifications',
        'banner-info', 'dismiss-banner', 'notification-amount');

    this.backdrop.initialize();
    this.bannerController.initialize();
  }
}