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:28
Parameters
sourceUri
string
language
string
annotation
AnnotationUpdate
Returns
object
processingLanguage?
optionalprocessingLanguage:string
selector?
optionalselector:object
selector.end
end:
number
selector.start
start:
number
selector.type
type:
"TextPositionSelector"
source?
optionalsource:string
textDirection?
optionaltextDirection:"ltr"|"rtl"
type
type:
"Text"