UNPKG

@esri/calcite-components

Version:

Web Components for Esri's Calcite Design System.

34 lines (33 loc) 1.07 kB
import { E2EPage } from "@stencil/core/testing"; import { JSONObject } from "puppeteer"; declare type DragAndDropSelector = string | SelectorOptions; declare type PointerPosition = { vertical: "bottom" | "center" | "top"; }; interface SelectorOptions extends JSONObject { element: string; shadow?: string; pointerPosition?: PointerPosition; } export declare function dragAndDrop(page: E2EPage, dragStartSelector: DragAndDropSelector, dragEndSelector: DragAndDropSelector): Promise<void>; /** * Use this tagged template to help Prettier format any HTML template literals. * @param strings the * * @example * * ```ts * const page = await newE2EPage({ * html: html` * <calcite-select> * <calcite-option id="1">uno</calcite-option> * <calcite-option id="2">dos</calcite-option> * <calcite-option id="3">tres</calcite-option> * </calcite-select> * ` * }); * ``` */ export declare function html(strings: string): string; export declare function html(strings: TemplateStringsArray, ...placeholders: any[]): string; export {};