mirror of
https://github.com/pyscript/pyscript.git
synced 2022-05-01 19:47:48 +03:00
add PyListTemplate and PyItemTemplate so that classes implementing list and list item widgets can subclass from it and hide complexity to users
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
for (let initializer of $postInitializers){
|
||||
initializer();
|
||||
}
|
||||
}, 5000);
|
||||
}, 3000);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -176,13 +176,14 @@ export class BaseEvalElement extends HTMLElement {
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
console.log(this.name, 'connected!!!!')
|
||||
console.log(this.name, 'OOOOOOO connected!!!!')
|
||||
this.eval(this.code).then(() => {
|
||||
this.proxy = this.proxyClass(this);
|
||||
console.log('proxy', this.proxy);
|
||||
this.proxy.connect();
|
||||
this.registerWidget();
|
||||
});
|
||||
console.log(this.name, 'DOOOOONE connected!!!!')
|
||||
}
|
||||
|
||||
async registerWidget(){
|
||||
|
||||
Reference in New Issue
Block a user