Hey,
I like to run a webflow interaction “on key down” of the space bar. Any idea how to address an interacion I’ve made directly in webflow with jQuery?:
Here is my script:
$(function () {
$(document).keyup(function(e) {
if(e.which == 32) {
// Spacebar pressed
// I need the code to address a specific Webflow interaction that runs also on click
}
});
});
Great, I found this page and it works good, but im wondering if it’s possible to address only the name of an action to copy it’s content into a variable. This would be helpful when I change my action in Webflow: it should be changed in my custom trigger, too.