Commit e918907a authored by josh's avatar josh
Browse files

viewer

parent aaecd5d5
......@@ -49,6 +49,7 @@ class DBViewer extends HTMLElement {
}
updateImage( newImageUrl ) {
console.log( "update image" );
$("#original-image").attr( "src", newImageUrl );
}
......@@ -79,6 +80,7 @@ class DBListElement extends HTMLElement {
set name( name ) { this._name = name; }
updateViewer() {
console.log( "click" )
var viewer = document.getElementsByTagName( "db-viewer" )[0];
viewer.copyImageToStatic( this._name );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment