File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
dom/src/main/scala/org/scalajs/dom Expand file tree Collapse file tree 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
23802380HTMLAnchorElement[JC] def dataset: js.Dictionary[String]
23812381HTMLAnchorElement[JC] var dir: String
23822382HTMLAnchorElement[JC] def dispatchEvent(evt: Event): Boolean
2383+ HTMLAnchorElement[JC] var download: String
23832384HTMLAnchorElement[JC] var draggable: Boolean
23842385HTMLAnchorElement[JC] var filters: Object
23852386HTMLAnchorElement[JC] def firstChild: Node
Original file line number Diff line number Diff line change @@ -2380,6 +2380,7 @@ HTMLAnchorElement[JC] var contentEditable: String
23802380HTMLAnchorElement[JC] def dataset: js.Dictionary[String]
23812381HTMLAnchorElement[JC] var dir: String
23822382HTMLAnchorElement[JC] def dispatchEvent(evt: Event): Boolean
2383+ HTMLAnchorElement[JC] var download: String
23832384HTMLAnchorElement[JC] var draggable: Boolean
23842385HTMLAnchorElement[JC] var filters: Object
23852386HTMLAnchorElement[JC] def firstChild: Node
Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ import scala.scalajs.js.annotation._
1717@ JSGlobal
1818abstract class HTMLAnchorElement extends HTMLElement {
1919
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+
2026 /** Is a DOMString that reflects the rel HTML attribute, specifying the relationship of the target object to the link
2127 * object.
2228 */
You can’t perform that action at this time.
0 commit comments