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

  • 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.

  • 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>

Log in to reply