Add new event listener
Add new event listener that will be fired only once
Optional
paramsDispatch event
Event object or event type as string
Optional
eventData: TDataCustom event data (used when event type as string is used as first argument)
Optional
extras: { bubbles?: boolean; external?: boolean }
Remove event listener If no listener is specified, all listeners will be removed