Events and event types
MapboxAddressAutofill, MapboxSearchBox, and other Search JS Web classes emit events in response to changes in state. These all implement the browser EventTarget interface, commonly known for addEventListener.
You can learn more about the originating events here:
Was this page helpful?