You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PluginDomEvent has one additional property -- rawEvent, which is the DOM event object generated by browser. Programmer can use this object to get all kinds of information of this event, such as key code, mouse position, mouse button, target DOM element, ... In the first plugin sample code it uses this object to check which key user has pressed, and call preventDefault() to prevent the default event behavior as well: