@splinetool/viewer 0.9.477 → 0.9.480
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 +4 -2
- package/build/process.js +5 -5
- package/build/spline-viewer.cjs +4 -4
- package/build/spline-viewer.js +4 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# `<spline-viewer>`
|
|
2
2
|
|
|
3
|
+
Check out the demos and examples at [viewer.spline.design](https://viewer.spline.design).
|
|
4
|
+
|
|
3
5
|
## Quickstart
|
|
4
6
|
|
|
5
7
|
```html
|
|
@@ -99,9 +101,9 @@ Triggered when the viewer finishes loading a scene. Event contains a `url:string
|
|
|
99
101
|
|
|
100
102
|
### `unload`
|
|
101
103
|
|
|
102
|
-
Triggered when the
|
|
104
|
+
Triggered when the current scene gets unloaded.
|
|
103
105
|
|
|
104
|
-
## Exporting for `<spline-viewer
|
|
106
|
+
## Exporting for `<spline-viewer>` from Spline editor
|
|
105
107
|
|
|
106
108
|
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
109
|
|