@innovastudio/contentbox 1.6.13 → 1.6.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -128857,8 +128857,7 @@ Add an image for each feature.`, 'Revise the headline, paragraph, and all the te
|
|
|
128857
128857
|
wrapper.style.transition = 'none';
|
|
128858
128858
|
},
|
|
128859
128859
|
onZoom: scale => {
|
|
128860
|
-
|
|
128861
|
-
|
|
128860
|
+
// Zoom Adjustment
|
|
128862
128861
|
const x = 300 * (1 - scale) / 0.5;
|
|
128863
128862
|
this.wrapperEl.style.marginTop = `${x}px`;
|
|
128864
128863
|
const wrapper = this.wrapperEl;
|
|
@@ -128874,10 +128873,8 @@ Add an image for each feature.`, 'Revise the headline, paragraph, and all the te
|
|
|
128874
128873
|
tools.forEach(elm => {
|
|
128875
128874
|
elm.setAttribute('data-boxinfo-active', '');
|
|
128876
128875
|
});
|
|
128877
|
-
this.ss();
|
|
128878
128876
|
},
|
|
128879
128877
|
onZoomEnd: () => {
|
|
128880
|
-
console.log('onZoomEnd');
|
|
128881
128878
|
const wrapper = this.wrapperEl;
|
|
128882
128879
|
const section = wrapper.querySelector('.is-section');
|
|
128883
128880
|
if (!section) return; // empty content
|