useFloating
What the @feugene/granularity/composables/useFloating subpath exports, with signatures from its type declarations.
Import
import { useFloating, floatingAvailableHeightVar, createFloatingAnchor } from '@feugene/granularity/composables/useFloating'Exports
UseFloatingPlacementtypetype UseFloatingPlacement = PlacementfloatingAvailableHeightVarconstconst floatingAvailableHeightVar = "--gr-floating-available-height"GrFloatingAnchorRectinterfaceinterface GrFloatingAnchorRectUseFloatingReferencetypetype UseFloatingReference = HTMLElement | VirtualElement | nullcreateFloatingAnchorfunctionfunction createFloatingAnchor(get: () => GrFloatingAnchorRect | null | undefined, options?:UseFloatingOptionsinterfaceinterface UseFloatingOptionsUseFloatingReturninterfaceinterface UseFloatingReturnuseFloatingfunctionfunction useFloating(reference: Ref<HTMLElement | null> | (() => UseFloatingReference), floatingEl: Ref<HTMLElement | null>, open: Ref<boolean>, options?: UseFloatingOptions): UseFloatingReturn