Home > @xoram/core > onBeforeDestroy
onBeforeDestroy() function
Add a callback to be called before the plugin is removed from the application
Signature:
typescript
onBeforeDestroy: (callback: ((app: Application) => void)) => void
1
Parameters
Parameter | Type | Description |
---|---|---|
callback | ((app: Application) => void) |
Returns:
void