CompositionEvent
        
        
          
                Baseline
                
                  Widely available
                
                
              
        
        
        
          
                
              
                
              
                
              
        
        
      
      This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
DOM の CompositionEvent は、ユーザーの間接的なテキストの入力(訳注: かな漢字変換の入力など)によって発生するイベントを表します。
コンストラクター
CompositionEvent()- 
新しい
CompositionEventオブジェクトのインスタンスを作成します。 
プロパティ
このインターフェイスは、親である UIEvent および祖先である Event から継承したプロパティもあります。
CompositionEvent.data読取専用- 
イベントを発生させた入力システムによって生成された文字を返します。これは、
CompositionEventオブジェクトを生成したイベントの型に応じて変わります。 CompositionEvent.locale読取専用 非推奨; 非標準- 
現在の入力システムのロケールです (例えば、入力システムが IME であればそれに関連したキーボードレイアウトのロケールになります)。
 
メソッド
このインターフェイスは、親である UIEvent および祖先である Event から継承したメソッドもあります。
CompositionEvent.initCompositionEvent()非推奨;- 
CompositionEventオブジェクトの属性を初期化します。 
仕様書
| Specification | 
|---|
| UI Events> # interface-compositionevent>  | 
            
ブラウザーの互換性
Loading…