Default

This annotation should be used to mark the processEvent method when declaring a subclass of EventListener. Doing so tells EventEmitter that the listener is a 'default' listener for that event. It is imperative that we mark the listeners that should be considered default with this annotation so that the concept of 'preventDefault' on the event lifecycle will be observed.

See also

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String