widget_to_html#
- widget_to_html(widget: Widget, html_out: Union[str, TextIO], title: Optional[str] = None, requirejs: bool = True)[source]#
Save widget as html file.
- Parameters
- widget: Widget
The widget to save as html.
- html_out: filename or file-like object
The file to write the HTML output to.
- title: str , default: None
The title of the html file.
- requirejs: bool , default: True
If to save with all javascript dependencies