js-cloudimage-360-view
Advanced tools
Comparing version 2.4.1 to 2.5.0
@@ -29,2 +29,7 @@ # Changelog | ||
## 2.5.0 - 2020-07-05 | ||
### Feat | ||
- possibility to hide 360 view icon | ||
## 2.4.1 - 2020-04-11 | ||
@@ -31,0 +36,0 @@ |
@@ -357,3 +357,5 @@ 'use strict'; | ||
this.add360ViewIcon(); | ||
if (!this.hide360Logo) { | ||
this.add360ViewIcon(); | ||
} | ||
@@ -868,3 +870,4 @@ if (this.fullScreenView) { | ||
stopAtEdges = _get360ViewProps.stopAtEdges, | ||
controlReverse = _get360ViewProps.controlReverse; | ||
controlReverse = _get360ViewProps.controlReverse, | ||
hide360Logo = _get360ViewProps.hide360Logo; | ||
@@ -896,2 +899,3 @@ var ciParams = { ciSize: ciSize, ciToken: ciToken, ciOperation: ciOperation, ciFilters: ciFilters }; | ||
this.stopAtEdges = stopAtEdges; | ||
this.hide360Logo = hide360Logo; | ||
@@ -898,0 +902,0 @@ this.applyStylesToContainer(); |
@@ -33,3 +33,4 @@ 'use strict'; | ||
controlReverse: isTrue(image, 'control-reverse'), | ||
stopAtEdges: isTrue(image, 'stop-at-edges') | ||
stopAtEdges: isTrue(image, 'stop-at-edges'), | ||
hide360Logo: isTrue(image, 'hide-360-logo') | ||
}; | ||
@@ -36,0 +37,0 @@ }; |
{ | ||
"name": "js-cloudimage-360-view", | ||
"version": "2.4.1", | ||
"version": "2.5.0", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "description": "", |
@@ -1,2 +0,2 @@ | ||
[![Release](https://img.shields.io/badge/release-v2.4.1-blue.svg)](https://github.com/scaleflex/js-cloudimage-360-view/releases) | ||
[![Release](https://img.shields.io/badge/release-v2.5.0-blue.svg)](https://github.com/scaleflex/js-cloudimage-360-view/releases) | ||
[![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)](#contributing) | ||
@@ -71,3 +71,3 @@ [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) | ||
```javascript | ||
<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-360-view/2.4.1/js-cloudimage-360-view.min.js"></script> | ||
<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-360-view/2.5.0/js-cloudimage-360-view.min.js"></script> | ||
``` | ||
@@ -230,2 +230,8 @@ | ||
### data-hide-360-logo (or hide-360-logo) | ||
###### Type: **Bool** | Default: **false** | _optional_ | ||
Hide 360 view icon. | ||
### data-control-reverse (or control-reverse) | ||
@@ -232,0 +238,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60757
1077
436