The detail property of a state-change custom event.
detail
state-change
Name of the variable that has changed.
Optional
Previous value of the variable, if any exists.
Current value of the variable.
Generated using TypeDoc
The
detail
property of astate-change
custom event.