Skip to content

Commit a572f3e

Browse files
committed
Added selectionDirection method to inputElement.
1 parent 28f0269 commit a572f3e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/dom_html.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ class type inputElement = object ('self)
558558
method select : unit meth
559559
method files : File.fileList t optdef readonly_prop
560560
method placeholder : js_string t writeonly_prop
561+
method selectionDirection : js_string t prop
561562
method selectionStart : int prop
562563
method selectionEnd : int prop
563564
method onselect : ('self t, event t) event_listener prop

lib/dom_html.mli

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ class type inputElement = object ('self)
505505
method select : unit meth
506506
method files : File.fileList t optdef readonly_prop
507507
method placeholder : js_string t writeonly_prop (* Not supported by IE 9 *)
508+
method selectionDirection : js_string t prop
508509
method selectionStart : int prop
509510
method selectionEnd : int prop
510511
method onselect : ('self t, event t) event_listener prop

0 commit comments

Comments
 (0)