@bva/vue-sticky-directive
Advanced tools
Comparing version 0.1.4 to 0.1.5
{ | ||
"name": "@bva/vue-sticky-directive", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Vue directive to enable sticky scrolling on navigation elements such as headers and sidebars.", | ||
@@ -5,0 +5,0 @@ "main": "vue-sticky-directive.js", |
@@ -31,3 +31,3 @@ import Stickie from "@bva/stickie"; | ||
if (sticky && sticky.initialized) { | ||
sticky.options = mergeOptions(sticky.options, binding.value); | ||
sticky.options = { ...sticky.options, ...binding.value }; | ||
sticky.updateSticky(); | ||
@@ -34,0 +34,0 @@ } |
@@ -80,3 +80,3 @@ (function (global, factory) { | ||
if (sticky && sticky.initialized) { | ||
sticky.options = mergeOptions(sticky.options, binding.value); | ||
sticky.options = _objectSpread2(_objectSpread2({}, sticky.options), binding.value); | ||
sticky.updateSticky(); | ||
@@ -83,0 +83,0 @@ } |
9078