Movatterモバイル変換


[0]ホーム

URL:


  1. 面向开发者的 Web 技术
  2. Web API
  3. Element
  4. focusout

此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in EnglishAlways switch to English

focusout

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

当元素即将失去焦点时,focusout 事件被触发。focusout 事件和blur 事件之间的主要区别在于后者不会冒泡。

基本信息

Specification

DOM L3

Interface
FocusEvent
Bubbles

Yes

Cancelable

No

Target

Element

Default Action

None.

属性

PropertyTypeDescription
target只读EventTargetEvent target losing focus.
type只读DOMStringThe type of event.
bubbles只读BooleanWhether the event normally bubbles or not.
cancelable只读BooleanWhether the event is cancellable or not.
relatedTarget只读EventTarget (DOM element)Event target receiving focus.

规范

Specification
UI Events
# event-type-focusout

浏览器兼容性

相关事件

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp