반응형
제이쿼리모바일 button widget option theme 테마
Type: String
Default: null, inherited from parent
버튼 위젯의 색표 (견본)를 설정합니다. 테마에 포함 된 견본에 매핑되는 az의 단일 문자를 허용합니다.
가능한 값 : 견본 문자 (az).
이 옵션은 데이터 속성으로도 노출됩니다 data-theme="b".
코드 예제 :
지정된 theme옵션으로 버튼을 초기화하십시오 .
$( ".selector" ).button({
theme: "b"
});
theme초기화 후에 옵션을 가져 오거나 설정하십시오 .
// Getter
var theme = $( ".selector" ).button( "option", "theme" );
// Setter
$( ".selector" ).button( "option", "theme", "b" );
반응형
'IT > 제이쿼리모바일' 카테고리의 다른 글
제이쿼리모바일 button method -> option 들 (0) | 2017.02.20 |
---|---|
제이쿼리 모바일 button Methods : destroy , disable, enable (0) | 2017.02.20 |
제이쿼리모바일 button widget option initSelector (0) | 2017.02.19 |
제이쿼리모바일 button widget option inline , mini, shadow (0) | 2017.02.19 |
제이쿼리모바일 Button Widget Option enhanced icon iconpos iconshadow (0) | 2017.02.17 |