Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines event handler that is invoked when reference value changes.

Type parameters

  • T = any

Hierarchy

Implemented by

Index

Properties

Methods

Properties

Optional r

r?: T

Methods

attach

  • Adds the given function as a listener to the event. Note that this cannot be a lambda function because there will be no way to remove a lambda function listener later.

    Parameters

    Returns void

detach

  • Removes the given function as a listener to the event.

    Parameters

    Returns void

has

  • has(): boolean
  • Determines whether this event slot has any listeners.

    Returns boolean