lazy
Type:
Default: true
<boolean> | <object>
Default: true
When true, card content will be loaded lazily under the user's scroll behavior, using
IntersectionObserver
.- React
- Vue
- Jekyll
- Vanilla
import Microlink from '@microlink/react'
<Microlink url='https://microlink.io' lazy />
Additionally, you can pass your own
IntersectionObserver options
to customize when the card content should be fetched.- React
- Vue
- Jekyll
- Vanilla
import Microlink from '@microlink/react'
<Microlink url='https://microlink.io' lazy={{ threshold: 0.5 }} />