제이쿼리 모바일 checkboxradio widget - option -> initSelector
제이쿼리 모바일 checkboxradio widget - option -> initSelector
initSelector
Type: Selector
Default: See below
initSelectorcheckboxradio 위젯 의 기본값 은 다음과 같습니다.
"input:not( :jqmData(role='flipswitch' ) )[type='checkbox'],input[type='radio']:not( :jqmData(role='flipswitch' ))"
참고 : 이 옵션은 1.4.0에서 사용되지 않으며 1.5.0에서 제거됩니다.
jQuery Mobile 1.4.0부터는 initSelector더 이상 위젯 옵션이 아닙니다. 대신 위젯 프로토 타입에 직접 선언됩니다. 따라서 mobileinit이벤트 를 처리 하고 프로토 타입을 덮어 쓰면 사용자 정의 값을 지정할 수 있습니다 initSelector.
$( document ).on( "mobileinit", function() {
$.mobile.checkboxradio.prototype.initSelector = "div.custom";
});
참고 :mobileinit 이벤트가 jQuery Mobile의로드 프로세스의 일부로 트리거되기 때문에 jQuery를로드 한 후에 핸들러 를 연결해야 하지만 jQuery Mobile을로드하기 전에 핸들러 를 연결해야 합니다.
이 옵션의 값은 jQuery 선택기 문자열입니다. 프레임 워크는이 옵션의 값에 따라 요소를 선택하고 각 요소의 결과 목록에서 checkboxradio 위젯을 인스턴스화합니다.
initSelector
Type: Selector
Default: See below
initSelectorcheckboxradio 위젯 의 기본값 은 다음과 같습니다.
"input:not( :jqmData(role='flipswitch' ) )[type='checkbox'],input[type='radio']:not( :jqmData(role='flipswitch' ))"
참고 : 이 옵션은 1.4.0에서 사용되지 않으며 1.5.0에서 제거됩니다.
jQuery Mobile 1.4.0부터는 initSelector더 이상 위젯 옵션이 아닙니다. 대신 위젯 프로토 타입에 직접 선언됩니다. 따라서 mobileinit이벤트 를 처리 하고 프로토 타입을 덮어 쓰면 사용자 정의 값을 지정할 수 있습니다 initSelector.
$( document ).on( "mobileinit", function() {
$.mobile.checkboxradio.prototype.initSelector = "div.custom";
});
참고 :mobileinit 이벤트가 jQuery Mobile의로드 프로세스의 일부로 트리거되기 때문에 jQuery를로드 한 후에 핸들러 를 연결해야 하지만 jQuery Mobile을로드하기 전에 핸들러 를 연결해야 합니다.
이 옵션의 값은 jQuery 선택기 문자열입니다. 프레임 워크는이 옵션의 값에 따라 요소를 선택하고 각 요소의 결과 목록에서 checkboxradio 위젯을 인스턴스화합니다.
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 178 | AngularJS | 8년 전 | 1420 | ||
| 177 | AngularJS | 8년 전 | 1196 | ||
| 176 | AngularJS | 8년 전 | 1271 | ||
| 175 | AngularJS | 8년 전 | 1362 | ||
| 174 | AngularJS | 8년 전 | 1135 | ||
| 173 | AngularJS | 8년 전 | 1876 | ||
| 172 | AngularJS | 8년 전 | 1430 | ||
| 171 | AngularJS | 8년 전 | 1127 | ||
| 170 | AngularJS | 8년 전 | 1389 | ||
| 169 | AngularJS | 8년 전 | 1185 | ||
| 168 | AngularJS | 8년 전 | 999 | ||
| 167 | AngularJS | 8년 전 | 1960 | ||
| 166 | AngularJS | 8년 전 | 1034 | ||
| 165 | AngularJS | 8년 전 | 1096 | ||
| 164 | AngularJS | 8년 전 | 1302 | ||
| 163 | AngularJS | 8년 전 | 1145 | ||
| 162 | AngularJS | 8년 전 | 1361 | ||
| 161 | AngularJS | 8년 전 | 1367 | ||
| 160 | AngularJS | 8년 전 | 1120 | ||
| 159 | AngularJS | 8년 전 | 1087 | ||
| 158 | AngularJS | 8년 전 | 1496 | ||
| 157 | AngularJS | 8년 전 | 1469 | ||
| 156 | AngularJS | 8년 전 | 1318 | ||
| 155 | AngularJS | 8년 전 | 1208 | ||
| 154 | AngularJS | 8년 전 | 1606 | ||
| 153 | AngularJS | 8년 전 | 1069 | ||
| 152 | AngularJS | 8년 전 | 1477 | ||
| 151 | AngularJS | 8년 전 | 1408 | ||
| 150 | AngularJS | 8년 전 | 1105 | ||
| 149 | AngularJS | 8년 전 | 1636 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기