Replies: 1 comment
-
For "click and expand" dropdown, you can go visit tabler-preview, locate one of the dropdown you prefer and copy it's html code then adjust it to your need. For "hover and expand" dropdown, I think it needs write a script function with bootstrap api to manually call // when using tabler you should do this: globalThis.bootstrap.Dropdown.getXXX
const dd = bootstrap.Dropdown.getOrCreateInstance(YOUR DOM HERE)
// call when hover
dd.show()
// call when leaving
dd.hide() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I make it so that the dropdown menu opens when I hover the mouse over it?
Like here: https://www.woltlab.com/community/
The other question is (highlighted in red), how can I make the menu item clickable?
We would be fine with the menu opening without a click, so the menu item can be made clickable.
I hope the question is ok here.
Thanks for your work.
LG
Beta Was this translation helpful? Give feedback.
All reactions