Webix - hide menu items

Is it possible to make a menu item invisible with some action using Webix? Perhaps by clicking on the button - any ideas? In this case, I made a snippet with the base implementation: http://webix.com/snippet/29018dad

+4
source share
1 answer

You can set the method hideItemto your button. Here is an example:

{ view:"button", ... 
  click:function(id){
      $$("top_menu").hideItem(3);
  }
}

http://webix.com/snippet/4675566e

+5
source

Source: https://habr.com/ru/post/1615602/


All Articles