API Reference
@univerjs
@univerjs/docs-ui
classes
Rangeselectorservice

@univerjs/docs-ui v0.4.2Docs


Class: RangeSelectorService

Extends

Implements

Constructors

new RangeSelectorService()

new RangeSelectorService(): RangeSelectorService

Returns

RangeSelectorService

Inherited from

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)
openSelector$readonlyObservable<unknown>undefined-packages/docs-ui/src/services/range-selector/range-selector.service.ts:48 (opens in a new tab)
selectionChange$readonlyObservable<IRangeSelectorRange[]>undefined-packages/docs-ui/src/services/range-selector/range-selector.service.ts:45 (opens in a new tab)
selectorModalVisible$readonlyObservable<boolean>undefined-packages/docs-ui/src/services/range-selector/range-selector.service.ts:51 (opens in a new tab)

Accessors

selectorModalVisible

get selectorModalVisible(): boolean

Returns

boolean

Implementation of

IRangeSelectorService.selectorModalVisible

Defined in

packages/docs-ui/src/services/range-selector/range-selector.service.ts:53 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IDisposable.dispose

Inherited from

Disposable.dispose

Defined in

packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)


getCurrentSelectorId()

getCurrentSelectorId(): Nullable<string>

Returns

Nullable<string>

Implementation of

IRangeSelectorService.getCurrentSelectorId

Defined in

packages/docs-ui/src/services/range-selector/range-selector.service.ts:61 (opens in a new tab)


openSelector()

openSelector(): void

Returns

void

Implementation of

IRangeSelectorService.openSelector

Defined in

packages/docs-ui/src/services/range-selector/range-selector.service.ts:72 (opens in a new tab)


selectionChange()

selectionChange(range): void

Parameters

ParameterType
rangeIRangeSelectorRange[]

Returns

void

Implementation of

IRangeSelectorService.selectionChange

Defined in

packages/docs-ui/src/services/range-selector/range-selector.service.ts:65 (opens in a new tab)


setCurrentSelectorId()

setCurrentSelectorId(id): void

Parameters

ParameterType
idNullable<string>

Returns

void

Implementation of

IRangeSelectorService.setCurrentSelectorId

Defined in

packages/docs-ui/src/services/range-selector/range-selector.service.ts:57 (opens in a new tab)


triggerModalVisibleChange()

triggerModalVisibleChange(visible): void

Parameters

ParameterType
visibleboolean

Returns

void

Implementation of

IRangeSelectorService.triggerModalVisibleChange

Defined in

packages/docs-ui/src/services/range-selector/range-selector.service.ts:76 (opens in a new tab)


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