@univerjsdata-validationinterfacesIbasedatavalidationwidget

@univerjs/data-validation v0.5.0-beta.1Docs


Interface: IBaseDataValidationWidget

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

Parameters

ParameterType
infoICellRenderContext

Returns

undefined | number

Defined in

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


calcCellAutoWidth()

calcCellAutoWidth(info): undefined | number

Parameters

ParameterType
infoICellRenderContext

Returns

undefined | number

Defined in

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


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