LinkElement.hx 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /*
  2. * Copyright (C)2005-2017 Haxe Foundation
  3. *
  4. * Permission is hereby granted, free of charge, to any person obtaining a
  5. * copy of this software and associated documentation files (the "Software"),
  6. * to deal in the Software without restriction, including without limitation
  7. * the rights to use, copy, modify, merge, publish, distribute, sublicense,
  8. * and/or sell copies of the Software, and to permit persons to whom the
  9. * Software is furnished to do so, subject to the following conditions:
  10. *
  11. * The above copyright notice and this permission notice shall be included in
  12. * all copies or substantial portions of the Software.
  13. *
  14. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  19. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  20. * DEALINGS IN THE SOFTWARE.
  21. */
  22. // This file is generated from mozilla\HTMLLinkElement.webidl. Do not edit!
  23. package js.html;
  24. /**
  25. The `HTMLLinkElement` interface represents reference information for external resources and the relationship of those resources to a document and vice-versa. This object inherits all of the properties and methods of the `HTMLElement` interface.
  26. Documentation [HTMLLinkElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
  27. @see <https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement>
  28. **/
  29. @:native("HTMLLinkElement")
  30. extern class LinkElement extends Element
  31. {
  32. /**
  33. Is a `Boolean` which represents whether the link is disabled; currently only used with style sheet links.
  34. **/
  35. var disabled : Bool;
  36. /**
  37. Is a `DOMString` representing the URI for the target resource.
  38. **/
  39. var href : String;
  40. /**
  41. Is a `DOMString` that corresponds to the CORS setting for this link element. See CORS settings attributes for details.
  42. **/
  43. var crossOrigin : String;
  44. /**
  45. Is a `DOMString` representing the forward relationship of the linked resource from the document to the resource.
  46. **/
  47. var rel : String;
  48. /**
  49. Is a `DOMTokenList` that reflects the `rel` HTML attribute, as a list of tokens.
  50. **/
  51. var relList(default,null) : DOMTokenList;
  52. /**
  53. Is a `DOMString` representing a list of one or more media formats to which the resource applies.
  54. **/
  55. var media : String;
  56. /**
  57. Is a `DOMString` representing the language code for the linked resource.
  58. **/
  59. var hreflang : String;
  60. /**
  61. Is a `DOMString` representing the MIME type of the linked resource.
  62. **/
  63. var type : String;
  64. /**
  65. Is a `DOMSettableTokenList` that reflects the `sizes` HTML attribute, as a list of tokens.
  66. **/
  67. var sizes(default,null) : DOMTokenList;
  68. /**
  69. Is a `DOMString` representing the character encoding for the target resource.
  70. **/
  71. var charset : String;
  72. /**
  73. Is a `DOMString` representing the reverse relationship of the linked resource from the resource to the document.
  74. **/
  75. var rev : String;
  76. /**
  77. Is a `DOMString` representing the name of the target frame to which the resource applies.
  78. **/
  79. var target : String;
  80. @:native("import")
  81. var import_(default,null) : HTMLDocument;
  82. var integrity : String;
  83. var sheet(default,null) : StyleSheet;
  84. }