Skip to content

Commit e7b3e5b

Browse files
committed
12장 내용 보완
1 parent 3ab7d33 commit e7b3e5b

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

document/AngularJS/docs/angularJS 12장.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ form.html
5454
</html>
5555
```
5656

57-
[http://codepen.io/anon/pen/JGmwqN?editors=100](예제)
57+
[예제](http://codepen.io/anon/pen/JGmwqN?editors=100)
5858

5959
## 양방향 데이터 바인딩의 두가지 방법
6060

@@ -70,7 +70,7 @@ form.html
7070
:
7171
```
7272

73-
[http://codepen.io/skypentum/pen/ZQXgmE?editors=100](예제)
73+
[예제](http://codepen.io/skypentum/pen/ZQXgmE?editors=100)
7474

7575
2. 암시적인 model 속성을 생성
7676

@@ -99,7 +99,7 @@ $scope.addNewItem = function (newItem) {
9999
<script>
100100
```
101101

102-
[http://codepen.io/anon/pen/xZymeg?editors=100](예제)
102+
[예제](http://codepen.io/anon/pen/xZymeg?editors=100)
103103

104104
- 주의 : 암시적 model 속성을 사용 시 사용하려는 객체난 속성이 존재하지 않을 경우 스크립트 에러가 발생하므로, 이에 대한 대비 코드를 작성하는 것이 필요
105105

@@ -166,7 +166,7 @@ $scope.addNewItem = function (newItem) {
166166
</html>
167167
```
168168

169-
[http://codepen.io/anon/pen/LGgqYz?editors=100](예제)
169+
[예제](http://codepen.io/anon/pen/LGgqYz?editors=100)
170170

171171
2. validation Form Element (css 사용)
172172

@@ -180,11 +180,11 @@ $error - 유효성 검증 오류에 대한 상세 정보 제공
180180
```
181181
- 사용자에게 유효성 검증을 실시간으로 피드백하여 전달
182182

183-
[http://codepen.io/skypentum/pen/jWaLBv?editors=100](예제)
183+
[예제](http://codepen.io/skypentum/pen/jWaLBv?editors=100)
184184

185185
- 특수 변수를 활용하여 유효성 검증 피드백을 전달
186186

187-
[http://codepen.io/anon/pen/QyZYNL?editors=100](예제)
187+
[예제](http://codepen.io/anon/pen/QyZYNL?editors=100)
188188

189189
### Form별 디랙티브 어트리뷰트 활용
190190

@@ -198,7 +198,7 @@ ng-pattern - 정규식 설정하여 유효성 검증
198198
ng-required - 데이터 바인딩을 통해 required 어트리뷰트 값을 설정함
199199
```
200200

201-
[http://codepen.io/skypentum/pen/LGOjjN?editors=100](예제)
201+
[예제](http://codepen.io/skypentum/pen/LGOjjN?editors=100)
202202

203203
2.Checkbox 엘리먼트
204204
```
@@ -208,22 +208,22 @@ ng-true-value - 엘리먼트 체크할 때 모델 바인딩 표현식에 설정
208208
ng-false-value - 엘리먼트 체크해제 할 때 모델 바인딩 표현식에 설정할 값을 지정
209209
```
210210

211-
[http://codepen.io/skypentum/pen/bEYrrM?editors=100](예제)
211+
[예제](http://codepen.io/skypentum/pen/bEYrrM?editors=100)
212212

213213
3.Text Area 엘리먼트
214214

215215
- input 엘리먼트와 동일한 유효성 검증 지원
216216

217-
[http://codepen.io/skypentum/pen/rxYzzE?editors=100](예제)
217+
[예제](http://codepen.io/skypentum/pen/rxYzzE?editors=100)
218218

219219
4.Select 엘리먼트
220220
```
221221
ng-required - 데이터 바인딩을 통해 required 어트리뷰트 값을 설정함
222222
ng-options - 객체에 있는 데이터 인자값을 설정함
223223
```
224224

225-
[http://codepen.io/anon/pen/gPBqgq?editors=100](예제)
225+
[예제](http://codepen.io/anon/pen/gPBqgq?editors=100)
226226

227227
- 빈 value 어트리뷰트가 들어 있는 option를 직접 추가할 수 있다.
228228

229-
[http://codepen.io/anon/pen/GoYzrP?editors=100](예제)
229+
[예제](http://codepen.io/anon/pen/GoYzrP?editors=100)

0 commit comments

Comments
 (0)