docs: fix createIdleLoader usage example

This commit is contained in:
Michael Brevard 2024-08-20 14:03:00 +03:00 committed by GitHub
parent 1a1fe463df
commit 309726060c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ If you would like to override the default hydration triggers when dealing with d
```vue [pages/index.vue]
<template>
<div>
<LazyIdleMyComponent :hydrate="createIdleLoader({timeout: 3000})"/>
<LazyIdleMyComponent :hydrate="createIdleLoader(3000)"/>
<LazyVisibleMyComponent :hydrate="createVisibleLoader({threshold: 0.2})"/>
<LazyEventMyComponent :hydrate="createEventLoader(['click','mouseover'])"/>
</div>