Open iamsim opened 7 years ago
How are you trying to do this ? It should work by simply deleting it from the photos passed down to the directive
I have an array from which ion-gallery images are populate. I am capturing images from camera/gallery and adding images to the array and then submit the array to my backend to store.
I need a mechanism to show a delete icon on every image. On click of which should delete the respective image from the array. I can do the splice from array but I need a mechanism to place a button on every image to delete that image.
I am implementing this to show a set of images that are captured. I should be able to delete an image from the set at any point of time. Please help me with this.