mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 10:47:35 -05:00
clean pylist.py and add a very hacky sync between list items and it's rendered versions
This commit is contained in:
@@ -199,6 +199,10 @@ export class PyRepl extends BaseEvalElement {
|
||||
}
|
||||
|
||||
postEvaluate(): void {
|
||||
|
||||
this.outputElement.hidden = false;
|
||||
this.outputElement.style.display = 'block';
|
||||
|
||||
if (this.hasAttribute('auto-generate')) {
|
||||
let nextExecId = parseInt(this.getAttribute('exec-id')) + 1;
|
||||
const newPyRepl = document.createElement("py-repl");
|
||||
|
||||
Reference in New Issue
Block a user