hing point
      },
      duration: 300
    },
    dehideParam: {
      duration: 300
    },
    styleDisplay: 'inline',
    animation: true,
    animationDuration: 100,//The whole animation duration(millisec)
  });
  frame.control.on('maximized', (frame, info) => {
    console.log("'maximized' event fired.The window was maximized.");
    const HTML = '<div id="bg" style="">Double click here or press "Escape" to restore.</div>';
    frame.setHTML(HTML);
    frame.on('#bg', 'dblclick', function(_frame, e) {
