2018-01-07 04:13:11 +01:00
|
|
|
import { DeviceType } from '../enums/deviceType.enum';
|
2018-01-06 21:47:23 +01:00
|
|
|
|
|
|
|
export interface PlatformUtilsService {
|
|
|
|
getDevice(): DeviceType;
|
|
|
|
getDeviceString(): string;
|
|
|
|
isFirefox(): boolean;
|
|
|
|
isChrome(): boolean;
|
|
|
|
isEdge(): boolean;
|
|
|
|
isOpera(): boolean;
|
|
|
|
analyticsId(): string;
|
|
|
|
initListSectionItemListeners(doc: Document, angular: any): void;
|
|
|
|
getDomain(uriString: string): string;
|
|
|
|
inSidebar(theWindow: Window): boolean;
|
|
|
|
inTab(theWindow: Window): boolean;
|
|
|
|
inPopout(theWindow: Window): boolean;
|
|
|
|
inPopup(theWindow: Window): boolean;
|
|
|
|
isViewOpen(): boolean;
|
|
|
|
}
|