Class

pl.metastack.metaweb.tag

Iframe

Related Doc: package tag

Permalink

case class Iframe(attributes: scala.Predef.Map[String, Any] = Predef.Map.empty, children: Seq[Node] = Seq.empty) extends HTMLTag[Iframe] with Product with Serializable

The HTML Inline Frame Element (<iframe>) represents a nested browsing context, effectively embedding another HTML page into the current page. In HTML 4.01, a document may contain a head and a body or a head and a frame-set, but not both a body and a frame-set. However, an <iframe> can be used within a normal document body. Each browsing context has its own session history and active document. The browsing context that contains the embedded content is called the parent browsing context. The top-level browsing context (which has no parent) is typically the browser window.

Linear Supertypes
Serializable, Serializable, Product, Equals, HTMLTag[Iframe], Tag, Node, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Iframe
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. HTMLTag
  7. Tag
  8. Node
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Iframe(attributes: scala.Predef.Map[String, Any] = Predef.Map.empty, children: Seq[Node] = Seq.empty)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++(nodes: Seq[Node]): Tag

    Permalink
    Definition Classes
    Tag
  4. def +:(node: Node): Tag

    Permalink
    Definition Classes
    Tag
  5. def -(node: Node): Tag

    Permalink
    Definition Classes
    Tag
  6. def --(node: Seq[Node]): Tag

    Permalink
    Definition Classes
    Tag
  7. def :+(node: Node): Tag

    Permalink
    Definition Classes
    Tag
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def accesskey(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  10. def accesskey: scala.Option[String]

    Permalink

    Provides a hint for generating a keyboard shortcut for the current element.

    Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout.

    Definition Classes
    HTMLTag
  11. def align(value: String): Iframe

    Permalink
  12. def align: scala.Option[String]

    Permalink

    The alignment of this element with respect to the surrounding context.

  13. def allowfullscreen(value: String): Iframe

    Permalink
  14. def allowfullscreen: scala.Option[String]

    Permalink

    This attribute can be set to true if the frame is allowed to be placed into full screen mode by calling its element.mozRequestFullScreen() method.

    This attribute can be set to true if the frame is allowed to be placed into full screen mode by calling its element.mozRequestFullScreen() method. If this isn't set, the element can't be placed into full screen mode.

  15. def append(node: Node): Tag

    Permalink
    Definition Classes
    Tag
  16. def appendAll(nodes: Seq[Node]): Tag

    Permalink
    Definition Classes
    Tag
  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. def attr(attribute: String): scala.Option[Any]

    Permalink
    Definition Classes
    Tag
  19. val attributes: scala.Predef.Map[String, Any]

    Permalink
    Definition Classes
    IframeTag
  20. def byClass[T <: Tag](class: String): T

    Permalink
    Definition Classes
    Tag
  21. def byClassOpt[T <: HTMLTag[_]](class: String): scala.Option[T]

    Permalink
    Definition Classes
    Tag
  22. def byId[T <: Tag](id: String): T

    Permalink
    Definition Classes
    Tag
  23. def byIdOpt[T <: Tag](id: String): scala.Option[T]

    Permalink
    Definition Classes
    Tag
  24. def byTag[T <: Tag](tagName: String): T

    Permalink
    Definition Classes
    Tag
  25. def byTagOpt[T <: Tag](tag: String): scala.Option[T]

    Permalink
    Definition Classes
    Tag
  26. val children: Seq[Node]

    Permalink
    Definition Classes
    IframeTag
  27. def class(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  28. def class: scala.Option[String]

    Permalink

    Is a space-separated list of the classes of the element.

    Is a space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the class selectors or functions like the method Document.getElementsByClassName().

    Definition Classes
    HTMLTag
  29. def clearAll: Tag

    Permalink
    Definition Classes
    Tag
  30. def clearAttr: Tag

    Permalink
    Definition Classes
    Tag
  31. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def contenteditable(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  33. def contenteditable: scala.Option[String]

    Permalink

    Is an enumerated attribute indicating if the element should be editable by the user.

    Is an enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:

    • true or the empty string, which indicates that the element must be editable;
    • false, which indicates that the element must not be editable.
    Definition Classes
    HTMLTag
  34. def contextmenu(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  35. def contextmenu: scala.Option[String]

    Permalink

    Is the id of an <menu> to use as the contextual menu for this element.

    Is the id of an <menu> to use as the contextual menu for this element.

    Definition Classes
    HTMLTag
  36. def copy(attributes: scala.Predef.Map[String, Any] = attributes, children: Seq[Node] = children): Iframe

    Permalink
    Definition Classes
    IframeTag
  37. def dir(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  38. def dir: scala.Option[String]

    Permalink

    Is an enumerated attribute indicating the directionality of the element's text.

    Is an enumerated attribute indicating the directionality of the element's text. It can have the following values:

    • ltr, which means left to right and is to be used for languages that are written from the left to the right (like English);
    • rtl, which means right to left and is to be used for languages that are written from the right to the left (like Arabic);
    • auto, which let the user agent decides. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then apply that directionality to the whole element.
    Definition Classes
    HTMLTag
  39. def draggable(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  40. def draggable: scala.Option[String]

    Permalink

    Is an enumerated attribute indicating whether the element can be dragged, using the Drag and Drop API.

    Is an enumerated attribute indicating whether the element can be dragged, using the Drag and Drop API. It can have the following values:

    • true, which indicates that the element may be dragged
    • false, which indicates that the element may not be dragged.
    Definition Classes
    HTMLTag
  41. def dropzone(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  42. def dropzone: scala.Option[String]

    Permalink

    Is an enumerated attribute indicating what types of content can be dropped on an element, using the Drag and Drop API.

    Is an enumerated attribute indicating what types of content can be dropped on an element, using the Drag and Drop API. It can have the following values:

    • copy, which indicates that dropping will create a copy of the element that was dragged
    • move, which indicates that the element that was dragged will be moved to this new location.
    • link, will create a link to the dragged data.
    Definition Classes
    HTMLTag
  43. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  44. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  45. def find(f: (Node) ⇒ Boolean): scala.Option[Node]

    Permalink
    Definition Classes
    Tag
  46. def frameborder(value: String): Iframe

    Permalink
  47. def frameborder: scala.Option[String]

    Permalink

    The value 1 (the default) tells the browser to draw a border between this frame and every other frame.

    The value 1 (the default) tells the browser to draw a border between this frame and every other frame. The value 0 tells the browser not to draw a border between this frame and other frames.

  48. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  49. def height(value: String): Iframe

    Permalink
  50. def height: scala.Option[String]

    Permalink

    Indicates the height of the frame HTML5 in CSS pixels, or HTML 4.01 in pixels or as a percentage.

    Indicates the height of the frame HTML5 in CSS pixels, or HTML 4.01 in pixels or as a percentage.

  51. def hidden(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  52. def hidden: scala.Option[String]

    Permalink

    Is a Boolean attribute indicates that the element is not yet, or is no longer, relevant.

    Is a Boolean attribute indicates that the element is not yet, or is no longer, relevant. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements. This attribute must not be used to hide content that could legitimately be shown.

    Definition Classes
    HTMLTag
  53. def id(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTagTag
  54. def id: scala.Option[String]

    Permalink

    Defines a unique identifier (ID) which must be unique in the whole document.

    Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS).

    Definition Classes
    HTMLTagTag
  55. def instantiate(nodes: (String, Node)*): Tag

    Permalink
    Definition Classes
    Tag
  56. def instantiateMap(nodes: scala.Predef.Map[String, Node]): Tag

    Permalink
    Definition Classes
    Tag
  57. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  58. def itemid(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  59. def itemid: scala.Option[String]

    Permalink

    Definition Classes
    HTMLTag
  60. def itemprop(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  61. def itemprop: scala.Option[String]

    Permalink

    Definition Classes
    HTMLTag
  62. def itemref(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  63. def itemref: scala.Option[String]

    Permalink

    Definition Classes
    HTMLTag
  64. def itemscope(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  65. def itemscope: scala.Option[String]

    Permalink

    Definition Classes
    HTMLTag
  66. def itemtype(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  67. def itemtype: scala.Option[String]

    Permalink

    These attributes are related to the WHATWG HTML Microdata feature.

    These attributes are related to the WHATWG HTML Microdata feature.

    Definition Classes
    HTMLTag
  68. def lang(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  69. def lang: scala.Option[String]

    Permalink

    Participates in defining the language of the element, the language that non-editable elements are written in or the language that editable elements should be written in.

    Participates in defining the language of the element, the language that non-editable elements are written in or the language that editable elements should be written in. The tag contains one single entry value in the format defines in the Tags for Identifying Languages (BCP47) IETF document. xml:lang has priority over it.

    Definition Classes
    HTMLTag
  70. def longdesc(value: String): Iframe

    Permalink
  71. def longdesc: scala.Option[String]

    Permalink

    A URI of a long description of the frame.

    A URI of a long description of the frame. Due to widespread misuse, this is not helpful for non-visual browsers.

  72. def map(f: (Node) ⇒ Node): Node

    Permalink
    Definition Classes
    TagNode
  73. def marginheight(value: String): Iframe

    Permalink
  74. def marginheight: scala.Option[String]

    Permalink

    The amount of space in pixels between the frame's content and its top and bottom margins.

  75. def marginwidth(value: String): Iframe

    Permalink
  76. def marginwidth: scala.Option[String]

    Permalink

    The amount of space in pixels between the frame's content and its left and right margins.

  77. def mozallowfullscreen(value: String): Iframe

    Permalink
  78. def mozallowfullscreen: scala.Option[String]

    Permalink

    Use allowfullscreen instead.

    Use allowfullscreen instead. In Gecko 9.0 or later, this attribute can be set to true if the frame is allowed to be placed into full screen mode by calling its element.mozRequestFullScreen() method. If this isn't set, the element can't be placed into full screen mode.

  79. def mozapp(value: String): Iframe

    Permalink
  80. def mozapp: scala.Option[String]

    Permalink

    For frames hosting an open web app, this specifies the URL of the app manifest.

    For frames hosting an open web app, this specifies the URL of the app manifest. This ensures that the app is loaded with the right permissions. See Using the Browser API for details. Available in Gecko 13.0 and later.

  81. def mozbrowser(value: String): Iframe

    Permalink
  82. def mozbrowser: scala.Option[String]

    Permalink

    Indicates that the frame is to appear like a top-level browser window to the embedded content.

    Indicates that the frame is to appear like a top-level browser window to the embedded content. This means that window.top , window.parent , window.frameElement, etc. will not reflect the frame hierarchy. This allows for a web browser UI to be implemented entirely with web technology, given the right permissions. See Using the Browser API for details. Available in Gecko 13.0 and later.

  83. def name(value: String): Iframe

    Permalink
  84. def name: scala.Option[String]

    Permalink

    A name for the embedded browsing context (or frame).

    A name for the embedded browsing context (or frame). This can be used as the value of the target attribute of an <a> or <form> element, or the formtarget attribute of an <input> or <button> element.

  85. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  86. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  87. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  88. def partialMap(f: PartialFunction[Node, Node]): Node

    Permalink
    Definition Classes
    Tag
  89. def prepend(node: Node): Tag

    Permalink
    Definition Classes
    Tag
  90. def remAttr(attribute: String): Tag

    Permalink
    Definition Classes
    Tag
  91. def remote(value: String): Iframe

    Permalink
  92. def remote: scala.Option[String]

    Permalink

    Load the frame's page in a separate content process.

  93. def remove(node: Node): Tag

    Permalink
    Definition Classes
    Tag
  94. def removeAll(node: Seq[Node]): Tag

    Permalink
    Definition Classes
    Tag
  95. def replace(reference: Node, node: Node): Tag

    Permalink
    Definition Classes
    Tag
  96. def sandbox(value: String): Iframe

    Permalink
  97. def sandbox: scala.Option[String]

    Permalink

    If specified as an empty string, this attribute enables extra restrictions on the content that can appear in the inline frame.

    If specified as an empty string, this attribute enables extra restrictions on the content that can appear in the inline frame. The value of the attribute can either be an empty string (all the restrictions are applied), or a space-separated list of tokens that lift particular restrictions. Valid tokens are:

    • allow-same-origin: Allows the content to be treated as being from its normal origin. If this keyword is not used, the embedded content is treated as being from a unique origin.
    • allow-top-navigation: Allows the embedded browsing context to navigate (load) content to the top-level browsing context. If this keyword is not used, this operation is not allowed.
    • allow-forms: Allows the embedded browsing context to submit forms. If this keyword is not used, this operation is not allowed.
    • allow-popups: Allows popups (like from window.open, target="_blank", showModalDialog). If this keyword is not used, that functionality will silently fail.
    • allow-scripts: Allows the embedded browsing context to run scripts (but not create pop-up windows). If this keyword is not used, this operation is not allowed.
    • allow-pointer-lock: Allows the embedded browsing context to use the Pointer Lock API.
    • allow-unsandboxed-auxiliary: (Chrome only) Allows a sandboxed document to open new windows without forcing the sandboxing flags upon them. This will allow, for example, a third-party advertisement to be safely sandboxed without forcing the same restrictions upon a landing page.

    Note:

    • When the embedded document has the same origin as the main page, it is strongly discouraged to use both allow-scripts and allow-same-origin at the same time, as that allows the embedded document to programmatically remove the sandbox attribute. Although it is accepted, this case is no more secure than not using the sandbox attribute.
    • Sandboxing in general is only of minimal help if the attacker can arrange for the potentially hostile content to be displayed in the user's browser outside a sandboxed iframe. It is recommended that such content should be served from a separate dedicated domain, to limit the potential damage.
    • The sandbox attribute is not supported in Internet Explorer 9 and earlier versions.
  98. def scrolling(value: String): Iframe

    Permalink
  99. def scrolling: scala.Option[String]

    Permalink

    Enumerated attribute indicating when the browser should provide a scroll bar (or other scrolling device) for the frame:

    Enumerated attribute indicating when the browser should provide a scroll bar (or other scrolling device) for the frame:

    • auto: Only when needed.
    • yes: Always provide a scroll bar.
    • no: Never provide a scoll bar.
  100. def seamless(value: String): Iframe

    Permalink
  101. def seamless: scala.Option[String]

    Permalink

    This Boolean attribute indicates that the browser should render the inline frame in a way that makes it appear to be part of the containing document, for example by applying CSS styles that apply to the <iframe> to the contained document before styles specified in that document, and by opening links in the contained documents in the parent browsing context (unless another setting prevents this).

    This Boolean attribute indicates that the browser should render the inline frame in a way that makes it appear to be part of the containing document, for example by applying CSS styles that apply to the <iframe> to the contained document before styles specified in that document, and by opening links in the contained documents in the parent browsing context (unless another setting prevents this). In XHTML, attribute minimization is forbidden, and the seamless attribute must be defined as <iframe seamless="seamless">.

  102. def set(nodes: Seq[Node]): Tag

    Permalink
    Definition Classes
    Tag
  103. def set(node: Node): Tag

    Permalink
    Definition Classes
    Tag
  104. def setAttr(attribute: String, value: Any): Tag

    Permalink
    Definition Classes
    Tag
  105. def spellcheck(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  106. def spellcheck: scala.Option[String]

    Permalink

    Is an enumerated attribute defines whether the element may be checked for spelling errors.

    Is an enumerated attribute defines whether the element may be checked for spelling errors. It may have the following values:

    • true, which indicates that the element should be, if possible, checked for spelling errors;
    • false, which indicates that the element should not be checked for spelling errors.
    Definition Classes
    HTMLTag
  107. def src(value: String): Iframe

    Permalink
  108. def src: scala.Option[String]

    Permalink

    The URL of the page to embed.

  109. def srcdoc(value: String): Iframe

    Permalink
  110. def srcdoc: scala.Option[String]

    Permalink

    The content of the page that the embedded context is to contain.

    The content of the page that the embedded context is to contain. This attribute is expected to be used together with the sandbox and seamless attributes. If a browser supports the srcdoc attribute, it will override the content specified in the src attribute (if present). If a browser does NOT support the srcdoc attribute, it will show the file specified in the src attribute instead (if present).

  111. def style(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  112. def style: scala.Option[String]

    Permalink

    Contains CSS styling declarations to be applied to the element.

    Contains CSS styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the <style> element have mainly the purpose of allowing for quick styling, for example for testing purposes.

    Definition Classes
    HTMLTag
  113. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  114. def tabindex(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  115. def tabindex: scala.Option[String]

    Permalink

    Is an integer attribute indicates if the element can take input focus (is focusable), if it should participate to sequential keyboard navigation, and if so, at what position.

    Is an integer attribute indicates if the element can take input focus (is focusable), if it should participate to sequential keyboard navigation, and if so, at what position. It can takes several values:

    • a negative value means that the element should be focusable, but should not be reachable via sequential keyboard navigation;
    • 0 means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;
    • a positive value which means should be focusable and reachable via sequential keyboard navigation; its relative order is defined by the value of the attribute: the sequential follow the increasing number of the tabindex. If several elements share the same tabindex, their relative order follows their relative position in the document).
    Definition Classes
    HTMLTag
  116. def tagName: String

    Permalink
    Definition Classes
    IframeTag
  117. def title(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  118. def title: scala.Option[String]

    Permalink

    Contains a text representing advisory information related to the element it belongs to.

    Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip.

    Definition Classes
    HTMLTag
  119. def translate(value: String): Iframe

    Permalink
    Definition Classes
    HTMLTag
  120. def translate: scala.Option[String]

    Permalink

    Is an enumerated attribute that is used to specify whether an element's attribute values and the values of it s Text node children are to be translated when the page is localized, or whether to leave them unchanged.

    Is an enumerated attribute that is used to specify whether an element's attribute values and the values of it s Text node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:

    • empty string and "yes", which indicates that the element will be translated.
    • "no", which indicates that the element will not be translated.
    Definition Classes
    HTMLTag
  121. def updateChild[T <: Tag](id: String, f: (T) ⇒ Node): Node

    Permalink
    Definition Classes
    Tag
  122. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  123. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  124. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  125. def webkitallowfullscreen(value: String): Iframe

    Permalink
  126. def webkitallowfullscreen: scala.Option[String]

    Permalink

    Use allowfullscreen instead.

    Use allowfullscreen instead. In Chrome 17 or later (and maybe earlier), this attribute can be set to true if the frame is allowed to be placed into full screen mode by calling its element.webkitRequestFullScreen() method. If this isn't set, the element can't be placed into full screen mode.

  127. def width(value: String): Iframe

    Permalink
  128. def width: scala.Option[String]

    Permalink

    Indicates the width of the frame HTML5 in CSS pixels, or HTML 4.01 in pixels or as a percentage.

    Indicates the width of the frame HTML5 in CSS pixels, or HTML 4.01 in pixels or as a percentage.

  129. def withoutId: Tag

    Permalink
    Definition Classes
    Tag

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HTMLTag[Iframe]

Inherited from Tag

Inherited from Node

Inherited from AnyRef

Inherited from Any

Ungrouped