You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks so much for putting this directive together Micheal - it is incredibly useful! I just have one small issue I needed your help with.
Description of issue:
Say I have a list of employee users:
[
{ name: "A", showUser: true}
{ name: "B", showUser: true}
{ name: "C", showUser: false}
]
Imagine this list is 100+ people with the same properties. Out of this list, I'd like the pagination directive to only consider users with showUser set to true when considering which users to show on every page. Basically, if out of the first 40 elements in the list, only 25 of them have showUser set to true, I would want the pagination directive to only display these users whenever show 25 options for pagination is selected. I cannot splice these users from the array as they are needed for other parts of my code.
Thanks so much for putting this directive together Micheal - it is incredibly useful! I just have one small issue I needed your help with.
Description of issue:
Say I have a list of employee users:
[
{ name: "A", showUser: true}
{ name: "B", showUser: true}
{ name: "C", showUser: false}
]
Imagine this list is 100+ people with the same properties. Out of this list, I'd like the pagination directive to only consider users with showUser set to true when considering which users to show on every page. Basically, if out of the first 40 elements in the list, only 25 of them have showUser set to true, I would want the pagination directive to only display these users whenever show 25 options for pagination is selected. I cannot splice these users from the array as they are needed for other parts of my code.
Demo: http://plnkr.co/edit/ZBQHyxutyqAQpbCljIIo?p=preview
In the plunk above, I want to not include any of the sequences that have firstSequence: "true"
Hope I explained my issue well enough - thanks for your help!
The text was updated successfully, but these errors were encountered: