MAF.utility.PagerStorageClass

This is used by the MAF.utility.Pager to store a page size array of items.

new MAF.utility.PagerStorageClass()

Example

var page = new MAF.utility.PagerStorageClass({data: items});

Methods

add()

Deprecated Use MAF.utility.PagerStorageClass#addItems instead.

addItems(items)

Parameters:

NameTypeDescription
itemsArray

These will be added to the Page. Duplicates will be removed.

contains()

remove(o, k)

Parameters:

NameTypeDescription
oArray

Array of items to remove from this PagerStorageClass

kBoolean

truncate()

Clears the items in this storage class.