aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/input.js
diff options
context:
space:
mode:
authorJames2013-09-02 12:57:13 -0400
committerPete Bacon Darwin2013-09-17 11:43:53 +0100
commit4aa9d2aa1eabcf716e0c9b701b230a9f63b7d424 (patch)
tree0e62c5d573254d5487ccfb251bf98d56f7473c65 /src/ng/directive/input.js
parent777ba71ffe1319ed76d14431c938baa9ebfb4a92 (diff)
downloadangular.js-4aa9d2aa1eabcf716e0c9b701b230a9f63b7d424.tar.bz2
docs(input): clarify that `contenteditable` is an HTML5 attribute
Closes #3841
Diffstat (limited to 'src/ng/directive/input.js')
-rw-r--r--src/ng/directive/input.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js
index 94fabb6a..1df38b5e 100644
--- a/src/ng/directive/input.js
+++ b/src/ng/directive/input.js
@@ -856,6 +856,9 @@ var VALID_CLASS = 'ng-valid',
* data-binding. Notice how different directives (`contenteditable`, `ng-model`, and `required`)
* collaborate together to achieve the desired result.
*
+ * Note that `contenteditable` is an HTML5 attribute, which tells the browser to let the element
+ * contents be edited in place by the user. This will not work on older browsers.
+ *
* <example module="customControl">
<file name="style.css">
[contenteditable] {