useSaveBeforeClosingSettingsContainer Function

Beta  

Hook to use within Settings Page component to allow saving the current page's data before the Setting Container is closed.

useSaveBeforeClosingSettingsContainer(settingsManager: SettingsManager, saveFunction: (closeFunc: (args: any) => void, closeFuncArgs?: any) => void): void

Parameter Type Description
settingsManager SettingsManager  
saveFunction (closeFunc: (args: any) => void, closeFuncArgs?: any) => void  

Returns - void

Defined in

Last Updated: 12 June, 2024