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:

Name Type Description
items Array

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

contains()

remove(o, k)

Parameters:

Name Type Description
o Array

Array of items to remove from this PagerStorageClass

k Boolean

truncate()

Clears the items in this storage class.