@splinetool/viewer 0.9.255 → 0.9.257
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/README.md +2 -0
- package/build/spline-viewer.cjs +221 -221
- package/build/spline-viewer.d.ts +1 -2
- package/build/spline-viewer.js +221 -221
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -105,6 +105,8 @@ Triggered when the viewer finishes loading a scene. Event contains a `url:string
|
|
|
105
105
|
|
|
106
106
|
If you want a scene to be loaded by the `<spline-viewer>` component, you need to export it from Spline editor using the `Spline Viewer` export type. First click on the Export button from the toolbar, then click on the `Spline Viewer` tab on the sidebar of the export modal. Finally click on update and when export is done you can copy paste the code snippet or the exported URL.
|
|
107
107
|
|
|
108
|
+
Check the [docs](https://docs.spline.design/67b4c8ec0d2b46dd8588a99a7e94db6e) for more details.
|
|
109
|
+
|
|
108
110
|
## Listening for events outside of the canvas
|
|
109
111
|
|
|
110
112
|
In case you need the events to be able to listen for your movements outside of the canvas (exemple: a look at event that follow your mouse outside of the canvas), you can set the `Mouse Events` option to `From full window` inside the `Spline Viewer` export options.
|