InputEvent: isComposing-Eigenschaft
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since März 2023.
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…