Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Get width of screen

public innerWidth: any;
ngOnInit() {
    this.innerWidth = window.innerWidth;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Get #width #screen
ADD COMMENT
Topic
Name
6+1 =