InputEvent: thuộc tính isComposing
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2023.
Thuộc tính chỉ đọc InputEvent.isComposing trả về một giá trị boolean cho biết sự kiện có được kích hoạt sau compositionstart và trước compositionend hay không.
Giá trị
Một boolean.
Ví dụ
js
const inputEvent = new InputEvent("syntheticInput", false);
console.log(inputEvent.isComposing); // return false
Đặc điểm kỹ thuật
| Specification |
|---|
| UI Events> # dom-inputevent-iscomposing> |