oldState

The oldState read-only property of the ToggleEvent interface is a string representing the state the element is transitioning from.

MDN Reference