You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
544 B
18 lines
544 B
var ContainerModel = IPython.WidgetModel.extend({});
|
|
IPython.notebook.widget_manager.register_widget_model('container_widget', ContainerModel);
|
|
|
|
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);
|