File

src/core/services/smart-overlay.service.ts

Index

Properties
Methods

Methods

disableOverlay
disableOverlay(id: string)

Disables an overlay with the given id.

Parameters :
Name Type Optional Description
id string No
  • The id of the overlay.
Returns : void
enableOverlay
enableOverlay(winRef: WindowRef, id: string, zIndex: string)

Enables an overlay with the given id and z-index.

Parameters :
Name Type Optional Default value Description
winRef WindowRef No
  • The window reference.
id string No
  • The id of the overlay.
zIndex string No '10001'
  • The z-index of the overlay.
Returns : void
setOverlayState
setOverlayState(value: boolean)

Sets the state of the overlay.

Parameters :
Name Type Optional Description
value boolean No
  • The state of the overlay.
Returns : void

Properties

Public overlayEnabled
Use overlayEnabledSignal instead
Type : ReplaySubject<boolean>
Default value : new ReplaySubject<boolean>( 1 )

Whether the overlay is enabled.

Public Readonly overlayEnabledSignal
Type : Signal<boolean>
Default value : this._overlayEnabledSignal.asReadonly()

Signal indicating whether the overlay is enabled.

results matching ""

    No results matching ""