📢 Small Updates

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:

  1. 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 an anvil-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!"
  1. We’ve also added a Minimap in Code View so you can see all of the code in a file at a glance.
    Screenshot 2023-07-06 at 15.34.35

  2. 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

9 Likes