iframewidget: Create an iframe widget

Description Usage Arguments Examples

View source: R/iframewidget.R

Description

Take a specified URL and render it in an iframe

Usage

1
iframewidget(src, width = NULL, height = NULL, elementId = NULL)

Arguments

src

URL to render in an iframe

width, height

Must be a valid CSS unit (like '100%', '400px', 'auto') or a number, which will be coerced to a string and have 'px' appended.

elementId

optional ID to be assigned to element enclosing the iframe

Examples

1
iframewidget("http://purdue.edu")

hafen/iframewidget documentation built on May 17, 2019, 1:33 p.m.