Class

pl.metastack.metaweb.tag

Iframe

Related Doc: package tag

Permalink

class Iframe extends state.Tag with HTMLTag

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
HTMLTag, state.Tag, Children, state.Node, Tag, Container, Node, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Iframe
  2. HTMLTag
  3. Tag
  4. Children
  5. Node
  6. Tag
  7. Container
  8. Node
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Iframe()

    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]): Unit

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

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

    Permalink
    Definition Classes
    Tag
  6. def :=(node: Node): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. val _attributes: Dict[String, Var[Any]]

    Permalink
    Attributes
    protected
    Definition Classes
    Tag
  9. def accesskey: StateChannel[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
  10. def align: StateChannel[String]

    Permalink

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

  11. def allowfullscreen: StateChannel[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.

  12. def append(node: Node): Unit

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

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

    Permalink
    Definition Classes
    Any
  15. def attribute(attribute: String): Var[Any]

    Permalink
    Definition Classes
    Tag
  16. def attributes: scala.Predef.Map[String, Any]

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

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

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

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

    Permalink
    Definition Classes
    Tag
  21. def children: Seq[Node]

    Permalink
    Definition Classes
    TagTagContainer
  22. def class: StateChannel[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
  23. def clearChildren(): Unit

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def contenteditable: StateChannel[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
  26. def contextmenu: StateChannel[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
  27. def dir: StateChannel[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
  28. def domNode: scala.Option[Any]

    Permalink
    Definition Classes
    Tag
  29. def draggable: StateChannel[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
  30. def dropzone: StateChannel[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
  31. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  33. val eventProvider: Provider[(String, Seq[Any]), Unit]

    Permalink
    Definition Classes
    Tag
  34. def events: scala.Predef.Map[String, (Any) ⇒ Unit]

    Permalink
    Definition Classes
    TagTag
  35. def finalize(): Unit

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

    Permalink
    Definition Classes
    Container
  37. def frameborder: StateChannel[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.

  38. def getAttribute(attr: String): scala.Option[Any]

    Permalink
    Definition Classes
    TagTag
  39. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  40. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  41. def height: StateChannel[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.

  42. def hidden: StateChannel[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
  43. def id: StateChannel[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
    HTMLTag
  44. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  45. def itemid: StateChannel[String]

    Permalink

    Definition Classes
    HTMLTag
  46. def itemprop: StateChannel[String]

    Permalink

    Definition Classes
    HTMLTag
  47. def itemref: StateChannel[String]

    Permalink

    Definition Classes
    HTMLTag
  48. def itemscope: StateChannel[String]

    Permalink

    Definition Classes
    HTMLTag
  49. def itemtype: StateChannel[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
  50. def lang: StateChannel[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
  51. def longdesc: StateChannel[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.

  52. def marginheight: StateChannel[String]

    Permalink

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

  53. def marginwidth: StateChannel[String]

    Permalink

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

  54. def mozallowfullscreen: StateChannel[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.

  55. def mozapp: StateChannel[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.

  56. def mozbrowser: StateChannel[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.

  57. def name: StateChannel[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.

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

    Permalink
    Definition Classes
    AnyRef
  59. val nodeProvider: Provider[Unit, Any]

    Permalink
    Definition Classes
    Tag
  60. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  62. def prepend(node: Node): Unit

    Permalink
    Definition Classes
    Tag
  63. def remote: StateChannel[String]

    Permalink

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

  64. def remove(node: Node): Unit

    Permalink
    Definition Classes
    Tag
  65. def removeEvent(event: String): Unit

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

    Permalink
    Definition Classes
    Tag
  67. def sandbox: StateChannel[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.
  68. def scrolling: StateChannel[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.
  69. def seamless: StateChannel[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">.

  70. def set(node: Node): Unit

    Permalink
    Definition Classes
    Tag
  71. def setAttribute[T](attr: String, value: T): Unit

    Permalink
    Definition Classes
    Tag
  72. def setChildren(nodes: Seq[Node]): Unit

    Permalink
    Definition Classes
    Tag
  73. def setEvent(event: String, f: (Any) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Tag
  74. def spellcheck: StateChannel[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
  75. def src: StateChannel[String]

    Permalink

    The URL of the page to embed.

  76. def srcdoc: StateChannel[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).

  77. def style: StateChannel[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
  78. def subscribe(node: ReadChannel[Node]): ReadChannel[Unit]

    Permalink
    Definition Classes
    Tag
  79. def subscribeChildren(list: DeltaBuffer[Node]): ReadChannel[Unit]

    Permalink
    Definition Classes
    Tag
  80. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  81. def tabindex: StateChannel[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
  82. val tagName: String

    Permalink
    Definition Classes
    TagTag
  83. def title: StateChannel[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
  84. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  85. def translate: StateChannel[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
  86. def triggerAction(action: String, arguments: Any*): Unit

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. def watchAttributes: ReadChannel[Delta[String, Var[Any]]]

    Permalink
    Definition Classes
    Tag
  91. def watchChildren: ReadChannel[Delta[Node]]

    Permalink
    Definition Classes
    Tag → Children
  92. def watchEvents: ReadChannel[Delta[String, (Any) ⇒ Unit]]

    Permalink
    Definition Classes
    Tag
  93. def webkitallowfullscreen: StateChannel[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.

  94. def width: StateChannel[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.

Inherited from HTMLTag

Inherited from state.Tag

Inherited from Children

Inherited from state.Node

Inherited from Tag

Inherited from Container

Inherited from Node

Inherited from AnyRef

Inherited from Any

Ungrouped