Options
All
  • Public
  • Public/Protected
  • All
Menu

Module reactive

The reactive namesapce

Callable

  • reactive(val: any): any
  • Creates a reactive object depending on the type of the parameter. If a function is given, a reactive procedure is returned. If an object is given, a reactive object is returned with the given properties. If an array is given, a reactive array is returned with the contents of the given array. Otherwise, a reactive variable is created.

    Parameters

    • val: any

      Value to transform into a reactive object

    Returns any

    The reactive object

Index

Type aliases

ICancellable

ICancellable: e_ICancellable

ICancellableIterator

ICancellableIterator: e_ICancellableIterator<E>

IReactiveNode

IReactiveNode: IReactiveNode

Variables

Const getReactor

getReactor: getReactor = reactorMod.getReactor

Const node

node: default = nodeMod.default

Const nullCancellable

nullCancellable: ICancellable = nc

An cancellable that will do nothing when cancel is called

type

{ICancellable}

Const optional

optional: default = optionalMod

Const transaction

transaction: transaction = reactorMod.transaction

Const unchanged

unchanged: unchanged = reactorMod.unchanged

Const unobserved

unobserved: unobserved = reactorMod.unobserved

Generated using TypeDoc