Skip to content

LeftNavbar click override #4609

Answered by dfsmania
dirkieman asked this question in Q&A
Jul 22, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You may use Javascript. The next example assumes you have assigned an id to the mentioned item on the left navbar:

document.getElementById("theItemId").addEventListener("click", function(event)
{
    // You can prevent the default click behaviour uncommenting next line.
    // event.preventDefault()

    // Then, implement your logic to handle the click event on the item.
    // ...
});

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dirkieman
Comment options

Answer selected by dirkieman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants