Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModelReference<V>

Type parameters

  • V

Hierarchy

Index

Methods

addListener

events

  • Provides the events emitted by this object as an Observable stream.

    example
    
    eventEmitter.events()
      .filter(e => e.name === "myevent")
      .subscribe(e => console.log(e));

    Returns Observable<IConvergenceEvent>

    An Observable stream of all events emitted by this object.

isDisposed

  • isDisposed(): boolean
  • Returns boolean

isLocal

  • isLocal(): boolean
  • Returns boolean

isSet

  • isSet(): boolean
  • Returns boolean

key

  • key(): string
  • Returns string

off

on

once

  • Adds a single shot event listener for the specified event. The listener will be called the first time the specified event is fired after the event registration occurs, after which the registration will be removed and no further events will be passed to the listener.

    Parameters

    Returns ConvergenceEventEmitter<IConvergenceEvent>

    This object, in support of a fluent API.

removeAllListeners

removeListener

removeListeners

sessionId

  • sessionId(): string
  • Returns string

source

  • source(): any
  • Returns any

type

  • type(): string
  • Returns string

username

  • username(): string
  • Returns string

value

  • value(): V
  • Returns V

values

  • values(): V[]
  • Returns V[]

Object literals

Static Events

Events: object

CLEARED

CLEARED: string = ReferenceClearedEvent.NAME

DISPOSED

DISPOSED: string = ReferenceDisposedEvent.NAME

SET

SET: string = ReferenceChangedEvent.NAME

Static Types

Types: object

ELEMENT

ELEMENT: string = "element"

INDEX

INDEX: string = "index"

PROPERTY

PROPERTY: string = "property"

RANGE

RANGE: string = "range"