Home  >  Q&A  >  body text

javascript - masonry waterfall ajax request drop-down paging problem

Using masonry plug-in, if it is an ajax request and paging is required, the first page can be displayed normally, but the loaded one cannot. Can any master write a demo to simulate the ajax paging and use waterfall flow when rendering to the page? The format shows

过去多啦不再A梦过去多啦不再A梦2663 days ago880

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-07-05 11:08:42

    You can, think about these questions step by step, and then think clearly step by step

    1. The data returned from the request is paginated. Should the data returned be paginated by itself? Or do you have to calculate it yourself?

    2. Sliding loading, any doubts?

    3. Are there any problems with data rendering and binding after sliding?

    reply
    0
  • Cancelreply