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

Commit

Permalink
docs(input): clarify that contenteditable is an HTML5 attribute
Browse files Browse the repository at this point in the history
Closes #3841
  • Loading branch information
James-Dunn authored and petebacondarwin committed Sep 17, 2013
1 parent d0ae241 commit cc4d08c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ng/directive/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -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] {
Expand Down

0 comments on commit cc4d08c

Please sign in to comment.