1rosehip / 1rosehip/jplist-es6

Not an issue, but rather a question

Open
#54 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
83
Forks
37
PR merge metrics
No merged PRs in 30d

Description

Hi guys.

Sorry to raise this over here, I understand it's not an issue but rather something that's not well presented in the documentation.

The pagination and filters work just okay, but I'd like to return to the first results page after applyting any of the four custom filters. Is there a way to return to the first page of the pagination after applying the custom filters? Have a look at my layout below:

```html


Filter by Type






eBook

Reports

Whitepaper

Webinar














```

```javascript
$('document').ready(function(){
setTimeout(reveal, 2500);
$('#jplist').jplist({
itemsBox: '.list',
itemPath: '.list-item',
panelPath: '.jplist-panel',
effect: 'fade',
duration: 250, //animation duration
fps: 72, //frames per second value
deepLinking: true,
redrawCallback: function(collection, $dataview, statuses){
//console.log( collection );
}
});
});
```

Any step in the right direction will be greatly appreciated. I battled to make sense of the documentation.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.