Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICollaboratorMap

Interface for an IObservableMap that tracks collaborators.

Hierarchy

Index

Type aliases

ChangeType

ChangeType: "add" | "remove" | "change"

The change types which occur on an observable map.

Properties

changed

changed: ISignal<this, IChangedArgs<ICollaborator>>

A signal emitted when the map has changed.

isDisposed

isDisposed: boolean

Test whether the object has been disposed.

Notes

This property is always safe to access.

localCollaborator

localCollaborator: ICollaborator

The local collaborator on a model.

size

size: number

The number of key-value pairs in the map.

type

type: "Map"

The type of the Observable.

Methods

clear

  • clear(): void

delete

dispose

  • dispose(): void

get

has

  • has(key: string): boolean
  • Check whether the map has a key.

    Parameters

    • key: string

      the key to check.

    Returns boolean

    true if the map has the key, false otherwise.

keys

  • keys(): string[]

set

values

Generated using TypeDoc