@univerjs/docs-ui v0.4.2 • Docs
Interface: IDocRange
Properties
Accessors
collapsed
get collapsed(): boolean
Returns
boolean
Defined in
packages/docs-ui/src/services/selection/range-interface.ts:34 (opens in a new tab)
direction
get direction(): RANGE_DIRECTION
Returns
Defined in
packages/docs-ui/src/services/selection/range-interface.ts:37 (opens in a new tab)
endNodePosition
get endNodePosition(): Nullable<INodePosition>
Returns
Defined in
packages/docs-ui/src/services/selection/range-interface.ts:36 (opens in a new tab)
endOffset
get endOffset(): Nullable<number>
Returns
Nullable
<number
>
Defined in
packages/docs-ui/src/services/selection/range-interface.ts:32 (opens in a new tab)
segmentId
get segmentId(): string
Returns
string
Defined in
packages/docs-ui/src/services/selection/range-interface.ts:39 (opens in a new tab)
segmentPage
get segmentPage(): number
Returns
number
Defined in
packages/docs-ui/src/services/selection/range-interface.ts:41 (opens in a new tab)
startNodePosition
get startNodePosition(): Nullable<INodePosition>
Returns
Defined in
packages/docs-ui/src/services/selection/range-interface.ts:35 (opens in a new tab)
startOffset
get startOffset(): Nullable<number>
Returns
Nullable
<number
>
Defined in
packages/docs-ui/src/services/selection/range-interface.ts:30 (opens in a new tab)
Methods
dispose()
dispose(): void
Returns
void
Defined in
packages/docs-ui/src/services/selection/range-interface.ts:45 (opens in a new tab)
isActive()
isActive(): boolean
Returns
boolean
Defined in
packages/docs-ui/src/services/selection/range-interface.ts:43 (opens in a new tab)
refresh()
refresh(): void
Returns
void
Defined in
packages/docs-ui/src/services/selection/range-interface.ts:47 (opens in a new tab)