utils/browser/feature_detector/feature_detector library

Properties

isEdge bool
Whether the current web browser is MS Edge.
final
isFirefox bool
Whether the current web browser is Firefox.
final
isTouchInterface bool
Whether the primary input mechanism on this system is touch.
final
supportsAnimationApi bool
Whether the browser supports the Web Animations API.
final
supportsIntersectionObserver bool
Whether the browser supports IntersectionObserver.
final
supportsPositionSticky bool
Whether the browser supports position: sticky.
final
supportsResizeObserver bool
Whether the browser supports ResizeObserver.
final

Functions

isHammerLoaded() bool
Returns true if Hammer.js is loaded in the current browser.
supportsHover(Window window) bool
Provides information of current browser features. Detects if the current device and platform supports hovering.