Options
All
  • Public
  • Public/Protected
  • All
Menu

Module bindable

Index

Functions

registerBeforeChangeListener

  • Add a before change listener and return an object that will remove it when disposed.

    Type parameters

    • T

    Parameters

    • value: Value<T>
    • listener: function
        • (newValue: T): void
        • Parameters

          • newValue: T

          Returns void

    • Optional context: any

    Returns DisposableBeforeChangeListener<T>

registerChangeListener

  • Add a change listener and return an object that will remove it when disposed.

    Type parameters

    • T

    Parameters

    • value: Value<T>
    • listener: function
        • (newValue: T): void
        • Parameters

          • newValue: T

          Returns void

    • Optional context: any

    Returns DisposableChangeListener<T>

Generated using TypeDoc