Skip to main content

RESET

Emits RESET signal.

component image

In-ports

trigger <any> — triggers RESET signal.

Out-ports

output <Signal> — emits RESET signal event.

Overview

The RESET signal is used to indicate a complete or partial reset of a component or widget's state. It emits a RESET signal on the output port immediately after its initialization. If the trigger port is connected, the component will wait for an event on the trigger port before emitting the signal. The component emits a RESET signal every time it receives an event on the trigger port.

The effect of the RESET signal varies depending on the component or port. For instance, when sent to the spec port of the Vega-Lite Chart widget, it resets the specification and the data of the chart. However, when sent to the select port, it only resets the selection. Please refer to the components documentation for details on how the RESET signal affects them.

Settings

Enable realtime config port

If this setting is enabled, the component can be configured through the config port. This port accepts a configuration object as input and allows you to set dynamic properties at runtime. Note that using this port does not cause the component to reinitialize, but it may cause some previous state of the component to be lost.

Non propagating

If Non propagating is enabled, the RESET signal will be consumed by the first downstream component that supports the RESET signal and will not be propagated further along the stream. This is useful when you want to limit the reset effect to a specific component or scope, preventing it from affecting other connected components.