Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface watchUtils

Various utilities and convenience functions for watching Accessor properties.

Read more...

Hierarchy

  • watchUtils

Index

Methods

init

  • Watches a property for changes and calls the callback with the initial value of the property.

    Read more...

    Parameters

    Returns WatchHandle

on

  • Watches a property for changes and automatically attaches and detaches an event handler for a given event to the property value as needed.

    Read more...

    Parameters

    Returns WatchHandle

once

  • Watches a property for changes once.

    Read more...

    Parameters

    Returns PromisedWatchHandle

pausable

watch

  • Watches a property for changes.

    Read more...

    Parameters

    Returns WatchHandle

when

  • Watches a property for becoming truthy.

    Read more...

    Parameters

    Returns WatchHandle

whenDefined

  • Watches a property for becoming defined.

    Read more...

    Parameters

    Returns WatchHandle

whenDefinedOnce

  • Watches a property for becoming defined once.

    Read more...

    Parameters

    Returns PromisedWatchHandle

whenEqual

  • Watches a property for becoming equal with a given value.

    Read more...

    Parameters

    Returns WatchHandle

whenEqualOnce

  • Watches a property for becoming equal with a given value.

    Read more...

    Parameters

    Returns PromisedWatchHandle

whenFalse

  • Watches a property for becoming false.

    Read more...

    Parameters

    Returns WatchHandle

whenFalseOnce

  • Watches a property for becoming false once.

    Read more...

    Parameters

    Returns PromisedWatchHandle

whenNot

  • Watches a property for becoming falsy.

    Read more...

    Parameters

    Returns WatchHandle

whenNotOnce

  • Watches a property for becoming falsy once.

    Read more...

    Parameters

    Returns PromisedWatchHandle

whenOnce

  • Watches a property for becoming truthy once.

    Read more...

    Parameters

    Returns PromisedWatchHandle

whenTrue

  • Watches a property for becoming true.

    Read more...

    Parameters

    Returns WatchHandle

whenTrueOnce

  • Watches a property for becoming true once.

    Read more...

    Parameters

    Returns PromisedWatchHandle

whenUndefined

  • Watches a property for becoming undefined.

    Read more...

    Parameters

    Returns WatchHandle

whenUndefinedOnce

  • Watches a property for becoming undefined once.

    Read more...

    Parameters

    Returns PromisedWatchHandle

Generated using TypeDoc