Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Update ngEventDirs.js #5852

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletion src/ng/directive/ngEventDirs.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
*
* @description
* The ngClick directive allows you to specify custom behavior when
* an element is clicked.
* an element is clicked.
*
* @priority: 0
*
* @element ANY
* @param {expression} ngClick {@link guide/expression Expression} to evaluate upon
Expand Down Expand Up @@ -64,6 +66,8 @@ forEach(
* @description
* The `ngDblclick` directive allows you to specify custom behavior on a dblclick event.
*
* @priority: 0
*
* @element ANY
* @param {expression} ngDblclick {@link guide/expression Expression} to evaluate upon
* a dblclick. (The Event object is available as `$event`)
Expand All @@ -87,6 +91,8 @@ forEach(
* @description
* The ngMousedown directive allows you to specify custom behavior on mousedown event.
*
* @priority: 0
*
* @element ANY
* @param {expression} ngMousedown {@link guide/expression Expression} to evaluate upon
* mousedown. (Event object is available as `$event`)
Expand All @@ -110,6 +116,8 @@ forEach(
* @description
* Specify custom behavior on mouseup event.
*
* @priority: 0
*
* @element ANY
* @param {expression} ngMouseup {@link guide/expression Expression} to evaluate upon
* mouseup. (Event object is available as `$event`)
Expand All @@ -132,6 +140,8 @@ forEach(
* @description
* Specify custom behavior on mouseover event.
*
* @priority: 0
*
* @element ANY
* @param {expression} ngMouseover {@link guide/expression Expression} to evaluate upon
* mouseover. (Event object is available as `$event`)
Expand All @@ -155,6 +165,8 @@ forEach(
* @description
* Specify custom behavior on mouseenter event.
*
* @priority: 0
*
* @element ANY
* @param {expression} ngMouseenter {@link guide/expression Expression} to evaluate upon
* mouseenter. (Event object is available as `$event`)
Expand All @@ -178,6 +190,8 @@ forEach(
* @description
* Specify custom behavior on mouseleave event.
*
* @priority: 0
*
* @element ANY
* @param {expression} ngMouseleave {@link guide/expression Expression} to evaluate upon
* mouseleave. (Event object is available as `$event`)
Expand All @@ -201,6 +215,8 @@ forEach(
* @description
* Specify custom behavior on mousemove event.
*
* @priority: 0
*
* @element ANY
* @param {expression} ngMousemove {@link guide/expression Expression} to evaluate upon
* mousemove. (Event object is available as `$event`)
Expand All @@ -224,6 +240,8 @@ forEach(
* @description
* Specify custom behavior on keydown event.
*
* @priority: 0
*
* @element ANY
* @param {expression} ngKeydown {@link guide/expression Expression} to evaluate upon
* keydown. (Event object is available as `$event` and can be interrogated for keyCode, altKey, etc.)
Expand All @@ -245,6 +263,8 @@ forEach(
* @description
* Specify custom behavior on keyup event.
*
* @priority: 0
*
* @element ANY
* @param {expression} ngKeyup {@link guide/expression Expression} to evaluate upon
* keyup. (Event object is available as `$event` and can be interrogated for keyCode, altKey, etc.)
Expand Down Expand Up @@ -287,6 +307,8 @@ forEach(
* @description
* Enables binding angular expressions to onsubmit events.
*
* @priority: 0
*
* Additionally it prevents the default action (which for form means sending the request to the
* server and reloading the current page) **but only if the form does not contain an `action`
* attribute**.
Expand Down Expand Up @@ -340,6 +362,8 @@ forEach(
* @description
* Specify custom behavior on focus event.
*
* @priority: 0
*
* @element window, input, select, textarea, a
* @param {expression} ngFocus {@link guide/expression Expression} to evaluate upon
* focus. (Event object is available as `$event`)
Expand All @@ -355,6 +379,8 @@ forEach(
* @description
* Specify custom behavior on blur event.
*
* @priority: 0
*
* @element window, input, select, textarea, a
* @param {expression} ngBlur {@link guide/expression Expression} to evaluate upon
* blur. (Event object is available as `$event`)
Expand All @@ -370,6 +396,8 @@ forEach(
* @description
* Specify custom behavior on copy event.
*
* @priority: 0
*
* @element window, input, select, textarea, a
* @param {expression} ngCopy {@link guide/expression Expression} to evaluate upon
* copy. (Event object is available as `$event`)
Expand All @@ -390,6 +418,8 @@ forEach(
* @description
* Specify custom behavior on cut event.
*
* @priority: 0
*
* @element window, input, select, textarea, a
* @param {expression} ngCut {@link guide/expression Expression} to evaluate upon
* cut. (Event object is available as `$event`)
Expand All @@ -410,6 +440,8 @@ forEach(
* @description
* Specify custom behavior on paste event.
*
* @priority: 0
*
* @element window, input, select, textarea, a
* @param {expression} ngPaste {@link guide/expression Expression} to evaluate upon
* paste. (Event object is available as `$event`)
Expand Down