newState

external val newState: ToggleState(source)

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

MDN Reference