@univerjs/ui v0.5.0-beta.1Docs


Interface: IPopup

Extends

  • Omit<IRectPopupProps, "children" | "hidden" | "excludeRects" | "anchorRect$">

Properties

PropertyTypeInherited fromDefined in
anchorRect?IBoundRectNoAngle-submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:26
anchorRect$Observable<IBoundRectNoAngle>-submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:25
canvasElementHTMLCanvasElement-submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:35
componentKeystring-submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:29
direction?| "right" | "bottom" | "left" | "top" | "horizontal" | "vertical" | "bottom-center" | "top-center"Omit.directionsubmodules/univer/packages/ui/src/views/components/popup/RectPopup.tsx:41
excludeOutside?HTMLElement[]Omit.excludeOutsidesubmodules/univer/packages/ui/src/views/components/popup/RectPopup.tsx:46
excludeRects?Nullable<IBoundRectNoAngle[]>-submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:28
excludeRects$?Observable<IBoundRectNoAngle[]>-submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:27
hiddenRects$?Observable<IBoundRectNoAngle[]>-submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:38
hiddenType?"hide" | "destroy"-submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:37
hideOnInvisible?boolean-submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:36
offset?[number, number]-submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:34
onClick?(e: MouseEvent<HTMLElement, MouseEvent>) => voidOmit.onClicksubmodules/univer/packages/ui/src/views/components/popup/RectPopup.tsx:51
onClickOutside?(e: MouseEvent) => voidOmit.onClickOutsidesubmodules/univer/packages/ui/src/views/components/popup/RectPopup.tsx:45
onContextMenu?() => voidOmit.onContextMenusubmodules/univer/packages/ui/src/views/components/popup/RectPopup.tsx:47
onPointerEnter?(e: PointerEvent<HTMLElement>) => voidOmit.onPointerEntersubmodules/univer/packages/ui/src/views/components/popup/RectPopup.tsx:49
onPointerLeave?(e: PointerEvent<HTMLElement>) => voidOmit.onPointerLeavesubmodules/univer/packages/ui/src/views/components/popup/RectPopup.tsx:50
subUnitIdstring-submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:32
unitIdstring-submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:31