Documentation

update()

Registers an update handler for a value or binding.

update(
valueOrBinding: any,
handle: (this: TView, value: any) => void,
): void;

Parameters

Description

This method allows you to specify a handler that will be called immediately for a view instance (for a static value), or whenever a bound value changes (for a binding). This is useful for implementing a fluent interface that isn’t mapped directly to a single view property.

Related