Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ng-repeat with 300+ items? #28

Open
tonejac opened this issue Jul 24, 2015 · 4 comments
Open

ng-repeat with 300+ items? #28

tonejac opened this issue Jul 24, 2015 · 4 comments

Comments

@tonejac
Copy link

tonejac commented Jul 24, 2015

Is there an upper limit to the amount of truncations this directive can perform? I have 300+ right now and it is taking a few seconds.

Please advise.

@MauMaGau
Copy link
Collaborator

Performance can be an issue. #14 looks promising, but needs some work to get it integrated.

@tonejac
Copy link
Author

tonejac commented Jul 24, 2015

Ahhh... it is mostly from the fact that data-bind is being used. Is there a way to use angular-ellipsis without data-binding?

<p data-ng-bind="slide.comment" data-ellipsis data-ellipsis-symbol="..."></p> // THIS WORKS BUT IS SLOW WITH A LARGE NG-REPEAT

VS.

<p data-ellipsis data-ellipsis-symbol="...">{{ slide.comment }}</p> // THIS DOES NOT WORK. IS THERE A WAY TO MAKE IT WORK?

@sod
Copy link
Contributor

sod commented Mar 7, 2016

#42 should have fixed this issue.

@Maximaximum
Copy link

The issue is still relevant, unfortunately :( It takes a couple of seconds to work with 90 items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants