| 1 |
/// <reference types="backbone" /> |
| 2 |
import { DOMWidgetModel, DOMWidgetView, StyleModel } from '@jupyter-widgets/base'; |
| 3 |
export declare class DescriptionStyleModel extends StyleModel { |
| 4 |
defaults(): Backbone.ObjectHash; |
| 5 |
static styleProperties: { |
| 6 |
description_width: { |
| 7 |
selector: string; |
| 8 |
attribute: string; |
| 9 |
default: any; |
| 10 |
}; |
| 11 |
}; |
| 12 |
} |
| 13 |
export declare class DescriptionModel extends DOMWidgetModel { |
| 14 |
defaults(): Backbone.ObjectHash; |
| 15 |
} |
| 16 |
export declare class DescriptionView extends DOMWidgetView { |
| 17 |
render(): void; |
| 18 |
typeset(element: HTMLElement, text?: string): void; |
| 19 |
updateDescription(): void; |
| 20 |
updateTooltip(): void; |
| 21 |
label: HTMLLabelElement; |
| 22 |
} |
| 23 |
/** |
| 24 |
* For backwards compatibility with jupyter-js-widgets 2.x. |
| 25 |
* |
| 26 |
* Use DescriptionModel instead. |
| 27 |
*/ |
| 28 |
export declare class LabeledDOMWidgetModel extends DescriptionModel { |
| 29 |
} |
| 30 |
/** |
| 31 |
* For backwards compatibility with jupyter-js-widgets 2.x. |
| 32 |
* |
| 33 |
* Use DescriptionView instead. |
| 34 |
*/ |
| 35 |
export declare class LabeledDOMWidgetView extends DescriptionView { |
| 36 |
} |
| 37 |
//# sourceMappingURL=widget_description.d.ts.map |