Prevent from redirection

One of the menu buttons in my men (webix.ui.sidebar) should have custom behavior.
I can easliy add that with 'attachEvent', but app still wants to redirect to view which doesn't exists...

How to prevent that ?

leftmenu.attachEvent("onItemClick", (id, event) => {

but sadly that doesn't work...



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion