FocusEvent

Module: JavaScript DOM API

#include <FocusEvent.idl>

Inherits from UIEvent, Event

Public Functions

Name
FocusEventFocusEvent(DOMInternedString type, optional FocusEventInit eventInitDict)

Public Attributes

Name
readonly attribute EventTargetrelatedTarget

Additional inherited members

Public Functions inherited from UIEvent

Name
UIEventUIEvent(DOMInternedString type, optional UIEventInit initEvent)
voidinitUIEvent(optional DOMInternedString type, optional boolean canBubble, optional boolean cancelable, optional Window? view, optional long detail)

Public Functions inherited from Event

Name
EventEvent(DOMInternedString type, optional EventInit initEvent)
voidstopPropagation()
voidpreventDefault()
voidinitEvent(optional DOMInternedString eventTypeArg, optional boolean canBubbleArg, optional boolean cancelableArg)
voidstopImmediatePropagation()

Public Attributes inherited from Event

Name
const unsigned shortNONE
const unsigned shortCAPTURING_PHASE
const unsigned shortAT_TARGET
const unsigned shortBUBBLING_PHASE
readonly attribute DOMStringtype
readonly attribute EventTargettarget
readonly attribute EventTargetcurrentTarget
readonly attribute unsigned shorteventPhase
readonly attribute booleanbubbles
readonly attribute booleancancelable
readonly attribute booleandefaultPrevented

Public Functions Documentation

function FocusEvent

FocusEvent FocusEvent(
    DOMInternedString type,
    optional FocusEventInit eventInitDict
)

Public Attributes Documentation

variable relatedTarget

readonly attribute EventTarget relatedTarget;