MDN self-hosted library · e01.org

MathMLElement: autofocus property

MathML

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

MathML

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

Value

A boolean value.

Specifications

Browser compatibility

See also

  • MathMLElement.focus()
  • HTMLElement.autofocus
  • Popover API