Skip to content

html.iframe 'src' attribute issue #1100

Closed Answered by Archmonger
M-Asad-Bin-Hameed asked this question in Problem
Discussion options

You must be logged in to vote

The proper way of writing this would be

from reactpy import component, hooks, html, run, hooks

@component
def plotly_chart():
    return html.iframe({"src":"https://plotly.com/~chris/1638"})
run(plotly_chart)

I recommend reading the ReactPy docs to learn more about our Python API.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@M-Asad-Bin-Hameed
Comment options

Answer selected by M-Asad-Bin-Hameed
Comment options

You must be logged in to vote
2 replies
@rmorshea
Comment options

@M-Asad-Bin-Hameed
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants