A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.cdn.mozilla.net/en-US/docs/Web/API/Selection/extend below:

Selection: extend() method - Web APIs

Selection: extend() method

Baseline Widely available

The Selection.extend() method moves the focus of the selection to a specified point. The anchor of the selection does not move. The selection will be from the anchor to the new focus, regardless of direction.

Syntax
extend(node)
extend(node, offset)
Parameters
node

The node within which the focus will be moved.

offset Optional

The offset position within node where the focus will be moved to. If not specified, the default value 0 is used.

Return value

None (undefined).

Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4