Friday, May 22, 2015

AngularJS Events Overview

ng-dblclick event

AngularJS provides various mouse events to track events raised by user interaction with the mouse like mousedown, mouseover, mouseover etc, in this post we shall see on how to handle the dblclick event using AngularJS

AngularJS provides ng-dblclick directive to handle mouse dblclick events raised by the user, dblclick event can be handled by associating the ng-dblclick directive to an event handler function which passes the mouse event as a parameter.

The following example shows on how to use the ng-dblclick directive to handle dblclick events raised by the user.

ng-click event

AngularJS provides various mouse events to track events raised by user interaction with the mouse like mousedown, mouseover, mouseover etc, in this post we shall see on how to handle the click event using AngularJS

AngularJS provides ng-click directive to handle mouse click events raised by the user, click event can be handled by associating the ng-click directive to an event handler function which passes the mouse event as a parameter.

The following example shows on how to use the ng-click directive to handle click events raised by the user.

Sunday, April 26, 2015

ng-mouseover event

AngularJS provides various mouse events to track events raised by user interaction with the mouse like mousedown, mouseover, mouseover etc, in this post we shall see on how to handle the mouseover event using AngularJS

AngularJS provides ng-mouseover directive to handle mouse down events raised by the user, mouseover event can be handled by associating the ng-mouseover directive to an event handler function which passes the mouse event as a parameter.

The following example shows on how to use the ng-mouseover directive to handle mouseover events raised by the user.

ng-mousemove event

AngularJS provides various mouse events to track events raised by user interaction with the mouse like mousedown, mousemove, mouseover etc, in this post we shall see on how to handle the mousemove event using AngularJS

AngularJS provides ng-mousemove directive to handle mouse down events raised by the user, mousemove event can be handled by associating the ng-mousemove directive to an event handler function which passes the mouse event as a parameter.

The following example shows on how to use the ng-mousemove directive to handle mousemove events raised by the user.