theme-lib
Version:
This is a simple example Angular Library published to npm.
20 lines (19 loc) • 480 B
TypeScript
import { Observable } from 'rxjs';
export declare class NbSidebarService {
private toggle$;
private expand$;
private collapse$;
onToggle(): Observable<{
compact: boolean;
tag: string;
}>;
onExpand(): Observable<{
tag: string;
}>;
onCollapse(): Observable<{
tag: string;
}>;
toggle(compact?: boolean, tag?: string): void;
expand(tag?: string): void;
collapse(tag?: string): void;
}