rpage icon indicating copy to clipboard operation
rpage copied to clipboard

Feature Request: Lock one element from being removed

Open mothe-at opened this issue 8 years ago • 0 comments

Hi! Great project, I like it and use it in a project already. For another project I have the need to lock an element from being removed. Background is, I want to create a pagination for scrolling through football-matchdays of a league. One of the matchdays COULD be the actual day - today. No problem to highlight this day, but it must not be removed/hidden from the pagination at any circumstances. I have tried to add this to the isRemovable function:

if (element.hasClass('pagination-lock'))
{
    return false;
}

It basically works, but under certain circumstances "..." are placed incorrectly. Any chance to add this feature? Would be a great enhancement! Thank you! mothe

mothe-at avatar Jun 21 '16 20:06 mothe-at