Class CustomEvent<T>

Type Parameters:
T - The DTO type used for the detail.
All Implemented Interfaces:
Serializable

public class CustomEvent<T> extends DomEvent
A helper for JS CustomEvent's that automatically maps the 'detail' from the JS event into a DTO.
See Also:
  • Method Details

    • getDetail

      public T getDetail()
      Returns:
      the detail property of the original JS event mapped into a Java object.