Skip to content

Commit 90be416

Browse files
authored
Lib: Add Navigator.{vendor,maxTouchPoints} (#1062)
Signed-off-by: Rudi Grinberg <[email protected]>
1 parent d3c28b2 commit 90be416

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

lib/js_of_ocaml/dom_html.ml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,11 +2147,15 @@ class type navigator =
21472147

21482148
method platform : js_string t readonly_prop
21492149

2150+
method vendor : js_string t readonly_prop
2151+
21502152
method userAgent : js_string t readonly_prop
21512153

21522154
method language : js_string t optdef readonly_prop
21532155

21542156
method userLanguage : js_string t optdef readonly_prop
2157+
2158+
method maxTouchPoints : int t readonly_prop
21552159
end
21562160

21572161
class type screen =

lib/js_of_ocaml/dom_html.mli

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2011,11 +2011,15 @@ class type navigator =
20112011

20122012
method platform : js_string t readonly_prop
20132013

2014+
method vendor : js_string t readonly_prop
2015+
20142016
method userAgent : js_string t readonly_prop
20152017

20162018
method language : js_string t optdef readonly_prop
20172019

20182020
method userLanguage : js_string t optdef readonly_prop
2021+
2022+
method maxTouchPoints : int t readonly_prop
20192023
end
20202024

20212025
class type screen =

0 commit comments

Comments
 (0)