ms.userAddresses

This widget manages addresses of the logged in user.


Variables

addresses Array containing addresses of the logged in user.

Methods

remove_address(address) Used to delete an address from an array.
add_address(newAddress) Used to add a new address to the user addresses.
save_address(address) Used to update an existing address from the user addresses.
listAddresses() List all the addresses of the logged in user.