사용자 도구

사이트 도구


angular:property-binding

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
angular:property-binding [2019/01/14 08:11] taekguangular:property-binding [2025/04/15 10:05] (현재) – 바깥 편집 127.0.0.1
줄 1: 줄 1:
 ===== Property Binding ===== ===== Property Binding =====
 +{{:angular:ng2_property_binding.jpg|Angular Property Binding}}
 Attributes and Properties are not the same. Attributes and Properties are not the same.
 Attributes - HTML Attributes - HTML
줄 12: 줄 13:
 $0.value; $0.value;
 </code> </code>
 +- 아래코드는 원하지 않는 결과를 보여준다. 편집을 할 수 없다.
 +<code html>
 +<input disable="false" type="text" value="Vishwas">
 +</code>
 +- 이렇게 Property로 지정하면 편집할 수 있다.
 +<code html>
 +<input [disable]="false" type="text" value="Vishwas">
 +</code>
 +또는 
 +<code html>
 +<input bind-disable="false" type="text" value="Vishwas">
 +</code>
 +
angular/property-binding.1547453484.txt.gz · 마지막으로 수정됨: 2025/04/15 10:05 (바깥 편집)