How to get an action or event to run when a workshop module loads?

Anyone know any tricks to get an action or event to run when a workshop module loads?

I believe you could potentially iframe a Slate app and trigger an event/action on slate.ready in this Slate app, or have it trigger an event back in Workshop.

The iframed app could just be in a hidden widget of course (although if I remember correctly, one might need to ensure that it has at least a width or height of 1px or it doesn’t load at all).

2 Likes