UNPKG

igniteui-angular

Version:

Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps

37 lines (36 loc) 1.49 kB
import { IgxNavigationService } from './nav.service'; import * as i0 from "@angular/core"; /** * 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. */ export declare class IgxNavigationToggleDirective { private target; state: IgxNavigationService; constructor(nav: IgxNavigationService); toggleNavigationDrawer(): void; static ɵfac: i0.ɵɵFactoryDeclaration<IgxNavigationToggleDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<IgxNavigationToggleDirective, "[igxNavToggle]", never, { "target": { "alias": "igxNavToggle"; "required": false; }; }, {}, never, never, true, never>; } /** * 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. */ export declare class IgxNavigationCloseDirective { private target; state: IgxNavigationService; constructor(nav: IgxNavigationService); closeNavigationDrawer(): void; static ɵfac: i0.ɵɵFactoryDeclaration<IgxNavigationCloseDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<IgxNavigationCloseDirective, "[igxNavClose]", never, { "target": { "alias": "igxNavClose"; "required": false; }; }, {}, never, never, true, never>; }