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

Added clarification on contenteditable attribute #3841

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/ng/directive/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,8 @@ var VALID_CLASS = 'ng-valid',
* This example shows how to use `NgModelController` with a custom control to achieve
* data-binding. Notice how different directives (`contenteditable`, `ng-model`, and `required`)
* collaborate together to achieve the desired result.
*
* Sidenote: contenteditable is also an HTML5 attribute.
*
* <example module="customControl">
<file name="style.css">
Expand Down