제이쿼리 모바일 checkboxradio widget - option -> disabled > 퍼블리싱강좌

퍼블리싱강좌

제이쿼리 모바일 checkboxradio widget - option -> disabled 정보

jQuery Mobile 제이쿼리 모바일 checkboxradio widget - option -> disabled

본문

제이쿼리 모바일 checkboxradio widget - option -> disabled 

Type: Boolean
Default: false


checkboxradio가로 설정된 경우이를 비활성화합니다 true.
이 옵션은 데이터 속성으로도 노출됩니다 data-disabled="true".

코드 예제 :
지정된 disabled옵션으로 checkboxradio를 초기화하십시오.

$( ".selector" ).checkboxradio({
  disabled: true
});

disabled초기화 후에 옵션을 가져 오거나 설정하십시오 .

// Getter
var disabled = $( ".selector" ).checkboxradio( "option", "disabled" );
 
// Setter
$( ".selector" ).checkboxradio( "option", "disabled", true );
추천
0
  • 복사

댓글 0개

© SIRSOFT
현재 페이지 제일 처음으로