@ng-arthur/common
Version:
@ng-arthur/common for Angular 7+ Components
18 lines (17 loc) • 464 B
TypeScript
import { Platforms } from './platform';
export declare class PlatformService {
constructor();
is(platformName: Platforms): boolean;
platforms(): string[];
readonly isRTL: boolean;
/**
* Get the query string parameter
*/
getQueryParam(key: string): string | null;
isLandscape(): boolean;
isPortrait(): boolean;
testUserAgent(expression: string): boolean;
url(): string;
width(): number;
height(): number;
}