| 1 |
/// <reference types="backbone" /> |
| 2 |
import { DOMWidgetView, unpack_models, ViewList, JupyterLuminoPanelWidget, WidgetModel, WidgetView } from '@jupyter-widgets/base'; |
| 3 |
import { CoreDOMWidgetModel } from './widget_core'; |
| 4 |
export declare class BoxModel extends CoreDOMWidgetModel { |
| 5 |
defaults(): Backbone.ObjectHash; |
| 6 |
static serializers: { |
| 7 |
children: { |
| 8 |
deserialize: typeof unpack_models; |
| 9 |
}; |
| 10 |
}; |
| 11 |
} |
| 12 |
export declare class HBoxModel extends BoxModel { |
| 13 |
defaults(): Backbone.ObjectHash; |
| 14 |
} |
| 15 |
export declare class VBoxModel extends BoxModel { |
| 16 |
defaults(): Backbone.ObjectHash; |
| 17 |
} |
| 18 |
export declare class BoxView extends DOMWidgetView { |
| 19 |
_createElement(tagName: string): HTMLElement; |
| 20 |
_setElement(el: HTMLElement): void; |
| 21 |
initialize(parameters: WidgetView.IInitializeParameters): void; |
| 22 |
render(): void; |
| 23 |
update_children(): void; |
| 24 |
update_box_style(): void; |
| 25 |
set_box_style(): void; |
| 26 |
add_child_model(model: WidgetModel): Promise<DOMWidgetView>; |
| 27 |
remove(): void; |
| 28 |
children_views: ViewList<DOMWidgetView> | null; |
| 29 |
luminoWidget: JupyterLuminoPanelWidget; |
| 30 |
static class_map: { |
| 31 |
success: string[]; |
| 32 |
info: string[]; |
| 33 |
warning: string[]; |
| 34 |
danger: string[]; |
| 35 |
}; |
| 36 |
} |
| 37 |
export declare class HBoxView extends BoxView { |
| 38 |
/** |
| 39 |
* Public constructor |
| 40 |
*/ |
| 41 |
initialize(parameters: WidgetView.IInitializeParameters): void; |
| 42 |
} |
| 43 |
export declare class VBoxView extends BoxView { |
| 44 |
/** |
| 45 |
* Public constructor |
| 46 |
*/ |
| 47 |
initialize(parameters: WidgetView.IInitializeParameters): void; |
| 48 |
} |
| 49 |
export declare class GridBoxView extends BoxView { |
| 50 |
/** |
| 51 |
* Public constructor |
| 52 |
*/ |
| 53 |
initialize(parameters: WidgetView.IInitializeParameters): void; |
| 54 |
} |
| 55 |
export declare class GridBoxModel extends BoxModel { |
| 56 |
defaults(): Backbone.ObjectHash; |
| 57 |
} |
| 58 |
//# sourceMappingURL=widget_box.d.ts.map |