Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.7k views
in Technique[技术] by (71.8m points)

javascript - How to load long list with 10k elements in onsen ui cordova?

I am using ons-list-item which is appended (by using JQuery) to the ons-list by using for loop and every single list item is clickable and goes to another page.

Till now everything works fine but when I press the back button (or call the pop page function) my screen hangs for some milliseconds.

This happens only when my loop contains more than 50 items.

Please someone help me out with this.

Thank you.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

63 comments

56.5k users

...