customPaging
See original GitHub issueHow to use it? i’ve seen in a question to you it this way
but not sure how that would work
$('.fade').slick({
dots: true,
infinite: true,
speed: 500,
fade: true,
slide: 'div',
cssEase: 'linear',
customPaging: function(slick,index) {
return '<a> ' + index + '</a>';
}
});
<div class="slider fade">
<div><div class="image"><a href="#"><img src="img/fonz1.png"/>something</a></div></div>
<div><div class="image"><img src="img/fonz2.png"/></div></div>
<div><div class="image"><img src="img/fonz3.png"/></div></div>
</div>
Issue Analytics
- State:
- Created 9 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
slick.js customPaging - CodePen
URL Extension Required. When linking another Pen as a resource, make sure you use a URL Extension of the type of code you...
Read more >Custom Paging - React Slick Documentation - neostack
The last react carousel you will ever need.
Read more >CustomPaging Plugin Reference | DevExtreme Reactive
A plugin that allows implementing a custom totalCount calculation logic. Import. Use the following statement to import the plugin: import { CustomPaging } ......
Read more >Slick Slider - customPaging (ie. 01/04) - Change color and font ...
Using Slick.js - I want to change the color and font-size of the pages when it's active, like the example: enter image description...
Read more >akiran/react-slick - Custom Paging with text instead of dots
I've tried logging props as well and it doesn't seem like any props are passed to the customPaging.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Heres a little example of the user “simeydotme” that I change for just that Maybe can help! https://jsfiddle.net/Johan_CR/p2e0Lw1L/
I’m not sure what the question is. The customPaging option renders elements that represent the interior of the dot indicator LI elements. So you set a return and it renders one for each. Like: