@univerjs/data-validation v0.5.0-beta.1 • 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 |
onPointerDown? | (info : ICellRenderContext , evt : any ) => void | ICellCustomRender.onPointerDown | core/src/types/interfaces/i-cell-custom-render.ts:47 |
onPointerEnter? | (info : ICellRenderContext , evt : any ) => void | ICellCustomRender.onPointerEnter | core/src/types/interfaces/i-cell-custom-render.ts:48 |
onPointerLeave? | (info : ICellRenderContext , evt : any ) => void | ICellCustomRender.onPointerLeave | core/src/types/interfaces/i-cell-custom-render.ts:49 |
zIndex? | number | ICellCustomRender.zIndex | core/src/types/interfaces/i-cell-custom-render.ts:45 |
Methods
calcCellAutoHeight()
calcCellAutoHeight(info): undefined | number
Parameters
Parameter | Type |
---|---|
info | ICellRenderContext |
Returns
undefined
| number
Defined in
data-validation/src/validators/base-widget.ts:20
calcCellAutoWidth()
calcCellAutoWidth(info): undefined | number
Parameters
Parameter | Type |
---|---|
info | ICellRenderContext |
Returns
undefined
| number
Defined in
data-validation/src/validators/base-widget.ts:21
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