Hi everyone!
I just wanted to call attention to some of the smaller updates we made to Anvil in the past few weeks, in case you missed them:
-
The
dom_nodes
API makes it easier than ever to build components and forms from HTML. If you create an element in HTML, just give it ananvil-name
to easily access it from Python.
<!--In HTML form-->
<p anvil-name="my-paragraph"></p>
#In Python code
self.dom_nodes["my-paragraph"].innerText = "I'm writing HTML from Python!"
-
We’ve also added a Minimap in Code View so you can see all of the code in a file at a glance.
-
The in-editor Help Tab now has a search bar, so you can search our knowledge base without leaving your app.
You can find more updates in our newsletter and on our Changelog!
As always, thanks to everyone for posting and liking feature requests and for reporting bugs!
Happy coding,
Brooke