@univerjsdata-validationinterfacesIbasedatavalidationwidget

@univerjs/data-validation v0.5.4


Interface: IBaseDataValidationWidget

Defined in: data-validation/src/validators/base-widget.ts:19

Extends

  • ICellCustomRender

Properties

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

Methods

calcCellAutoHeight()

calcCellAutoHeight(info): undefined | number

Defined in: data-validation/src/validators/base-widget.ts:20

Parameters

ParameterType
infoICellRenderContext

Returns

undefined | number


calcCellAutoWidth()

calcCellAutoWidth(info): undefined | number

Defined in: data-validation/src/validators/base-widget.ts:21

Parameters

ParameterType
infoICellRenderContext

Returns

undefined | number


drawWith()

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

Defined in: core/src/types/interfaces/i-cell-custom-render.ts:44

Parameters

ParameterType
ctxCanvasRenderingContext2D
infoICellRenderContext
skeletonany
spreadsheetsany

Returns

void

Inherited from

ICellCustomRender.drawWith