Home > widget-integration > RecommendationWidgetController > state

RecommendationWidgetController.state property

Reactive state management for the recommendation widget.

Tracks loading status and the current recommendation model. The state is observable and can be monitored for changes during the widget lifecycle.

Signature:

state: Signal<RecommendationWidgetControllerState>;

Remarks

This signal-based state management enables reactive UI updates and is particularly useful when extending the controller to add custom loading indicators or state-dependent behavior.