@univerjs/sheets-ui v0.5.0-beta.1 • Docs
Interface: ISheetSelectionRenderService
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
controlFillConfig$ | readonly | Observable <null | IControlFillConfig > | submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:51 |
interceptor | public | InterceptorManager <{ RANGE_FILL_PERMISSION_CHECK : IInterceptor <boolean , { scene : Scene ; skeleton : SpreadsheetSkeleton ; x : number ; y : number ; }>; RANGE_MOVE_PERMISSION_CHECK : IInterceptor <boolean , null >; }> | submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:57 |
selectionMoveEnd$ | readonly | Observable <ISelectionWithCoord []> | submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:50 |
selectionMoveStart$ | readonly | Observable <ISelectionWithCoord []> | submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:53 |
selectionMoving$ | readonly | Observable <ISelectionWithCoord []> | submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:52 |
Accessors
selectionMoving
Get Signature
get selectionMoving(): boolean
Returns
boolean
Defined in
submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:55
Methods
attachPrimaryWithCoord()
attachPrimaryWithCoord(primary): Nullable<ICellWithCoord>
Parameters
Parameter | Type |
---|---|
primary | Nullable <Partial <ICellInfo >> |
Returns
Deprecated
Use the function attachPrimaryWithCoord
instead`.
Defined in
submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:75
attachSelectionWithCoord()
attachSelectionWithCoord(selectionWithStyle): ISelectionWithCoord
Parameters
Parameter | Type |
---|---|
selectionWithStyle | ISelectionWithStyle |
Returns
Deprecated
Use the function attachSelectionWithCoord
instead.
Defined in
submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:73
getCellWithCoordByOffset()
getCellWithCoordByOffset(x, y): Nullable<ICellWithCoord>
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
Defined in
submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:82
getSelectionCellByPosition()
getSelectionCellByPosition(x, y): ICellWithCoord
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
Deprecated
Please use getCellWithCoordByOffset
instead.
Defined in
submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:80
getSelectionControls()
getSelectionControls(): SelectionShape[]
Returns
Defined in
submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:67
getSkeleton()
getSkeleton(): SpreadsheetSkeleton
Returns
Defined in
submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:65
getViewPort()
getViewPort(): Viewport
Returns
Deprecated
This should not be provided by the selection render service.
Defined in
submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:63
refreshSelectionMoveEnd()
refreshSelectionMoveEnd(): void
Returns
void
Defined in
submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:86
setSingleSelectionEnabled()
setSingleSelectionEnabled(enabled): void
Parameters
Parameter | Type |
---|---|
enabled | boolean |
Returns
void
Defined in
submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:84