Skip to content

Commit 779b5a8

Browse files
slegrand45hhugo
authored andcommitted
Add download attribute to anchor element
1 parent 2b429e5 commit 779b5a8

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
@@ -1324,6 +1324,8 @@ class type anchorElement = object
13241324

13251325
method coords : js_string t prop
13261326

1327+
method download : js_string t prop
1328+
13271329
method href : js_string t prop
13281330

13291331
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
@@ -1149,6 +1149,8 @@ class type anchorElement = object
11491149

11501150
method coords : js_string t prop
11511151

1152+
method download : js_string t prop
1153+
11521154
method href : js_string t prop
11531155

11541156
method hreflang : js_string t prop

0 commit comments

Comments
 (0)