-
Notifications
You must be signed in to change notification settings - Fork 322
Expand file tree
/
Copy pathipx-layers.vue
More file actions
41 lines (37 loc) · 904 Bytes
/
ipx-layers.vue
File metadata and controls
41 lines (37 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<template>
<div>
<h1>Original</h1>
<nuxt-img
src="/images/colors.jpg"
width="500"
height="500"
alt=""
@load="isLoadedRoot = true"
/>
<p>Received onLoad event: {{ isLoadedRoot }}</p>
<h1>Layer</h1>
<nuxt-img
src="/images/colors-layer.jpg"
width="500"
height="500"
alt=""
@load="isLoadedLayer = true"
/>
<p>Received onLoad event: {{ isLoadedLayer }}</p>
<h1>Layer with dir config</h1>
<nuxt-img
src="/images/colors-layer-config.jpg"
width="500"
height="500"
alt=""
@load="isLoadedLayerWithConfig = true"
/>
<p>Received onLoad event: {{ isLoadedLayerWithConfig }}</p>
</div>
</template>
<script setup lang="ts">
import { ref } from '#imports'
const isLoadedRoot = ref(false)
const isLoadedLayer = ref(false)
const isLoadedLayerWithConfig = ref(false)
</script>