{"json_modified": "2016-09-19T15:17:08.515747", "uuid": "8d5d4e06-a90c-46b4-8073-1d37769d9a3c", "title": "DocumentOrShadowRoot.caretPositionFromPoint()", "url": "/en-US/docs/Web/API/DocumentOrShadowRoot/caretPositionFromPoint", "tags": ["API", "Reference", "shadow dom", "DocumentOrShadowRoot", "Method", "caretPositionFromPoint()"], "translations": [], "modified": "2016-09-19T15:17:08", "label": "DocumentOrShadowRoot.caretPositionFromPoint()", "localization_tags": [], "locale": "en-US", "id": 195583, "last_edit": "2016-09-19T15:17:03", "summary": "The caretPositionFromPoint()
property of the DocumentOrShadowRoot
interface returns a CaretPosition
object containing the DOM node containing the caret and caret's character offset within that node.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Returns", "title": "Returns"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_Compatibility", "title": "Browser Compatibility"}], "slug": "Web/API/DocumentOrShadowRoot/caretPositionFromPoint", "review_tags": ["technical", "editorial"]}