FocusEvent
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
构造器
FocusEvent()
-
使用给定的参数创建
FocusEvent
事件。
属性
此接口从它的父级继承了属性 UIEvent
, 间接来自于 Event
.
-
EventTarget
这个代表此次事件的次要目标。在一些案例中,例如切换浏览器 tab 标签时,为了安全的原因,这个属性可能会被设置为null
。
方法
规范
Specification |
---|
UI Events # interface-focusevent |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
FocusEvent | ||||||||||||
FocusEvent() constructor | ||||||||||||
relatedTarget |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
参见
Event
基接口