@univerjs/sheets v0.4.2 • Docs
Class: BorderStyleManagerService
This service is for managing settings border style status.
Implements
Constructors
new BorderStyleManagerService()
new BorderStyleManagerService(): BorderStyleManagerService
Returns
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
borderInfo$ | readonly | Observable <IBorderInfo > | packages/sheets/src/services/border-style-manager.service.ts:40 (opens in a new tab) |
Methods
dispose()
dispose(): void
Returns
void
Implementation of
Defined in
packages/sheets/src/services/border-style-manager.service.ts:42 (opens in a new tab)
getBorderInfo()
getBorderInfo(): Readonly<IBorderInfo>
Returns
Readonly
<IBorderInfo
>
Defined in
packages/sheets/src/services/border-style-manager.service.ts:66 (opens in a new tab)
setActiveBorderType()
setActiveBorderType(status): void
Parameters
Parameter | Type |
---|---|
status | boolean |
Returns
void
Defined in
packages/sheets/src/services/border-style-manager.service.ts:62 (opens in a new tab)
setColor()
setColor(color): void
Parameters
Parameter | Type |
---|---|
color | string |
Returns
void
Defined in
packages/sheets/src/services/border-style-manager.service.ts:52 (opens in a new tab)
setStyle()
setStyle(style): void
Parameters
Parameter | Type |
---|---|
style | BorderStyleTypes |
Returns
void
Defined in
packages/sheets/src/services/border-style-manager.service.ts:57 (opens in a new tab)
setType()
setType(type): void
Parameters
Parameter | Type |
---|---|
type | BorderType |
Returns
void
Defined in
packages/sheets/src/services/border-style-manager.service.ts:46 (opens in a new tab)