UNPKG

@geogirafe/lib-geoportal

Version:

GeoGirafe is a flexible application to build online geoportals.

29 lines (28 loc) 1.05 kB
import GirafeHTMLElement from '../../base/GirafeHTMLElement.js'; import { Instance } from 'tippy.js'; declare class FeedbackButtonComponent extends GirafeHTMLElement { static readonly observedAttributes: string[]; protected templateUrl: string | null; protected styleUrls: string[] | null; template: () => import("uhtml").Hole; question: string; componentName?: string; placement?: string; verticalMargin: string; horizontalMargin: string; tippyInstance: Instance | undefined; constructor(); positiveFeedback(): Promise<void>; negativeFeedback(): Promise<void>; private showThankYouPopup; protected connectedCallback(): void; protected disconnectedCallback(): void; render(): void; private calculateMargins; private calculatePlacement; private setContainerPosition; private createPopupHandler; private getPopupPlacement; protected attributeChangedCallback(name: string, _oldValue: string, newValue: string): void; } export default FeedbackButtonComponent;