Back to Content

SVGAElement: ping property

files/en-us/web/api/svgaelement/ping/index.md

latest693 B
Original Source

{{APIRef("SVG")}}

The ping property of the {{domxref("SVGAElement")}} interface returns a string that reflects the ping attribute, containing a space-separated list of URLs to which, when the hyperlink is followed, {{HTTPMethod("POST")}} requests with the body PING will be sent by the browser (in the background). Typically used for tracking.

This property can be set, to change the URL's ping value. It reflects the value of the ping attribute.

Value

A string.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also