@univerjs/docs-ui v0.4.2 • Docs
Class: RangeSelectorService
Extends
Implements
Constructors
new RangeSelectorService()
new RangeSelectorService(): RangeSelectorService
Returns
Inherited from
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
openSelector$ | readonly | Observable <unknown > | undefined | - | packages/docs-ui/src/services/range-selector/range-selector.service.ts:48 (opens in a new tab) |
selectionChange$ | readonly | Observable <IRangeSelectorRange []> | undefined | - | packages/docs-ui/src/services/range-selector/range-selector.service.ts:45 (opens in a new tab) |
selectorModalVisible$ | readonly | Observable <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
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
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
Parameter | Type |
---|---|
range | IRangeSelectorRange [] |
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
Parameter | Type |
---|---|
id | Nullable <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
Parameter | Type |
---|---|
visible | boolean |
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)