FocusEvent() constructor returns a newly created
FocusEvent object with an optional
EventTarget. When the
event has both a source and a destination, the
relatedTarget value must be
set to the other target.
new FocusEvent(type) new FocusEvent(type, options)
A string with the name of the event. It is case-sensitive and browsers set it to
An object that, in addition of the properties defined in
UIEvent(), can have the following properties:
|UI Events |
BCD tables only load in the browser
FocusEventinterface it belongs to.