mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user