@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
29 lines (28 loc) • 915 B
TypeScript
import GirafeHTMLElement from '../../base/GirafeHTMLElement.js';
import { IUrlShortener } from '../../tools/share/iurlshortener.js';
declare class ShareMobileComponent extends GirafeHTMLElement {
protected templateUrl: string | null;
protected styleUrls: string[] | null;
template: () => import("uhtml").Hole;
shareLink?: string;
qrCode?: string;
success: boolean;
twitterLogo: string;
facebookLogo: string;
linkedInLogo: string;
mailLogo: string;
shareNativeLogo: string;
awaitingShareLink: boolean;
get urlShortener(): IUrlShortener | undefined;
constructor();
render(): void;
protected connectedCallback(): void;
registerEvents(): void;
private generateShareLink;
shareFacebook(): void;
shareTwitter(): void;
shareLinkedIn(): void;
shareMail(): void;
shareNative(): Promise<void>;
}
export default ShareMobileComponent;