일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 함수형 프로그래밍
- 디자인패턴
- solid
- 겨울카카오인턴
- 파이썬
- Java
- 백준
- Spring
- 프로그래머스
- 큐
- lambda calculus
- tcp
- 로버트마틴
- JavaScript
- Network
- DesignPattern
- exception
- Collection
- 스택
- Pattern
- Eclipse
- design-pattern
- 자바
- Collections
- 람다 칼큘러스
- JDBC
- Python
- javscript
- Rails
- functional programming
Archives
- Today
- Total
목록objectmodel (1)
개발자 노트
[JavaScript]Object Model
Object Model 브라우저는 태그를 객체화시켜 정보를 저장한다. 따라서 javascript에서 이미지의 크기를 키우고 싶다면, 이미지 객체를 찾아 그 객체가 가지고 있는 width속성에 값을 대입해주면 된다. var imgs = document.getElementsByTagName('img'); imgs[0].style.width = '50px'; (source : http://learn.javascript.ru/browser-environment) window는 전역객체이므로 window.document라고 작성하지 않고 document라고 작성해도 됨. document,navigator,Object등등은 window의 property임. javascriptcore에서..
Web
2020. 3. 12. 12:13