Coder Social home page Coder Social logo

Comments (5)

kamilkp avatar kamilkp commented on May 31, 2024

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.

YonatanKra avatar YonatanKra commented on May 31, 2024

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.

dpaquette avatar dpaquette commented on May 31, 2024

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.

kirtikachouhan avatar kirtikachouhan commented on May 31, 2024

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.

arikfr avatar arikfr commented on May 31, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.