Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript on window resize

@HostListener('window:resize', ['$event'])
onResize(event) {
  event.target.innerWidth;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typescript #window #resize
ADD COMMENT
Topic
Name
8+2 =