Materials: How to use a Panner with a LinearGradient?

Hello-

So I know how to connect a Panner Node to a Texture Sample to get it to animate horizontally/vertically, but how would I use a Panner to do the same thing to a LinearGradient?

Essentially I want to animate a gradient procedurally, without having to import a texture map of a plain gradient, and I just cant think of what that node network looks like.

Thanks for your time.

This might not be the best way to do it, but I did find A way to do it

Un-answering this question, the method I posted above only works if the gradient you are using is linear, from 0 to 1 with no curves.

Thanks! this works great