MDN self-hosted library · e01.org

SVGElement: autofocus property

SVG

no runnable cells web-api-instance-property upstream source

SVG

The autofocus property of the SVGElement interface contains a boolean value reflecting the autofocus HTML global attribute. It indicates whether the SVG element should be focused when the page loads or when the element becomes shown if the SVG element is inside a dialog or a popover.

Value

A boolean value.

Specifications

Browser compatibility

See also