Ng-Focus-8

 

Ng-Focus-8

 
 
 
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.2/angular.min.js"></script> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> </head> <body ng-app=""> <div class="container"> <h3>Ng-Focus</h3> <textarea class="form-control" ng-style="style" ng-model="dt" ng-focus="style={'height':'200px'}" ng-blur="style={}"></textarea><br /> </div> </body> </html>
Output