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
- wifi안됨
- EFCore
- extjs
- a604mu
- c#코딩의기술실전편
- Config
- vscode
- 코드프로그래머스
- ORM
- 명시적외래키
- cpu불안들어옴
- JavaScript
- 상속
- error
- ViewModel
- minimalAPI
- React
- dbContext
- scanner
- .net
- 스냅잘찍음
- extraParams
- lazy loading
- intellij
- mac
- Request
- c#
- LINQ
- Store
- 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