@univerjs/ui v0.2.11 • 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/ui/src/services/range-selector/range-selector.service.ts:44 (opens in a new tab) |
selectionChange$ | readonly | Observable <IRangeSelectorRange []> | undefined | - | packages/ui/src/services/range-selector/range-selector.service.ts:41 (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()
protected 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/ui/src/services/range-selector/range-selector.service.ts:50 (opens in a new tab)
openSelector()
openSelector(): void
Returns
void
Implementation of
IRangeSelectorService
.openSelector
Defined in
packages/ui/src/services/range-selector/range-selector.service.ts:61 (opens in a new tab)
selectionChange()
selectionChange(range): void
Parameters
Parameter | Type |
---|---|
range | IRangeSelectorRange [] |
Returns
void
Implementation of
IRangeSelectorService
.selectionChange
Defined in
packages/ui/src/services/range-selector/range-selector.service.ts:54 (opens in a new tab)
setCurrentSelectorId()
setCurrentSelectorId(id): void
Parameters
Parameter | Type |
---|---|
id | Nullable <string > |
Returns
void
Implementation of
IRangeSelectorService
.setCurrentSelectorId
Defined in
packages/ui/src/services/range-selector/range-selector.service.ts:46 (opens in a new tab)