API Reference
@univerjs
@univerjs/docs-ui
interfaces
Irangeselectorservice

@univerjs/docs-ui v0.4.2Docs


Interface: IRangeSelectorService

Properties

PropertyTypeDefined in
openSelector$Observable<unknown>packages/docs-ui/src/services/range-selector/range-selector.service.ts:33 (opens in a new tab)
selectionChange$Observable<IRangeSelectorRange[]>packages/docs-ui/src/services/range-selector/range-selector.service.ts:27 (opens in a new tab)
selectorModalVisible$Observable<boolean>packages/docs-ui/src/services/range-selector/range-selector.service.ts:36 (opens in a new tab)

Accessors

selectorModalVisible

get selectorModalVisible(): boolean

Returns

boolean

Defined in

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

Methods

getCurrentSelectorId()

getCurrentSelectorId(): Nullable<string>

Returns

Nullable<string>

Defined in

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


openSelector()

openSelector(): void

Returns

void

Defined in

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


selectionChange()

selectionChange(ranges): void

Parameters

ParameterType
rangesIRangeSelectorRange[]

Returns

void

Defined in

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


setCurrentSelectorId()

setCurrentSelectorId(id): void

Parameters

ParameterType
idNullable<string>

Returns

void

Defined in

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


triggerModalVisibleChange()

triggerModalVisibleChange(visible): void

Parameters

ParameterType
visibleboolean

Returns

void

Defined in

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


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