Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "ui/core/weak-event-listener"

Index

Functions

addWeakEventListener

  • addWeakEventListener(source: Observable, eventName: string, handler: function, target: any): void
  • Attaches a WeakEventListener.

    Parameters

    • source: Observable

      Observable class which emits the event.

    • eventName: string

      The event name.

    • handler: function

      The function which should be called when event occurs.

    • target: any

      Subscriber (target) of the event listener. It will be used as a thisArg in the handler function.

    Returns void

removeWeakEventListener

  • removeWeakEventListener(source: Observable, eventName: string, handler: function, target: any): void
  • Removes a WeakEventListener.

    Parameters

    • source: Observable

      Observable class which emits the event.

    • eventName: string

      The event name.

    • handler: function

      The function which should be called when event occurs.

    • target: any

      Subscriber (target) of the event listener. It will be used as a thisArg in the handler function.

    Returns 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