@univerjssheetsindexclassesBorderstylemanagerservice

@univerjs/sheets v0.5.0-beta.1Docs


Class: BorderStyleManagerService

This service is for managing settings border style status.

Implements

Constructors

new BorderStyleManagerService()

new BorderStyleManagerService(): BorderStyleManagerService

Returns

BorderStyleManagerService

Properties

PropertyModifierTypeDefined in
borderInfo$readonlyObservable<IBorderInfo>submodules/univer/packages/sheets/src/services/border-style-manager.service.ts:40

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IDisposable.dispose

Defined in

submodules/univer/packages/sheets/src/services/border-style-manager.service.ts:42


getBorderInfo()

getBorderInfo(): Readonly<IBorderInfo>

Returns

Readonly<IBorderInfo>

Defined in

submodules/univer/packages/sheets/src/services/border-style-manager.service.ts:66


setActiveBorderType()

setActiveBorderType(status): void

Parameters

ParameterType
statusboolean

Returns

void

Defined in

submodules/univer/packages/sheets/src/services/border-style-manager.service.ts:62


setColor()

setColor(color): void

Parameters

ParameterType
colorstring

Returns

void

Defined in

submodules/univer/packages/sheets/src/services/border-style-manager.service.ts:52


setStyle()

setStyle(style): void

Parameters

ParameterType
styleBorderStyleTypes

Returns

void

Defined in

submodules/univer/packages/sheets/src/services/border-style-manager.service.ts:57


setType()

setType(type): void

Parameters

ParameterType
typeBorderType

Returns

void

Defined in

submodules/univer/packages/sheets/src/services/border-style-manager.service.ts:46