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

    How to call QStepper API methods?

    Help
    2
    3
    493
    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.
    • E
      embluk last edited by

      I’m new to VueJS and this Quasar framework.

      I am using the Stepper and I have a button outside the stepper component and I want to use it to go to the next stepper panel but how do I call the next method inside a new Vue(...) call?

      I am referring to https://quasar.dev/vue-components/stepper#QStepper-API

      metalsadman 1 Reply Last reply Reply Quote 0
      • metalsadman
        metalsadman @embluk last edited by metalsadman

        @embluk use a ref, then call the method. It’s actually in the example just above the api docs. <q-stepper ref="stepper". .. then <q-btn @click="$refs.stepper.next()" ....

        E 1 Reply Last reply Reply Quote 0
        • E
          embluk @metalsadman last edited by

          @metalsadman Oh yeah I see the example now, I totally missed it!

          Thank you!

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