PelcroAddressUpdated

Fired when an address is modified

Overview

Fired when an existing address is modified.


Triggered By

MethodDescription
Pelcro.address.update()Updating an address

Event Detail

The event.detail object contains the updated address.


Example

document.addEventListener('PelcroAddressUpdated', (event) => {
  const address = event.detail;

  console.log(`Address updated: ${address.id}`);

  showMessage('Address updated successfully');
});

Related