제이쿼리모바일 button Events
제이쿼리모바일 button Events
create( event, ui )Type: buttoncreate
단추가 만들어 질 때 트리거됩니다
event
Type: Event
ui
Type: Object
참고 : ui객체는 비어 있지만 다른 이벤트와의 일관성을 위해 포함됩니다.
코드 예제 :
지정된 콜백 생성으로 버튼을 초기화하십시오 :
$( ".selector" ).button({
create: function( event, ui ) {}
});
Bind an event listener to the buttoncreate event:
$( ".selector" ).on( "buttoncreate", function( event, ui ) {} );
Example:
버튼의 기본 예제
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>button demo</title>
<link rel="stylesheet" href="//code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="//code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
</head>
<body>
<div data-role="page" id="page1">
<div data-role="header">
<h1>jQuery Mobile Example</h1>
</div>
<div role="main" class="ui-content">
<form action="#" method="get">
<input type="submit" value="Input Button"></input>
</form>
</div>
</div>
</body>
</html>
create( event, ui )Type: buttoncreate
단추가 만들어 질 때 트리거됩니다
event
Type: Event
ui
Type: Object
참고 : ui객체는 비어 있지만 다른 이벤트와의 일관성을 위해 포함됩니다.
코드 예제 :
지정된 콜백 생성으로 버튼을 초기화하십시오 :
$( ".selector" ).button({
create: function( event, ui ) {}
});
Bind an event listener to the buttoncreate event:
$( ".selector" ).on( "buttoncreate", function( event, ui ) {} );
Example:
버튼의 기본 예제
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>button demo</title>
<link rel="stylesheet" href="//code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="//code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
</head>
<body>
<div data-role="page" id="page1">
<div data-role="header">
<h1>jQuery Mobile Example</h1>
</div>
<div role="main" class="ui-content">
<form action="#" method="get">
<input type="submit" value="Input Button"></input>
</form>
</div>
</div>
</body>
</html>
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 58 | jQuery Mobile | 8년 전 | 2988 | ||
| 57 | jQuery Mobile | 8년 전 | 2031 | ||
| 56 | jQuery Mobile | 8년 전 | 1367 | ||
| 55 | jQuery Mobile | 8년 전 | 1557 | ||
| 54 | jQuery Mobile | 8년 전 | 2239 | ||
| 53 | jQuery Mobile | 8년 전 | 1538 | ||
| 52 | jQuery Mobile | 8년 전 | 1559 | ||
| 51 | jQuery Mobile | 8년 전 | 1427 | ||
| 50 | jQuery Mobile | 8년 전 | 1317 | ||
| 49 | jQuery Mobile | 8년 전 | 1819 | ||
| 48 | jQuery Mobile | 8년 전 | 1462 | ||
| 47 | jQuery Mobile | 8년 전 | 2021 | ||
| 46 | jQuery Mobile | 8년 전 | 1982 | ||
| 45 | jQuery Mobile | 8년 전 | 1514 | ||
| 44 | jQuery Mobile | 8년 전 | 1678 | ||
| 43 | jQuery Mobile | 8년 전 | 1791 | ||
| 42 | jQuery Mobile | 8년 전 | 1668 | ||
| 41 | jQuery Mobile | 8년 전 | 1835 | ||
| 40 | jQuery Mobile | 8년 전 | 1480 | ||
| 39 | jQuery Mobile | 8년 전 | 1635 | ||
| 38 | jQuery Mobile | 8년 전 | 2182 | ||
| 37 | jQuery Mobile | 8년 전 | 2685 | ||
| 36 | jQuery Mobile | 8년 전 | 2133 | ||
| 35 | jQuery Mobile | 8년 전 | 1523 | ||
| 34 | jQuery Mobile | 8년 전 | 2427 | ||
| 33 | AngularJS | 8년 전 | 2876 | ||
| 32 | AngularJS | 8년 전 | 2438 | ||
| 31 | AngularJS | 8년 전 | 1767 | ||
| 30 | AngularJS | 8년 전 | 2843 | ||
| 29 | AngularJS | 8년 전 | 2403 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기