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

    Way to Call Cordova plugin on each slide of q-slider

    Help
    2
    2
    838
    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.
    • F
      fng last edited by fng

      Hi,

      I was able to run my first cordova wrapped app, thanks to docs and forum, as I needed to embed a specific cordova plugin.

      The next step for me is to figure out how to get that Cordova plugin fired, once the sliding event is reached, using the q-slider component, passing it parameters as well.

      I’m Having an average, still limited experience in VueJS but any help would be kindly appreciated.

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • I
        icfr last edited by

        you can use a component that watch if slide is visible or not

              <q-slider  ref="slider">
                <div v-for="(slide, key) in slides" :key="key" slot="slide">
                  <call-cordova  :visible"$refs.slider && $refs.slider.slide === key"></call-cordova>
                </div>
              </q-slider>
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post