From 4486f2d98bff86131bd26f334b38dccb7afdd579 Mon Sep 17 00:00:00 2001 From: Sebastien Jourdain Date: Wed, 5 Apr 2023 12:29:23 -0600 Subject: [PATCH] docs(api): Update python API doc --- setup.cfg | 2 +- trame_iframe/widgets/iframe.py | 68 ++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index dd02a0b..b588bd6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = trame-iframe -version = 1.0.0 +version = 0.0.0 description = Helper for cross-origin communication for trame long_description = file: README.rst long_description_content_type = text/x-rst diff --git a/trame_iframe/widgets/iframe.py b/trame_iframe/widgets/iframe.py index fed9215..2e165ac 100644 --- a/trame_iframe/widgets/iframe.py +++ b/trame_iframe/widgets/iframe.py @@ -13,6 +13,39 @@ class IFrame(HtmlElement): _next_id = 0 def __init__(self, event_names=[], **kwargs): + """ + Create an HTML