forked from pandoraui/jquery-chm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeferred.notifyWith.html
More file actions
42 lines (41 loc) · 2.82 KB
/
deferred.notifyWith.html
File metadata and controls
42 lines (41 loc) · 2.82 KB
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.notifyWith(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.notifyWith">
<h2><span>返回值:Deferred Object</span>deferred.notifyWith(context,[args])</h2>
<h3>概述</h3>
<div class="desc">
<p>去掉å—ç¬¦ä¸²èµ·å§‹å’Œç»“å°¾çš„ç©ºæ ¼ã€‚</p>
<div class="longdesc">
<p>当deferred.notifyWith,任何doneCallbacks æ·»åŠ çš„<span id="result_box3" lang="zh-CN" xml:lang="zh-CN"> progressCallbacks</span>,<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在deferred.reject()ä¸è°ƒç”¨ã€‚notifyWith()延迟åŽè§£å†³æˆ–æ‹’ç»(<span id="result_box4" lang="zh-CN" xml:lang="zh-CN"> æˆ–æ·»åŠ ä»»ä½•progressCallbacksåŽï¼‰</span><span id="result_box5" lang="zh-CN" xml:lang="zh-CN">被忽略</span>。有关详细信æ¯ï¼Œè¯·å‚阅文件<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><span>String</span><em>V1.7</em></h4>
<p><span id="result_box" lang="zh-CN" xml:lang="zh-CN">ä¸Šä¸‹æ–‡ä¼ é€’progressCallbacksæ¤å¯¹è±¡ã€‚</span></p>
<h4><strong>args</strong><span>String</span><em>V1.7</em></h4>
<p><span id="result_box2" lang="zh-CN" xml:lang="zh-CN">å¯é€‰å‚æ•°ä¼ é€’åˆ°progressCallbacks。</span></p>
</div>
</div>
</div>
</body>
</html>