일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- Network
- 파이썬
- tcp
- Java
- functional programming
- 자바
- lambda calculus
- Pattern
- solid
- DesignPattern
- 백준
- 큐
- 함수형 프로그래밍
- JavaScript
- Python
- 람다 칼큘러스
- Spring
- Collections
- design-pattern
- 스택
- Eclipse
- 프로그래머스
- Collection
- 디자인패턴
- 로버트마틴
- 겨울카카오인턴
- javscript
- JDBC
- Rails
- exception
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