@zag-js/tooltip
Version:
Core logic for the tooltip widget implemented as a state machine
15 lines (12 loc) • 842 B
text/typescript
import { Scope } from '@zag-js/core';
declare const getTriggerId: (scope: Scope, value?: string) => any;
declare const getContentId: (scope: Scope) => any;
declare const getArrowId: (scope: Scope) => any;
declare const getPositionerId: (scope: Scope) => any;
declare const getTriggerEl: (scope: Scope) => HTMLElement | null;
declare const getContentEl: (scope: Scope) => HTMLElement | null;
declare const getPositionerEl: (scope: Scope) => HTMLElement | null;
declare const getArrowEl: (scope: Scope) => HTMLElement | null;
declare const getTriggerEls: (scope: Scope) => HTMLElement[];
declare const getActiveTriggerEl: (scope: Scope, value: string | null) => HTMLElement | null;
export { getActiveTriggerEl, getArrowEl, getArrowId, getContentEl, getContentId, getPositionerEl, getPositionerId, getTriggerEl, getTriggerEls, getTriggerId };