Class PointerEventSupport


  • public class PointerEventSupport
    extends Object
    Main class for pointer event support. Contains functionality for determining if pointer events are available or not.
    Since:
    7.2
    Author:
    Vaadin Ltd
    • Method Detail

      • init

        public static void init()
      • isSupported

        public static boolean isSupported()
        Returns:
        true if pointer events are supported by the browser, false otherwise
      • getNativeEventName

        public static String getNativeEventName​(com.vaadin.client.event.PointerEvent.EventType eventType)
        Parameters:
        eventType -
        Returns:
        the native event name of the given event