I’ve not analysed that yet, but I assume that gets you close to the element you are searching for, rather than having to put your own markers in the HTML?
absolutely - it’s a skulpt syntax
when you send an anvil component to javascript you get a skulpt object
the path v._anvil.element
is the jquery object associated with that anvil component.
Removes the need for unique identifiers.
I wrote about it here:
And used the same idea for the tabulator and some other addons:
Tabulator Javascript Datagrid Integration - #9 by stucork
Implementing Popovers (floating forms)
AnvilAugment: Hover, Focus, Key Bindings Dependency