@univerjs/docs-ui v0.5.0-beta.1 • Docs
Interface: IDocRange
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
Returns
boolean
Defined in
submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:34
direction
Get Signature
get direction(): RANGE_DIRECTION
Returns
Defined in
submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:37
endNodePosition
Get Signature
get endNodePosition(): Nullable<INodePosition>
Returns
Defined in
submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:36
endOffset
Get Signature
get endOffset(): Nullable<number>
Returns
Nullable
<number
>
Defined in
submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:32
segmentId
Get Signature
get segmentId(): string
Returns
string
Defined in
submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:39
segmentPage
Get Signature
get segmentPage(): number
Returns
number
Defined in
submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:41
startNodePosition
Get Signature
get startNodePosition(): Nullable<INodePosition>
Returns
Defined in
submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:35
startOffset
Get Signature
get startOffset(): Nullable<number>
Returns
Nullable
<number
>
Defined in
submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:30
Methods
dispose()
dispose(): void
Returns
void
Defined in
submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:45
isActive()
isActive(): boolean
Returns
boolean
Defined in
submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:43
refresh()
refresh(): void
Returns
void
Defined in
submodules/univer/packages/docs-ui/src/services/selection/range-interface.ts:47