svelte-viewport-info
Version:
informs about viewport size and orientation
11 lines (10 loc) • 432 B
TypeScript
/**** determineScreenOrientation ****/
type Orientation = 'portrait' | 'landscape';
type detailledOrientation = 'portrait-primary' | 'portrait-secondary' | 'landscape-primary' | 'landscape-secondary';
declare const _default: {
readonly Width: number;
readonly Height: number;
readonly Orientation: Orientation | undefined;
readonly detailledOrientation: detailledOrientation | undefined;
};
export default _default;