First let me say that I know nothing about inverters. The water heater draws 1450 watts, I doubt your inverter will handle it for long. Or you must have one heck of an inverter and a trailer full of batteries. Just my thoughts.
It will work great on shore power however.
Peace
Dave