AreaElement.hx 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /*
  2. * Copyright (C)2005-2013 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, do not edit!
  23. package js.html;
  24. /** DOM area objects expose the <a class=" external" title="http://www.w3.org/TR/html5/the-map-element.html#htmlareaelement" rel="external" href="http://www.w3.org/TR/html5/the-map-element.html#htmlareaelement" target="_blank">HTMLAreaElement</a> (or
  25. <span><a rel="custom" href="https://developer.mozilla.org/en/HTML">HTML 4</a></span> <a class=" external" title="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-26019118" rel="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-26019118" target="_blank"><code>HTMLAreaElement</code></a>) interface, which provides special properties and methods (beyond the regular <a href="/api/js/html/Element" rel="internal">element</a> object interface they also have available to them by inheritance) for manipulating the layout and presentation of area elements.<br><br>
  26. Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/HTMLAreaElement">MDN</a>. */
  27. @:native("HTMLAreaElement")
  28. extern class AreaElement extends Element
  29. {
  30. /** Reflects the
  31. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/area#attr-alt">alt</a></code>
  32. HTML attribute, containing alternative text for the element. */
  33. var alt : String;
  34. /** Reflects the
  35. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/area#attr-coords">coords</a></code>
  36. HTML attribute, containing coordinates to define the hot-spot region. */
  37. var coords : String;
  38. /** The fragment identifier (including the leading hash mark (#)), if any, in the referenced URL. */
  39. var hash(default,null) : String;
  40. /** The hostname and port (if it's not the default port) in the referenced URL. */
  41. var host(default,null) : String;
  42. /** The hostname in the referenced URL. */
  43. var hostname(default,null) : String;
  44. /** Reflects the
  45. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/area#attr-href">href</a></code>
  46. HTML attribute, containing a valid URL&nbsp;of a linked resource. */
  47. var href : String;
  48. /** Indicates that this area is inactive.
  49. <span title="">Obsolete</span> in
  50. <span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span> */
  51. var noHref : Bool;
  52. /** The path name component, if any, of the referenced URL. */
  53. var pathname(default,null) : String;
  54. var ping : String;
  55. /** The port component, if any, of the referenced URL. */
  56. var port(default,null) : String;
  57. /** The protocol component (including trailing colon (:)), of the referenced URL. */
  58. var protocol(default,null) : String;
  59. /** The search element (including leading question mark (?)), if any, of the referenced URL */
  60. var search(default,null) : String;
  61. /** Reflects the
  62. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/area#attr-shape">shape</a></code>
  63. HTML&nbsp;attribute, indicating the shape of the hot-spot, limited to known values. */
  64. var shape : String;
  65. /** Reflects the
  66. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/area#attr-target">target</a></code>
  67. HTML&nbsp;attribute, indicating the browsing context in which to open the linked resource. */
  68. var target : String;
  69. }