1 | import { ElementRef, EventEmitter, NgZone, OnInit } from '@angular/core';
|
2 | import { NgbCollapseConfig } from './collapse-config';
|
3 | import * as i0 from "@angular/core";
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export declare class NgbCollapse implements OnInit {
|
9 | private _element;
|
10 | private _zone;
|
11 | |
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 | animation: any;
|
20 | |
21 |
|
22 |
|
23 |
|
24 | private _afterInit;
|
25 | private _isCollapsed;
|
26 | |
27 |
|
28 |
|
29 | set collapsed(isCollapsed: boolean);
|
30 | ngbCollapseChange: EventEmitter<boolean>;
|
31 | |
32 |
|
33 |
|
34 |
|
35 |
|
36 | horizontal: boolean;
|
37 | |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 | shown: EventEmitter<void>;
|
44 | |
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 | hidden: EventEmitter<void>;
|
51 | constructor(_element: ElementRef, config: NgbCollapseConfig, _zone: NgZone);
|
52 | ngOnInit(): void;
|
53 | /**
|
54 | * Triggers collapsing programmatically.
|
55 | *
|
56 | * If there is a collapsing transition running already, it will be reversed.
|
57 | * If the animations are turned off this happens synchronously.
|
58 | *
|
59 | * @since 8.0.0
|
60 | */
|
61 | toggle(open?: boolean): void;
|
62 | private _runTransition;
|
63 | private _runTransitionWithEvents;
|
64 | static ɵfac: i0.ɵɵFactoryDeclaration<NgbCollapse, never>;
|
65 | static ɵdir: i0.ɵɵDirectiveDeclaration<NgbCollapse, "[ngbCollapse]", ["ngbCollapse"], { "animation": { "alias": "animation"; "required": false; }; "collapsed": { "alias": "ngbCollapse"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; }, { "ngbCollapseChange": "ngbCollapseChange"; "shown": "shown"; "hidden": "hidden"; }, never, never, true, never>;
|
66 | }
|