forked from pandoraui/jquery-chm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deferred.state.html
41 lines (40 loc) · 3.59 KB
/
deferred.state.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>deferred.state() | jQuery API 涓枃鎵嬪唽</title>
<meta name="author" content="jQuery 涓枃鎵嬪唽 - hemin.cn/jq/">
<meta name="description" content="jQuery涓枃鎵嬪唽(鍦ㄧ嚎鐗�),浣滆��:hemin,鍦ㄧ嚎鎵嬪唽:hemin.cn/jq/,涓嬭浇:hemin.cn/jq/downloads/">
<link type="text/css" rel="stylesheet" href="style/style.css" tppabs="http://hemin.cn/jq/style/style.css" />
<script type="text/javascript" src="js/jquery.min.js" tppabs="http://hemin.cn/jq/js/jquery.min.js"></script>
<script type="text/javascript" src="js/js.js" tppabs="http://hemin.cn/jq/js/js.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-15318881-10', 'pandoraui.github.io');
ga('send', 'pageview');
</script>
</head>
<body id="split">
<div id="content" class="a2">
<div rel="deferred.state">
<h2><span>杩斿洖鍊�:Deferred Object</span>deferred.state()</h2>
<h3><em>V1.7</em>姒傝堪</h3>
<div class="desc">
<p><span id="result_box" lang="zh-CN" xml:lang="zh-CN">纭畾涓�涓狣eferred瀵硅薄鐨勫綋鍓嶇姸鎬�</span>銆�</p>
<div class="longdesc">
<p><span id="result_box2" lang="zh-CN" xml:lang="zh-CN">deferred.state锛堬級鏂规硶杩斿洖涓�涓瓧绗︿覆锛屼唬琛―eferred瀵硅薄鐨勫綋鍓嶇姸鎬併�� Deferred瀵硅薄鍙互鍦ㄤ笁绉嶇姸鎬佷箣涓�锛�</span></p>
<ul>
<li> <strong>pending</strong>: Deferred瀵硅薄鏄皻鏈畬鎴愮姸鎬� (涓嶆槸 "rejected" 鎴� "resolved"). </li>
<li> <strong>resolved</strong>: Deferred瀵硅薄鏄湪瑙e喅鐘舵�侊紝杩欐剰鍛崇潃锛�<a href="javascript:if(confirm('http://api.jquery.com/deferred.resolve/ \n\n文件并未依 Teleport Pro 取回,因为 它的域或路径超过开始网址中设置的范围。 \n\n你要从服务器上打开它吗?'))window.location='http://api.jquery.com/deferred.resolve/'" tppabs="http://api.jquery.com/deferred.resolve/">deferred.resolve()</a> 鎴栬�� <a href="javascript:if(confirm('http://api.jquery.com/deferred.resolveWith/ \n\n文件并未依 Teleport Pro 取回,因为 它的域或路径超过开始网址中设置的范围。 \n\n你要从服务器上打开它吗?'))window.location='http://api.jquery.com/deferred.resolveWith/'" tppabs="http://api.jquery.com/deferred.resolveWith/">deferred.resolveWith()</a>琚璞¤闂拰doneCallbacks琚闂紙鎴栧湪琚皟鐢ㄧ殑杩囩▼涓級 銆� </li>
<li> <strong>rejected</strong>: Deferred瀵硅薄鏄湪琚嫆缁濈殑鐘舵�侊紝杩欐剰鍛崇潃锛�<a href="javascript:if(confirm('http://api.jquery.com/deferred.reject/ \n\n文件并未依 Teleport Pro 取回,因为 它的域或路径超过开始网址中设置的范围。 \n\n你要从服务器上打开它吗?'))window.location='http://api.jquery.com/deferred.reject/'" tppabs="http://api.jquery.com/deferred.reject/">deferred.reject()</a> 鎴栬�� <a href="javascript:if(confirm('http://api.jquery.com/deferred.rejectWith/ \n\n文件并未依 Teleport Pro 取回,因为 它的域或路径超过开始网址中设置的范围。 \n\n你要从服务器上打开它吗?'))window.location='http://api.jquery.com/deferred.rejectWith/'" tppabs="http://api.jquery.com/deferred.rejectWith/">deferred.rejectWith()</a> 琚璞¤闂拰failCallbacks琚闂紙鎴栧湪琚皟鐢ㄧ殑杩囩▼涓級 銆� </li>
</ul>
<p> 杩欑鏂规硶涓昏鏄湁鐢ㄧ殑璋冭瘯锛屼互纭畾鐨勶紝渚嬪锛岄�掑欢鏄惁宸茬粡寰楀埌瑙e喅锛屽嵆浣夸綘鎵撶畻鎷掔粷瀹冪殑鍐呴儴浠g爜銆� </p>
</div>
</div>
</div>
</div>
</body>
</html>