Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 대전본식영상
- JavaScript
- dbContext
- JSON
- LINQ
- Config
- lazy loading
- error
- 스냅잘찍음
- c#코딩의기술실전편
- scanner
- 상속
- 에스가든스냅
- vscode
- 명시적외래키
- mac
- c#
- 코드프로그래머스
- ORM
- React
- intellij
- .net
- Request
- extjs
- Store
- extraParams
- minimalAPI
- 라도무스dvd
- ViewModel
- EFCore
Archives
- Today
- Total
목록초기화 (1)
ejyoo's 개발 노트
생성자 초기화
ExtJS 'config'에 속성을 설정할 경우 해당 속성은 자동으로 get, set 접두어를 붙여서 메소드로 사용할 수 있다. config:{ id:null } this.getId(); this.setName('값'); config 를 사용하여 class 를 정의할 때, 생성자를 통한 초기화를 진행할 수 있다. * 생성자 문법 constructor:function(config){ this.initConfig(config); } * 코드 적용(앱에서 해당 파일 더블클릭하여 실행) Ext.onReady : HTML 페이지가 출력된 후 수행 Ext.onReady(function(){ Ext.define('TestConstructor',{ config:{ id:null }, constructor:functio..
FrontEnd/Ext
2021. 10. 5. 20:33