@univerjsdocs-uiindexclassesRangeselectorservice

@univerjs/docs-ui v0.5.4


Class: RangeSelectorService

Defined in: submodules/univer/packages/docs-ui/src/services/range-selector/range-selector.service.ts:41

Extends

Implements

Constructors

new RangeSelectorService()

new RangeSelectorService(): RangeSelectorService

Returns

RangeSelectorService

Inherited from

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96
openSelector$readonlyObservable<unknown>undefined-submodules/univer/packages/docs-ui/src/services/range-selector/range-selector.service.ts:48
selectionChange$readonlyObservable<IRangeSelectorRange[]>undefined-submodules/univer/packages/docs-ui/src/services/range-selector/range-selector.service.ts:45
selectorModalVisible$readonlyObservable<boolean>undefined-submodules/univer/packages/docs-ui/src/services/range-selector/range-selector.service.ts:51

Accessors

selectorModalVisible

Get Signature

get selectorModalVisible(): boolean

Defined in: submodules/univer/packages/docs-ui/src/services/range-selector/range-selector.service.ts:53

Returns

boolean

Implementation of

IRangeSelectorService.selectorModalVisible

Methods

dispose()

dispose(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109

Returns

void

Implementation of

IDisposable.dispose

Inherited from

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


getCurrentSelectorId()

getCurrentSelectorId(): Nullable<string>

Defined in: submodules/univer/packages/docs-ui/src/services/range-selector/range-selector.service.ts:61

Returns

Nullable<string>

Implementation of

IRangeSelectorService.getCurrentSelectorId


openSelector()

openSelector(): void

Defined in: submodules/univer/packages/docs-ui/src/services/range-selector/range-selector.service.ts:72

Returns

void

Implementation of

IRangeSelectorService.openSelector


selectionChange()

selectionChange(range): void

Defined in: submodules/univer/packages/docs-ui/src/services/range-selector/range-selector.service.ts:65

Parameters

ParameterType
rangeIRangeSelectorRange[]

Returns

void

Implementation of

IRangeSelectorService.selectionChange


setCurrentSelectorId()

setCurrentSelectorId(id): void

Defined in: submodules/univer/packages/docs-ui/src/services/range-selector/range-selector.service.ts:57

Parameters

ParameterType
idNullable<string>

Returns

void

Implementation of

IRangeSelectorService.setCurrentSelectorId


triggerModalVisibleChange()

triggerModalVisibleChange(visible): void

Defined in: submodules/univer/packages/docs-ui/src/services/range-selector/range-selector.service.ts:76

Parameters

ParameterType
visibleboolean

Returns

void

Implementation of

IRangeSelectorService.triggerModalVisibleChange