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 |
Tags
- scanner
- c#
- error
- lazy loading
- Store
- .net
- ViewModel
- 명시적외래키
- c#코딩의기술실전편
- LINQ
- ORM
- Config
- 상속
- 에스가든스냅
- JavaScript
- minimalAPI
- dbContext
- JSON
- extraParams
- 코드프로그래머스
- vscode
- mac
- React
- intellij
- extjs
- EFCore
- 스냅잘찍음
- 대전본식영상
- Request
- 라도무스dvd
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