
This commit edits the copy of the attribute binding documentation, moves the colspan section that is primarily about property binding to the property binding document, and adds a docregion to the attribute-binding example to help clarify a point in the document. Part of the copy edit reformats the style precedence list in tabular format so that it is easier to read and understand. PR Close #38860
16 lines
349 B
TypeScript
16 lines
349 B
TypeScript
import { Component } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'app-root',
|
|
templateUrl: './app.component.html',
|
|
styleUrls: ['./app.component.css']
|
|
})
|
|
export class AppComponent {
|
|
actionName = 'Go for it';
|
|
isSpecial = true;
|
|
canSave = true;
|
|
classExpression = 'special clearance';
|
|
styleExpression = 'color: red';
|
|
color = 'blue';
|
|
}
|