MCPcopy Index your code
hub / github.com/bqplot/bqplot / display_view

Method display_view

js/src/test/dummy-manager.ts:65–81  ·  view source on GitHub ↗
(
    msg: services.KernelMessage.IMessage,
    view: Backbone.View<Backbone.Model>,
    options: any
  )

Source from the content-addressed store, hash-verified

63
64 // @ts-ignore
65 async display_view(
66 msg: services.KernelMessage.IMessage,
67 view: Backbone.View<Backbone.Model>,
68 options: any
69 ) {
70 await Promise.resolve(view).then(async (view) => {
71 this.el.appendChild(view.el);
72 view.on('remove', () => console.log('view removed', view));
73 (<any>window).last_view = view;
74 view.trigger('displayed');
75 if (view['renderImpl']) {
76 view['attached'] = true;
77 await view['renderImpl']();
78 }
79 return view.el;
80 });
81 }
82
83 protected loadClass(
84 className: string,

Callers 8

create_widgetFunction · 0.80
create_figure_scatterFunction · 0.80
create_figure_linesFunction · 0.80
create_figure_pieFunction · 0.80
create_figure_barsFunction · 0.80
create_figure_histFunction · 0.80
create_figure_imageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected