- hide mismatch warnings if debug option is not enabled
- only append debug styles to head and only if debug option is enabled
- added angular as a dependency in bower.json
- support for with flex layouts
- fixed bower.json and added license fields to package.json
- BREAKING CHANGE: options are now passed as an object to the
vs-repeat
attribute - binary search algorithm to find which portion or the original collection should be rendered
- scope variables like
startIndex
,endIndex
etc. are now stored undervsRepeat
object
vs-scroll-margin
option (documentation on that will come shortly)
- added some logging when there is size mismatch
- memory leak fixed when using
vs-scroll-parent
- table fill content element fix
- bugfixes and PRs merged
- use
vs-repeat-container
to specify another repeat conainer (see readme) - use
vs-scrolled-to-end
to do something when last element gets rendered (see readme)
- bugfixes
- bugfix
- breaking change - the funcitonality implemented in kamilkp#32 has been removed. It appears it can be implemented independently of vs-repeat and was causing the minified js file to be 50% larger.
- support for ng-repeat-start/ng-repeat-end
- bugfixes
- elements are no longer absolutely positioned
- no need for a mousewheel helper dummy element on MacOS (to preserve inertia scrolling)
- no need for
top
updating directives - even better performance
- general improvements
- 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