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

Commit cc4d08c

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

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
@@ -837,6 +837,9 @@ var VALID_CLASS = 'ng-valid',
837837
* data-binding. Notice how different directives (`contenteditable`, `ng-model`, and `required`)
838838
* collaborate together to achieve the desired result.
839839
*
840+
* Note that `contenteditable` is an HTML5 attribute, which tells the browser to let the element
841+
* contents be edited in place by the user. This will not work on older browsers.
842+
*
840843
* <example module="customControl">
841844
<file name="style.css">
842845
[contenteditable] {

0 commit comments

Comments
 (0)