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

Commit 4aa9d2a

Browse files
James-Dunnpetebacondarwin
authored andcommitted
docs(input): clarify that contenteditable is an HTML5 attribute
Closes #3841
1 parent 777ba71 commit 4aa9d2a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ng/directive/input.js

+3
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,9 @@ var VALID_CLASS = 'ng-valid',
856856
* data-binding. Notice how different directives (`contenteditable`, `ng-model`, and `required`)
857857
* collaborate together to achieve the desired result.
858858
*
859+
* Note that `contenteditable` is an HTML5 attribute, which tells the browser to let the element
860+
* contents be edited in place by the user. This will not work on older browsers.
861+
*
859862
* <example module="customControl">
860863
<file name="style.css">
861864
[contenteditable] {

0 commit comments

Comments
 (0)