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
- React
- 자원정리
- error
- scanner
- extjs
- c#
- Store
- Request
- ""+n
- vscode
- lazy loading
- 코드프로그래머스
- extraParams
- c#코딩의기술실전편
- EFCore
- mac
- DbSave
- inserttrigger
- 명시적외래키
- Config
- dbContext
- intellij
- ViewModel
- minimalAPI
- ORM
- LINQ
- JavaScript
- 상속
- .net
- JSON
Archives
- Today
- Total
목록statics() (1)
ejyoo's 개발 노트
정적속성
정적속성은 생성된 모든 객체가 공유하며 클래스의 인스턴스 명, 정적속성 방식 또는 statics()를 이용하여 사용한다. 자바에서 static과 동일하다 * 기본 형태 statics:{ 속성, 메소드 } * 예제 : * 결과 2 2 -----------end Ext.onReady(function(){ Ext.define('CountTest',{ config:{ name:null }, constructor:function(config){ this.initConfig(config); } }); Ext.define('extendsCountTest',{ extend:'CountTest', statics:{ count:0 }, addCount:function(){ this.statics().count++; }, ..
FrontEnd/Ext
2021. 10. 6. 20:43