@splinetool/runtime 0.9.416 → 0.9.417
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/build/runtime.cjs +104 -104
- package/build/runtime.js +104 -104
- package/package.json +1 -1
- package/runtime.d.ts +5 -8
package/package.json
CHANGED
package/runtime.d.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { ControlsManager, EventManager } from 'spe';
|
|
2
|
-
import { DocumentData } from 'spline-data';
|
|
3
|
-
|
|
4
1
|
declare module '@splinetool/runtime' {
|
|
5
2
|
export type SplineEvent = {
|
|
6
3
|
target: {
|
|
@@ -152,9 +149,9 @@ declare module '@splinetool/runtime' {
|
|
|
152
149
|
|
|
153
150
|
/**
|
|
154
151
|
* Change the event type to global when passing true and local when passing false
|
|
155
|
-
* @param global
|
|
152
|
+
* @param global
|
|
156
153
|
*/
|
|
157
|
-
setGlobalEvents(global:boolean):void;
|
|
154
|
+
setGlobalEvents(global: boolean): void;
|
|
158
155
|
|
|
159
156
|
/**
|
|
160
157
|
* Manually sets the canvas size to a specific value.
|
|
@@ -165,9 +162,9 @@ declare module '@splinetool/runtime' {
|
|
|
165
162
|
*/
|
|
166
163
|
setSize(width: number, height: number): void;
|
|
167
164
|
|
|
168
|
-
get data():
|
|
169
|
-
get eventManager():
|
|
170
|
-
get controls():
|
|
165
|
+
get data(): any;
|
|
166
|
+
get eventManager(): any;
|
|
167
|
+
get controls(): any;
|
|
171
168
|
|
|
172
169
|
/**
|
|
173
170
|
* Returns true if spline.stop() was previously called
|