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
Properties2 | |
label: | Accessible name and tooltip of the button, which follow the fullscreen state. |
target: | The element to show fullscreen. |
No members match.
Example usage
<div ngDocFullscreen #stage="ngDocFullscreen ">…</div>
<ng-doc-fullscreen-toggle [target]="stage" />