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

Not support dynamic data (from firebase for example) #10

Closed
kenyk7 opened this issue Apr 2, 2017 · 6 comments
Closed

Not support dynamic data (from firebase for example) #10

kenyk7 opened this issue Apr 2, 2017 · 6 comments

Comments

@kenyk7
Copy link

kenyk7 commented Apr 2, 2017

No description provided.

@staskjs
Copy link
Owner

staskjs commented Apr 2, 2017

Provide a code example please.

@kenyk7
Copy link
Author

kenyk7 commented Apr 3, 2017

@staskjs
Copy link
Owner

staskjs commented Apr 3, 2017

Ok I added a reSlick method. Use it on your firebased slick AFTER data is loaded, it should redraw itself then.

@kenyk7
Copy link
Author

kenyk7 commented Apr 3, 2017

Ok, the next problem is that exists a bug when switching slide or add new item.
See demo: https://www.webpackbin.com/bins/-KgoM2EGCY5lScxT1AuQ

@staskjs
Copy link
Owner

staskjs commented Apr 3, 2017

Try using reSlick method here too. Call it when new item is added.

@kenyk7
Copy link
Author

kenyk7 commented Apr 3, 2017

Thank you, the idea was not to reinstall many times the slick but to listen to the changes of the array and do it automatically, but okay.

@staskjs staskjs closed this as completed Apr 4, 2017
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

2 participants