8000 DOCS Update display.md (#1375) · ocdex/pyscript@c05195c · GitHub
[go: up one dir, main page]

Skip to content

Commit c05195c

Browse files
authored
DOCS Update display.md (pyscript#1375)
1 parent af981fc commit c05195c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/reference/API/display.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ To write compliant code, make sure to specify the target using the `target` para
4545
```html
4646
<py-script>
4747
def display_hello():
48-
# this fails because we don't have any implicit target
49-
# from event handlers
48+
# this works because we give an explicit target
5049
display('hello', target="helloDiv")
5150
</py-script>
5251
<div id="helloDiv"></div>

0 commit comments

Comments
 (0)
0