No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    q-drawer-link set custom active class not working

    Help
    q-drawer-link
    2
    2
    1538
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sgametrio last edited by sgametrio

      Don’t know if I am doing it wrong.
      In router.js inside VueRouter constructor:
      linkActiveClass: 'active-drawer-link'
      In App.vue:
      <style> .active-drawer-link { background-color: black; color: white; } </style>

      But when I hit a <q-drawer-link> it inherites the default active class for <router-link> that is router-active-link

      How can i get working my custom class? I want to change that background transparency I don’t like…

      I tried with no success:
      <q-drawer-link active-class="active-drawer-link">

      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        DrawerLink has no “active-class” prop (yet).

        1 Reply Last reply Reply Quote 0
        • First post
          Last post