[Angular 2] Template property syntax

This lesson covers using the [input] syntax to change an element property such as “hidden” or “content-editable”. Using properties eliminates the need for Angular 1’s old directives such as ng-show and ng-hide as you’re now able to directly access any property on your element.

 

See the pulll list for the properties: link
 
 
 

你可能感兴趣的:([Angular 2] Template property syntax)