Select a class name within Corvid wix

Hello everyone,

I would Like to select a class within Corvid WIX using JS. I don’t succeed. Does someone Know if it’s possible ? Can we only select ID ?

thanks in advance for your help !

You can select by type. For example:
$w(“Button”)
$w(“Image”)
etc…

It’s just a div with className, i can’t select by type.
We just select by type or ID no class? Why?

@gauthier_taton Corvid doesn’t provide a direct access to the html elements.
So you can’t use document.getElementsByClassName() on Corvid.
(If you have a premium account you might be able to do it via using custom element)