AreaElement.hx 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*
  2. * Copyright (C)2005-2019 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\HTMLAreaElement.webidl. Do not edit!
  23. package js.html;
  24. /**
  25. The `HTMLAreaElement` interface provides special properties and methods (beyond those of the regular object `HTMLElement` interface it also has available to it by inheritance) for manipulating the layout and presentation of area elements.
  26. Documentation [HTMLAreaElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement$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/HTMLAreaElement>
  28. **/
  29. @:native("HTMLAreaElement")
  30. extern class AreaElement extends Element {
  31. /**
  32. Is a `DOMString` that reflects the `alt` HTML attribute, containing alternative text for the element.
  33. **/
  34. var alt : String;
  35. /**
  36. Is a `DOMString` that reflects the `coords` HTML attribute, containing coordinates to define the hot-spot region.
  37. **/
  38. var coords : String;
  39. /**
  40. Is a `DOMString` that reflects the `shape` HTML attribute, indicating the shape of the hot-spot, limited to known values.
  41. **/
  42. var shape : String;
  43. /**
  44. Is a `DOMString` that reflects the `target` HTML attribute, indicating the browsing context in which to open the linked resource.
  45. **/
  46. var target : String;
  47. /**
  48. Is a `DOMString` indicating that the linked resource is intended to be downloaded rather than displayed in the browser. The value represent the proposed name of the file. If the name is not a valid filename of the underlying OS, browser will adapt it.
  49. **/
  50. var download : String;
  51. var ping : String;
  52. /**
  53. Is a `DOMString` that reflects the `rel` HTML attribute, indicating relationships of the current document to the linked resource.
  54. **/
  55. var rel : String;
  56. /**
  57. Is a `DOMString` that reflects the `referrerpolicy` HTML attribute indicating which referrer to use when fetching the linked resource.
  58. **/
  59. var referrerPolicy : String;
  60. /**
  61. Returns a `DOMTokenList` that reflects the `rel` HTML attribute, indicating relationships of the current document to the linked resource, as a list of tokens.
  62. **/
  63. var relList(default,null) : DOMTokenList;
  64. /**
  65. Is a `Boolean` flag indicating if the area is inactive (`true`) or active (`false`).
  66. **/
  67. var noHref : Bool;
  68. var href : String;
  69. var origin(default,null) : String;
  70. var protocol : String;
  71. var username : String;
  72. var password : String;
  73. var host : String;
  74. var hostname : String;
  75. var port : String;
  76. var pathname : String;
  77. var search : String;
  78. var hash : String;
  79. }