diff options
| author | James | 2013-09-02 12:57:13 -0400 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-09-17 11:44:04 +0100 |
| commit | cc4d08c5f0b895c0f011ea2e49e3ffaeb2e1b139 (patch) | |
| tree | e9292f28c5805fe775613b656d02f071107a6f87 /src/ng/directive/input.js | |
| parent | d0ae241afd8e2856127d126fe1f328c08aac6745 (diff) | |
| download | angular.js-cc4d08c5f0b895c0f011ea2e49e3ffaeb2e1b139.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.js | 3 |
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] { |
