List for holding Base. events: add,remove,update,add.r,remove.r,update.r

Type Parameters

Hierarchy

Implements

Constructors

Properties

$$isEmitter: true
index: Map<string, M> = ...
isBatching: boolean = false
itemC: ConstructorOrFactory<M> = null
itemKey: string = 'id'

key to item.

items: Set<M> = ...
noEmit: boolean

set it True, the follow emit will be ignore and then set it False.

size: number = 0

Methods

  • Parameters

    • pairs: string | Record<string, any>
    • Optional value: any
    • Optional context: object

    Returns void

  • 将对象从数据集移除,并将其标记为 Deleted,将在下次提交时远程删除

    Warn! 当不传 item 的时候,表示移除全部元素

    Parameters

    • Optional item: M

    Returns void

Generated using TypeDoc