ES6ExampleView
Extends:
nbextensions/widgets/widgets/js/widget~DOMWidgetView → ES6ExampleView
A widget to test out using ES6 classes with Backbone
Method Summary
Public Methods | ||
public |
|
|
public |
|
|
public |
render() Called when view is rendered, but not yet added to DOM. |
|
public |
|
|
public |
update() Update the contents of this view |
|
public |
update_button_style(previous_trait_value: *) Set the Bootstrap |
Public Methods
public update() source
Update the contents of this view
Called when the model is changed. The model may have been changed by another view or by a state update from the back-end.
public update_button_style(previous_trait_value: *) source
Set the Bootstrap btn-
semantic class.
Params:
Name | Type | Attribute | Description |
previous_trait_value | * |