2.3.4.6 onbeforedeactivate

onbeforedeactivate of type Function

Occurs immediately before the active element is changed from the current element to another element in the parent document.

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, onbeforeactivate.