mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +02:00
10 lines
251 B
TypeScript
10 lines
251 B
TypeScript
/**
|
|
* Provides a cross-browser way to get the screen dimensions
|
|
* via: http://stackoverflow.com/questions/5864467/internet-explorer-innerheight
|
|
*
|
|
* @api private
|
|
*/
|
|
export default function getWinSize(): {
|
|
width: number;
|
|
height: number;
|
|
};
|