You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a click handler to the `<ion-img>` element. When the app user taps on a photo in our gallery, we’ll display an [Action Sheet](../../api/action-sheet.md) dialog with the option to either delete the selected photo or cancel (close) the dialog.
141
141
142
142
```vue
143
-
<ion-grid>
144
-
<ion-row>
145
-
<ion-col size="6" :key="photo.filepath" v-for="photo in photos">
146
-
<!-- CHANGE: Add a click event listener to each image. -->
Add a click handler to the `<ion-img>` element. When the app user taps on a photo in our gallery, we’ll display an [Action Sheet](../../api/action-sheet.md) dialog with the option to either delete the selected photo or cancel (close) the dialog.
141
141
142
142
```vue
143
-
<ion-grid>
144
-
<ion-row>
145
-
<ion-col size="6" :key="photo.filepath" v-for="photo in photos">
146
-
<!-- CHANGE: Add a click event listener to each image. -->
0 commit comments