Mixins / foldkit-mixins-ui

HoverIntentContext

interface · packages/mixins-ui/src/hoverIntent.ts:48

interface HoverIntentContext<Input, Message> extends ResolveContext<
  Input,
  Message
> {
  readonly anchored?: {
    readonly id: string
    readonly anchor?: AnchorConfig
  }
}

Members

HoverIntentContext.anchored

property · packages/mixins-ui/src/hoverIntent.ts:54

readonly anchored?: {
  readonly id: string
  readonly anchor?: AnchorConfig
}

Places the panel against the trigger: the trigger takes triggerId(id), and the panel is anchored to it in the top layer with anchor (the defaults of anchor() when left out).