Skip to content
@ng-doc/app / Class

NgDocFullscreenToggleComponent

An icon button that shows an element fullscreen with the browser Fullscreen API, or leaves fullscreen. Its icon, label and tooltip follow the fullscreen state, and it is hidden where the browser does not support fullscreen and on the server.

Decorators
@Component
Selectors
ng-doc-fullscreen-toggle
DeclarationTypeScript
@Component({ … })
export class NgDocFullscreenToggleComponent { … }

Members

Properties

2
label: Signal<string>
protectedreadonly

Accessible name and tooltip of the button, which follow the fullscreen state.

readonly input()required

The element to show fullscreen.

Example usage

<div ngDocFullscreen #stage="ngDocFullscreen">…</div>
<ng-doc-fullscreen-toggle [target]="stage" />
Symbol
Kind
Class
Decorators
@Component
Selectors
ng-doc-fullscreen-toggle
Scope
@ng-doc/app
Edit this page