mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-23 13:25:48 +00:00
docs(input): clarify that contenteditable is an HTML5 attribute
Closes #3841
This commit is contained in:
parent
777ba71ffe
commit
4aa9d2aa1e
1 changed files with 3 additions and 0 deletions
|
|
@ -856,6 +856,9 @@ var VALID_CLASS = 'ng-valid',
|
||||||
* data-binding. Notice how different directives (`contenteditable`, `ng-model`, and `required`)
|
* data-binding. Notice how different directives (`contenteditable`, `ng-model`, and `required`)
|
||||||
* collaborate together to achieve the desired result.
|
* 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">
|
* <example module="customControl">
|
||||||
<file name="style.css">
|
<file name="style.css">
|
||||||
[contenteditable] {
|
[contenteditable] {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue