How to get height and width of device display in angular2 using typescript?

Posted by Jessica Taylor | Updated on

If you want to get height and width of device display in angular2 using typescript? I found the solution. The answer is very simple. write the below code in your constructor.

Working Code Another


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers