Outgoing page slides left, incoming slides in from the right.
Declared on this LiveView as:
use LiveAnimate
@transition %{preset: "slide-left", duration: 300, easing: "ease-out"}
apply_to
Now click a panel — same LiveView, a live_patch (no navigation):
Showing panel 1 —
the patch updates instantly
(apply_to: :navigate, the default) —
flip the toggle to see it animate.
Top nav = live_navigate (always transitions). Submenu =
live_patch (transitions only with apply_to: :all).