@splinetool/runtime 0.9.42 → 0.9.43

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 CHANGED
@@ -130,8 +130,9 @@ You can call all these different methods on the Spline `Application` instance.
130
130
  | `emitEvent` | `(eventName: SplineEventName, uuid: string) => void` | Triggers a Spline event associated to an object with provided uuid in reverse order. Starts from first state to last state. |
131
131
  | `emitEventReverse` | `(eventName: SplineEventName, uuid: string) => void` | Triggers a Spline event associated to an object with provided uuid in reverse order. Starts from last state to first state. |
132
132
  | `findObjectById` | `(uuid: string) => SPEObject` | Searches through scene's children and returns the object with that uuid. |
133
- | `findObjectByName` | `(name: string) => SPEObject` | Searches through scene's children and returns the first object with that name |
133
+ | `findObjectByName` | `(name: string) => SPEObject` | Searches through scene's children and returns the first object with that name. |
134
134
  | `setZoom` | `(zoom: number) => void` | Sets the initial zoom of the scene. |
135
+ | `setSize` | `(width: number, height:number) => void` | Sets the size of the application and canvas. When called, Spline will stop automatic size updates. |
135
136
 
136
137
  ### Spline Events
137
138