You’re not receiving notifications from this thread.
Auto-removing notices from a turbo_stream
I am appending a notice partial via turbo_stream on a few actions for a model. I am running into an issue on figuring out the best way to remove these notices after a set period of time.
I have tried wrapping the notice partial with a data-controller to load a stimulus controller, but that doesn't fire when this partial is added.
I also tried listening for turbo events like load, but that isn't triggered either when this partial gets added.
What can I listen to, if anything, to run JS after a turbo_steam even has taken place?