Detach Address Lookup
After instatiation, you can detach Address Lookup with detach
.
const controller = AddressLookup.setup(config);
// Removes Address Lookup from DOM and clears event listeners
controller.view.detach();
The same Address Lookup instances can be reconnected with attach
.
controller.view.detach();
// Restores Address Lookup to the DOM and start event listeners
controller.view.attach();