External module "mdc-ripple/util"
Functions
applyPassive
- applyPassive(globalObj?: Window, forceRefresh?: boolean): boolean | EventListenerOptions
-
Parameters
-
Default value globalObj: Window = window
-
Default value forceRefresh: boolean = false
Returns boolean
|
EventListenerOptions
getNormalizedEventCoords
-
Parameters
-
evt: Event | undefined
-
-
clientRect: ClientRect
supportsCssVariables
- supportsCssVariables(windowObj: Window, forceRefresh?: boolean): boolean
-
Parameters
-
windowObj: Window
-
Default value forceRefresh: boolean = false
Returns boolean
Determine whether the current browser supports passive event listeners, and if so, use them.