button widget option theme 테마 > 퍼블리싱강좌

퍼블리싱강좌

button widget option theme 테마 정보

jQuery Mobile button widget option theme 테마

본문

제이쿼리모바일 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" );
추천
0
  • 복사

댓글 0개

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