5 lines
139 B
Python
5 lines
139 B
Python
def _trigger_for(widget_key, attributes):
|
|
if (attributes or {}).get("type") == "submit":
|
|
return "soumission"
|
|
return "clic"
|