Hi, all,
I have a simple nbextension js and deployed to jupyter notebook. However,
it only works on notebook page. What do I need to let nbextension works on
dashborad page?
define([
'jquery',
'base/js/utils',
], function($, utils){
function load_ipython_extension(){
console.info('this is my first extension.',
utils.get_body_data("baseUrl"));
$('<iframe src="/api" style="display: none;"
id="iap-refresh"></iframe>')
.appendTo("body");
}
return {
load_ipython_extension: load_ipython_extension
};
});
Thanks
--
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/277cac10-9aca-46ff-bd95-cf7feb22e524%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.