IFrameElement.hx 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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 iframe objects expose the <a class="external" href="http://www.w3.org/TR/html5/the-iframe-element.html#htmliframeelement" rel="external nofollow" target="_blank" title="http://www.w3.org/TR/html5/the-iframe-element.html#htmliframeelement">HTMLIFrameElement</a> (or <span><a href="https://developer.mozilla.org/en/HTML" rel="custom nofollow">HTML 4</a></span> <a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-50708718" rel="external nofollow" target="_blank" title="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-50708718"><code>HTMLIFrameElement</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 inline frame elements.<br><br>
  25. Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/HTMLIFrameElement">MDN</a>. */
  26. @:native("HTMLIFrameElement")
  27. extern class IFrameElement extends Element
  28. {
  29. /** Specifies the alignment of the frame with respect to the surrounding context. */
  30. var align : String;
  31. /** The active document in the inline frame's nested browsing context. */
  32. var contentDocument(default,null) : Document;
  33. /** The window proxy for the nested browsing context. */
  34. var contentWindow(default,null) : DOMWindow;
  35. var frameBorder : String;
  36. /** Reflects the
  37. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/iframe#attr-height">height</a></code>
  38. HTML&nbsp;attribute, indicating the height of the frame. */
  39. var height : String;
  40. /** URI of a long description of the frame. */
  41. var longDesc : String;
  42. /** Height of the frame margin. */
  43. var marginHeight : String;
  44. /** Width of the frame margin. */
  45. var marginWidth : String;
  46. /** Reflects the
  47. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/iframe#attr-name">name</a></code>
  48. HTML&nbsp;attribute, containing a name by which to refer to the frame. */
  49. var name : String;
  50. /** Reflects the
  51. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/iframe#attr-sandbox">sandbox</a></code>
  52. HTML&nbsp;attribute, indicating extra restrictions on the behavior of the nested content. */
  53. var sandbox : String;
  54. /** Indicates whether the browser should provide scrollbars for the frame. */
  55. var scrolling : String;
  56. /** Reflects the
  57. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/iframe#attr-src">src</a></code>
  58. HTML&nbsp;attribute, containing the address of the content to be embedded. */
  59. var src : String;
  60. /** The content to display in the frame. */
  61. var srcdoc : String;
  62. /** Reflects the
  63. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/iframe#attr-width">width</a></code>
  64. &nbsp;HTML&nbsp;attribute, indicating the width of the frame. */
  65. var width : String;
  66. function getSVGDocument() : js.html.svg.Document;
  67. }