@innovastudio/contentbox 1.6.13 → 1.6.14

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
- "type": "module",
4
- "version": "1.6.13",
3
+ "type":"module",
4
+ "version": "1.6.14",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "files": [
@@ -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
- console.log('onZoom'); // Zoom Adjustment
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