1 | import { AnimationBuilder } from '@angular/animations';
|
2 | import { AfterViewChecked, ElementRef, EventEmitter, Renderer2 } from '@angular/core';
|
3 | import * as i0 from "@angular/core";
|
4 | export declare class CollapseDirective implements AfterViewChecked {
|
5 | private _el;
|
6 | private _renderer;
|
7 |
|
8 | collapsed: EventEmitter<CollapseDirective>;
|
9 |
|
10 | collapses: EventEmitter<CollapseDirective>;
|
11 |
|
12 | expanded: EventEmitter<CollapseDirective>;
|
13 |
|
14 | expands: EventEmitter<CollapseDirective>;
|
15 | isExpanded: boolean;
|
16 | collapseNewValue: boolean;
|
17 | isCollapsed: boolean;
|
18 | isCollapse: boolean;
|
19 | isCollapsing: boolean;
|
20 | set display(value: string);
|
21 |
|
22 | isAnimated: boolean;
|
23 |
|
24 | set collapse(value: boolean);
|
25 | get collapse(): boolean;
|
26 | private _display;
|
27 | private _isAnimationDone?;
|
28 | private _player?;
|
29 | private _stylesLoaded;
|
30 | private _COLLAPSE_ACTION_NAME;
|
31 | private _EXPAND_ACTION_NAME;
|
32 | private readonly _factoryCollapseAnimation;
|
33 | private readonly _factoryExpandAnimation;
|
34 | constructor(_el: ElementRef, _renderer: Renderer2, _builder: AnimationBuilder);
|
35 | ngAfterViewChecked(): void;
|
36 | /** allows to manually toggle content visibility */
|
37 | toggle(): void;
|
38 | /** allows to manually hide content */
|
39 | hide(): void;
|
40 | /** allows to manually show collapsed content */
|
41 | show(): void;
|
42 | animationRun(isAnimated: boolean, action: string): (callback: () => void) => void;
|
43 | static ɵfac: i0.ɵɵFactoryDeclaration<CollapseDirective, never>;
|
44 | static ɵdir: i0.ɵɵDirectiveDeclaration<CollapseDirective, "[collapse]", ["bs-collapse"], { "display": { "alias": "display"; "required": false; }; "isAnimated": { "alias": "isAnimated"; "required": false; }; "collapse": { "alias": "collapse"; "required": false; }; }, { "collapsed": "collapsed"; "collapses": "collapses"; "expanded": "expanded"; "expands": "expands"; }, never, never, false, never>;
|
45 | }
|