Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e8a1cd8

Browse files
authored
Merge pull request #2552 from joaquinelio/patch-4
typo
2 parents 4b10919 + a662e1c commit e8a1cd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎2-ui/99-ui-misc/02-selection-range/article.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ E.g. if the user starts selecting with mouse and goes from "Example" to "italic"
377377

378378
There are events on to keep track of selection:
379379

380-
- `elem.onselectstart` -- when a selection *starts* on speficially elemen `elem` (or inside it). For instance, when the user presses the mouse button on it and starts to move the pointer.
380+
- `elem.onselectstart` -- when a selection *starts* specifically on element `elem` (or inside it). For instance, when the user presses the mouse button on it and starts to move the pointer.
381381
- Preventing the default action cancels the selection start. So starting a selection from this element becomes impossible, but the element is still selectable. The visitor just needs to start the selection from elsewhere.
382382
- `document.onselectionchange` -- whenever a selection changes or starts.
383383
- Please note: this handler can be set only on `document`, it tracks all selections in it.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /