Skip to content

v0.4.5

Compare
Choose a tag to compare
@Akryum Akryum released this 20 Oct 16:26
· 11 commits to master since this release

New

  • throttle leading options, closes #113

You can also pass a leading option to trigger the callback the first time when the visibility changes without waiting for the throttle delay.
I can either be visible, hidden or both.

<div v-observe-visibility="{
  callback: visibilityChanged,
  throttle: 300,
  throttleOptions: {
    leading: 'visible',
  },
}">

Fixed

  • SSR: Fix the rendering issue with ssr load #148