내용으로 건너뛰기
GaramX
사용자 도구
로그인
사이트 도구
검색
도구
문서 보기
이전 판
역링크
최근 바뀜
미디어 관리자
사이트맵
로그인
>
최근 바뀜
미디어 관리자
사이트맵
현재 위치:
home
»
angular
»
property-binding
추적:
angular:property-binding
이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요.
===== Property Binding ===== {{:angular:ng2_property_binding.jpg|Angular Property Binding}} Attributes and Properties are not the same. Attributes - HTML Properties - DOM(Document Object Model) Attributes initialize DOM properties and then type are done. Attribute values cannot change once they are initialized. Property values however can change. <code html> <input type="text" value="Vishwas"> </code> <code bash> $0.getAttributes('value'); $0.value; </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.txt
· 마지막으로 수정됨: 2025/04/15 10:05 저자
127.0.0.1
문서 도구
문서 보기
이전 판
역링크
맨 위로