mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-18 06:31:27 +00:00
types: client-io-component.ts
This commit is contained in:
parent
932d143688
commit
cb221ed579
@ -3,7 +3,7 @@ import { defineComponent, onMounted, onUnmounted, ref } from 'vue'
|
|||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
setup (props, { emit }) {
|
setup (props, { emit }) {
|
||||||
const intersectionTarget = ref(null)
|
const intersectionTarget = ref(null)
|
||||||
let observer = null
|
let observer: IntersectionObserver | null = null
|
||||||
|
|
||||||
const intersectionCallback = (entries) => {
|
const intersectionCallback = (entries) => {
|
||||||
entries.forEach((entry) => {
|
entries.forEach((entry) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user