UNPKG

@zag-js/tour

Version:

Core logic for the tour widget implemented as a state machine

8 lines (5 loc) 434 B
import { WaitForOptions, WaitForPromiseReturn } from '@zag-js/dom-query'; export { WaitForOptions as WaitOptions, waitForElement, waitForPromise } from '@zag-js/dom-query'; type EditableElement = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement; declare function waitForElementValue(target: () => EditableElement | null, value: string, options: WaitForOptions): WaitForPromiseReturn<void>; export { waitForElementValue };