Class ThemeTrackingServiceInternal

A service to track the currently active theme.

Constructors

Properties

#currentTheme: null | string = null

A private property to hold the current theme value.

#currentTheme$: any = ...

The subject that emits the next value set through currentTheme.

currentTheme$: any = ...

The observable that emits the current theme, shared among subscribers. This observable prevents emitting the same value twice in a row. It also updates the private #currentTheme property.

Accessors