Interface: IDocRange
Defined in: submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:20
Properties
Property | Type | Defined in |
---|---|---|
anchorNodePosition? | Nullable <INodePosition > | submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:24 |
focusNodePosition? | Nullable <INodePosition > | submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:25 |
rangeType | DOC_RANGE_TYPE | submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:22 |
style | ITextSelectionStyle | submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:27 |
Accessors
collapsed
Get Signature
get collapsed(): boolean
Defined in: submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:34
Returns
boolean
direction
Get Signature
get direction(): RANGE_DIRECTION
Defined in: submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:37
Returns
endNodePosition
Get Signature
get endNodePosition(): Nullable<INodePosition>
Defined in: submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:36
Returns
endOffset
Get Signature
get endOffset(): Nullable<number>
Defined in: submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:32
Returns
Nullable
<number
>
segmentId
Get Signature
get segmentId(): string
Defined in: submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:39
Returns
string
segmentPage
Get Signature
get segmentPage(): number
Defined in: submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:41
Returns
number
startNodePosition
Get Signature
get startNodePosition(): Nullable<INodePosition>
Defined in: submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:35
Returns
startOffset
Get Signature
get startOffset(): Nullable<number>
Defined in: submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:30
Returns
Nullable
<number
>
Methods
dispose()
dispose(): void
Defined in: submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:45
Returns
void
isActive()
isActive(): boolean
Defined in: submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:43
Returns
boolean
refresh()
refresh(): void
Defined in: submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:47
Returns
void