Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API not working outside an @click action #49

Open
MCPWebdesign opened this issue Jun 26, 2020 · 0 comments
Open

API not working outside an @click action #49

MCPWebdesign opened this issue Jun 26, 2020 · 0 comments

Comments

@MCPWebdesign
Copy link

Hy,
this.$refs.slider.glide.pause(); seems working only on click action. I've tried to use it in method function, for exemple :
if (this.active >= 4) {
console.log('PAUSE')
this.$refs.slider.glide.pause();
}
It does nothing without errors, except the console log.
Our glide is configured with autoplay.
Is there another calling API functions ?
Could you help ? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant