HTML
Overview¶
We supply some pre-generated that HTML nodes can be used to help simplify development.
PyScript¶
Primitive HTML tag that is leveraged by reactpy_django.components.pyscript_component
.
This can be used as an alternative to the reactpy.html.script
tag to execute JavaScript and run client-side Python code.
Additionally, this tag functions identically to any other tag contained within reactpy.html
, and can be used in the same way.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
You must call pyscript_setup
in your Django template before using this tag!
This requires using of the {% pyscript_setup %}
template tag to initialize PyScript on the client.
1 2 3 4 5 6 |
|
Last update: June 22, 2024
Authors: