@justeattakeaway/pie-lottie-player 0.0.1 → 0.0.2

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/dist/index.js CHANGED
@@ -62,7 +62,7 @@ class e extends h {
62
62
  return this._autoPlayDisabled;
63
63
  }
64
64
  set autoPlayDisabled(t) {
65
- this._autoPlayDisabled = t, this._animationInstance && (this._animationInstance.autoplay = t);
65
+ this._autoPlayDisabled = t, this._animationInstance && (this._animationInstance.autoplay = !t);
66
66
  }
67
67
  get loopDisabled() {
68
68
  return this._loopDisabled;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-lottie-player",
3
3
  "description": "PIE Design System Lottie Player built using Web Components",
4
- "version": "0.0.1",
4
+ "version": "0.0.2",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
package/src/index.ts CHANGED
@@ -116,7 +116,7 @@ export class PieLottiePlayer extends LitElement implements LottiePlayerProps {
116
116
  this._autoPlayDisabled = value;
117
117
  if (!this._animationInstance) return;
118
118
 
119
- this._animationInstance.autoplay = value;
119
+ this._animationInstance.autoplay = !value;
120
120
  }
121
121
 
122
122
  @property({ type: Boolean })