Web Component: j-iFrameViewer

  • Info
  • HTML
  • JS
  • CSS
  • Meta


This component show a layer (over the content) with a iframe.

  • singleton


  • name {String} a label name to header
  • url {String} URL address for iframe
  • ready {Function(iframe)} optional, onready handler
  • close {Function} optional, onclose handler
  • esc {Boolean} can close the component with pressing of ESC key (defualt: false)
  • width {String} a width of iframe (default: 100%)
  • margin {Number} a vertical (top/bottom) margin (default: 0)