Class Collection<T>

Reflection

never

Type Parameters

Hierarchy

  • ReplaySubject<T[]>
    • Collection

Constructors

Properties

added: Subject<T> = ...
classType: ClassType<T>
deepChange: Subject<T> = ...
entitySubjectFetcher?: CollectionEntitySubjectFetcher
entitySubjects: Map<string | number, EntitySubject<T>> = ...
event: Subject<CollectionEvent<T>> = ...
items: T[] = []
itemsMap: Map<string | number, T> = ...
model: CollectionQueryModel<T> = ...
nextChange?: Promise<void>
nextChangeResolver?: (() => void)

Type declaration

    • (): void
    • Returns void

removed: Subject<T> = ...
state: CollectionState = ...
teardowns: TeardownLogic[] = []

Accessors

Methods

  • Returns the page zero-based of the current item.

    Parameters

    • item: T
    • itemsPerPage: number = 10

    Returns number

  • Parameters

    • ids: string | number | (string | number)[]
    • withEvent: boolean = true

    Returns void

  • Parameters

    • ids: (string | number)[]
    • withEvent: boolean = true

    Returns void

Generated using TypeDoc