New Feature Summary
As Region types can have either (start & end) props or just targets prop, I'd like to provide helper functions to return the anchor points regardless of how those anchor are encoded as annotation properties. Namely, for annotations with start and end, this new methods simply return those. For those with targets`, it should grab the first and last elements from the targets list and return underlying anchor values.
Related
No response
Alternatives
No response
Additional context
No response
New Feature Summary
As
Regiontypes can have either (start&end) props or justtargetsprop, I'd like to provide helper functions to return the anchor points regardless of how those anchor are encoded as annotation properties. Namely, for annotations withstartandend, this new methods simply return those. For those withtargets`, it should grab the first and last elements from the targets list and return underlying anchor values.Related
No response
Alternatives
No response
Additional context
No response