DaffSidebarService

A service that stores the open state and ID of the currently opened sidebar.

A default sidebar ID can be passed to the constructor that will be the initial value of $id.

Properties

Name Type Description
_id$ BehaviorSubject<DaffSidebarRegistration['id']>
_open signal(false)
id$ Observable<DaffSidebarRegistration['id']>
isOpen Signal<boolean>
open Opens the specified sidebar.
close Closes the sidebar. Does not clear the ID.
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.