Function: createTextPositionSelector()
Less than 1 minute
@ghentcdh/annotated-text / createTextPositionSelector
Function: createTextPositionSelector()
createTextPositionSelector(
sourceUri
,language
,annotation
):object
Defined in: libs/core/src/lib/adapter/annotation/w3c/utils/text-selection-annotation.ts:27
Parameters
sourceUri
string
language
string
annotation
AnnotationUpdate
Returns
object
processingLanguage?
optional
processingLanguage:string
selector?
optional
selector:object
selector.end
end:
number
selector.start
start:
number
selector.type
type:
"TextPositionSelector"
source?
optional
source:string
textDirection?
optional
textDirection:"ltr"
|"rtl"
type
type:
"Text"