UNPKG

1.43 kBTypeScriptView Raw
1import { AfterViewInit } from '@angular/core';
2import { NgbNav, NgbNavItem } from './nav';
3import * as i0 from "@angular/core";
4export declare class NgbNavPane {
5 nativeElement: HTMLElement;
6 item: NgbNavItem;
7 nav: NgbNav;
8 role: string;
9 static ɵfac: i0.ɵɵFactoryDeclaration<NgbNavPane, never>;
10 static ɵdir: i0.ɵɵDirectiveDeclaration<NgbNavPane, "[ngbNavPane]", never, { "item": { "alias": "item"; "required": false; }; "nav": { "alias": "nav"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, never>;
11}
12/**
13 * The outlet where currently active nav content will be displayed.
14 *
15 * @since 5.2.0
16 */
17export declare class NgbNavOutlet implements AfterViewInit {
18 private _cd;
19 private _ngZone;
20 private _activePane;
21 private _panes;
22 /**
23 * A role to set on the nav pane
24 */
25 paneRole: any;
26 /**
27 * Reference to the `NgbNav`
28 */
29 nav: NgbNav;
30 isPanelTransitioning(item: NgbNavItem): boolean;
31 ngAfterViewInit(): void;
32 private _updateActivePane;
33 private _getPaneForItem;
34 private _getActivePane;
35 static ɵfac: i0.ɵɵFactoryDeclaration<NgbNavOutlet, never>;
36 static ɵcmp: i0.ɵɵComponentDeclaration<NgbNavOutlet, "[ngbNavOutlet]", never, { "paneRole": { "alias": "paneRole"; "required": false; }; "nav": { "alias": "ngbNavOutlet"; "required": false; }; }, {}, never, never, true, never>;
37}