Counter-Control not counting when unselecting Button Path Filter
Ouverte
- Langage dominant
- HTML
- Étoiles
- 435
- Forks
- 168
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Not sure if it is a bug or me misusing jplist (awesome plugin btw!) but I want to use button path filters with a counter. Without a
```
```
element anywhere in the document, the ListFiltered event and hence the Counter is only triggered when selecting a filter, not when unselecting. With such an element the Counter works either ways. Uncomment the element in my example to reproduce:
```
Architecture
Christmas
Architecture
Architecture and Christmans
Christmans
No results found
$('document').ready(function(){
$('#demo').jplist({
itemsBox: '.list'
,itemPath: '.list-item'
,panelPath: '.jplist-panel'
});
var api = $('#demo').data('jplist'),events = api.observer.events;
api.observer.on(events.listFiltered, function(){
console.log('list filtered');
});
});
```
For me at least this is very unexpected behaviour. cheers
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.