Primitives / foldkit-primitives/dom

fluidHovered

function · packages/primitives/src/dom/fluid-hover.ts:5

function fluidHovered(name: string): {
  readonly x: `--fk-${string}-x`
  readonly y: `--fk-${string}-y`
  readonly w: `--fk-${string}-w`
  readonly h: `--fk-${string}-h`
  readonly shown: `--fk-${string}-shown`
  readonly moving: `--fk-${string}-moving`
}

The custom properties FluidHover writes on its container for a highlight named name.