Commit b63fba7a authored by Eduardo Sanz García's avatar Eduardo Sanz García Committed by Eduardo

Clarify the coordinate system of AnchorPosition

parent 7650093f
......@@ -55,7 +55,9 @@
/**
* Top and bottom positions of the bounding box created by the union of the
* highlight elements associated to an anchor.
* highlight elements associated to an anchor. Top and bottom positions are
* based on the viewport. The value zero corresponds to the top of viewport.
* Hidden elements that are above the viewport have negative values.
*
* @typedef AnchorPosition
* @prop {string} tag - annotation tag
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment