@univerjs/sheets v0.5.0-beta.1 • Docs
Interface: ISelectionStyle
Properties
Property | Type | Description | Defined in |
---|---|---|---|
autofillSize? | number | https://support.microsoft.com/en-us/office/copy-a-formula-by-dragging-the-fill-handle-in-excel-for-mac-dd928259-622b-473f-9a33-83aa1a63e218 Whether to show the drop-down fill button at the bottom right corner of the selection. | submodules/univer/packages/sheets/src/basics/selection.ts:109 |
autofillStroke? | string | - | submodules/univer/packages/sheets/src/basics/selection.ts:111 |
autofillStrokeWidth? | number | - | submodules/univer/packages/sheets/src/basics/selection.ts:110 |
columnHeaderFill? | string | - | submodules/univer/packages/sheets/src/basics/selection.ts:127 |
columnHeaderStroke? | string | - | submodules/univer/packages/sheets/src/basics/selection.ts:128 |
columnHeaderStrokeWidth? | number | - | submodules/univer/packages/sheets/src/basics/selection.ts:129 |
expandCornerSize? | number | - | submodules/univer/packages/sheets/src/basics/selection.ts:131 |
fill | string | The fill color inside the selection. It needs to have a level of transparency, otherwise content in the covered area of the selection will be obscured. | submodules/univer/packages/sheets/src/basics/selection.ts:83 |
id? | string | Assign an ID to a selection area. The current scenario is to identify the formula string corresponding to the selection area | submodules/univer/packages/sheets/src/basics/selection.ts:61 |
isAnimationDash? | boolean | Enable ‘marching ants’ animation | submodules/univer/packages/sheets/src/basics/selection.ts:78 |
rowHeaderFill? | string | The color of the row title highlight. A level of transparency should be set to avoid covering the row title content. | submodules/univer/packages/sheets/src/basics/selection.ts:117 |
rowHeaderStroke? | string | The color of the bottom border of the row title. | submodules/univer/packages/sheets/src/basics/selection.ts:121 |
rowHeaderStrokeWidth? | number | The color of the bottom border of the row title. | submodules/univer/packages/sheets/src/basics/selection.ts:125 |
stroke | string | The color of the selection border. | submodules/univer/packages/sheets/src/basics/selection.ts:69 |
strokeDash? | number | The dashed line of the selection border. Here, the dashed line is a numerical value, different from the canvas dashed line setting. It is implemented internally as [0, strokeDash]. Setting it to 8 will look more aesthetically pleasing. | submodules/univer/packages/sheets/src/basics/selection.ts:73 |
strokeWidth | number | The volume of the selection border determines the thickness of the selection border | submodules/univer/packages/sheets/src/basics/selection.ts:65 |
widgets | ISelectionWidgetConfig | The eight touch points of the selection. You can refer to Excel’s formula and chart selections, which allow you to manually adjust the size of the selection. Univer has four more touch points (up, down, left, and right) than Excel. https://support.microsoft.com/en-us/office/select-data-for-a-chart-5fca57b7-8c52-4e09-979a-631085113862 | submodules/univer/packages/sheets/src/basics/selection.ts:90 |
widgetSize | number | The volume of the touch points. | submodules/univer/packages/sheets/src/basics/selection.ts:94 |
widgetStroke? | string | The color of the touch points. | submodules/univer/packages/sheets/src/basics/selection.ts:102 |
widgetStrokeWidth? | number | The thickness of the border of the touch points | submodules/univer/packages/sheets/src/basics/selection.ts:98 |