Last change
on this file since bdd6491 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC All Rights Reserved.
|
---|
4 | *
|
---|
5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
6 | * found in the LICENSE file at https://angular.io/license
|
---|
7 | */
|
---|
8 | /**
|
---|
9 | * Service to detect the current platform by comparing the userAgent strings and
|
---|
10 | * checking browser-specific global properties.
|
---|
11 | */
|
---|
12 | import * as ɵngcc0 from '@angular/core';
|
---|
13 | export declare class Platform {
|
---|
14 | private _platformId;
|
---|
15 | /** Whether the Angular application is being rendered in the browser. */
|
---|
16 | isBrowser: boolean;
|
---|
17 | /** Whether the current browser is Microsoft Edge. */
|
---|
18 | EDGE: boolean;
|
---|
19 | /** Whether the current rendering engine is Microsoft Trident. */
|
---|
20 | TRIDENT: boolean;
|
---|
21 | /** Whether the current rendering engine is Blink. */
|
---|
22 | BLINK: boolean;
|
---|
23 | /** Whether the current rendering engine is WebKit. */
|
---|
24 | WEBKIT: boolean;
|
---|
25 | /** Whether the current platform is Apple iOS. */
|
---|
26 | IOS: boolean;
|
---|
27 | /** Whether the current browser is Firefox. */
|
---|
28 | FIREFOX: boolean;
|
---|
29 | /** Whether the current platform is Android. */
|
---|
30 | ANDROID: boolean;
|
---|
31 | /** Whether the current browser is Safari. */
|
---|
32 | SAFARI: boolean;
|
---|
33 | constructor(_platformId: Object);
|
---|
34 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<Platform, never>;
|
---|
35 | }
|
---|
36 |
|
---|
37 | //# sourceMappingURL=platform.d.ts.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.