제이쿼리 모바일 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 위젯을 인스턴스화합니다.
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 148 | AngularJS | 8년 전 | 1662 | ||
| 147 | AngularJS | 8년 전 | 1079 | ||
| 146 | AngularJS | 8년 전 | 1266 | ||
| 145 | AngularJS | 8년 전 | 1372 | ||
| 144 | AngularJS | 8년 전 | 1162 | ||
| 143 | AngularJS | 8년 전 | 1205 | ||
| 142 | AngularJS | 8년 전 | 1176 | ||
| 141 | AngularJS | 8년 전 | 1337 | ||
| 140 | AngularJS | 8년 전 | 1202 | ||
| 139 | AngularJS | 8년 전 | 1449 | ||
| 138 | AngularJS | 8년 전 | 1156 | ||
| 137 | AngularJS | 8년 전 | 1066 | ||
| 136 | AngularJS | 8년 전 | 1164 | ||
| 135 | AngularJS | 8년 전 | 1684 | ||
| 134 | AngularJS | 8년 전 | 1388 | ||
| 133 | AngularJS | 8년 전 | 1483 | ||
| 132 | AngularJS | 8년 전 | 1104 | ||
| 131 | AngularJS | 8년 전 | 1376 | ||
| 130 | AngularJS | 8년 전 | 1466 | ||
| 129 | AngularJS | 8년 전 | 1449 | ||
| 128 | AngularJS | 8년 전 | 2070 | ||
| 127 | AngularJS | 8년 전 | 1493 | ||
| 126 | jQuery Mobile | 8년 전 | 2266 | ||
| 125 | jQuery Mobile | 8년 전 | 2024 | ||
| 124 | jQuery Mobile | 8년 전 | 1890 | ||
| 123 | jQuery Mobile | 8년 전 | 1824 | ||
| 122 | jQuery Mobile | 8년 전 | 1863 | ||
| 121 | jQuery Mobile | 8년 전 | 2067 | ||
| 120 | jQuery Mobile | 8년 전 | 1601 | ||
| 119 | jQuery Mobile | 8년 전 | 1681 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기