@scandit/web-datacapture-barcode
Version:
Scandit Data Capture SDK for the Web
21 lines (20 loc) • 1.58 kB
TypeScript
import { Color, Optional, ScanditIcon } from "@scandit/web-datacapture-core";
import { ScanditHTMLElement as ScanditHTMLElement$1 } from "@scandit/web-datacapture-core/build/js/private/utils/index.js";
//#region src/main/ar/ui/atoms/private/BarcodeArInfoAnnotationHeaderFooterUtils.d.ts
declare const CONTAINER_SELECTOR = ".container";
declare const ICON_TEXT_SELECTOR = ".icon-text";
declare const TEXT_SELECTOR = ".text";
declare function createTemplate(): string;
declare function createStyles(): HTMLStyleElement;
declare function getIcon(element: ScanditHTMLElement$1): Optional<ScanditIcon>;
declare function updateIcon(element: ScanditHTMLElement$1, icon: Optional<ScanditIcon>): void;
declare function getBackgroundColor(element: ScanditHTMLElement$1, defaultColor: Color): Color;
declare function setBackgroundColor(element: ScanditHTMLElement$1, value: Color): void;
declare function getTextColor(element: ScanditHTMLElement$1, defaultColor: Color): Color;
declare function setTextColor(element: ScanditHTMLElement$1, value: Color): void;
declare function getTextSize(element: ScanditHTMLElement$1): number;
declare function setTextSize(element: ScanditHTMLElement$1, value: number): void;
declare function getText(element: ScanditHTMLElement$1): string;
declare function setText(element: ScanditHTMLElement$1, value: string): void;
//#endregion
export { CONTAINER_SELECTOR, ICON_TEXT_SELECTOR, TEXT_SELECTOR, createStyles, createTemplate, getBackgroundColor, getIcon, getText, getTextColor, getTextSize, setBackgroundColor, setText, setTextColor, setTextSize, updateIcon };