API Reference
@univerjs
@univerjs/ui
interfaces
Ipopup

@univerjs/ui v0.4.2Docs


Interface: IPopup

Extends

  • Omit<IRectPopupProps, "children" | "hidden">

Properties

PropertyTypeDescriptionInherited fromDefined in
anchorRectIAbsolutePositionthe anchor element bounding rectOmit.anchorRectpackages/design/src/components/popup/RectPopup.tsx:36 (opens in a new tab)
anchorRect$Observable<IBoundRectNoAngle>--packages/ui/src/services/popup/canvas-popup.service.ts:25 (opens in a new tab)
canvasElementHTMLCanvasElement--packages/ui/src/services/popup/canvas-popup.service.ts:33 (opens in a new tab)
componentKeystring--packages/ui/src/services/popup/canvas-popup.service.ts:27 (opens in a new tab)
direction?| "right" | "bottom" | "left" | "top" | "horizontal" | "vertical" | "bottom-center" | "top-center"-Omit.directionpackages/design/src/components/popup/RectPopup.tsx:38 (opens in a new tab)
excludeOutside?HTMLElement[]-Omit.excludeOutsidepackages/design/src/components/popup/RectPopup.tsx:43 (opens in a new tab)
excludeRects?IAbsolutePosition[]-Omit.excludeRectspackages/design/src/components/popup/RectPopup.tsx:37 (opens in a new tab)
excludeRects$?Observable<IBoundRectNoAngle[]>--packages/ui/src/services/popup/canvas-popup.service.ts:26 (opens in a new tab)
hiddenType?"hide" | "destroy"--packages/ui/src/services/popup/canvas-popup.service.ts:35 (opens in a new tab)
hideOnInvisible?boolean--packages/ui/src/services/popup/canvas-popup.service.ts:34 (opens in a new tab)
offset?[number, number]--packages/ui/src/services/popup/canvas-popup.service.ts:32 (opens in a new tab)
onClick?(e: MouseEvent<HTMLElement, MouseEvent>) => void-Omit.onClickpackages/design/src/components/popup/RectPopup.tsx:48 (opens in a new tab)
onClickOutside?(e: MouseEvent) => void-Omit.onClickOutsidepackages/design/src/components/popup/RectPopup.tsx:42 (opens in a new tab)
onContextMenu?() => void-Omit.onContextMenupackages/design/src/components/popup/RectPopup.tsx:44 (opens in a new tab)
onPointerEnter?(e: PointerEvent<HTMLElement>) => void-Omit.onPointerEnterpackages/design/src/components/popup/RectPopup.tsx:46 (opens in a new tab)
onPointerLeave?(e: PointerEvent<HTMLElement>) => void-Omit.onPointerLeavepackages/design/src/components/popup/RectPopup.tsx:47 (opens in a new tab)
subUnitIdstring--packages/ui/src/services/popup/canvas-popup.service.ts:30 (opens in a new tab)
unitIdstring--packages/ui/src/services/popup/canvas-popup.service.ts:29 (opens in a new tab)

Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.