제이쿼리모바일 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 } );
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 148 | AngularJS | 8년 전 | 1672 | ||
| 147 | AngularJS | 8년 전 | 1086 | ||
| 146 | AngularJS | 8년 전 | 1272 | ||
| 145 | AngularJS | 8년 전 | 1377 | ||
| 144 | AngularJS | 8년 전 | 1168 | ||
| 143 | AngularJS | 8년 전 | 1214 | ||
| 142 | AngularJS | 8년 전 | 1183 | ||
| 141 | AngularJS | 8년 전 | 1344 | ||
| 140 | AngularJS | 8년 전 | 1208 | ||
| 139 | AngularJS | 8년 전 | 1457 | ||
| 138 | AngularJS | 8년 전 | 1162 | ||
| 137 | AngularJS | 8년 전 | 1085 | ||
| 136 | AngularJS | 8년 전 | 1174 | ||
| 135 | AngularJS | 8년 전 | 1691 | ||
| 134 | AngularJS | 8년 전 | 1397 | ||
| 133 | AngularJS | 8년 전 | 1487 | ||
| 132 | AngularJS | 8년 전 | 1107 | ||
| 131 | AngularJS | 8년 전 | 1382 | ||
| 130 | AngularJS | 8년 전 | 1474 | ||
| 129 | AngularJS | 8년 전 | 1453 | ||
| 128 | AngularJS | 8년 전 | 2080 | ||
| 127 | AngularJS | 8년 전 | 1506 | ||
| 126 | jQuery Mobile | 8년 전 | 2276 | ||
| 125 | jQuery Mobile | 8년 전 | 2031 | ||
| 124 | jQuery Mobile | 8년 전 | 1892 | ||
| 123 | jQuery Mobile | 8년 전 | 1829 | ||
| 122 | jQuery Mobile | 8년 전 | 1870 | ||
| 121 | jQuery Mobile | 8년 전 | 2072 | ||
| 120 | jQuery Mobile | 8년 전 | 1608 | ||
| 119 | jQuery Mobile | 8년 전 | 1688 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기