Waiting for engine...
Skip to main content

DestroyPlugin()

DestroyPlugin(

opts: \\{ removeHost?: boolean; clearTheme?: boolean; clearAuth?: boolean; \\}
):
void

Destroys the plugin Shadow DOM and React tree, with optional cleanup behaviors.

Parameters

opts

Fields: removeHost: boolean; clearTheme: boolean; clearAuth: boolean.

Returns

void

Example

DestroyPlugin({ removeHost: true, clearTheme: true, clearAuth: true });
On this Page