UNPKG

@dvcol/neo-svelte

Version:

Neomorphic ui library for svelte 5

12 lines (11 loc) 380 B
export const NeoTooltipSizeStrategy = { /** Match the size of the trigger */ Match: 'match', /** At least as wide/tall as the trigger */ Min: 'min', /** At most as wide/tall as the trigger */ Max: 'max', /** At most as wide/tall as the available space */ Available: 'available', }; export const isOffsetFunction = (fn) => typeof fn === 'function';