github Akryum/vue-observe-visibility v0.4.5

latest releases: v2.0.0-alpha.1, v1.0.0, v0.4.6...
4 years ago

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

Don't miss a new vue-observe-visibility release

NewReleases is sending notifications on new releases.