-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdeferred.resolveWith.html
42 lines (41 loc) · 2.57 KB
/
deferred.resolveWith.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
42
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>deferred.resolveWith(context,[args]) | 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.resolveWith">
<h2><span>杩斿洖鍊�:Deferred Object</span>deferred.resolveWith(context,[args])</h2>
<h3>姒傝堪</h3>
<div class="desc">
<p>瑙e喅閫掑欢瀵硅薄锛屽苟鏍规嵁缁欏畾鐨勪笂涓嬫枃鍜屽弬鏁拌皟鐢ㄤ换浣曞畬鎴愮殑鍥炶皟鍑芥暟銆�</p>
<div class="longdesc">
<p>褰撻�掑欢琚В鍐筹紝浠讳綍doneCallbacks 娣诲姞鐨�<a href="deferred.then.html" tppabs="http://hemin.cn/jq/deferred.then.html">deferred.then</a>鎴�<a href="deferred.fail.html" tppabs="http://hemin.cn/jq/deferred.fail.html">deferred.fail</a>琚皟鐢ㄣ�傚洖璋冩寜浠栦滑娣诲姞鐨勯『搴忔墽琛屻�傛瘡涓洖璋冧紶閫掔殑args鍦╠eferred.reject()涓皟鐢ㄣ�備箣鍚庢坊鍔犱换浣昮ailCallbacks閫掑欢琚嫆缁濊繘鍏ョ姸鎬佹椂锛岀珛鍗虫墽琛屾坊鍔狅紝浣跨敤鐨勫弬鏁拌浼犻�掔粰.reject()璋冪敤銆傛湁鍏宠缁嗕俊鎭紝璇峰弬闃呮枃浠�<a href="javascript:if(confirm('http://api.jquery.com/category/deferred-object/ \n\n文件并未依 Teleport Pro 取回,因为 它的域或路径超过开始网址中设置的范围。 \n\n你要从服务器上打开它吗?'))window.location='http://api.jquery.com/category/deferred-object/'" tppabs="http://api.jquery.com/category/deferred-object/">Deferred object</a> 銆�</p>
</div>
</div>
<h3>鍙傛暟</h3>
<div class="parameter">
<h4><strong>context</strong><em>V1.5</em></h4>
<p>涓婁笅鏂囦綔涓簍his瀵硅薄浼犻�掔粰 doneCallbacks 銆� </p>
<h4><strong>args</strong><em>V1.5</em></h4>
<p>浼犻�掔粰doneCallbacks鐨勫彲閫夊弬鏁� </p>
</div>
</div>
</div>
</body>
</html>