Events
| Name | Description | Data |
|---|---|---|
payroll-review | Broadcasted when the user reaches the “review” step of the payroll run experience. | { data: { id: string}}, where id corresponds to the ID of the payroll currently being reviewed by the user |
API
To listen and react to events, you need to use theon and off API available on window.nmbr.
The first argument to on/off must be the name of the event you want to listen for, and the second argument must be a function that will execute when the event is broadcasted.

