ScottWeiner-152
11 hours agoCommunity Member
Passing Objects between JS Triggers
I can't seem to pass an object between triggers in Javascript. In Trigger A, I have a
let myTable;
statement on the first line. Then I'm using Tabulator to create a myTable. In Trigger B, which might run on a button click or at a certain time (say after 10 seconds), I want to reference myTable to turn a row of that table a different color. I've tried async/await, but it doesn't seem to work. Is it possible to update myTable in a separate javascript trigger or is that not possible in SL? I'm pretty new to JS and integrating into Storyline. Any help would be greatly appreciated. Thanks!