Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fetchMoreIfNeeded() {
- if (!authorBooksPage.busy &&
- authorBooksModel.hasMore &&
- indexAt(contentX, contentY + height) > authorBooksModel.rowCount() - 2) {
- authorBooksModel.fetchMoreContent()
- }
- }
- onContentYChanged: fetchMoreIfNeeded()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement