Here’s a picture that shows some trolley cars in and around their storage areas. Note that there are some electric trolleys and a horse-drawn trolley! While the electric one is not hooked up, you can see the sort of stick-like thing that sticking up from the roof, and that’s the part that would connect to the overhead electric wires.