      _frame.control.doCommand('restore');
    });

  });
  frame.control.on('demaximized', (frame, info) => {
    console.log("'demaximized' event fired.The window is now back to its original size from its maximized state.");
    frame.setHTML(null);
  });
  frame.control.on('hid', (frame, info) => {
    console.log("'hid' event fired.The window was hidden.");
  });
  frame.control.on('dehided', (frame, info) => {
    console.log("'dehided' event fired.A hidden window has appeared.");
  });


</script>
</b