Microsoft has clearly mentioned in their key notes, they are building the framework and it is related samples using KnockoutJs and ReactJs with Typescript. Since it is an open-source based development model, choosing the framework/technologies are completely our choices, based on our knowledge and requirements. Here...
Showing posts with label Angular JS. Show all posts
Showing posts with label Angular JS. Show all posts
Tuesday, December 20, 2016
20
Dec
Friday, August 26, 2016
26
Aug
Mouse events moves
ng-mouseenter
ng-mouseover
ng-mousemove
ng-mouseleave
mouse button is clicked
ng-mousedown
ng-mouseup
ng-cli...
26
Aug
Angular JS Events
ng-blur
ng-change
ng-click
ng-copy
ng-cut
ng-dblclick
ng-focus
ng-keydown
ng-keypress
ng-keyup
ng-mousedown
ng-mouseenter
ng-mouseleave
ng-mousemove
ng-mouseover
ng-mouseup
ng-paste
Example:
<div ng-app="test" ng-controller="action">
<button ng-click="count = count+1 ">Click Me!</button>
<p>{{...
Search action Angular JS
<div ng-app="mysearch" ng-controller="namesearch">
<p><input type="text" ng-model="test"></p>
<ul>
<li ng-repeat="x in name | filter:test">
{{ x }}
</li>
</ul>
</div>
<script>
angular.module('mysearch',...
26
Aug
-binding part
properties and methods
both view and controller
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
<body ng-app="myApp">
<p>The rootScope's favorite color:</p>
<h1>{{color}}</h1>
<script>
var app = angular.module('myApp',...