pannellum-react
Advanced tools
Comparing version
{ | ||
"name": "pannellum-react", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "Pannellum React Component", | ||
@@ -14,3 +14,3 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"build": "nwb build-react-component", | ||
"build": "nwb build-react-component --copy-files", | ||
"clean": "nwb clean-module && nwb clean-demo", | ||
@@ -17,0 +17,0 @@ "start": "nwb serve-react-demo", |
@@ -160,2 +160,3 @@ # pannellum-react | ||
| keyboardZoom | Boolean | true | Enables zoom control from keyboard if true | | ||
| disableKeyboardCtrl | Boolean | false | Disables control from keyboard if true | | ||
| mouseZoom | Boolean | true | Enables zoom control with mouse if true | | ||
@@ -165,9 +166,10 @@ | draggable | Boolean | true | If false, mouse and touch dragging is disabled | | ||
| showControls | Boolean | true | if False, no control displays | | ||
| onLoad | Function | | Callbakc function which fires after loading | | ||
| onError | Function | | Callbakc function which fires after error | | ||
| onErrorcleared | Function | | Callbakc function which calls after clearing the error | | ||
| onMousedown | Function | | Callbakc function which calls after mouse button press | | ||
| onMouseup | Function | | Callbakc function which calls after mouse button release | | ||
| onTouchstart | Function | | Callbakc function which calls after touch starts | | ||
| onTouchend | Function | | Callbakc function which calls after touch ends | | ||
| onLoad | Function | | Callback function which fires after loading | | ||
| onRender | Function | | Callback function which fires after each render, helpful if you need to react to yaw/pitch/roll/zoom changes | | ||
| onError | Function | | Callback function which fires after error | | ||
| onErrorcleared | Function | | Callback function which calls after clearing the error | | ||
| onMousedown | Function | | Callback function which calls after mouse button press | | ||
| onMouseup | Function | | Callback function which calls after mouse button release | | ||
| onTouchstart | Function | | Callback function which calls after touch starts | | ||
| onTouchend | Function | | Callback function which calls after touch ends | | ||
| hotspotDebug | Boolean | false | For debug pupose (finding correct point for hotspot) | | ||
@@ -174,0 +176,0 @@ |
5724603
2.01%46
64.29%70005
4.91%325
0.62%