Skip to content

Commit f28068a

Browse files
4.9.5 — add initOnClick, update docs and CDN links
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 647ea39 commit f28068a

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ Types of changes:
2929

3030
---
3131

32+
## 4.9.5 - 2026-03-22
33+
34+
### Added
35+
36+
- `initOnClick` property (`data-init-on-click`) — defers image loading until the user clicks on the viewer, showing a first-frame preview with a click overlay. Useful for pages with multiple 360 viewers in a grid
37+
- Inner dot styling for product (non-navigation) hotspot markers
38+
39+
---
40+
3241
## 4.9.4 - 2026-03-21
3342

3443
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Add the library via CDN and create your first 360 viewer in seconds:
101101

102102
```html
103103
<!-- Add the library (CSS is auto-injected) -->
104-
<script src="https://scaleflex.cloudimg.io/v7/plugins/js-cloudimage-360-view/4.9.4/js-cloudimage-360-view.min.js?vh=32f739&func=proxy"></script>
104+
<script src="https://scaleflex.cloudimg.io/v7/plugins/js-cloudimage-360-view/4.9.5/js-cloudimage-360-view.min.js?vh=32f739&func=proxy"></script>
105105

106106
<!-- Create a container with data attributes -->
107107
<div
@@ -125,7 +125,7 @@ Add the library via CDN and create your first 360 viewer in seconds:
125125
### Option 1: CDN (Recommended for Quick Setup)
126126

127127
```html
128-
<script src="https://scaleflex.cloudimg.io/v7/plugins/js-cloudimage-360-view/4.9.4/js-cloudimage-360-view.min.js?vh=32f739&func=proxy"></script>
128+
<script src="https://scaleflex.cloudimg.io/v7/plugins/js-cloudimage-360-view/4.9.5/js-cloudimage-360-view.min.js?vh=32f739&func=proxy"></script>
129129
```
130130

131131
> **Note:** CSS is automatically injected by the script - no separate stylesheet needed.

codesandbox/vanilla/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ <h2>Programmatic Control</h2>
163163
</div>
164164
</div>
165165

166-
<script src="https://scaleflex.cloudimg.io/v7/plugins/js-cloudimage-360-view/4.9.4/js-cloudimage-360-view.min.js?vh=32f739&func=proxy"></script>
166+
<script src="https://scaleflex.cloudimg.io/v7/plugins/js-cloudimage-360-view/4.9.5/js-cloudimage-360-view.min.js?vh=32f739&func=proxy"></script>
167167
<script>
168168
// Initialize all declarative viewers
169169
const ci360 = new CI360();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "js-cloudimage-360-view",
3-
"version": "4.9.4",
3+
"version": "4.9.5",
44
"main": "dist/js-cloudimage-360-view.min.js",
55
"types": "src/types/ci360.d.ts",
66
"files": [

0 commit comments

Comments
 (0)