hmmm.still doesnt seem to work…will try other things and get back
2
Latest posts made by 2kodes
-
RE: Probably a silly question but how do i access setActiveTab() method available in q-tabs ?
-
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>