Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How would you control the size of an element on resize of the window in a component?



How would you control the size of an element on resize of the window in a component?..

Answer / Chandan Mishra

To control the size of an element on window resize, you can use Angular's AfterViewInit lifecycle hook and event listeners to handle the window resizing event. You may also use CSS media queries for more complex responsive design.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is scope hierarchy in angularjs?

1 Answers  


What is httpclient?

1 Answers  


What does a router.navigate do?

1 Answers  


What are “streams” in node.js? Explain the different types of streams present in node.js?

1 Answers  


What is jit and aot?

1 Answers  


What is the need for typescript in angular 2?

1 Answers  


What is data binding and its types?

1 Answers  


How to declare a component in angular 2?

1 Answers  


How to handle 'loading chunk failed' error in angularjs application?

1 Answers  


What are the modules in angular 2?

1 Answers  


What is the use of canactivate in angular?

1 Answers  


Is typescript an oop?

1 Answers  


Categories