Skip to main content

# GlobalChangeListener

    type GlobalChangeListener = (params: {
      eventName: string;
      eventOptions?: Record<string, unknown>;
      eventParams: StateInfo;
      obj: IGlobal;
    }) => void;

event handler for global state change event

## Parameters​

### params​

event parameters

#### eventName​

`string`

event name

#### eventOptions?​

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

additional options related to the event

#### eventParams​

`StateInfo`

state info

#### obj​

`IGlobal`

global object reference

## Returns​

`void`