Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.2k 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 OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...