Skip to content
Entangle UI v0.13.0

HoverCardContextValue

Defined in: src/components/primitives/HoverCard/HoverCard.types.ts:57

contentRef: RefObject<HTMLDivElement | null>

Defined in: src/components/primitives/HoverCard/HoverCard.types.ts:62


floatingContext: FloatingContext

Defined in: src/components/primitives/HoverCard/HoverCard.types.ts:65


floatingRefs: object & ExtendedRefs<ReferenceType>

Defined in: src/components/primitives/HoverCard/HoverCard.types.ts:63

floating: MutableRefObject<HTMLElement | null>

A React ref to the floating element.

reference: MutableRefObject<ReferenceType | null>

A React ref to the reference element.

setFloating: (node) => void

A callback to set the floating element (reactive).

HTMLElement | null

void

setReference: (node) => void

A callback to set the reference element (reactive).

ReferenceType | null

void


floatingStyles: CSSProperties

Defined in: src/components/primitives/HoverCard/HoverCard.types.ts:64


getFloatingProps: (props?) => Record<string, unknown>

Defined in: src/components/primitives/HoverCard/HoverCard.types.ts:69

HTMLProps<HTMLElement>

Record<string, unknown>


getReferenceProps: (props?) => Record<string, unknown>

Defined in: src/components/primitives/HoverCard/HoverCard.types.ts:66

HTMLProps<HTMLElement>

Record<string, unknown>


hoverCardId: string

Defined in: src/components/primitives/HoverCard/HoverCard.types.ts:59


isOpen: boolean

Defined in: src/components/primitives/HoverCard/HoverCard.types.ts:58


portal: boolean

Defined in: src/components/primitives/HoverCard/HoverCard.types.ts:60


triggerRef: RefObject<HTMLElement | null>

Defined in: src/components/primitives/HoverCard/HoverCard.types.ts:61