updateDeviceDetector
Updates the internal mobile detector instance with a new user agent. If no user agent is provided, then the default one from the window navigator object is applied.
Presentation
function updateDeviceDetector (userAgent: string = navigator.userAgent): void;
Returns
void
Parameters
Name | Type | Description |
---|---|---|
userAgent | string | @param userAgent navigator.userAgent |