import { ElementRef, EventEmitter, OnDestroy } from "@angular/core"; import { Content, Direction, LatLng, LatLngExpression, LeafletEvent, Point, Tooltip } from "leaflet"; import { LayerProvider } from "./layer.provider"; import * as i0 from "@angular/core"; /** * Angular2 directive for Leaflet tooltips. * * *You can use this directive in an Angular2 template after importing `YagaModule`.* * * How to use in a template: * ```html * * * *

You can pass your content right here!

*
*
*
* ``` */ export declare class TooltipDirective extends Tooltip implements OnDestroy { protected layerProvider: LayerProvider; /** * Two-Way bound property for the content of a tooltip. * Use it with `` or `` * * You can also pass the content directly within the web-component as view-content * @link http://leafletjs.com/reference-1.2.0.html#tooltip-setcontent Original Leaflet documentation */ contentChange: EventEmitter; /** * Two-Way bound property for the state of being opened. * Use it with `` or `` * * You can also use the `tooltipOpened` property in the parent directives * @link http://leafletjs.com/reference-1.2.0.html#tooltip-openon Original Leaflet documentation */ openedChange: EventEmitter; /** * Two-Way bound property for the latitude position of the tooltip. * Use it with `` or `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-setlatlng Original Leaflet documentation */ latChange: EventEmitter; /** * Two-Way bound property for the longitude position of the tooltip. * Use it with `` or `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-setlatlng Original Leaflet documentation */ lngChange: EventEmitter; /** * Two-Way bound property for the position (LatLng) of the tooltip. * Use it with `` or `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-setlatlng Original Leaflet documentation */ positionChange: EventEmitter; /** * Two-Way bound property for the opacity of the tooltip. * Use it with `` or `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-setlatlng Original Leaflet documentation */ opacityChange: EventEmitter; /** * From leaflet fired open event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-tooltipopen Original Leaflet documentation */ openEvent: EventEmitter; /** * From leaflet fired close event. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-tooltipclose Original Leaflet documentation */ closeEvent: EventEmitter; constructor(layerProvider: LayerProvider, elementRef: ElementRef); /** * This function gets called from Angular on destroy of the html-component. * @link https://angular.io/docs/ts/latest/api/core/index/OnDestroy-class.html */ ngOnDestroy(): void; /** * Derived method of the original setContent method. * @link http://leafletjs.com/reference-1.2.0.html#tooltip-setcontent Original Leaflet documentation */ setContent(content: any): this; /** * Two-Way bound property for the content. * Use it with `` or `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-setcontent Original Leaflet documentation */ set content(val: Content); get content(): Content; /** * Two-Way bound property for the opened state. * Use it with `` or `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-openon Original Leaflet documentation */ set opened(val: boolean); get opened(): boolean; /** * Derived method of the original setLatLng method. * @link http://leafletjs.com/reference-1.2.0.html#tooltip-setlatlng Original Leaflet documentation */ setLatLng(latlng: LatLngExpression): this; /** * Two-Way bound property for the latitude position of the tooltip. * Use it with `` or `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-setlatlng Original Leaflet documentation */ set lat(val: number); get lat(): number; /** * Two-Way bound property for the longitude position of the tooltip. * Use it with `` or `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-setlatlng Original Leaflet documentation */ set lng(val: number); get lng(): number; /** * Two-Way bound property for the position of the tooltip. * Use it with `` or `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-setlatlng Original Leaflet documentation */ set position(val: LatLng); get position(): LatLng; /** * Derived method of the original setContent method. * @link http://leafletjs.com/reference-1.2.0.html#tooltip-setcontent Original Leaflet documentation */ setOpacity(val: number): void; /** * Two-Way bound property for the opacity of the tooltip. * Use it with `` or `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-opacity Original Leaflet documentation */ set opacity(val: number | undefined); get opacity(): number | undefined; /** * Input for the CSS class name. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-classname Original Leaflet documentation */ set className(val: string | undefined); get className(): string | undefined; /** * Input for the pane. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-pane Original Leaflet documentation */ set pane(val: string | undefined); get pane(): string | undefined; /** * Input for the interactive state. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-interactive Original Leaflet documentation */ set interactive(val: boolean); get interactive(): boolean; /** * Input for the sticky. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-sticky Original Leaflet documentation */ set sticky(val: boolean); get sticky(): boolean; /** * Input for the direction. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-direction Original Leaflet documentation */ set direction(val: Direction | undefined); get direction(): Direction | undefined; /** * Input for the permanent state. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-permanent Original Leaflet documentation */ set permanent(val: boolean); get permanent(): boolean; /** * Input for the offset. * Use it with `` * @link http://leafletjs.com/reference-1.2.0.html#tooltip-offset Original Leaflet documentation */ set offset(val: Point | undefined); get offset(): Point | undefined; reopen(force?: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }