angular-vs-repeat icon indicating copy to clipboard operation
angular-vs-repeat copied to clipboard

Support ng-hide for virtualized tree lists and others

Open RupertAvery opened this issue 7 years ago • 0 comments

Support ng-hide for virtualized tree lists I wanted to use vs-repeat in a tree list, where a hierarchical structure is rendered as a list, and nodes are expanded and collapsed by showing/hiding the child elements. This doesn't work of course virtualized since those children are non-existant, so my solutoin was to parse the ng-hide expression and apply the function to the original collection.

Allow nth(odd) and nth(even) styling to work properly when virtualized If you use CSS nth(odd) and nth(even) to style your table or list with striped colors, the colors tend to jump because the virtualized rows even/odd positions will change while scrolling. My solution was to dynamically add and remove a dummy element right after $beforeContent depending on the value of startIndex.

Add an option to specify a specific refresh event to watch for Probably not too needed but this gives an option to watch for a specific event

RupertAvery avatar Apr 07 '17 03:04 RupertAvery