##// END OF EJS Templates
Add container widget
Add container widget

File last commit:

r14239:a11ee899
r14239:a11ee899
Show More
view.js
14 lines | 399 B | application/javascript | JavascriptLexer
var ContainerView = IPython.WidgetView.extend({
render : function(){
this.$el.html('');
this.$container = $('<div />')
.addClass('container')
.addClass(this.model.comm.comm_id);
this.$el.append(this.$container);
},
update : function(){},
});
IPython.notebook.widget_manager.register_widget_view('ContainerView', ContainerView);