@wonderlandengine/editor-api 1.4.6-rc.1 → 1.4.6-rc.3
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/dist/index.d.ts +4 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -7,6 +7,10 @@ export * from './workspace.js';
|
|
7
7
|
export declare class EditorPlugin {
|
8
8
|
/** Name of the plugin */
|
9
9
|
name: string;
|
10
|
+
/**
|
11
|
+
* Called periodically to update the plugin before {@link #draw()}.
|
12
|
+
*/
|
13
|
+
update?(): void;
|
10
14
|
/**
|
11
15
|
* Called to let the plugin draw it's ui. See {@link ui}.
|
12
16
|
*/
|
package/package.json
CHANGED