다음을 통해 공유


DocumentSpan interface

Contiguous region of the concatenated content property, specified as an offset and length.

Properties

length

Number of characters in the content represented by the span.

offset

Zero-based index of the content represented by the span.

Property Details

length

Number of characters in the content represented by the span.

length: number

Property Value

number

offset

Zero-based index of the content represented by the span.

offset: number

Property Value

number