Mixins / foldkit-mixins-ui

CardGroupFluid

interface · packages/mixins-ui/src/card.ts:216

interface CardGroupFluid {
  readonly resting: Readonly<Record<string, string>>
  readonly mount: (columns: number) => ReturnType<typeof FluidHover>
}

What Card.fluid is: the highlight's resting values and the Mount that moves it, which take columns to read the pointer's nearness in both directions in a grid. A public interface: implement it for a highlight of your own.

Members

CardGroupFluid.resting

property · packages/mixins-ui/src/card.ts:217

readonly resting: Readonly<Record<string, string>>

CardGroupFluid.mount

property · packages/mixins-ui/src/card.ts:218

readonly mount: (columns: number) => ReturnType<typeof FluidHover>