{"json_modified": "2016-03-28T08:25:27.738576", "uuid": "73a58f3f-e7a8-41f3-a7eb-79ae26425634", "title": "Document.caretPositionFromPoint()", "url": "/en-US/docs/Web/API/Document/caretPositionFromPoint", "tags": ["API", "CSSOM View", "Method"], "translations": [{"uuid": "dc977ed5-0df1-4dc6-813c-1ddfa64de3e4", "title": "Document.caretPositionFromPoint()", "url": "/zh-CN/docs/Web/API/Document/caretPostionFromPoint", "tags": [], "summary": "This method is used to retrieve the caret position in a document based on two coordinates. A CaretPosition
is returned, containing the found DOM node and the character offset in that node.", "localization_tags": [], "locale": "zh-CN", "last_edit": "2014-05-09T21:36:05", "review_tags": []}], "modified": "2016-02-14T09:50:09", "label": "Document.caretPositionFromPoint()", "localization_tags": [], "locale": "en-US", "id": 61429, "last_edit": "2016-02-14T09:50:05", "summary": "This method is used to retrieve the caret position in a document based on two coordinates. A CaretPosition
is returned, containing the found DOM node and the character offset in that node.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Example", "title": "Example"}, {"id": "Demo", "title": "Demo"}, {"id": "HTML_Content", "title": "HTML Content"}, {"id": "JavaScript_Content", "title": "JavaScript Content"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/Document/caretPositionFromPoint", "review_tags": []}