mirror of
https://github.com/pyscript/pyscript.git
synced 2022-05-01 19:47:48 +03:00
improve some of the demos font and removes repr for when objects are outputted to a div
This commit is contained in:
@@ -35,7 +35,7 @@ class PyScript:
|
||||
console.log(f"DATA/IMAGE: {value}")
|
||||
document.getElementById(element_id).innerHTML = f'<div><img id="plt" src="{value}"/></div>'
|
||||
else:
|
||||
document.getElementById(element_id).innerHTML = repr(value);
|
||||
document.getElementById(element_id).innerHTML = value;
|
||||
console.log(f"ELSE: {append} ==> {element_id} --> {value}")
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user