'addEvent' function to get an array of event types that can be fixed.
add custom event of tab component. (click, rclick)