1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | import { ChangeDetectorRef, EventEmitter, SimpleChanges, OnInit, OnChanges, OnDestroy } from '@angular/core';
|
7 | import { Subject } from 'rxjs';
|
8 | import { NbAccordionComponent } from './accordion.component';
|
9 | import { NbBooleanInput } from '../helpers';
|
10 |
|
11 |
|
12 |
|
13 | export declare class NbAccordionItemComponent implements OnInit, OnChanges, OnDestroy {
|
14 | private accordion;
|
15 | private cd;
|
16 | |
17 |
|
18 |
|
19 |
|
20 | get collapsed(): boolean;
|
21 | set collapsed(val: boolean);
|
22 | static ngAcceptInputType_collapsed: NbBooleanInput;
|
23 | |
24 |
|
25 |
|
26 |
|
27 | get expanded(): boolean;
|
28 | set expanded(val: boolean);
|
29 | static ngAcceptInputType_expanded: NbBooleanInput;
|
30 | |
31 |
|
32 |
|
33 |
|
34 | get disabled(): boolean;
|
35 | set disabled(val: boolean);
|
36 | static ngAcceptInputType_disabled: NbBooleanInput;
|
37 | |
38 |
|
39 |
|
40 |
|
41 | collapsedChange: EventEmitter<boolean>;
|
42 | accordionItemInvalidate: Subject<boolean>;
|
43 | private collapsedValue;
|
44 | private disabledValue;
|
45 | private destroy$;
|
46 | constructor(accordion: NbAccordionComponent, cd: ChangeDetectorRef);
|
47 | /**
|
48 | * Open/close the item
|
49 | */
|
50 | toggle(): void;
|
51 | /**
|
52 | * Open the item.
|
53 | */
|
54 | open(): void;
|
55 | /**
|
56 | * Collapse the item.
|
57 | */
|
58 | close(): void;
|
59 | ngOnInit(): void;
|
60 | ngOnChanges(changes: SimpleChanges): void;
|
61 | ngOnDestroy(): void;
|
62 | private invalidate;
|
63 | }
|