Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Observable

Hierarchy

  • Observable

Index

Constructors

constructor

Properties

Private _isViewBase

_isViewBase: boolean

Static propertyChangeEvent

propertyChangeEvent: string

Methods

Private _createPropertyChangeData

Private _emit

  • _emit(eventNames: string): any

addEventListener

  • addEventListener(eventNames: string, callback: function, thisArg?: any): any

get

  • get(name: string): any

hasListeners

  • hasListeners(eventName: string): boolean

notify

  • notify<T>(data: T): void

notifyPropertyChange

  • notifyPropertyChange(propertyName: string, value: any, oldValue?: any): void

off

  • off(eventNames: string, callback?: any, thisArg?: any): any

on

  • on(eventNames: string, callback: function, thisArg?: any): any
  • on(event: "propertyChange", callback: function, thisArg?: any): any

once

  • once(event: string, callback: function, thisArg?: any): any

removeEventListener

  • removeEventListener(eventNames: string, callback?: any, thisArg?: any): any

set

  • set(name: string, value: any): void

setProperty

  • setProperty(name: string, value: any): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method