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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create angularjs filter which outputs html?

851


Which version you are using js?

939


How to get and log an error in angular 4?

866


Give the example of angularjs strings?

861


What is the latest angular?

797


Angularjs dependency injection of value inside of the module.config?

870


What is the latest version of angular?

960


How to use primeng in angular 4?

936


How can primeng be used with angular2?

917


How to enable html5 mode in angular 1.x?

911


What is a dynamic route in angularjs and how do you implement it?

852


How to implement a datagrid table with angular 2 and primeng?

881


How an object or function can get a hold of its dependencies?

839