1 | import { ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';
|
2 | import { PopoverConfig } from './popover.config';
|
3 | import { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader';
|
4 | import { PositioningService, AvailbleBSPositions } from 'ngx-bootstrap/positioning';
|
5 |
|
6 |
|
7 |
|
8 | import * as ɵngcc0 from '@angular/core';
|
9 | export declare class PopoverDirective implements OnInit, OnDestroy {
|
10 | private _elementRef;
|
11 | private _renderer;
|
12 | private _positionService;
|
13 |
|
14 | popoverId: number;
|
15 |
|
16 | adaptivePosition: boolean;
|
17 | |
18 |
|
19 |
|
20 | popover?: string | TemplateRef<any>;
|
21 | |
22 |
|
23 |
|
24 | popoverContext: any;
|
25 | |
26 |
|
27 |
|
28 | popoverTitle?: string;
|
29 | |
30 |
|
31 |
|
32 | placement: AvailbleBSPositions;
|
33 | |
34 |
|
35 |
|
36 | outsideClick: boolean;
|
37 | |
38 |
|
39 |
|
40 |
|
41 | triggers: string;
|
42 | |
43 |
|
44 |
|
45 | container?: string;
|
46 | |
47 |
|
48 |
|
49 | containerClass: string;
|
50 | |
51 |
|
52 |
|
53 | get isOpen(): boolean;
|
54 | set isOpen(value: boolean);
|
55 | |
56 |
|
57 |
|
58 | delay: number;
|
59 | |
60 |
|
61 |
|
62 | onShown: EventEmitter<unknown>;
|
63 | |
64 |
|
65 |
|
66 | onHidden: EventEmitter<unknown>;
|
67 | protected _popoverCancelShowFn?: () => void;
|
68 | protected _delayTimeoutId?: number;
|
69 | private _popover;
|
70 | private _isInited;
|
71 | private _ariaDescribedby?;
|
72 | constructor(_config: PopoverConfig, _elementRef: ElementRef, _renderer: Renderer2, _viewContainerRef: ViewContainerRef, cis: ComponentLoaderFactory, _positionService: PositioningService);
|
73 | /**
|
74 | * Set attribute aria-describedBy for element directive and
|
75 | * set id for the popover
|
76 | */
|
77 | setAriaDescribedBy(): void;
|
78 | /**
|
79 | * Opens an element’s popover. This is considered a “manual” triggering of
|
80 | * the popover.
|
81 | */
|
82 | show(): void;
|
83 | /**
|
84 | * Closes an element’s popover. This is considered a “manual” triggering of
|
85 | * the popover.
|
86 | */
|
87 | hide(): void;
|
88 | /**
|
89 | * Toggles an element’s popover. This is considered a “manual” triggering of
|
90 | * the popover.
|
91 | */
|
92 | toggle(): void;
|
93 | ngOnInit(): void;
|
94 | ngOnDestroy(): void;
|
95 | static ɵfac: ɵngcc0.ɵɵFactoryDef<PopoverDirective, never>;
|
96 | static ɵdir: ɵngcc0.ɵɵDirectiveDefWithMeta<PopoverDirective, "[popover]", ["bs-popover"], { "adaptivePosition": "adaptivePosition"; "placement": "placement"; "outsideClick": "outsideClick"; "triggers": "triggers"; "containerClass": "containerClass"; "delay": "delay"; "isOpen": "isOpen"; "popover": "popover"; "popoverContext": "popoverContext"; "popoverTitle": "popoverTitle"; "container": "container"; }, { "onShown": "onShown"; "onHidden": "onHidden"; }, never>;
|
97 | }
|
98 |
|
99 |
|
\ | No newline at end of file |