@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
31 lines (30 loc) • 1.11 kB
TypeScript
import type { Feature } from 'ol';
import GirafeHTMLElement from '../../base/GirafeHTMLElement.js';
/**
* Create a link to a page or an email if the pattern matches
*/
export declare function getLinkFriendlyString(inputStr: string): string;
export default class SelectionPanelMobile extends GirafeHTMLElement {
protected templateUrl: string | null;
protected styleUrls: string[] | null;
template: () => import("uhtml").Hole;
currentIndex: number;
private readonly debounceOnAdjustVisible;
constructor();
onAdjustVisible(): void;
protected connectedCallback(): void;
/**
* Moves the slide to the given index, with or without animation
*/
private scrollToFeature;
private selectFeatureByIndex;
/**
* Action triggered when touching the "previous"/"next" buttons to change slide
*/
touchChangeSlide(delta: number): void;
/**
* Return the name of the WMS query layer of a given feature
* (using FeatureToGridDataById.getUserFeatureType directly from the template)
*/
static getFeatureLayerName(feature: Feature): string;
}