function createBar() {
    new Noty({
      text: PWAPPAppBanner.message,
      layout: 'topCenter',
      theme: 'relax',
      closeWith: ['button'],
      callbacks: {
        onClose: function() {
          setCookie(PWAPPAppBanner.cookiePrefix + 'closed', 1, 15);
        }
      }
    }).show();
  }
/**
   * Display the notification / app banner.
   */
Display the notification / app banner.
Display the notification / app banner .
function createBar() {
    new Noty({
      text: PWAPPAppBanner.message,
      layout: 'topCenter',
      theme: 'relax',
      closeWith: ['button'],
      callbacks: {
        onClose: function() {
          setCookie(PWAPPAppBanner.cookiePrefix + 'closed', 1, 15);
        }
      }
    }).show();
  }
function createBar ( ) { new Noty ( { text : PWAPPAppBanner . message , layout : 'topCenter' , theme : 'relax' , closeWith : [ 'button' ] , callbacks : { onClose : function ( ) { setCookie ( PWAPPAppBanner . cookiePrefix + 'closed' , 1 , 15 ) ; } } } ) . show ( ) ; }
Display the notification / app banner.
Display the notification / app banner .