onViewShow function is not called

<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <!--Webix-->
  <link rel="stylesheet" href="./node_modules/webix/webix.min.css" type="text/css">
  <script src="./node_modules/webix/webix.js"></script>
</head>

<body>
  <script>
    webix.ready(function () {
      webix.ui({
        view: "window",
        id: "myWindow",
        head: "My Window",
        body: {
          view: "template",
          template: "Hello, World!"
        },
        on: {
          onViewShow: function () {
            console.log("Window is shown");
          }
        }
      }).show();
    });
  </script>
</body>
</html>

onViewShow function is not called.
What should I do?

Hello @woojin ,

onViewShow event fires for views that were hidden before (with hidden property or .hide() method) and are shown at the moment. It also works for multiview cells and accordion items.

Instead, look at the onShow event for windows: Code Snippet .