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.

Add a refresh method

See original GitHub issue

Currently you can manually refresh slick using slickSetOption(anyoption, anyvalue, true);

Any chance of a slickRefresh method rather than using slickSetOption(null, null, true); would make code clear to developers inheriting a project that are less familiar with slick.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

23reactions
gbritscommented, Aug 31, 2017

$('.slick-slider').slick('refresh'); worked for me. (Ver. “slick-carousel”: “^1.6.0”)

16reactions
kenwheelercommented, Oct 7, 2014

Funny story. You can actually do this right on the domNode. Every domNode that has been slicked has its instance of slick right on it. For example:

$(‘.my-slider’)[0].slick.refresh()

Read more comments on GitHub >

github_iconTop Results From Across the Web

Form.Refresh method (Access) - Microsoft Learn
The Refresh method immediately updates the records in the underlying record source for a specified form or datasheet to reflect changes made ...
Read more >
Create a 'refresh' method - Anvil Works
We want to be able to refresh the table at any time, so we can show the user what happens when they create...
Read more >
7 Refreshing Materialized Views - Oracle Help Center
The refresh method can be incremental or a complete refresh. There are two incremental refresh methods, known as log-based refresh and partition change ......
Read more >
Excel Pivot Table Refresh Steps and Fixes - Contextures
On the Ribbon, click the Data tab; In the Connections group, click the upper section of the Refresh All command. TIP: You can...
Read more >
Refresh Method - L3HarrisGeospatial.com
The Refresh method enables and disables the refresh (drawing) of the graphics window. This method is useful if you are doing a large...
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