테스트 사이트 - 개발 중인 베타 버전입니다

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" );

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

게시판 목록

퍼블리싱강좌

글쓰기