Skip to content

responsivelyCheckDirection Type documentation

(params: { align: Align, closeOnContentScrollOut: boolean, closeOnPlacementReferenceScrollOut: boolean, contentElements: HTMLElement[], currentDirection: Direction, hostElement: (null | HTMLElement), isScrolling: boolean, minSpaceThresholdFactor: number, placement: Placement, placementReferenceElement: HTMLElement, placementReverse: Placement, responsiveDirectionToPlacement: boolean, rtl: boolean }) => { close: boolean, responsiveDirection: Direction }
Function
Parameters
params: { align: Align, closeOnContentScrollOut: boolean, closeOnPlacementReferenceScrollOut: boolean, contentElements: HTMLElement[], currentDirection: Direction, hostElement: (null | HTMLElement), isScrolling: boolean, minSpaceThresholdFactor: number, placement: Placement, placementReferenceElement: HTMLElement, placementReverse: Placement, responsiveDirectionToPlacement: boolean, rtl: boolean }

Types Documentation

("down" | "up" | "start" | "end")
("start" | "center" | "end")

Except where otherwise noted, content on this site is licensed under MIT License.