What event fires when a turbo-frame loads?

Hi! I am trying to trigger some javascript when I load content into a frame. I’m trying to use the events listed in the reference guide, but without much luck. I thought that probably turbo:load would take care of it, but so far it doesn’t seem to.

What I am doing is changing the src of my turbo-frame element, which changes the content as I would expect, but afaict it doesn’t seem to be firing any turbo events.

One suggested way of doing this is to watch for mutations inside of a controller.

As an example, see: Dealing with sorted data in a stream · Issue #109 · hotwired/turbo · GitHub