Skip to content

Commit 979b6b7

Browse files
committed
Doc updates
1 parent 3a137e0 commit 979b6b7

12 files changed

Lines changed: 12 additions & 18 deletions

File tree

docs/static/examples/ng-blur/ng-blur.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<section ng-app>
22
<input
33
type="text"
4-
ng-blur="count = count + 1"
4+
ng-blur="count++"
55
ng-init="count = 0"
66
placeholder="Click or tab away from me"
77
/>

docs/static/examples/ng-dblclick/ng-dblclick.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<section ng-app>
2-
<button
3-
class="btn btn-dark"
4-
ng-init="count = 0"
5-
ng-dblclick="count = count + 1"
6-
>
2+
<button class="btn btn-dark" ng-init="count = 0" ng-dblclick="count++">
73
Increment
84
</button>
95
<span> count: {{count}} </span>

docs/static/examples/ng-focus/ng-focus.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<section ng-app>
22
<input
33
type="text"
4-
ng-focus="count = count + 1"
4+
ng-focus="count++"
55
ng-init="count = 0"
66
placeholder="Click or tab into me"
77
/>

docs/static/examples/ng-keydown/ng-keydown.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<section ng-app>
22
<input
33
type="text"
4-
ng-keydown="count = count + 1"
4+
ng-keydown="count++"
55
ng-init="count = 0"
66
placeholder="Click here, then press down a key."
77
/>

docs/static/examples/ng-keyup/ng-keyup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<section ng-app>
22
<input
33
type="text"
4-
ng-keyup="count = count + 1"
4+
ng-keyup="count++"
55
ng-init="count = 0"
66
placeholder="Click here, then press down a key."
77
/>
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<section ng-app>
2-
<button ng-init="count = 0" ng-mousedown="count = count + 1">
3-
Press Mouse Down
4-
</button>
2+
<button ng-init="count = 0" ng-mousedown="count++">Press Mouse Down</button>
53
Mouse Down {{ count }} times
64
</section>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<section ng-app>
2-
<div ng-init="count = 0" ng-mouseenter="count = count + 1">Mouse Enter</div>
2+
<div ng-init="count = 0" ng-mouseenter="count++">Mouse Enter</div>
33
Mouse Enter {{ count }} times
44
</section>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<section ng-app>
2-
<div ng-init="count = 0" ng-mouseleave="count = count + 1">Mouse Leave</div>
2+
<div ng-init="count = 0" ng-mouseleave="count++">Mouse Leave</div>
33
Mouse Leave {{ count }} times
44
</section>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<section ng-app>
2-
<div ng-init="count = 0" ng-mousemove="count = count + 1">Mouse Move</div>
2+
<div ng-init="count = 0" ng-mousemove="count++">Mouse Move</div>
33
Mouse Move {{ count }} times
44
</section>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<section ng-app>
2-
<div ng-init="count = 0" ng-mouseout="count = count + 1">Mouse Out</div>
2+
<div ng-init="count = 0" ng-mouseout="count++">Mouse Out</div>
33
Mouse Out {{ count }} times
44
</section>

0 commit comments

Comments
 (0)