API Reference
@univerjs
@univerjs/sheets
classes
Borderstylemanagerservice

@univerjs/sheets v0.4.2Docs


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>packages/sheets/src/services/border-style-manager.service.ts:40 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IDisposable.dispose

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

ParameterType
statusboolean

Returns

void

Defined in

packages/sheets/src/services/border-style-manager.service.ts:62 (opens in a new tab)


setColor()

setColor(color): void

Parameters

ParameterType
colorstring

Returns

void

Defined in

packages/sheets/src/services/border-style-manager.service.ts:52 (opens in a new tab)


setStyle()

setStyle(style): void

Parameters

ParameterType
styleBorderStyleTypes

Returns

void

Defined in

packages/sheets/src/services/border-style-manager.service.ts:57 (opens in a new tab)


setType()

setType(type): void

Parameters

ParameterType
typeBorderType

Returns

void

Defined in

packages/sheets/src/services/border-style-manager.service.ts:46 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.