Important
We are updating the images for OroCommerce version 6.1 to align with the latest changes in the back-office design. During this transition, some images may still show older versions. Thank you for your patience as we work to update all visuals to reflect these changes.
LoadMoreCollection
LoadMoreCollection is a collection with “load more” functionality support. Any add/remove actions is considered as already done on the server, and collection updates state.totalItemsQuantity and route.limit
It requires an API route which accepts the limit query parameter.
Augment: RoutingCollection
loadMoreCollection.parse()
Kind: instance method of [LoadMoreCollection](#module_LoadMoreCollection)
loadMoreCollection.loadMore() ⇒ $.Promise
Loads additional state.loadMoreItemsQuantity items to this collection
Kind: instance method of [LoadMoreCollection](#module_LoadMoreCollection) Returns: $.Promise - promise
loadMoreCollection._onAdd()
Kind: instance method of [LoadMoreCollection](#module_LoadMoreCollection)
loadMoreCollection._onRemove()
Kind: instance method of [LoadMoreCollection](#module_LoadMoreCollection)