mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
Use a recommended method (#363)
This commit is contained in:
@@ -157,7 +157,6 @@ async function createElementsWithEventListeners(pyodide: any, pysAttribute: stri
|
||||
`;
|
||||
await pyodide.runPythonAsync(source);
|
||||
|
||||
|
||||
// TODO: Should we actually map handlers in JS instead of Python?
|
||||
// el.onclick = (evt: any) => {
|
||||
// console.log("click");
|
||||
|
||||
Reference in New Issue
Block a user