Topic: Open link in new tab
fe_developer
pro premium asked 12 months 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 11 months 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
Answered
- User: Pro
- Premium support: Yes
- Technology: Vue
- MDB Version: 6.6.0
- Device: laptop
- Browser: Chrome
- OS: Ubuntu
- Provided sample code: No
- Provided link: No