aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames2013-09-02 12:57:13 -0400
committerPete Bacon Darwin2013-09-17 11:44:04 +0100
commitcc4d08c5f0b895c0f011ea2e49e3ffaeb2e1b139 (patch)
treee9292f28c5805fe775613b656d02f071107a6f87
parentd0ae241afd8e2856127d126fe1f328c08aac6745 (diff)
downloadangular.js-cc4d08c5f0b895c0f011ea2e49e3ffaeb2e1b139.tar.bz2
docs(input): clarify that `contenteditable` is an HTML5 attribute
Closes #3841
-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 1abd9285..59c1f82b 100644
--- a/src/ng/directive/input.js
+++ b/src/ng/directive/input.js
@@ -837,6 +837,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] {