Skip to main content

# FormUnloadListener

    type FormUnloadListener = (params: {
      eventName: string;
      eventOptions?: Record<string, unknown>;
      eventParams: FormInfo;
      obj: IForm;
    }) => void;

event handler for form unload event

## Parameters​

### params​

event parameters

#### eventName​

`string`

event name

#### eventOptions?​

`Record`<`string`, `unknown`>

additional options related to the event

#### eventParams​

`FormInfo`

form info

#### obj​

`IForm`

form object reference

## Returns​

`void`