본문으로 바로가기

AngularJS Directive

category Web Tech/AngularJS 2015. 11. 2. 09:18

AngularJS Directive(지시자) 알아보기



ng-class 및 ng-model directive


ng-class 를 이용하여 간단한 validation 을 체크해 보겠습니다.


결과창의 텍스트박스에 숫자,문자열등을 입력해보세요.


See the Pen AngularJS Directive by jaeheekim (@jaehee) on CodePen.






ng-class-odd & ng-class-even


See the Pen ng-class-odd, ng-class-even by jaeheekim (@jaehee) on CodePen.









ng-option


See the Pen ng-option by jaeheekim (@jaehee) on CodePen.




Jaehee's e-room


'Web Tech > AngularJS' 카테고리의 다른 글

angularJS factory & form validation  (0) 2015.11.03
AngularJS 이벤트 기초 알아보기  (0) 2015.11.02
AngularJS 의 View, Controllers, Scope의 관계  (0) 2015.10.26
AngularJS module  (0) 2015.10.26
AngularJS 란 무엇인가?  (0) 2015.10.24