IFrameElement.hx 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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\HTMLIFrameElement.webidl. Do not edit!
  23. package js.html;
  24. /**
  25. The `HTMLIFrameElement` interface provides special properties and methods (beyond those of the `HTMLElement` interface it also has available to it by inheritance) for manipulating the layout and presentation of inline frame elements.
  26. Documentation [HTMLIFrameElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement$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/HTMLIFrameElement>
  28. **/
  29. @:native("HTMLIFrameElement")
  30. extern class IFrameElement extends Element
  31. {
  32. /**
  33. Is a `DOMString` that reflects the `src` HTML attribute, containing the address of the content to be embedded.
  34. **/
  35. var src : String;
  36. /**
  37. Is a `DOMString` that represents the content to display in the frame.
  38. **/
  39. var srcdoc : String;
  40. /**
  41. Is a `DOMString` that reflects the `name` HTML attribute, containing a name by which to refer to the frame.
  42. **/
  43. var name : String;
  44. /**
  45. Is a `DOMSettableTokenList` that reflects the `sandbox` HTML attribute, indicating extra restrictions on the behavior of the nested content.
  46. **/
  47. var sandbox(default,null) : DOMTokenList;
  48. var allowFullscreen : Bool;
  49. /**
  50. Is a `DOMString` that reflects the `width` HTML attribute, indicating the width of the frame.
  51. **/
  52. var width : String;
  53. /**
  54. Is a `DOMString` that reflects the `height` HTML attribute, indicating the height of the frame.
  55. **/
  56. var height : String;
  57. /**
  58. Returns a `Document`, the active document in the inline frame's nested browsing context.
  59. **/
  60. var contentDocument(default,null) : HTMLDocument;
  61. /**
  62. Returns a `WindowProxy`, the window proxy for the nested browsing context.
  63. **/
  64. var contentWindow(default,null) : Window;
  65. /**
  66. Is a `DOMString` that specifies the alignment of the frame with respect to the surrounding context.
  67. **/
  68. var align : String;
  69. /**
  70. Is a `DOMString` that indicates whether the browser should provide scrollbars for the frame.
  71. **/
  72. var scrolling : String;
  73. /**
  74. Is a `DOMString` that indicates whether to create borders between frames.
  75. **/
  76. var frameBorder : String;
  77. /**
  78. Is a `DOMString` that contains the URI of a long description of the frame.
  79. **/
  80. var longDesc : String;
  81. /**
  82. Is a `DOMString` being the height of the frame margin.
  83. **/
  84. var marginHeight : String;
  85. /**
  86. Is a `DOMString` being the width of the frame margin.
  87. **/
  88. var marginWidth : String;
  89. function getSVGDocument() : HTMLDocument;
  90. }