API Reference
@univerjs
@univerjs/sheets-ui
interfaces
Icanvaspopup

@univerjs/sheets-ui v0.4.2Docs


Interface: ICanvasPopup

Extends

  • Omit<IPopup, | "anchorRect" | "anchorRect$" | "unitId" | "subUnitId" | "canvasElement">

Properties

PropertyTypeInherited fromDefined in
componentKeystringOmit.componentKeypackages/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[]>Omit.excludeRects$packages/ui/src/services/popup/canvas-popup.service.ts:26 (opens in a new tab)
extraProps?Record<string, any>-packages/sheets-ui/src/services/canvas-pop-manager.service.ts:34 (opens in a new tab)
hiddenType?"hide" | "destroy"Omit.hiddenTypepackages/ui/src/services/popup/canvas-popup.service.ts:35 (opens in a new tab)
hideOnInvisible?booleanOmit.hideOnInvisiblepackages/ui/src/services/popup/canvas-popup.service.ts:34 (opens in a new tab)
mask?boolean-packages/sheets-ui/src/services/canvas-pop-manager.service.ts:33 (opens in a new tab)
offset?[number, number]Omit.offsetpackages/ui/src/services/popup/canvas-popup.service.ts:32 (opens in a new tab)
onClick?(e: MouseEvent<HTMLElement, MouseEvent>) => voidOmit.onClickpackages/design/src/components/popup/RectPopup.tsx:48 (opens in a new tab)
onClickOutside?(e: MouseEvent) => voidOmit.onClickOutsidepackages/design/src/components/popup/RectPopup.tsx:42 (opens in a new tab)
onContextMenu?() => voidOmit.onContextMenupackages/design/src/components/popup/RectPopup.tsx:44 (opens in a new tab)
onPointerEnter?(e: PointerEvent<HTMLElement>) => voidOmit.onPointerEnterpackages/design/src/components/popup/RectPopup.tsx:46 (opens in a new tab)
onPointerLeave?(e: PointerEvent<HTMLElement>) => voidOmit.onPointerLeavepackages/design/src/components/popup/RectPopup.tsx:47 (opens in a new tab)

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