AngularJS comes with a bunch of mouse related events, keyboard related events and change related events to facilitate DOM interactions. Its allow you to add or attache custome behavior against mouse, keyboard and change related events.
Here is a list of AngularJS built in mouse events with description.
Events | Description |
---|---|
ngMousedown | This allows you to attach custom behavior on mousedown event. |
ngMouseenter | This allows you to attach custom behavior on mouseenter event. |
ngMouseleave | This allows you to attach custom behavior on mouseleave event. |
ngMousemove | This allows you to attach custom behavior on mousemove event. |
ngMouseover | This allows you to attach custom behavior on mouseover event. |
ngMouseup | This allows you to attach custom behavior on mouseup event. |
ngDblclick | This allows you to attach custom behavior on mouse dblclick event. |
ngClick | This allows you to attach custom behavior on mouse click event. |
Here is a list of AngulerJS built in keyboard events with description.
Events | Description |
---|---|
ngKeydown | This allows you to attach custom behavior on keydown event. |
ngKeypress | This allows you to attach custom behavior on keypress event. |
ngKeyup | This allows you to attach custom behavior on keyup event. |
Here is a list of AngularJS built in change events with description.
Events | Description |
---|---|
ngChange | This allows you to attach custom behavior on text change event. |