Skip to content

Commit de31b5a

Browse files
slegrand45OlivierNicole
authored andcommitted
Add download attribute to anchor element
1 parent e3f7aa1 commit de31b5a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/js_of_ocaml/dom_html.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,6 +1351,8 @@ class type anchorElement = object
13511351

13521352
method coords : js_string t prop
13531353

1354+
method download : js_string t prop
1355+
13541356
method href : js_string t prop
13551357

13561358
method hreflang : js_string t prop

lib/js_of_ocaml/dom_html.mli

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,6 +1169,8 @@ class type anchorElement = object
11691169

11701170
method coords : js_string t prop
11711171

1172+
method download : js_string t prop
1173+
11721174
method href : js_string t prop
11731175

11741176
method hreflang : js_string t prop

0 commit comments

Comments
 (0)