* @param preventDefault true to prevent the default action
* @return the swallow event config that can be used when removing a
* swallowing event
*/
public SwallowEvent swallowEvent(EventType eventType, Element element, boolean preventDefault) {
return swallowEvent(new SwallowEvent(eventType, element, preventDefault));
}