Paul,

The easiest thing to do is to setup a kernel-less widget manager, import
the widget's class, and reconstruct it using state exported from your
notebook.

There is no one-size fits all solution for widget->html+css_js because some
widgets may choose to not even be represented by any one of those three.

Cheers,
Jon

On Wed, Aug 10, 2016 at 10:21 AM, Jason Grout <[email protected]> wrote:

> (Note that widgetInstance.el may not be a div if the widget has changed
> its default element)
>
> On Wed, Aug 10, 2016 at 1:20 PM Jason Grout <[email protected]> wrote:
>
>> What are you trying to do?  You can get the div via widgetInstance.el.
>> I'm not sure that it makes sense to get the other things, hence the
>> question about what you are trying to do.
>>
>> Thanks,
>>
>> Jason
>>
>>
>> On Wed, Aug 10, 2016 at 11:28 AM Paul A <[email protected]> wrote:
>>
>>> Given an instance of a widget, how difficult is it to obtain its
>>> css/js/divs?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Project Jupyter" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> To view this discussion on the web visit https://groups.google.com/d/
>>> msgid/jupyter/d7e80320-236d-4fff-babd-5d65840c1889%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jupyter/d7e80320-236d-4fff-babd-5d65840c1889%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/CAPDWZHxv1g1PORKeaDae_UDpzLPYG8Nw0A9OFWZQ9L0EO-hDrw%
> 40mail.gmail.com
> <https://groups.google.com/d/msgid/jupyter/CAPDWZHxv1g1PORKeaDae_UDpzLPYG8Nw0A9OFWZQ9L0EO-hDrw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAAoBLw2DzUg3HRvavR1XPEXzgwv%3Dg5W-Y_GWPsqfbcLCOwh2ng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to