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.

Improve custom paging

See original GitHub issue

I think it’ll be nice to change

        dots: true,
        appendDots: ,
        dotsClass: ,
        customPaging: ,

to

        dots: true,
        appendDots: //'.slider',
        dotsClass: // 'ul.dots',
        dotsItemClass: //'li.dots-item',
        dotsItemActiveClass: //'active',
        customPaging: ///...

Custom paging is ok as of now, but it is not quite there. We still have to target ‘li’ and ‘li.slick-active’ and above changes would allow to be a bit less tied to slick css for custom pagination.

I do use slick exclusive classes like

.slider.slick-initialized .slick-slide {
    display: block;
}

as event hooks to prevent FOUC, which is fine.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
certainlyakeycommented, May 27, 2017

I follow this. Maybe we shouldn’t add the paging li classes as a separate option, but it could be resolved instead with allowing us to customize the <li>'s via the customPaging option as well. Currently customPaging allows to customize only the tags inside each li (buttons).

0reactions
leggomuhgreggocommented, Oct 19, 2016

I can see the way in which that adds some sanity, but I’m hesitant to add options on those grounds alone re:bloat/comprehensibility, but if there’s more clammer for it the option is still open. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Efficiently Paging Through Large Amounts of Data (C#)
Custom Paging improves the performance of default paging by retrieving only those records from the database that need to be displayed for the ......
Read more >
How do i improve my custom pagination?
So this is my current pagination Currently i am working with total of 6 pages so it shows 1 2 3 .. 5...
Read more >
Improving Performance using ODS Custom Paging
Improving Performance using ODS Custom Paging. Introduction. Displaying database records in paged fashion is a common requirement in web applications. ASP.
Read more >
How To Optimize The Paging File In Windows
You can improve performance when you optimize the paging file in ... Select custom size to specify your own minimum and maximum paging...
Read more >
How To Build Custom Pagination with React
In this tutorial, you will learn how to build a custom pagination component with ... to keep in sync with the application as...
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