라디오버튼 예제
ng-model 을 같은 이름으로 묶어주고, name 을 같게 해준다.<input type="radio" name="VIEW_TERM_TYP" ng-model="VIEW_TERM_TYP" id="VIEW_TERM_TYP1" value="3">
<label for="TERM_TYP1">TTM</label>
<input type="radio" name="VIEW_TERM_TYP" ng-model="VIEW_TERM_TYP" id="VIEW_TERM_TYP2" value="2">
<label for="TERM_TYP2">순액</label>
ng-class example
<button type="button"
data-ng-click="GRID_EXPENDED? collapseAll():expandAll();"
data-ng-class="GRID_EXPENDED? 'btnTreeAct close':'btnTreeAct open'">
{{GRID_EXPENDED?'Collapse':'Expend'}}</button>
댓글
댓글 쓰기