IFrameElement.hx 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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\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. Is a `DOMString` that reflects the `src` HTML attribute, containing the address of the content to be embedded.
  33. **/
  34. var src : String;
  35. /**
  36. Is a `DOMString` that represents the content to display in the frame.
  37. **/
  38. var srcdoc : String;
  39. /**
  40. Is a `DOMString` that reflects the `name` HTML attribute, containing a name by which to refer to the frame.
  41. **/
  42. var name : String;
  43. /**
  44. Is a `DOMSettableTokenList` that reflects the `sandbox` HTML attribute, indicating extra restrictions on the behavior of the nested content.
  45. **/
  46. var sandbox(default,null) : DOMTokenList;
  47. /**
  48. Is a `Boolean` indicating whether the inline frame is willing to be placed into full screen mode. See Using full-screen mode for details.
  49. **/
  50. var allowFullscreen : Bool;
  51. /**
  52. Is a `Boolean` indicating whether the Payment Request API may be invoked inside a cross-origin iframe.
  53. **/
  54. var allowPaymentRequest : Bool;
  55. /**
  56. Is a `DOMString` that reflects the `width` HTML attribute, indicating the width of the frame.
  57. **/
  58. var width : String;
  59. /**
  60. Is a `DOMString` that reflects the `height` HTML attribute, indicating the height of the frame.
  61. **/
  62. var height : String;
  63. /**
  64. Is a `DOMString` that reflects the `referrerPolicy` HTML attribute indicating which referrer to use when fetching the linked resource.
  65. **/
  66. var referrerPolicy : String;
  67. /**
  68. Returns a `Document`, the active document in the inline frame's nested browsing context.
  69. **/
  70. var contentDocument(default,null) : HTMLDocument;
  71. /**
  72. Returns a `WindowProxy`, the window proxy for the nested browsing context.
  73. **/
  74. var contentWindow(default,null) : Window;
  75. /**
  76. Is a `DOMString` that specifies the alignment of the frame with respect to the surrounding context.
  77. **/
  78. var align : String;
  79. /**
  80. Is a `DOMString` that indicates whether the browser should provide scrollbars for the frame.
  81. **/
  82. var scrolling : String;
  83. /**
  84. Is a `DOMString` that indicates whether to create borders between frames.
  85. **/
  86. var frameBorder : String;
  87. /**
  88. Is a `DOMString` that contains the URI of a long description of the frame.
  89. **/
  90. var longDesc : String;
  91. /**
  92. Is a `DOMString` being the height of the frame margin.
  93. **/
  94. var marginHeight : String;
  95. /**
  96. Is a `DOMString` being the width of the frame margin.
  97. **/
  98. var marginWidth : String;
  99. function getSVGDocument() : HTMLDocument;
  100. }