@scandit/web-datacapture-barcode
Version:
Scandit Data Capture SDK for the Web
40 lines (39 loc) • 1.4 kB
TypeScript
import { Point } from "@scandit/web-datacapture-core";
import { ScanditHTMLElement as ScanditHTMLElement$1 } from "@scandit/web-datacapture-core/build/js/private/utils/index.js";
import { GestureRecognizerListener } from "@scandit/web-datacapture-core/build/js/private/GestureRecognizer/GestureRecognizer.js";
//#region src/main/find/ui/organisms/FindLayout.d.ts
declare enum FindLayoutEvents {
onTap = "onlayouttap"
}
type OnTapLayoutCustomEvent = CustomEvent<{
point: Point;
target: HTMLElement;
}>;
declare class FindLayout extends ScanditHTMLElement$1 implements GestureRecognizerListener {
static tag: "scandit-find-layout";
private orientationObserver;
private onOrientationChangeHandler;
private readonly absoluteContainer;
private gestureRecognizer;
constructor();
private get cardListContainer();
private get main();
static create(): FindLayout;
static register(): void;
private static createStyleElement;
connectedCallback(): void;
disconnectedCallback(): void;
toggleVisibility(selector: string, toggle: boolean): void;
onTap(point: Point, event: Event): void;
private onOrientationChange;
}
declare global {
interface HTMLElementTagNameMap {
[FindLayout.tag]: FindLayout;
}
interface HTMLElementEventMap {
[FindLayoutEvents.onTap]: OnTapLayoutCustomEvent;
}
}
//#endregion
export { FindLayout, FindLayoutEvents, OnTapLayoutCustomEvent };