What I’m trying to do:
To make my website
What I’ve tried and what’s not working:
I don’t know why but whenever the website launches the redirect_mail
function is called without clicking the button
Code Sample:
def redirect_mail(self, x, y, button, **event_args):
"""This method is called when a mouse button is pressed on this component"""
window.open("mailto:dot@dotcodes.dev")
Clone link:
https://anvil.works/build#clone:A5RJGGGQII6VGDP5=JKJI52C5PWWTZWBTJG6II4CU
Live Link: