@catull/igniteui-angular
Version:
Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps
17 lines (16 loc) • 589 B
TypeScript
import { IToggleView } from './IToggleView';
/**
* Common service to be injected between components where those implementing common
* ToggleView interface can register and toggle directives can call their methods.
* TODO: Track currently active? Events?
*/
export declare class IgxNavigationService {
private navs;
constructor();
add(id: string, navItem: IToggleView): void;
remove(id: string): void;
get(id: string): IToggleView;
toggle(id: string, ...args: any[]): any;
open(id: string, ...args: any[]): any;
close(id: string, ...args: any[]): any;
}