@univerjs/sheets-ui v0.2.11 • Docs
Interface: ISheetSelectionRenderService
Properties
Accessors
selectionMoving
get selectionMoving(): boolean
Returns
boolean
Defined in
packages/sheets-ui/src/services/selection/base-selection-render.service.ts:56 (opens in a new tab)
Methods
attachPrimaryWithCoord()
attachPrimaryWithCoord(primary): Nullable<ISelectionCellWithMergeInfo>
Parameters
Parameter | Type |
---|---|
primary | Nullable <Partial <ISelectionCell >> |
Returns
Nullable
<ISelectionCellWithMergeInfo
>
Deprecated
Use the function attachPrimaryWithCoord
instead`.
Defined in
packages/sheets-ui/src/services/selection/base-selection-render.service.ts:76 (opens in a new tab)
attachSelectionWithCoord()
attachSelectionWithCoord(selectionWithStyle): ISelectionWithCoordAndStyle
Parameters
Parameter | Type |
---|---|
selectionWithStyle | ISelectionWithStyle |
Returns
Deprecated
Use the function attachSelectionWithCoord
instead.
Defined in
packages/sheets-ui/src/services/selection/base-selection-render.service.ts:74 (opens in a new tab)
getSelectionCellByPosition()
getSelectionCellByPosition(x, y): Nullable<ISelectionCellWithMergeInfo>
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
Nullable
<ISelectionCellWithMergeInfo
>
Defined in
packages/sheets-ui/src/services/selection/base-selection-render.service.ts:78 (opens in a new tab)
getSelectionControls()
getSelectionControls(): SelectionShape[]
Returns
Defined in
packages/sheets-ui/src/services/selection/base-selection-render.service.ts:68 (opens in a new tab)
getSkeleton()
getSkeleton(): SpreadsheetSkeleton
Returns
Defined in
packages/sheets-ui/src/services/selection/base-selection-render.service.ts:66 (opens in a new tab)
getViewPort()
getViewPort(): Viewport
Returns
Deprecated
This should not be provided by the selection render service.
Defined in
packages/sheets-ui/src/services/selection/base-selection-render.service.ts:64 (opens in a new tab)
setSingleSelectionEnabled()
setSingleSelectionEnabled(enabled): void
Parameters
Parameter | Type |
---|---|
enabled | boolean |
Returns
void
Defined in
packages/sheets-ui/src/services/selection/base-selection-render.service.ts:80 (opens in a new tab)