mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
parent
4e88e18a8e
commit
43cc57b7e8
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ Next, bind the `contentEditable` attribute of the `div` to the `isEditable` prop
|
|||
<docs-code highlight="[3]" language="angular-ts">
|
||||
@Component({
|
||||
...
|
||||
template: `<div [contentEditable]="{{isEditable}}"></div>`,
|
||||
template: `<div [contentEditable]="isEditable"></div>`,
|
||||
})
|
||||
</docs-code>
|
||||
</docs-step>
|
||||
|
|
|
|||
Loading…
Reference in a new issue