API Reference
@univerjs
@univerjs/data-validation
interfaces
Ibasedatavalidationwidget

@univerjs/data-validation v0.1.17Docs


Interface: IBaseDataValidationWidget

Debt

This shouldn't exist in core package.

Deprecated

This interface is subject to change in the future.

Extends

Properties

PropertyTypeInherited fromDefined in
isHit?(position: { x: number; y: number; }, info: ICellRenderContext) => booleanICellCustomRender.isHitcore/src/types/interfaces/i-cell-custom-render.ts:46 (opens in a new tab)
onPointerDown?(info: ICellRenderContext, evt: any) => voidICellCustomRender.onPointerDowncore/src/types/interfaces/i-cell-custom-render.ts:47 (opens in a new tab)
onPointerEnter?(info: ICellRenderContext, evt: any) => voidICellCustomRender.onPointerEntercore/src/types/interfaces/i-cell-custom-render.ts:48 (opens in a new tab)
onPointerLeave?(info: ICellRenderContext, evt: any) => voidICellCustomRender.onPointerLeavecore/src/types/interfaces/i-cell-custom-render.ts:49 (opens in a new tab)
zIndex?numberICellCustomRender.zIndexcore/src/types/interfaces/i-cell-custom-render.ts:45 (opens in a new tab)

Methods

calcCellAutoHeight()

calcCellAutoHeight(info): undefined | number

Parameters

ParameterType
infoICellRenderContext

Returns

undefined | number

Defined in

data-validation/src/validators/base-widget.ts:20 (opens in a new tab)


drawWith()

drawWith(
   ctx, 
   info, 
   skeleton, 
   spreadsheets): void

Parameters

ParameterType
ctxCanvasRenderingContext2D
infoICellRenderContext
skeletonany
spreadsheetsany

Returns

void

Inherited from

ICellCustomRender.drawWith

Defined in

core/src/types/interfaces/i-cell-custom-render.ts:44 (opens in a new tab)


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