@univerjs/data-validation v0.4.2 • Docs
Interface: IBaseDataValidationWidget
Extends
ICellCustomRender
Properties
Property | Type | Inherited from | Defined in |
---|---|---|---|
isHit? | (position : { x : number ; y : number ; }, info : ICellRenderContext ) => boolean | ICellCustomRender.isHit | core/src/types/interfaces/i-cell-custom-render.ts:46 (opens in a new tab) |
onPointerDown? | (info : ICellRenderContext , evt : any ) => void | ICellCustomRender.onPointerDown | core/src/types/interfaces/i-cell-custom-render.ts:47 (opens in a new tab) |
onPointerEnter? | (info : ICellRenderContext , evt : any ) => void | ICellCustomRender.onPointerEnter | core/src/types/interfaces/i-cell-custom-render.ts:48 (opens in a new tab) |
onPointerLeave? | (info : ICellRenderContext , evt : any ) => void | ICellCustomRender.onPointerLeave | core/src/types/interfaces/i-cell-custom-render.ts:49 (opens in a new tab) |
zIndex? | number | ICellCustomRender.zIndex | core/src/types/interfaces/i-cell-custom-render.ts:45 (opens in a new tab) |
Methods
calcCellAutoHeight()
calcCellAutoHeight(info): undefined | number
Parameters
Parameter | Type |
---|---|
info | ICellRenderContext |
Returns
undefined
| number
Defined in
data-validation/src/validators/base-widget.ts:20 (opens in a new tab)
calcCellAutoWidth()
calcCellAutoWidth(info): undefined | number
Parameters
Parameter | Type |
---|---|
info | ICellRenderContext |
Returns
undefined
| number
Defined in
data-validation/src/validators/base-widget.ts:21 (opens in a new tab)
drawWith()
drawWith(
ctx,
info,
skeleton,
spreadsheets): void
Parameters
Parameter | Type |
---|---|
ctx | CanvasRenderingContext2D |
info | ICellRenderContext |
skeleton | any |
spreadsheets | any |
Returns
void
Inherited from
ICellCustomRender.drawWith
Defined in
core/src/types/interfaces/i-cell-custom-render.ts:44 (opens in a new tab)