Topic: Open link in new tab
fe_developer asked 5 years ago
How to change settings of mdbNavItem component so that on click event, it should open link on next tab? ie: How to implement target="_blank" implementation for links in mdbNavItem?
Magdalena Dembna staff premium answered 5 years ago
Add property new-tab
to your mdbNavItem - it'll add target="_blank"
attribute to the anchor tag.All available properties for this component are listed here: https://mdbootstrap.com/docs/vue/navigation/navbar/#docsTabsAPI Best regards, Magdalena
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: 6.6.0
- Device: laptop
- Browser: Chrome
- OS: Ubuntu
- Provided sample code: No
- Provided link: No