Directive that can toggle targets through provided NavigationService.

Usage:

<button type="button" igxNavToggle="ID">Toggle</button>

Where the ID matches the ID of compatible IToggleView component.

new IgxNavigationToggleDirective(): IgxNavigationToggleDirective

Defined in projects/igniteui-angular/core/src/core/navigation/directives.ts:30

Returns IgxNavigationToggleDirective

The ID of the target registered in the navigation service, which is toggled on click.

target: any

Defined in projects/igniteui-angular/core/src/core/navigation/directives.ts:26

Example

<button type="button" igxNavToggle="navDrawer">Toggle</button>
toggleNavigationDrawer(): void

Defined in projects/igniteui-angular/core/src/core/navigation/directives.ts:37

Returns void