Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

Indexable

[key: string]: any

Index

Constructors

Static constructor

  • new Tracker(id?: string): any
  • Parameters

    • Optional id: string

    Returns any

Properties

Static current

current: any[]

Static emitter

emitter: EventEmitter

Static fetch

fetch: function

Type declaration

    • (): Promise<any[]> | any[]
    • Returns Promise<any[]> | any[]

Static id

id: string

Static idField

idField: string

Static indexes

indexes: object

Type declaration

  • [id: string]: number

Static isDestroyed

isDestroyed: boolean

Static Optional query

query: any

Static Optional update

update: any[]

Methods

Static destroy

  • destroy(): void
  • Returns void

Static emit

  • emit<IE>(eventName: IE, data: IEventsList[IE]): this
  • Type parameters

    • IE: keyof IEventsList

    Parameters

    • eventName: IE
    • data: IEventsList[IE]

    Returns this

Static generateId

  • generateId(): string
  • Returns string

Static get

Static isChanged

  • isChanged(previous: any, current: any): boolean

Static off

  • off<IE>(eventName: IE, listener: function): this
  • Type parameters

    • IE: keyof IEventsList

    Parameters

    • eventName: IE
    • listener: function
        • (data: IEventsList[IE]): void
        • Parameters

          • data: IEventsList[IE]

          Returns void

    Returns this

Static on

  • on<IE>(eventName: IE, listener: function): this
  • Type parameters

    • IE: keyof IEventsList

    Parameters

    • eventName: IE
    • listener: function
        • (data: IEventsList[IE]): void
        • Parameters

          • data: IEventsList[IE]

          Returns void

    Returns this

Static once

  • once<IE>(eventName: IE, listener: function): this
  • Type parameters

    • IE: keyof IEventsList

    Parameters

    • eventName: IE
    • listener: function
        • (data: IEventsList[IE]): void
        • Parameters

          • data: IEventsList[IE]

          Returns void

    Returns this

Static set

  • set(update: any[]): void

Generated using TypeDoc