core/platform
Utilities for detecting basic platform capabilities.
Members
Section titled “Members ”platform PlatformDescription
Section titled “platform   PlatformDescription ”Provides basic information about the running platform.
detect Function
Section titled “detect   Function ”detect( ) → PlatformDescriptionReturns the core/platformcore/platform.platform object.
0 Params
Returns
- PlatformDescription
The core/platformcore/platform.platform object
Type Definitions
Section titled “Type Definitions ”PlatformDescription Object
Section titled “PlatformDescription   Object ”The name of the detected browser
The version of the detected browser
The version of the detected browser, if chrome browser is detected
The version of the detected browser, if firefox browser is detected
The version of the detected browser, if safari browser is detected
true if the browser has native touch events
true if the platform has a touch screen
The type of the detected platform. One of 'desktop', 'mobile', 'webos', 'node', or 'unknown'