| 1 |
/// <reference types="backbone" /> |
| 2 |
import { WidgetModel, unpack_models } from '@jupyter-widgets/base'; |
| 3 |
import { CoreWidgetModel } from './widget_core'; |
| 4 |
export declare class DirectionalLinkModel extends CoreWidgetModel { |
| 5 |
static serializers: { |
| 6 |
target: { |
| 7 |
deserialize: typeof unpack_models; |
| 8 |
}; |
| 9 |
source: { |
| 10 |
deserialize: typeof unpack_models; |
| 11 |
}; |
| 12 |
}; |
| 13 |
defaults(): Backbone.ObjectHash; |
| 14 |
initialize(attributes: Backbone.ObjectHash, options: { |
| 15 |
model_id: string; |
| 16 |
comm: any; |
| 17 |
widget_manager: any; |
| 18 |
}): void; |
| 19 |
updateValue(sourceModel: WidgetModel, sourceAttr: string, targetModel: WidgetModel, targetAttr: string): void; |
| 20 |
updateBindings(): void; |
| 21 |
cleanup(): void; |
| 22 |
sourceModel: WidgetModel; |
| 23 |
sourceAttr: string; |
| 24 |
targetModel: WidgetModel; |
| 25 |
targetAttr: string; |
| 26 |
private _updating; |
| 27 |
} |
| 28 |
export declare class LinkModel extends DirectionalLinkModel { |
| 29 |
defaults(): Backbone.ObjectHash; |
| 30 |
updateBindings(): void; |
| 31 |
cleanup(): void; |
| 32 |
} |
| 33 |
//# sourceMappingURL=widget_link.d.ts.map |