HTML
Overview¶
We supply some HTML elements can be used to help simplify development.
PyScript¶
PyScript code block. The text content of this tag are executed within the PyScript interpreter. This can be used as an alternative to the reactpy.html.script
.
This is a primitive HTML tag that is leveraged by reactpy_django.components.pyscript_component
.
The pyscript
tag functions identically to HTML tags contained within reactpy.html
.
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: October 22, 2024
Authors: