Comments (5)
I think someone has already submitted a pull request where you can reinitialize vs-repeat
with new size/sizes. Take a look at #36
from angular-vs-repeat.
Looks like a step in the right direction. I haven't tried it, but would it take into account the data inside the node? Let say I have clicked the open button, and the data that came is of 10,000 points - would it take this into account in the virtualization?
from angular-vs-repeat.
I think the PR #36 might help here but I have not had a chance to try it yet.
Is there a new release planned that will included this and other recent changes?
from angular-vs-repeat.
Please give me any example with nested ng-repeat but with dynamic height. I have tried it but unable to do it?
(vs-repeat v1.1.4)
example -
<div >
<div ng-repeat="parentNode in ParentNodes">
{{parentNode.id}}
<div
vs-repeat>
<div ng-repeat="childNode in parentNode.id" >
{{childNode.id}}
</div>
</div>
</div>
</div>
from angular-vs-repeat.
I had the same issue and fixed it by having a function to return the element size (set as vs-size
; calculated based on the depth of the tree and whether it's open) and whenever I was opening a subtree, I would broadcast the vsRepeatTrigger
event.
from angular-vs-repeat.
Related Issues (20)
- Demo page still uses version 1.1.7
- newer 2.0.X versions wont run with javascript HOT 1
- items stuck between adding/removing cause scroll flicker HOT 2
- is it possible to have multiple block of vs-repeat all specifying the same parent? HOT 1
- scroll horizontal doesn't show all elements
- Unable import the angular-vs-import
- Bug Ionic 1. Version 2+ does not work with Ionic 1 HOT 1
- [Question] - How to use variable size in the most recent version HOT 4
- [Question] - how to tell which items are visible HOT 1
- Content is offset from screen on mobile after scrolling a long list HOT 1
- two ng-repeat in vs-repeat
- one issue related to the fullcalendar use
- vs-repeat on object HOT 1
- Displaying a heading with nested repeats
- how ti use with angularJs datatable?
- bower release for 2.0.13
- angular 1.5?
- Inability to use $index
- Everything rendered or only firsts HOT 1
- The horizontal state does not work at runtime
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-vs-repeat.