How to use Turbo.visit() and target a specific frame?

You can navigate a <turbo-frame> by setting its src attribute. The change would like something like this (if you make your frame a target):

-      Turbo.visit(destination)
+      this.frameTarget.src = destination
1 Like