mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
docs: fix createIdleLoader usage example
This commit is contained in:
parent
1a1fe463df
commit
309726060c
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user