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

Difference between var, let, const?

1 Answers  


What is angular 4? What’s new in angular 4?

1 Answers  


What is a guard in angular?

1 Answers  


What is the scope of $scope?

1 Answers  


Can you explain angular js boot process?

1 Answers  


Explain host decorator in angular 2?

1 Answers  


What is shared module?

1 Answers  


How to create a service using factory in angularjs?

1 Answers  


What do you understand by linking function?

1 Answers  


What are ng-include and ng-click directives in angularjs?

1 Answers  


Explain directive in AngularJS?

1 Answers  


What is angular material?

1 Answers  


Categories