Skip to content

Recording

module Recording
AssemblyFable.Ripple.Dom

While a template function runs for Html.template, the primitives record their dynamic work against the skeleton instead of doing it. A helper built on Base that creates an effect or a listener of its own takes part with isActive and markDynamic.

Functions and values

isActive () : bool

True while a template function runs. A helper that would create an effect or a listener must call markDynamic instead and return.

markDynamic () : unit

Tell the walker to record the current Apply and run it again on every row. Call it, and do nothing else, when isActive () is true.