2.3.4.3 onbeforeactivate

onbeforeactivate of type Function

Occurs immediately before the object is set as the active element.

To invoke, click an element (other than the active element), use the keyboard to move focus, or invoke the focus() method.

  • Bubbles: Yes

  • Cancelable: Yes

  • Context Info: fromElement, srcElement

This attribute is an extension to HTMLElement.

See also onactivate, onbeforedeactivate.