0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

README: hyperlink Range references to MDN docs

This commit is contained in:
Chris Rebert 2015-03-04 18:34:56 -08:00
parent bb0b8a92f3
commit cde65d93a9

View file

@ -142,7 +142,7 @@ Returns the path through the DOM tree from the `<body>` element to the current c
### getSelection
Returns a W3C Range object representing the current selection/cursor position.
Returns a [W3C Range object](https://developer.mozilla.org/en-US/docs/Web/API/Range) representing the current selection/cursor position.
### setSelection
@ -150,7 +150,7 @@ Changes the current selection/cursor position.
The method takes one argument:
* **range**: The W3C Range object representing the desired selection.
* **range**: The [W3C Range object](https://developer.mozilla.org/en-US/docs/Web/API/Range) representing the desired selection.
Returns self (the Squire instance).