Skip to content
@ng-doc/ui-kit / Class

NgDocOverlayRef

A handle to an opened overlay (a dropdown, a tooltip or a dialog).

NgDocOverlayService.open()() creates it, and the overlay content can inject it to close itself.

Generic types
T
DeclarationTypeScript
export class NgDocOverlayRef<T = unknown> { … }

Members

Constructor

1
(…)
—

Accessors

3
get hasAttached: boolean

Overlay has attached

get isFocused: boolean

Overlay has focus

get isOpened: boolean

Overlay is opened

Methods

7
(): Observable<T | null>
—
(): Observable<void>
—
(): Observable<T | null>
—
(): Observable<void>
—
(…): void

Closes overlay

(): void

Sets focus to overlay

(): Observable<ConnectedOverlayPositionChange>
—
Symbol
Kind
Class
Generic types
T
Scope
@ng-doc/ui-kit
Edit this page