Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ObservableElement<T>

Type parameters

  • T

Hierarchy

Implemented by

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.

id

  • id(): string
  • Returns string

isAttached

  • isAttached(): boolean
  • Returns boolean

isDetached

  • isDetached(): boolean
  • Returns boolean

model

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.

parent

path

relativePath

removeAllListeners

removeListener

removeListeners

toJSON

  • toJSON(): any
  • Returns any

type

  • type(): string
  • Returns string

value

  • value(): T
  • Returns T