Add reusable note to blur, focusout, focusin, focus pages

未關閉
#930 11 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
50/100
Issue 類型
文件
描述清晰度
描述清楚
活躍度
停滯
技術堆疊
jquery
領域
documentation

研究方向

先查看 api.jquery.com 上的 blur、focusout、focusin 和 focus API 頁面,並查閱相關 issue #3123 以了解上下文。將此 issue 中可重複使用的 focus 事件註記新增至相關頁面,然後確認四個頁面中的措辭和位置保持一致。

由索引模型根據 Issue 內容生成。

描述

See https://github.com/jquery/jquery/issues/3123

How about something like this?

Note: Use of focus-related events are complicated by several factors. On Internet Explorer, focus and blur are asynchronous and do not occur at the point where the .focus() method is called in your code. The focusout and focusin events are implemented inconsistently across browsers and not implemented at all on Firefox, although jQuery simulates the event. Code should not depend on the order of focusin and focusout events relative to focus and blur because it varies across browsers. On all platforms, focusout on the previously focused element (if any) will always occur before focusin on the new one, and blur occurs before focus.

主要語言
HTML
星號
324
分支
259
平均合併
1 天 30 分鐘
30 天內合併 PR
1

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

jquery/api.jquery.com 的其他 Issue

查看 jquery/api.jquery.com 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。