They were just starting to become mainstream (though still outnumbered by gas) at the time. The first electric stoves date to the 1880s, and hotplate burners (about the simplest electrical device you can imagine) were likely more common from early days.