제이쿼리 모바일 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 위젯을 인스턴스화합니다.
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 208 | 부트스트랩 | 8년 전 | 2733 | ||
| 207 | AngularJS | 8년 전 | 1473 | ||
| 206 | AngularJS | 8년 전 | 1121 | ||
| 205 | AngularJS | 8년 전 | 993 | ||
| 204 | AngularJS | 8년 전 | 1395 | ||
| 203 | AngularJS | 8년 전 | 1190 | ||
| 202 | AngularJS | 8년 전 | 1504 | ||
| 201 | AngularJS | 8년 전 | 1454 | ||
| 200 | AngularJS | 8년 전 | 1431 | ||
| 199 | AngularJS | 8년 전 | 1351 | ||
| 198 | AngularJS | 8년 전 | 1234 | ||
| 197 | AngularJS | 8년 전 | 1397 | ||
| 196 | AngularJS | 8년 전 | 1051 | ||
| 195 | AngularJS | 8년 전 | 1263 | ||
| 194 | AngularJS | 8년 전 | 1273 | ||
| 193 | AngularJS | 8년 전 | 1620 | ||
| 192 | AngularJS | 8년 전 | 1364 | ||
| 191 | AngularJS | 8년 전 | 1591 | ||
| 190 | AngularJS | 8년 전 | 1560 | ||
| 189 | AngularJS | 8년 전 | 1651 | ||
| 188 | AngularJS | 8년 전 | 1409 | ||
| 187 | AngularJS | 8년 전 | 1372 | ||
| 186 | AngularJS | 8년 전 | 1417 | ||
| 185 | AngularJS | 8년 전 | 1448 | ||
| 184 | AngularJS | 8년 전 | 1487 | ||
| 183 | AngularJS | 8년 전 | 1486 | ||
| 182 | AngularJS | 8년 전 | 1012 | ||
| 181 | AngularJS | 8년 전 | 1393 | ||
| 180 | AngularJS | 8년 전 | 1281 | ||
| 179 | AngularJS | 8년 전 | 1261 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기