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

NgDocPaneComponent

Two panes side by side with a resizer between them. Drag the resizer, click it or use the arrow keys on it to reveal the back pane; Enter or Space toggles it.

Decorators
@Component
Selectors
ng-doc-pane
DeclarationTypeScript
@Component({ … })
export class NgDocPaneComponent { … }

Members

Constructor

1
()
—

Properties

5
dragging: WritableSignal<boolean>
protectedreadonly

Whether the resizer is being dragged.

expanded: InputSignal<boolean>
readonly input()

Whether the back pane is revealed.

resizer: Signal<ElementRef<HTMLElement>>
readonly

The resizer between the panes.

valueNow: WritableSignal<number>
protectedreadonly

Share of the pane the back pane takes, in percent, for assistive technology.

width: WritableSignal<string>
readonly

Width of the back pane, as a CSS length.

Methods

2
(…): void
protected

Moves the resizer with the keyboard.

(): void

Reveals the back pane when it is mostly hidden, and hides it otherwise.

Symbol
Kind
Class
Decorators
@Component
Selectors
ng-doc-pane
Scope
@ng-doc/ui-kit
Edit this page