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
    1. Home
    2. 2kodes
    2
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 2
    • Best 0
    • Groups 0

    2kodes

    @2kodes

    0
    Reputation
    217
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    2kodes Follow

    Latest posts made by 2kodes

    • RE: Probably a silly question but how do i access setActiveTab() method available in q-tabs ?

      hmmm.still doesnt seem to work…will try other things and get back

      posted in Help
      2
      2kodes
    • RE: Probably a silly question but how do i access setActiveTab() method available in q-tabs ?

      @rstoenescu hi… this doesnt seem to work for me …on v0.13.6… been trying all day… any help?
      relevant code below…

      <q-tabs :refs="$refs"  vmodel="xTabsModel" slot="header">
      
          <q-tab icon="fingerprint" name="credits_tab">
              Buy Credits
      
              <button @click="goToPayTab()" class="positive float-right">
                  Select Package
              </button>
          </q-tab>
          <q-tab icon="alarm" name="pay_tab">
              Previous Transactions
          </q-tab>
      </q-tabs>
      <!-- Targets  for tabs -->
      <div class="layout-padding">
      
          <div ref="credits_tab">
             <div class="card">
                         Credits Tab
              </div>
          </div>
      
          <div ref="pay_tab">
              <div class="card">
                    Pay Tab
             </div>
           </div>
          </div>
      

      <script type=“text/javascript”>
      vm = new Vue({
      el : “#app”,
      data : {
      xTabsModel : “credits_tab”,
      },
      methods : {
      goToPayTab : function(){
      }

      }

      })
      </script>

      posted in Help
      2
      2kodes