UNPKG

1.46 kBSource Map (JSON)View Raw
1{"version":3,"file":"platform.d.ts","sources":["platform.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA","sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Service to detect the current platform by comparing the userAgent strings and\n * checking browser-specific global properties.\n */\nexport declare class Platform {\n private _platformId;\n /** Whether the Angular application is being rendered in the browser. */\n isBrowser: boolean;\n /** Whether the current browser is Microsoft Edge. */\n EDGE: boolean;\n /** Whether the current rendering engine is Microsoft Trident. */\n TRIDENT: boolean;\n /** Whether the current rendering engine is Blink. */\n BLINK: boolean;\n /** Whether the current rendering engine is WebKit. */\n WEBKIT: boolean;\n /** Whether the current platform is Apple iOS. */\n IOS: boolean;\n /** Whether the current browser is Firefox. */\n FIREFOX: boolean;\n /** Whether the current platform is Android. */\n ANDROID: boolean;\n /** Whether the current browser is Safari. */\n SAFARI: boolean;\n constructor(_platformId: Object);\n}\n"]}
\No newline at end of file