We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any way in version 2 to open linked pages on items that have sub-links? For example by separating the text from the arrow, or clicking twice?
The text was updated successfully, but these errors were encountered:
Hi, yes. This is a nav item that acts just as a sub toggler (even if you set an actual URL in the href):
href
<li class="sm-nav-item"> <a class="sm-nav-link sm-sub-toggler" href="#">Sub</a> <ul class="sm-sub"> ...
And here is a "split" item that has a separate link part and a sub toggler part (a separate button element):
button
<li class="sm-nav-item"> <a class="sm-nav-link sm-nav-link--split" href="#">Link</a> <button class="sm-nav-link sm-nav-link--split sm-sub-toggler" aria-label="Toggle sub menu"></button> <ul class="sm-sub"> ...
The same logic is supported for sub items (you just need to use the sm-sub-item/sm-sub-link/sm-sub-link--split classes instead).
sm-sub-item
sm-sub-link
sm-sub-link--split
Sorry, something went wrong.
No branches or pull requests
Is there any way in version 2 to open linked pages on items that have sub-links? For example by separating the text from the arrow, or clicking twice?
The text was updated successfully, but these errors were encountered: