Back to Content

SVGSVGElement: deselectAll() method

files/en-us/web/api/svgsvgelement/deselectall/index.md

latest350 B
Original Source

{{APIRef("SVG")}}

The deselectAll() method of the {{domxref("SVGSVGElement")}} interface unselects any selected objects, including any selections of text strings and type-in bars.

Syntax

js-nolint
deselectAll()

Parameters

None.

Return value

None.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}