| 1 |
import { ManagerBase } from '@jupyter-widgets/base-manager'; |
| 2 |
import { RenderMimeRegistry } from '@jupyterlab/rendermime'; |
| 3 |
import { WidgetModel, WidgetView, DOMWidgetView } from '@jupyter-widgets/base'; |
| 4 |
export declare class HTMLManager extends ManagerBase { |
| 5 |
constructor(options?: { |
| 6 |
loader?: (moduleName: string, moduleVersion: string) => Promise<any>; |
| 7 |
}); |
| 8 |
/** |
| 9 |
* Display the specified view. Element where the view is displayed |
| 10 |
* is specified in the `options.el` argument. |
| 11 |
*/ |
| 12 |
display_view(view: Promise<DOMWidgetView> | DOMWidgetView, el: HTMLElement): Promise<void>; |
| 13 |
/** |
| 14 |
* Placeholder implementation for _get_comm_info. |
| 15 |
*/ |
| 16 |
_get_comm_info(): Promise<{}>; |
| 17 |
/** |
| 18 |
* Placeholder implementation for _create_comm. |
| 19 |
*/ |
| 20 |
_create_comm(comm_target_name: string, model_id: string, data?: any, metadata?: any, buffers?: ArrayBuffer[] | ArrayBufferView[]): Promise<any>; |
| 21 |
/** |
| 22 |
* Load a class and return a promise to the loaded object. |
| 23 |
*/ |
| 24 |
protected loadClass(className: string, moduleName: string, moduleVersion: string): Promise<typeof WidgetModel | typeof WidgetView>; |
| 25 |
/** |
| 26 |
* Renderers for contents of the output widgets |
| 27 |
* |
| 28 |
* Defines how outputs in the output widget should be rendered. |
| 29 |
*/ |
| 30 |
renderMime: RenderMimeRegistry; |
| 31 |
/** |
| 32 |
* A loader for a given module name and module version, and returns a promise to a module |
| 33 |
*/ |
| 34 |
loader: ((moduleName: string, moduleVersion: string) => Promise<any>) | undefined; |
| 35 |
private _viewList; |
| 36 |
} |
| 37 |
//# sourceMappingURL=htmlmanager.d.ts.map |