Skip to content

Commit 801d22a

Browse files
committed
Merge branch 'main' of github.com:ionic-team/ionic-docs into yourFirstAppVue
2 parents 0b6df68 + c14530c commit 801d22a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/vue/your-first-app/7-live-reload.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ The Live Reload server will start up, and the native IDE of choice will open if
3535

3636
## Deleting Photos
3737

38+
<<<<<<< HEAD
3839
With Live Reload running and the app open on your device, let’s implement photo deletion functionality.
40+
=======
41+
With Live Reload running and the app open on your device, let’s implement photo deletion functionality. In your code editor (not Android Studio or Xcode), open `Tab2Page.vue` then import the `actionSheetController`. We'll display an [IonActionSheet](https://ionicframework.com/docs/api/action-sheet) with the option to delete a photo:
42+
>>>>>>> c14530c8b4fa68a38b565e98b98f3d19f8339de0
3943
4044
In `usePhotoGallery.ts`, add the `deletePhoto()` method. The selected photo is removed from the `photos` array first. Then, we delete the actual photo file itself using the Filesystem API.
4145

0 commit comments

Comments
 (0)