docstr: Display an HTML string in an iframe.
  
  Parameters
  ----------
  html : str
      The HTML string to embed in the iframe.
  width : int
      The width of the frame in CSS pixels. Defaults to the app's
      default element width.
  height : int
      The height of the frame in CSS pixels. Defaults to 150.
  scrolling : bool
      If True, show a scrollbar when the content is larger than the iframe.
      Otherwise, do not show a scrollbar. Defaults to False.
docstr_tok: ["Display","an","HTML","string","in","an","iframe",".","Parameters","--","--","--","--","--","html",":","str","The","HTML","string","to","embed","in","the","iframe",".","width",":","int","The","width","of","the","frame","in","CSS","pixels",".","Defaults","to","the","app's","default","element","width",".","height",":","int","The","height","of","the","frame","in","CSS","pixels",".","Defaults","to","150.","scrolling",":","bool","If","True",",","show","a","scrollbar","when","the","content","is","larger","than","the","iframe",".","Otherwise",",","do","not","show","a","scrollbar",".","Defaults","to","False","."]
code: def _html(
      self,
      html: str,
      width: Optional[int] = None,
      height: Optional[int] = None,
      scrolling: bool = False,
  ) -> "DeltaGenerator":
      """Display an HTML string in an iframe.
  
      Parameters
      ----------
      html : str
          The HTML string to embed in the iframe.
      width : int
          The width of the frame in CSS pixels. Defaults to the app's
          default element width.
      height : int
          The height of the frame in CSS pixels. Defaults to 150.
      scrolling : bool
          If True, show a scrollbar when the content is larger than the iframe.
          Otherwise, do not show a scrollbar. Defaults to False.
  
      """
      iframe_proto = IFrameProto()
      marshall(
          iframe_proto,
          srcdoc=html,
          width=width,
          height=height,
          scrolling=scrolling,
      )
      return self.dg._enqueue("iframe", iframe_proto)
  
file_path: streamlit/lib/streamlit/elements/iframe.py
imports: from typing import TYPE_CHECKING, Optional, cast
  from streamlit.proto.IFrame_pb2 import IFrame
  from streamlit.runtime.metrics_util import gather_metrics
label_desc: Use image node_id 2 for calling the IframeMixin obj's underlying member method code with example usage: obj._html(html, width, height, scrolling) and returns: self