Tony Hirst

Results 404 comments of Tony Hirst

Just as a placeholder, I note that at some point in the past, `sidecar` and `jp_proxy_widget` did play nice for a period and you could display a `jp_proxy_widget` wrapped widget...

Ah, that demo looks like it could be exactly what I need. Will give it a go. Thanks.. PS `..element.dialog()` does the job nicely.... Thanks:-)

Just following on from that, I'm now wondering if there's any easy way to also pull in some of the [`jquery.dialogextend.js`](https://www.jqueryscript.net/other/jQuery-jQuery-UI-Dialog-Enhancement-Plugin-dialogextend.html) features, such as the ability to launch full screen...

@Aaron-Watters that looks like just what I need.... thanks... My current active tinkering is in [this context](https://github.com/innovationOUtside/nbev3devsim)... Will give the extension a go next time I'm back at the computer...

I seem to have the same issue as you that calling from py doesn't seem to work... I also get really erratic behaviour... when I try things in a brand...

Yeah, I reckon that must be it... it's a real faff.... is there a way I could dig deeper into the jp_proxy_widget code hack a requirement that the dialogExtend package...

I started wondering whether there's a route to load an arbitrary required js package in before rendering the widget, but I guess this needs an async load success callback and...

No probs - I'm working across multiple fronts at the moment! So how do you call something after the check is complete (`onsuccess` seems not to mean on the success...

Note to self - to wait for the package to load, is it simply a case of: ``` require( [ 'js/jquery.dialogextend.js' ], function () { show_robosim(); }); ```

An alternative way of rendering a widget ins a separate panel in JupyterLab is to use the [`jupyter-widgets/jupyterlab-sidecar`](https://github.com/jupyter-widgets/jupyterlab-sidecar) extension, which now allows you to display the output of a code...