a listener to be attached to a individual::TargetedEvent to update state when that event fires.
1 | create_state_update_listener(states, destination)
|
states |
a individual::CategoricalVariable object |
destination |
the destination state |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.