question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: Ionslide API is not able to access in ionic 5

See original GitHub issue

The below example code is not working in ionic 5. sliderRef object is undefined. I want move slide to programatically.

`@ViewChild(‘sliderRef’, { static: true }) public sliderRef: IonSlides

this.sliderRef.slideTo(1)`

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
rajiramamoorthicommented, Feb 15, 2020

Hi @liamdebeasi ,

Please check the sample code in the below repo URL https://github.com/rajiramamoorthi/Test.git

The below method boreListSlider object is undefined.

ngOnInit(): void { // this.boreListSlider object is undefined. this.boreListSlider.slideTo(4); }

Thank you

0reactions
ionitron-bot[bot]commented, Mar 16, 2020

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

bug: Ionslide API is not able to access in ionic 5 #20488 - GitHub
The below example code is not working in ionic 5. sliderRef object is undefined. I want move slide to programatically.
Read more >
Ion-Slides: Mobile Touch Slider with Built-In & Custom Animation
Ion-Slides is a multi-section container which offers custom and built-in mobile touch slider animation effects. See how Ion-Slides works with iOS and ...
Read more >
Unable to manually change slides in ionic5 app using ...
My problem is when I try to use slideNext or slideTo to switch slides, it fails to work. I can only get it...
Read more >
The 9 Most Common Mistakes That Ionic Developers Make
Common Mistake #2: Not Using the Ionic CLI to Install Platforms and Plugins. Ionic CLI adds features to the Cordova CLI. Platforms and...
Read more >
Creating Slides with ReactJS and Ionic Framework - YouTube
Creating Slides with ReactJS and Ionic Framework - Accessing The Full SwiperJS API # ionic #reactjs #tutorialQuick video showing how to use ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found