widget_to_html_string#

widget_to_html_string(widget: Widget, title: Optional[str] = None, requirejs: bool = True) str[source]#

Transform widget into html string.

Parameters
widget: Widget

The widget to save as html.

title: str , default: None

The title of the html file.

requirejs: bool , default: True

If to save with all javascript dependencies

Returns
str