Directive that can close targets through provided NavigationService.
Usage:
<button type="button" igxNavClose="ID">Close</button>Where the ID matches the ID of compatible IToggleView component.
Constructors
Section titled "Constructors"IgxNavigationCloseDirective
Section titled "IgxNavigationCloseDirective"new IgxNavigationCloseDirective(): IgxNavigationCloseDirective Defined in projects/igniteui-angular/core/src/core/navigation/directives.ts:68
Returns IgxNavigationCloseDirective
Properties
Section titled "Properties"state
Section titled "state"state: IgxNavigationService Defined in projects/igniteui-angular/core/src/core/navigation/directives.ts:66
target
Section titled "target"The ID of the target registered in the navigation service, which is closed on click.
target: any Defined in projects/igniteui-angular/core/src/core/navigation/directives.ts:64
Example
<button type="button" igxNavClose="navDrawer">Close</button> Methods
Section titled "Methods"closeNavigationDrawer
Section titled "closeNavigationDrawer"closeNavigationDrawer(): void Defined in projects/igniteui-angular/core/src/core/navigation/directives.ts:75