-
-
Notifications
You must be signed in to change notification settings - Fork 88
Closed
Description
this code was ok in 0.4.4 version
v-observe-visibility="{
callback: callback,
throttle: 300,
once: true,
}
but doesn't work in 0.4.5 if you do not add throttleOptions: {leading: 'hidden'} to directive
Error in directive observe-visibility bind hook: "TypeError: Cannot read property 'leading' of undefined"
solved issue by adding throttleOptions
v-observe-visibility="{
callback: callback,
throttle: 300,
throttleOptions: {
leading: 'hidden',
},
once: true,
}
Metadata
Metadata
Assignees
Labels
No labels