@rxap/window-system
Version:
A module for creating and managing windows within an Angular application. It provides components for window containers, toolbars, resizers, action bars, and task bars, along with services for managing window instances and configurations. This library allo
73 lines (39 loc) • 2 kB
Markdown
[**/window-system v19.0.4**](../README.md)
***
[/window-system](../globals.md) / WindowTitleDirective
# Class: WindowTitleDirective
Defined in: [packages/angular/window-system/src/lib/window-title.directive.ts:20](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/window-system/src/lib/window-title.directive.ts#L20)
## Implements
- `OnInit`
## Constructors
### new WindowTitleDirective()
> **new WindowTitleDirective**(): [`WindowTitleDirective`](WindowTitleDirective.md)
#### Returns
[`WindowTitleDirective`](WindowTitleDirective.md)
## Methods
### ngOnInit()
> **ngOnInit**(): `void`
Defined in: [packages/angular/window-system/src/lib/window-title.directive.ts:37](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/window-system/src/lib/window-title.directive.ts#L37)
A callback method that is invoked immediately after the
default change detector has checked the directive's
data-bound properties for the first time,
and before any of the view or content children have been checked.
It is invoked only once when the directive is instantiated.
#### Returns
`void`
#### Implementation of
`OnInit.ngOnInit`
***
### ngTemplateContextGuard()
> `static` **ngTemplateContextGuard**(`dir`, `ctx`): `ctx is WindowTitleTemplateContext`
Defined in: [packages/angular/window-system/src/lib/window-title.directive.ts:32](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/window-system/src/lib/window-title.directive.ts#L32)
Asserts the correct type of the context for the template that `NgForOf` will render.
The presence of this method is a signal to the Ivy template type-check compiler that the
`NgForOf` structural directive renders its template with a specific context type.
#### Parameters
##### dir
[`WindowTitleDirective`](WindowTitleDirective.md)
##### ctx
`any`
#### Returns
`ctx is WindowTitleTemplateContext`