InputEvent: isComposing-Eigenschaft
Baseline
2023
Newly available
Since March 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
Die schreibgeschützte Eigenschaft InputEvent.isComposing gibt einen booleschen Wert zurück, der anzeigt, ob das Ereignis nach compositionstart und vor compositionend ausgelöst wird.
Wert
Ein boolescher Wert.
Beispiele
js
const inputEvent = new InputEvent("syntheticInput", false);
console.log(inputEvent.isComposing); // return false
Spezifikationen
| Specification |
|---|
| UI Events> # dom-inputevent-iscomposing> |
Browser-Kompatibilität
Loading…