I want to get the view instance after panel(including the view layout) opened
<script
on:{
panelOpen: function () {
if(this.$app.views.length<2){
this.$app.views.create('.view-left', {
url: '/leftPanel/',
});
}
console.log(this.$app.views.current);
**// Only the first time the view.view-left is returned but every other time it is main view,why?**
},
}