File tree 3 files changed +8
-0
lines changed
dom/src/main/scala/org/scalajs/dom
3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -2380,6 +2380,7 @@ HTMLAnchorElement[JC] var contentEditable: String
2380
2380
HTMLAnchorElement[JC] def dataset: js.Dictionary[String]
2381
2381
HTMLAnchorElement[JC] var dir: String
2382
2382
HTMLAnchorElement[JC] def dispatchEvent(evt: Event): Boolean
2383
+ HTMLAnchorElement[JC] var download: String
2383
2384
HTMLAnchorElement[JC] var draggable: Boolean
2384
2385
HTMLAnchorElement[JC] var filters: Object
2385
2386
HTMLAnchorElement[JC] def firstChild: Node
Original file line number Diff line number Diff line change @@ -2380,6 +2380,7 @@ HTMLAnchorElement[JC] var contentEditable: String
2380
2380
HTMLAnchorElement[JC] def dataset: js.Dictionary[String]
2381
2381
HTMLAnchorElement[JC] var dir: String
2382
2382
HTMLAnchorElement[JC] def dispatchEvent(evt: Event): Boolean
2383
+ HTMLAnchorElement[JC] var download: String
2383
2384
HTMLAnchorElement[JC] var draggable: Boolean
2384
2385
HTMLAnchorElement[JC] var filters: Object
2385
2386
HTMLAnchorElement[JC] def firstChild: Node
Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ import scala.scalajs.js.annotation._
17
17
@ JSGlobal
18
18
abstract class HTMLAnchorElement extends HTMLElement {
19
19
20
+ /** A string indicating that the linked resource is intended to be downloaded rather than displayed in the browser.
21
+ * The value represent the proposed name of the file. If the name is not a valid filename of the underlying OS,
22
+ * browser will adapt it.
23
+ */
24
+ var download : String = js.native
25
+
20
26
/** Is a DOMString that reflects the rel HTML attribute, specifying the relationship of the target object to the link
21
27
* object.
22
28
*/
You can’t perform that action at this time.
0 commit comments