Skip to content
@ng-doc/app / Class

NgDocContentScrollIntent

Captures the public initial-navigation facts that are unavailable after component activation.

Decorators
@Service
DeclarationTypeScript
@Service()
export class NgDocContentScrollIntent { … }

Members

Constructor

1
()
—

Properties

1
currentIntent: Signal<NgDocInitialContentScrollIntent | undefined>
readonly

The pending initial intent as a signal, the same value subscribe() listeners receive.

Methods

3
(…): void

Consumes the current fallback after its page has either replayed or explicitly yielded it.

(): void

Starts following router events. Does nothing on the server or when already started.

(…): () => void

Calls the listener with every change of the intent, and at once with the pending one.

Symbol
Kind
Class
Decorators
@Service
Scope
@ng-doc/app
Edit this page