@univerjsdocs-uiindexclassesRangeselectorservice

@univerjs/docs-ui v0.5.0-beta.1Docs


Class: RangeSelectorService

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:93
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
Returns

boolean

Implementation of

IRangeSelectorService.selectorModalVisible

Defined in

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

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IDisposable.dispose

Inherited from

Disposable.dispose

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:106


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:100


getCurrentSelectorId()

getCurrentSelectorId(): Nullable<string>

Returns

Nullable<string>

Implementation of

IRangeSelectorService.getCurrentSelectorId

Defined in

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


openSelector()

openSelector(): void

Returns

void

Implementation of

IRangeSelectorService.openSelector

Defined in

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


selectionChange()

selectionChange(range): void

Parameters

ParameterType
rangeIRangeSelectorRange[]

Returns

void

Implementation of

IRangeSelectorService.selectionChange

Defined in

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


setCurrentSelectorId()

setCurrentSelectorId(id): void

Parameters

ParameterType
idNullable<string>

Returns

void

Implementation of

IRangeSelectorService.setCurrentSelectorId

Defined in

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


triggerModalVisibleChange()

triggerModalVisibleChange(visible): void

Parameters

ParameterType
visibleboolean

Returns

void

Implementation of

IRangeSelectorService.triggerModalVisibleChange

Defined in

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