mirror of
https://github.com/pyscript/pyscript.git
synced 2026-03-12 07:01:10 -04:00
[next] Include most basic error plugin (#1677)
This commit is contained in:
committed by
GitHub
parent
264675d0c3
commit
1d015c7534
@@ -4,8 +4,8 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>@pyscript/core</title>
|
||||
<link rel="stylesheet" href="../core.css" />
|
||||
<script type="module" src="../core.js"></script>
|
||||
<link rel="stylesheet" href="../dist/core.css">
|
||||
<script type="module" src="../dist/core.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<py-script id="first">
|
||||
@@ -28,7 +28,7 @@
|
||||
# Use the 'target' element to specify the ID of an element in the DOM to write the content to
|
||||
display("!", target="first", append=True)
|
||||
</py-script>
|
||||
<py-script worker>\
|
||||
<py-script worker>
|
||||
# Appears in a DIV that is a child of this py-script tag, even with the code running in a worker
|
||||
from pyscript import display
|
||||
display("worker", append=True)
|
||||
|
||||
Reference in New Issue
Block a user