- important bugfix
- You can now specify an attribute
vs-options="{latch: true}"
to enable latching mode - elements once rendered are not being removed when scrolled away (improves scrolling performance when the rendering of each element is time consuming) - bugfixes
- bugfixes
- support for
vs-scroll-parent="window"
- bugfixes
bugfixes
###FEATURES
- added support for resizing items by changing the item size property and then
$broadcasting()
ing thevsRepeatTrigger
event.
###FEATURES
- added an optional
vs-autoresize
attribute. You can use it withoutvs-size-property
and without specifying element's size. The automatically computed element style will readjust upon window resize if the size is dependable on the viewport size.
###FEATURES
- added support for filters in the
ngRepeat
expression - added support for variable items sizes (if they are known up front)
Fixed a bug on Safari and optimized layout recalculations
Semver compatible version name
###FEATURES
- added travis-ci integration
- added unit tests
- added minified version of the library
- fixed some minor bugs
- updated the DEMO that now also address the performance benefits of using the library
###FEATURES
- support for automatic computation of repeated elements'
height
/width
###BREAKING CHANGE:
- specifying the single element's size as a value of the
vs-repeat
attribute is no longer required. If it isn't provided the directive will calculate it automatically (once, the first time it renders at least one element). If for some reason you want to override that size, you can still provide is as a value of thevs-repeat
attribute.
###FEATURES
- support for horizontally stacked elements (a
vs-horizontal
attribute must be placed on the element) - no need to use jQuery,
vsRepeat
can now work with angular (jqLite) only - support for before/after offsets (in pixels) via
vs-offset-before
andvs-offset-after
- full support for nested
vsRepeat
s and scrolling in both directions even within the same container
###BREAKING CHANGE:
vs-top-offset
attribute is now calledvs-offset-before
###FEATURES
- support for vertically stacked elements