Skip to content

How to build navigation menu with both target and on click event? #315

Answered by meatballs
Dekubaka asked this question in Q&A
Discussion options

You must be logged in to vote

The default behaviour when a link is clicked is defined by the _default_link_click function.

If you provide a different function via the on_click argument, it's up to you do define its behaviour. If you want it to open a form via the target argument, you need to include code to do that.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by meatballs
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
Converted from issue

This discussion was converted from issue #267 on April 20, 2022 07:56.