UNPKG

@scandit/web-datacapture-barcode

Version:

Scandit Data Capture SDK for the Web

42 lines (41 loc) 1.32 kB
import { Brush, Color } from "@scandit/web-datacapture-core"; import { ScanditHTMLElement as ScanditHTMLElement$1 } from "@scandit/web-datacapture-core/build/js/private/utils/index.js"; //#region src/main/find/ui/atoms/Dot.d.ts type Properties = "size" | "variant" | "pulse"; declare class Dot extends ScanditHTMLElement$1 { static tag: "scandit-find-dot"; private static readonly observedAttributes; private dot; constructor(); set size(size: number); get size(): number; get variant(): string | null; set variant(variant: string); get pulse(): boolean; set pulse(pulse: boolean); static create(): Dot; static createWithColors(primary: Color, secondary: Color): Dot; static createWithBrush(brush: Brush, fallbackSecondary: Color): Dot; static register(): void; private static createStyleElement; connectedCallback(): void; setPrimaryColor(color: Color): void; setSecondaryColor(color: Color): void; setStrokeColor(color: Color): void; setStrokeWidth(width: number): void; render({ propChanged, value }: { propChanged: Properties; value: string; }): void; attributeChangedCallback(name: Properties, _oldValue: string, newValue: string): void; } declare global { interface HTMLElementTagNameMap { [Dot.tag]: Dot; } } //#endregion export { Dot };