DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Get width of screen on resize event
@HostListener('window:resize', ['$event']) onResize(event) { this.innerWidth = window.innerWidth; }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Get
#width
#screen
#resize
#event
ADD COMMENT
Topic
COMMENT
Name
3+7 =
Submit