1 | import { ElementRef, EventEmitter, OnDestroy, OnInit, Renderer, ViewContainerRef } from '@angular/core';
|
2 | import 'rxjs/add/operator/filter';
|
3 | import { ComponentLoaderFactory } from '../component-loader';
|
4 | import { BsDropdownConfig } from './bs-dropdown.config';
|
5 | import { BsDropdownState } from './bs-dropdown.state';
|
6 | export declare class BsDropdownDirective implements OnInit, OnDestroy {
|
7 | private _elementRef;
|
8 | private _renderer;
|
9 | private _viewContainerRef;
|
10 | private _cis;
|
11 | private _config;
|
12 | private _state;
|
13 | |
14 |
|
15 |
|
16 | placement: string;
|
17 | |
18 |
|
19 |
|
20 |
|
21 | triggers: string;
|
22 | |
23 |
|
24 |
|
25 |
|
26 | container: string;
|
27 | |
28 |
|
29 |
|
30 | dropup: boolean;
|
31 | |
32 |
|
33 |
|
34 |
|
35 | autoClose: boolean;
|
36 | |
37 |
|
38 |
|
39 | isDisabled: boolean;
|
40 | |
41 |
|
42 |
|
43 | isOpen: boolean;
|
44 | |
45 |
|
46 |
|
47 | onShown: EventEmitter<any>;
|
48 | |
49 |
|
50 |
|
51 | onHidden: EventEmitter<any>;
|
52 | readonly isBs4: boolean;
|
53 | private _isInlineOpen;
|
54 | private _showInline;
|
55 | private _inlinedMenu;
|
56 | private _isDisabled;
|
57 | private _dropdown;
|
58 | private _subscriptions;
|
59 | constructor(_elementRef: ElementRef, _renderer: Renderer, _viewContainerRef: ViewContainerRef, _cis: ComponentLoaderFactory, _config: BsDropdownConfig, _state: BsDropdownState);
|
60 | ngOnInit(): void;
|
61 | /**
|
62 | * Opens an element’s popover. This is considered a “manual” triggering of
|
63 | * the popover.
|
64 | */
|
65 | show(): void;
|
66 | /**
|
67 | * Closes an element’s popover. This is considered a “manual” triggering of
|
68 | * the popover.
|
69 | */
|
70 | hide(): void;
|
71 | /**
|
72 | * Toggles an element’s popover. This is considered a “manual” triggering of
|
73 | * the popover.
|
74 | */
|
75 | toggle(value?: boolean): void;
|
76 | ngOnDestroy(): void;
|
77 | }
|