일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- undefined
- Number
- html
- Object
- type
- 비교연산자
- jQuery
- elseif
- 산술연산자
- typescript
- 논리연산자
- mouseout
- slider
- null
- TAB
- array
- 제어문
- Class
- if
- 타입스크립트
- EVENT
- javascript
- Narrowing
- boolean
- methods
- click
- Chaining
- 증감연산자
- function
- literaltype
- Today
- Total
목록type (2)
angsu
Object에 타입지정하려면 interface 🍎 Object에 쓸 수 있는 interface 문법 interface Square { color :string, width :number, } let 네모 :Square = { color : 'red', width : 100 } type alias와 용도와 기능이 같음 1. 대문자로 작명 2. { } 안에 타입을 명시 만들어두면 앞으로 object자료 만들 때 interface 만든걸 집어넣으시면 간편하게 타입지정이 가능 (참고) 한 줄 끝나면 콤마대신 세미콜론도 가능 🍎 interface 장점은 extends도 가능 extends 문법은 interface 에 복사 가능 interface Student { name :string, } interface Te..
input type Java Script 제어 type=' text ' : input의 기본 type type=' password ' : 입력하면 ' * ' 로 출력됨 type=' number ' : 숫자입력만 가능, 모바일에서는 숫자 키패드 오픈 type=' date ' : 날짜 선택 type=' email ' : email 유호성 검사 javascript로 설정 해야됨 type=' file ' : 파일 전송 이름 비번 나이 생일 메일 파일 전송 input type 변경 방법 선택자, 속성 이름, 속성 변경, type 변경 type=' color ' : 색상 선택 가능, 선택한 값 출력 type=' search ' : 검색 기능 type=' url ' : 사이트 입력 기능 색상 선택 검색 검색 사이트 ..