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.

How to get ref on version 2.1.0

See original GitHub issue

I’m struggling to do the same that you suggested here https://github.com/kidjp85/react-id-swiper/issues/241 in order to get the ref.

I want to access the activeIndex property.

Any suggestion?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
kidjp85commented, Mar 20, 2019

From 2.0.0 , react-id-swiper is no longer using ReactComponent. It was rewritten with FunctionComponent to use hooks api, therefore you can’t get ref . Instead, there is new prop name getSwiper to get Swiper instance incase you need to manipulate swiper outside of Swiper component. You can find live demo here

0reactions
IlyaZolotarevcommented, Sep 17, 2020

Hello! I’m interested in seeing an example, but the link doesn’t seem to include code relevant to this question.

I think @kidjp85 means this example.

This is the same story. Need an example of getSwiper props.

Read more comments on GitHub >

github_iconTop Results From Across the Web

You must add a reference to assembly 'netstandard, Version ...
I do have .NET Core SDK 2.0 and .NET Framework 4.7.1 installed in my machine but I don't want to include a reference...
Read more >
NETStandard.Library.Ref 2.1.0 - NuGet
NET APIs that are prescribed to be used and supported together. Contains reference assemblies, documentation, and other design-time assets.
Read more >
Script tries to downagrade .NET Standard 2.1 Targeting Pack
Issue Title Script tries to downgrade .NET Standard but it fails. General Your instalator script fails when trying to install packages on ...
Read more >
Python 2.1 Quick Reference
Modules, classes and functions may be documented by placing a string literal by itself as the first statement in the suite. The documentation...
Read more >
Migrate from ASP.NET Core 2.0 to 2.1 - Microsoft Learn
Update the project file to use 2.1 versions · Change the target framework to . · Replace the package reference for Microsoft. ·...
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