A collection is a dynamic resource that queries the server for a list of resources that meet it's criteria. Checkout the docs for more information.

Keep in mind that the collection does currently not subscribe to changes in the store and will therefore not update if items are added or removed. Use the invalidate method to force a refresh.

Hierarchy

  • Collection

Constructors

Properties

__internalObject: Collection = ...
_totalMembers: number = 0
_waitForReady: Promise<void>
pages: Map<number, Resource<any>> = ...
server: string
store: Store

Accessors

  • get pageSize(): number
  • Returns number

  • get property(): undefined | string
  • Returns undefined | string

  • get sortBy(): undefined | string
  • Returns undefined | string

  • get sortDesc(): boolean
  • Returns boolean

  • get totalMembers(): number
  • Returns number

  • get value(): undefined | string
  • Returns undefined | string

Methods

  • Parameters

    • page: number

    Returns string

  • Returns void

  • Parameters

    • page: number

    Returns Promise<void>

  • Parameters

    • index: number

    Returns Promise<string>

  • Returns Promise<void>

  • Returns Promise<void>

Generated using TypeDoc