@univerjs/sheets v0.5.0-beta.1 • Docs
Class: RangeProtectionRenderModel
Constructors
new RangeProtectionRenderModel()
new RangeProtectionRenderModel(_selectionProtectionRuleModel, _permissionService): RangeProtectionRenderModel
Parameters
Parameter | Type |
---|---|
_selectionProtectionRuleModel | RangeProtectionRuleModel |
_permissionService | IPermissionService |
Returns
Defined in
submodules/univer/packages/sheets/src/model/range-protection-render.model.ts:30
Methods
clear()
clear(): void
Returns
void
Defined in
submodules/univer/packages/sheets/src/model/range-protection-render.model.ts:106
getCellInfo()
getCellInfo(
unitId,
subUnitId,
row,
col): ICellPermission[]
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
row | number |
col | number |
Returns
Defined in
submodules/univer/packages/sheets/src/model/range-protection-render.model.ts:79