Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。
TextFormatUpdateEvent インターフェイスは DOM イベントで、EditContext のインスタンスに関連付けられた編集可能な領域内で変換中のテキストにインプットメソッドエディター (IME) ウィンドウが適用したい書式のリストを表します。
このインターフェイスは Event からプロパティを継承しています。
Event TextFormatUpdateEvent新しい TextFormatUpdateEvent オブジェクトを生成します。
IME ウィンドウがテキストに適用したい書式を表す TextFormat オブジェクトの Array を返します。
以下の例では、textformatupdate イベントを用いて編集可能な領域内のテキストの書式を更新しています。
| EditContext API # dom-textformatupdateevent |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2024年11月27日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.