Threepipe Tweakpane Editor Plugin
    Preparing search index...

    Interface InspectorPluginEventMap

    The events of InspectorPlugin

    interface InspectorPluginEventMap {
        deserialize: { data: ISerializedConfig; meta?: SerializationMetaType };
        enabledChange: { enabled: boolean };
        selectionChange: { hasSelection: boolean };
        serialize: { data: ISerializedConfig };
    }

    Hierarchy

    • AViewerPluginEventMap
      • InspectorPluginEventMap
    Index
    deserialize: { data: ISerializedConfig; meta?: SerializationMetaType }
    enabledChange: { enabled: boolean }

    The panel is turned on or off (enabled, enable, disable): the app that placed InspectorPlugin.element can take it out or put it back

    selectionChange: { hasSelection: boolean }

    The selection changed, and the inspector shows it (InspectorPlugin.hasSelection). An app that shows the inspector in place of the mode settings while something is selected (swap) hides or shows the mode settings from it (EditorFrame.setModeSettingsHidden).

    serialize: { data: ISerializedConfig }