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:
parent
bb0b8a92f3
commit
cde65d93a9
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ Returns the path through the DOM tree from the `<body>` element to the current c
|
||||||
|
|
||||||
### getSelection
|
### 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
|
### setSelection
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@ Changes the current selection/cursor position.
|
||||||
|
|
||||||
The method takes one argument:
|
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).
|
Returns self (the Squire instance).
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue