제이쿼리모바일 button method -> option 들
제이쿼리모바일 button method -> option 들
option( optionName )
반환 값 : Object
현재 지정된 값과 연결된 값을 가져옵니다 optionName.
optionName
Type: String
얻을 옵션의 이름.
코드 예제 :
메소드 호출 :
var isDisabled = $( ".selector" ).button( "option", "disabled" );
option ()
반환 값 : PlainObject
현재 버튼 옵션 해시를 나타내는 키 / 값 쌍이 들어있는 객체를 가져옵니다.
이 서명은 인수를 허용하지 않습니다.
코드 예제 :
메소드 호출 :
var options = $( ".selector" ).button( "option" );
option( optionName, value )
반환 값 : jQuery ( 플러그인에만 해당 )
지정된 옵션과 연관된 단추 옵션의 값을 설정합니다 optionName.
- optionName
Type: String
설정할 옵션의 이름.
- value
Type: Object
옵션에 설정할 값입니다.
코드 예제 :
메소드 호출 :
$( ".selector" ).button( "option", "disabled", true );
option( options )
반환 값 : jQuery ( 플러그인에만 해당 )
단추에 대한 하나 이상의 옵션을 설정합니다.
options
Type: Object
설정할 옵션 - 값 쌍의 맵입니다.
코드 예제 :
메소드 호출 :
$( ".selector" ).button( "option", { disabled: true } );
option( optionName )
반환 값 : Object
현재 지정된 값과 연결된 값을 가져옵니다 optionName.
optionName
Type: String
얻을 옵션의 이름.
코드 예제 :
메소드 호출 :
var isDisabled = $( ".selector" ).button( "option", "disabled" );
option ()
반환 값 : PlainObject
현재 버튼 옵션 해시를 나타내는 키 / 값 쌍이 들어있는 객체를 가져옵니다.
이 서명은 인수를 허용하지 않습니다.
코드 예제 :
메소드 호출 :
var options = $( ".selector" ).button( "option" );
option( optionName, value )
반환 값 : jQuery ( 플러그인에만 해당 )
지정된 옵션과 연관된 단추 옵션의 값을 설정합니다 optionName.
- optionName
Type: String
설정할 옵션의 이름.
- value
Type: Object
옵션에 설정할 값입니다.
코드 예제 :
메소드 호출 :
$( ".selector" ).button( "option", "disabled", true );
option( options )
반환 값 : jQuery ( 플러그인에만 해당 )
단추에 대한 하나 이상의 옵션을 설정합니다.
options
Type: Object
설정할 옵션 - 값 쌍의 맵입니다.
코드 예제 :
메소드 호출 :
$( ".selector" ).button( "option", { disabled: true } );
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 88 | jQuery Mobile | 8년 전 | 1930 | ||
| 87 | jQuery Mobile | 8년 전 | 1910 | ||
| 86 | jQuery Mobile | 8년 전 | 1517 | ||
| 85 | jQuery Mobile | 8년 전 | 1827 | ||
| 84 | jQuery Mobile | 8년 전 | 1863 | ||
| 83 | jQuery Mobile | 8년 전 | 1878 | ||
| 82 | jQuery Mobile | 8년 전 | 1650 | ||
| 81 | jQuery Mobile | 8년 전 | 1370 | ||
| 80 | jQuery Mobile | 8년 전 | 1805 | ||
| 79 | jQuery Mobile | 8년 전 | 1355 | ||
| 78 | jQuery Mobile | 8년 전 | 1752 | ||
| 77 | jQuery Mobile | 8년 전 | 1778 | ||
| 76 | jQuery Mobile | 8년 전 | 1787 | ||
| 75 | jQuery Mobile | 8년 전 | 1399 | ||
| 74 | jQuery Mobile | 8년 전 | 1537 | ||
| 73 | jQuery Mobile | 8년 전 | 1245 | ||
| 72 | jQuery Mobile | 8년 전 | 1627 | ||
| 71 | jQuery Mobile | 8년 전 | 1620 | ||
| 70 | jQuery Mobile | 8년 전 | 1502 | ||
| 69 | jQuery Mobile | 8년 전 | 1509 | ||
| 68 | jQuery Mobile | 8년 전 | 2045 | ||
| 67 | jQuery Mobile | 8년 전 | 1314 | ||
| 66 | jQuery Mobile | 8년 전 | 1691 | ||
| 65 | jQuery Mobile | 8년 전 | 1183 | ||
| 64 | jQuery Mobile | 8년 전 | 1466 | ||
| 63 | jQuery Mobile | 8년 전 | 1654 | ||
| 62 | jQuery Mobile | 8년 전 | 1632 | ||
| 61 | jQuery Mobile | 8년 전 | 1874 | ||
| 60 | jQuery Mobile | 8년 전 | 1405 | ||
| 59 | jQuery Mobile | 8년 전 | 1962 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기