File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed
dom/src/main/scala/org/scalajs/dom Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -301,4 +301,16 @@ abstract class Element extends Node with NodeSelector with ParentNode with NonDo
301301 * specified CSS selector.
302302 */
303303 def closest (selector : String ): Element = js.native
304+
305+ /** Fired when a text composition system such as an input method editor starts a new composition session. */
306+ var oncompositionstart : js.Function1 [CompositionEvent , _] = js.native
307+
308+ /** Fired when a new character is received in the context of a text composition session. */
309+ var oncompositionupdate : js.Function1 [CompositionEvent , _] = js.native
310+
311+ /** Fired when a text composition system such as an input method editor completes or cancels the current composition
312+ * session.
313+ */
314+ var oncompositionend : js.Function1 [CompositionEvent , _] = js.native
315+
304316}
Original file line number Diff line number Diff line change @@ -241,15 +241,4 @@ abstract class HTMLElement extends Element {
241241
242242 /** Fired after pointer capture is released for a pointer. */
243243 var lostpointercapture : js.Function1 [PointerEvent , _] = js.native
244-
245- /** Fired when a text composition system such as an input method editor starts a new composition session. */
246- var oncompositionstart : js.Function1 [CompositionEvent , _] = js.native
247-
248- /** Fired when a new character is received in the context of a text composition session. */
249- var oncompositionupdate : js.Function1 [CompositionEvent , _] = js.native
250-
251- /** Fired when a text composition system such as an input method editor completes or cancels the current composition
252- * session.
253- */
254- var oncompositionend : js.Function1 [CompositionEvent , _] = js.native
255244}
You can’t perform that action at this time.
0 commit comments