<!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?