ablok-components 0.2.24 → 0.2.25

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.
@@ -90,6 +90,10 @@ const GR = {
90
90
  zoom: {
91
91
  type: Boolean,
92
92
  default: !1
93
+ },
94
+ animate: {
95
+ type: Boolean,
96
+ default: !0
93
97
  }
94
98
  },
95
99
  setup(t) {
@@ -105,8 +109,8 @@ const GR = {
105
109
  t.spinner && !e.value ? (W(), st(r, { key: 0 })) : we("", !0),
106
110
  Ae("img", {
107
111
  class: He(["", {
108
- "opacity-0": !e.value,
109
- "opacity-1": e.value
112
+ "opacity-0": t.animate && !e.value,
113
+ "opacity-1": !t.animate || e.value
110
114
  }]),
111
115
  src: t.src,
112
116
  alt: t.alt,