We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.client.event.
Class PointerEventSupport
- java.lang.Object
-
- com.vaadin.client.event.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 Summary
All Methods Modifier and Type Method Description static String
getNativeEventName​(com.vaadin.client.event.PointerEvent.EventType eventType)
static void
init()
static boolean
isSupported()
-
-
-
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
-
-