Topic: Open link in new tab

fe_developer free asked 2 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 answered 2 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



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • 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