IFrame

with ui.HSplit():
    ui.IFrame(url='bsdf.io')
    ui.IFrame(url='http://flexx.readthedocs.io')
    # Note: the rtd page does not seem to load on Firefox 57.04
open in new tab


class flexx.ui.IFrame(*init_args, **kwargs)

Inherits from: Widget

An iframe element, i.e. a container to show web-content. Note that some websites do not allow themselves to be rendered in a cross-source iframe.

The node of this widget is a <iframe>.

properties: url

actions: set_url

set_url(*val)

action – Setter for the ‘url’ property.

url

StringProp – The url to show. ‘http://’ is automatically prepended if the url does not have ‘://’ in it.