onViewShow function is not called

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

    webix.ready(function () {
        view: "window",
        id: "myWindow",
        head: "My Window",
        body: {
          view: "template",
          template: "Hello, World!"
        on: {
          onViewShow: function () {
            console.log("Window is shown");

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 .