5
<title>AsyncQueue - YUI 3</title>
6
<link rel="stylesheet" href="http://yui.yahooapis.com/3.5.0pr4/build/cssgrids/cssgrids-min.css">
7
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
8
<link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
9
<script src="http://yui.yahooapis.com/3.5.0pr4/build/yui/yui-min.js"></script>
11
<body class="yui3-skin-sam">
14
<div id="hd" class="yui3-g header">
15
<div class="yui3-u-3-4">
17
<h1><img src="../assets/css/logo.png" title="YUI 3"></h1>
20
<div class="yui3-u-1-4 version">
21
<em>API Docs for: 3.5.0</em>
24
<div id="bd" class="yui3-g">
26
<div class="yui3-u-1-4">
27
<div id="docs-sidebar" class="sidebar apidocs">
29
<h2 class="off-left">APIs</h2>
30
<div id="api-tabview" class="tabview">
32
<li><a href="#api-classes">Classes</a></li>
33
<li><a href="#api-modules">Modules</a></li>
36
<div id="api-tabview-filter">
37
<input type="search" id="api-filter" placeholder="Type to filter APIs">
40
<div id="api-tabview-panel">
41
<ul id="api-classes" class="apis classes">
43
<li><a href="../classes/Anim.html">Anim</a></li>
45
<li><a href="../classes/App.html">App</a></li>
47
<li><a href="../classes/App.Base.html">App.Base</a></li>
49
<li><a href="../classes/App.Transitions.html">App.Transitions</a></li>
51
<li><a href="../classes/App.TransitionsNative.html">App.TransitionsNative</a></li>
53
<li><a href="../classes/AreaSeries.html">AreaSeries</a></li>
55
<li><a href="../classes/AreaSplineSeries.html">AreaSplineSeries</a></li>
57
<li><a href="../classes/Array.html">Array</a></li>
59
<li><a href="../classes/ArrayList.html">ArrayList</a></li>
61
<li><a href="../classes/ArraySort.html">ArraySort</a></li>
63
<li><a href="../classes/AsyncQueue.html">AsyncQueue</a></li>
65
<li><a href="../classes/Attribute.html">Attribute</a></li>
67
<li><a href="../classes/AttributeCore.html">AttributeCore</a></li>
69
<li><a href="../classes/AttributeEvents.html">AttributeEvents</a></li>
71
<li><a href="../classes/AttributeExtras.html">AttributeExtras</a></li>
73
<li><a href="../classes/AttributeLite.html">AttributeLite</a></li>
75
<li><a href="../classes/AutoComplete.html">AutoComplete</a></li>
77
<li><a href="../classes/AutoCompleteBase.html">AutoCompleteBase</a></li>
79
<li><a href="../classes/AutoCompleteFilters.html">AutoCompleteFilters</a></li>
81
<li><a href="../classes/AutoCompleteHighlighters.html">AutoCompleteHighlighters</a></li>
83
<li><a href="../classes/AutoCompleteList.html">AutoCompleteList</a></li>
85
<li><a href="../classes/Axis.html">Axis</a></li>
87
<li><a href="../classes/AxisType.html">AxisType</a></li>
89
<li><a href="../classes/BarSeries.html">BarSeries</a></li>
91
<li><a href="../classes/Base.html">Base</a></li>
93
<li><a href="../classes/BaseCore.html">BaseCore</a></li>
95
<li><a href="../classes/BottomAxisLayout.html">BottomAxisLayout</a></li>
97
<li><a href="../classes/Button.html">Button</a></li>
99
<li><a href="../classes/ButtonCore.html">ButtonCore</a></li>
101
<li><a href="../classes/ButtonGroup.html">ButtonGroup</a></li>
103
<li><a href="../classes/ButtonPlugin.html">ButtonPlugin</a></li>
105
<li><a href="../classes/Cache.html">Cache</a></li>
107
<li><a href="../classes/CacheOffline.html">CacheOffline</a></li>
109
<li><a href="../classes/Calendar.html">Calendar</a></li>
111
<li><a href="../classes/CalendarBase.html">CalendarBase</a></li>
113
<li><a href="../classes/CanvasCircle.html">CanvasCircle</a></li>
115
<li><a href="../classes/CanvasDrawing.html">CanvasDrawing</a></li>
117
<li><a href="../classes/CanvasEllipse.html">CanvasEllipse</a></li>
119
<li><a href="../classes/CanvasGraphic.html">CanvasGraphic</a></li>
121
<li><a href="../classes/CanvasPath.html">CanvasPath</a></li>
123
<li><a href="../classes/CanvasPieSlice.html">CanvasPieSlice</a></li>
125
<li><a href="../classes/CanvasRect.html">CanvasRect</a></li>
127
<li><a href="../classes/CanvasShape.html">CanvasShape</a></li>
129
<li><a href="../classes/CartesianChart.html">CartesianChart</a></li>
131
<li><a href="../classes/CartesianSeries.html">CartesianSeries</a></li>
133
<li><a href="../classes/CategoryAxis.html">CategoryAxis</a></li>
135
<li><a href="../classes/Chart.html">Chart</a></li>
137
<li><a href="../classes/ChartBase.html">ChartBase</a></li>
139
<li><a href="../classes/ChartLegend.html">ChartLegend</a></li>
141
<li><a href="../classes/Circle.html">Circle</a></li>
143
<li><a href="../classes/ClassNameManager.html">ClassNameManager</a></li>
145
<li><a href="../classes/ClickableRail.html">ClickableRail</a></li>
147
<li><a href="../classes/ColumnSeries.html">ColumnSeries</a></li>
149
<li><a href="../classes/ComboSeries.html">ComboSeries</a></li>
151
<li><a href="../classes/ComboSplineSeries.html">ComboSplineSeries</a></li>
153
<li><a href="../classes/config.html">config</a></li>
155
<li><a href="../classes/Console.html">Console</a></li>
157
<li><a href="../classes/Controller.html">Controller</a></li>
159
<li><a href="../classes/Cookie.html">Cookie</a></li>
161
<li><a href="../classes/CurveUtil.html">CurveUtil</a></li>
163
<li><a href="../classes/CustomEvent.html">CustomEvent</a></li>
165
<li><a href="../classes/DataSchema.Array.html">DataSchema.Array</a></li>
167
<li><a href="../classes/DataSchema.Base.html">DataSchema.Base</a></li>
169
<li><a href="../classes/DataSchema.JSON.html">DataSchema.JSON</a></li>
171
<li><a href="../classes/DataSchema.Text.html">DataSchema.Text</a></li>
173
<li><a href="../classes/DataSchema.XML.html">DataSchema.XML</a></li>
175
<li><a href="../classes/DataSource.Function.html">DataSource.Function</a></li>
177
<li><a href="../classes/DataSource.Get.html">DataSource.Get</a></li>
179
<li><a href="../classes/DataSource.IO.html">DataSource.IO</a></li>
181
<li><a href="../classes/DataSource.Local.html">DataSource.Local</a></li>
183
<li><a href="../classes/DataSourceArraySchema.html">DataSourceArraySchema</a></li>
185
<li><a href="../classes/DataSourceCache.html">DataSourceCache</a></li>
187
<li><a href="../classes/DataSourceCacheExtension.html">DataSourceCacheExtension</a></li>
189
<li><a href="../classes/DataSourceJSONSchema.html">DataSourceJSONSchema</a></li>
191
<li><a href="../classes/DataSourceTextSchema.html">DataSourceTextSchema</a></li>
193
<li><a href="../classes/DataSourceXMLSchema.html">DataSourceXMLSchema</a></li>
195
<li><a href="../classes/DataTable.html">DataTable</a></li>
197
<li><a href="../classes/DataTable.Base.html">DataTable.Base</a></li>
199
<li><a href="../classes/DataTable.BodyView.html">DataTable.BodyView</a></li>
201
<li><a href="../classes/DataTable.ColumnWidths.html">DataTable.ColumnWidths</a></li>
203
<li><a href="../classes/DataTable.Core.html">DataTable.Core</a></li>
205
<li><a href="../classes/DataTable.HeaderView.html">DataTable.HeaderView</a></li>
207
<li><a href="../classes/DataTable.Message.html">DataTable.Message</a></li>
209
<li><a href="../classes/DataTable.Mutable.html">DataTable.Mutable</a></li>
211
<li><a href="../classes/DataTable.Scrollable.html">DataTable.Scrollable</a></li>
213
<li><a href="../classes/DataTable.Sortable.html">DataTable.Sortable</a></li>
215
<li><a href="../classes/DataType.Date.html">DataType.Date</a></li>
217
<li><a href="../classes/DataType.Date.Locale.html">DataType.Date.Locale</a></li>
219
<li><a href="../classes/DataType.Number.html">DataType.Number</a></li>
221
<li><a href="../classes/DataType.XML.html">DataType.XML</a></li>
223
<li><a href="../classes/DD.DDM.html">DD.DDM</a></li>
225
<li><a href="../classes/DD.Delegate.html">DD.Delegate</a></li>
227
<li><a href="../classes/DD.Drag.html">DD.Drag</a></li>
229
<li><a href="../classes/DD.Drop.html">DD.Drop</a></li>
231
<li><a href="../classes/DD.Plugin.DDWindowScroll.html">DD.Plugin.DDWindowScroll</a></li>
233
<li><a href="../classes/DD.Scroll.html">DD.Scroll</a></li>
235
<li><a href="../classes/Dial.html">Dial</a></li>
237
<li><a href="../classes/Do.html">Do</a></li>
239
<li><a href="../classes/Do.AlterArgs.html">Do.AlterArgs</a></li>
241
<li><a href="../classes/Do.AlterReturn.html">Do.AlterReturn</a></li>
243
<li><a href="../classes/Do.Error.html">Do.Error</a></li>
245
<li><a href="../classes/Do.Halt.html">Do.Halt</a></li>
247
<li><a href="../classes/Do.Method.html">Do.Method</a></li>
249
<li><a href="../classes/Do.Prevent.html">Do.Prevent</a></li>
251
<li><a href="../classes/DOM.html">DOM</a></li>
253
<li><a href="../classes/DOMEventFacade.html">DOMEventFacade</a></li>
255
<li><a href="../classes/Drawing.html">Drawing</a></li>
257
<li><a href="../classes/Easing.html">Easing</a></li>
259
<li><a href="../classes/EditorBase.html">EditorBase</a></li>
261
<li><a href="../classes/EditorSelection.html">EditorSelection</a></li>
263
<li><a href="../classes/Ellipse.html">Ellipse</a></li>
265
<li><a href="../classes/EllipseGroup.html">EllipseGroup</a></li>
267
<li><a href="../classes/Escape.html">Escape</a></li>
269
<li><a href="../classes/Event.html">Event</a></li>
271
<li><a href="../classes/EventFacade.html">EventFacade</a></li>
273
<li><a href="../classes/EventHandle.html">EventHandle</a></li>
275
<li><a href="../classes/EventTarget.html">EventTarget</a></li>
277
<li><a href="../classes/ExecCommand.html">ExecCommand</a></li>
279
<li><a href="../classes/Features.html">Features</a></li>
281
<li><a href="../classes/File.html">File</a></li>
283
<li><a href="../classes/FileFlash.html">FileFlash</a></li>
285
<li><a href="../classes/FileHTML5.html">FileHTML5</a></li>
287
<li><a href="../classes/Fills.html">Fills</a></li>
289
<li><a href="../classes/Frame.html">Frame</a></li>
291
<li><a href="../classes/Get.html">Get</a></li>
293
<li><a href="../classes/Get.Transaction.html">Get.Transaction</a></li>
295
<li><a href="../classes/GetNodeJS.html">GetNodeJS</a></li>
297
<li><a href="../classes/Graph.html">Graph</a></li>
299
<li><a href="../classes/Graphic.html">Graphic</a></li>
301
<li><a href="../classes/GraphicBase.html">GraphicBase</a></li>
303
<li><a href="../classes/Gridlines.html">Gridlines</a></li>
305
<li><a href="../classes/GroupCircle.html">GroupCircle</a></li>
307
<li><a href="../classes/GroupDiamond.html">GroupDiamond</a></li>
309
<li><a href="../classes/GroupRect.html">GroupRect</a></li>
311
<li><a href="../classes/Handlebars.html">Handlebars</a></li>
313
<li><a href="../classes/Highlight.html">Highlight</a></li>
315
<li><a href="../classes/Histogram.html">Histogram</a></li>
317
<li><a href="../classes/HistoryBase.html">HistoryBase</a></li>
319
<li><a href="../classes/HistoryHash.html">HistoryHash</a></li>
321
<li><a href="../classes/HistoryHTML5.html">HistoryHTML5</a></li>
323
<li><a href="../classes/HorizontalLegendLayout.html">HorizontalLegendLayout</a></li>
325
<li><a href="../classes/ImgLoadGroup.html">ImgLoadGroup</a></li>
327
<li><a href="../classes/ImgLoadImgObj.html">ImgLoadImgObj</a></li>
329
<li><a href="../classes/Intl.html">Intl</a></li>
331
<li><a href="../classes/IO.html">IO</a></li>
333
<li><a href="../classes/json.html">json</a></li>
335
<li><a href="../classes/JSONPRequest.html">JSONPRequest</a></li>
337
<li><a href="../classes/Lang.html">Lang</a></li>
339
<li><a href="../classes/LeftAxisLayout.html">LeftAxisLayout</a></li>
341
<li><a href="../classes/Lines.html">Lines</a></li>
343
<li><a href="../classes/LineSeries.html">LineSeries</a></li>
345
<li><a href="../classes/Loader.html">Loader</a></li>
347
<li><a href="../classes/MarkerSeries.html">MarkerSeries</a></li>
349
<li><a href="../classes/Matrix.html">Matrix</a></li>
351
<li><a href="../classes/Model.html">Model</a></li>
353
<li><a href="../classes/ModelList.html">ModelList</a></li>
355
<li><a href="../classes/Node.html">Node</a></li>
357
<li><a href="../classes/NodeList.html">NodeList</a></li>
359
<li><a href="../classes/NumericAxis.html">NumericAxis</a></li>
361
<li><a href="../classes/Object.html">Object</a></li>
363
<li><a href="../classes/Overlay.html">Overlay</a></li>
365
<li><a href="../classes/Panel.html">Panel</a></li>
367
<li><a href="../classes/Parallel.html">Parallel</a></li>
369
<li><a href="../classes/Path.html">Path</a></li>
371
<li><a href="../classes/PieChart.html">PieChart</a></li>
373
<li><a href="../classes/PieSeries.html">PieSeries</a></li>
375
<li><a href="../classes/Pjax.html">Pjax</a></li>
377
<li><a href="../classes/PjaxBase.html">PjaxBase</a></li>
379
<li><a href="../classes/Plots.html">Plots</a></li>
381
<li><a href="../classes/Plugin.Align.html">Plugin.Align</a></li>
383
<li><a href="../classes/Plugin.AutoComplete.html">Plugin.AutoComplete</a></li>
385
<li><a href="../classes/Plugin.Base.html">Plugin.Base</a></li>
387
<li><a href="../classes/Plugin.Cache.html">Plugin.Cache</a></li>
389
<li><a href="../classes/Plugin.CalendarNavigator.html">Plugin.CalendarNavigator</a></li>
391
<li><a href="../classes/Plugin.ConsoleFilters.html">Plugin.ConsoleFilters</a></li>
393
<li><a href="../classes/Plugin.CreateLinkBase.html">Plugin.CreateLinkBase</a></li>
395
<li><a href="../classes/Plugin.DataTableDataSource.html">Plugin.DataTableDataSource</a></li>
397
<li><a href="../classes/Plugin.DDConstrained.html">Plugin.DDConstrained</a></li>
399
<li><a href="../classes/Plugin.DDNodeScroll.html">Plugin.DDNodeScroll</a></li>
401
<li><a href="../classes/Plugin.DDProxy.html">Plugin.DDProxy</a></li>
403
<li><a href="../classes/Plugin.Drag.html">Plugin.Drag</a></li>
405
<li><a href="../classes/Plugin.Drop.html">Plugin.Drop</a></li>
407
<li><a href="../classes/Plugin.EditorBidi.html">Plugin.EditorBidi</a></li>
409
<li><a href="../classes/Plugin.EditorBR.html">Plugin.EditorBR</a></li>
411
<li><a href="../classes/Plugin.EditorLists.html">Plugin.EditorLists</a></li>
413
<li><a href="../classes/Plugin.EditorPara.html">Plugin.EditorPara</a></li>
415
<li><a href="../classes/Plugin.EditorParaBase.html">Plugin.EditorParaBase</a></li>
417
<li><a href="../classes/Plugin.EditorParaIE.html">Plugin.EditorParaIE</a></li>
419
<li><a href="../classes/Plugin.EditorTab.html">Plugin.EditorTab</a></li>
421
<li><a href="../classes/Plugin.ExecCommand.html">Plugin.ExecCommand</a></li>
423
<li><a href="../classes/Plugin.Flick.html">Plugin.Flick</a></li>
425
<li><a href="../classes/Plugin.Host.html">Plugin.Host</a></li>
427
<li><a href="../classes/plugin.NodeFocusManager.html">plugin.NodeFocusManager</a></li>
429
<li><a href="../classes/Plugin.NodeFX.html">Plugin.NodeFX</a></li>
431
<li><a href="../classes/plugin.NodeMenuNav.html">plugin.NodeMenuNav</a></li>
433
<li><a href="../classes/Plugin.Pjax.html">Plugin.Pjax</a></li>
435
<li><a href="../classes/Plugin.Resize.html">Plugin.Resize</a></li>
437
<li><a href="../classes/Plugin.ResizeConstrained.html">Plugin.ResizeConstrained</a></li>
439
<li><a href="../classes/Plugin.ResizeProxy.html">Plugin.ResizeProxy</a></li>
441
<li><a href="../classes/Plugin.ScrollViewList.html">Plugin.ScrollViewList</a></li>
443
<li><a href="../classes/Plugin.ScrollViewPaginator.html">Plugin.ScrollViewPaginator</a></li>
445
<li><a href="../classes/Plugin.ScrollViewScrollbars.html">Plugin.ScrollViewScrollbars</a></li>
447
<li><a href="../classes/Plugin.Shim.html">Plugin.Shim</a></li>
449
<li><a href="../classes/Plugin.SortScroll.html">Plugin.SortScroll</a></li>
451
<li><a href="../classes/Plugin.WidgetAnim.html">Plugin.WidgetAnim</a></li>
453
<li><a href="../classes/Pollable.html">Pollable</a></li>
455
<li><a href="../classes/Profiler.html">Profiler</a></li>
457
<li><a href="../classes/QueryString.html">QueryString</a></li>
459
<li><a href="../classes/Queue.html">Queue</a></li>
461
<li><a href="../classes/Record.html">Record</a></li>
463
<li><a href="../classes/Recordset.html">Recordset</a></li>
465
<li><a href="../classes/RecordsetFilter.html">RecordsetFilter</a></li>
467
<li><a href="../classes/RecordsetIndexer.html">RecordsetIndexer</a></li>
469
<li><a href="../classes/RecordsetSort.html">RecordsetSort</a></li>
471
<li><a href="../classes/Rect.html">Rect</a></li>
473
<li><a href="../classes/Renderer.html">Renderer</a></li>
475
<li><a href="../classes/Resize.html">Resize</a></li>
477
<li><a href="../classes/RightAxisLayout.html">RightAxisLayout</a></li>
479
<li><a href="../classes/Router.html">Router</a></li>
481
<li><a href="../classes/ScrollView.html">ScrollView</a></li>
483
<li><a href="../classes/Selector.html">Selector</a></li>
485
<li><a href="../classes/Shape.html">Shape</a></li>
487
<li><a href="../classes/ShapeGroup.html">ShapeGroup</a></li>
489
<li><a href="../classes/Slider.html">Slider</a></li>
491
<li><a href="../classes/SliderBase.html">SliderBase</a></li>
493
<li><a href="../classes/SliderValueRange.html">SliderValueRange</a></li>
495
<li><a href="../classes/Sortable.html">Sortable</a></li>
497
<li><a href="../classes/SplineSeries.html">SplineSeries</a></li>
499
<li><a href="../classes/StackedAreaSeries.html">StackedAreaSeries</a></li>
501
<li><a href="../classes/StackedAreaSplineSeries.html">StackedAreaSplineSeries</a></li>
503
<li><a href="../classes/StackedAxis.html">StackedAxis</a></li>
505
<li><a href="../classes/StackedBarSeries.html">StackedBarSeries</a></li>
507
<li><a href="../classes/StackedColumnSeries.html">StackedColumnSeries</a></li>
509
<li><a href="../classes/StackedComboSeries.html">StackedComboSeries</a></li>
511
<li><a href="../classes/StackedComboSplineSeries.html">StackedComboSplineSeries</a></li>
513
<li><a href="../classes/StackedLineSeries.html">StackedLineSeries</a></li>
515
<li><a href="../classes/StackedMarkerSeries.html">StackedMarkerSeries</a></li>
517
<li><a href="../classes/StackedSplineSeries.html">StackedSplineSeries</a></li>
519
<li><a href="../classes/StackingUtil.html">StackingUtil</a></li>
521
<li><a href="../classes/State.html">State</a></li>
523
<li><a href="../classes/StyleSheet.html">StyleSheet</a></li>
525
<li><a href="../classes/Subscriber.html">Subscriber</a></li>
527
<li><a href="../classes/SVGCircle.html">SVGCircle</a></li>
529
<li><a href="../classes/SVGDrawing.html">SVGDrawing</a></li>
531
<li><a href="../classes/SVGEllipse.html">SVGEllipse</a></li>
533
<li><a href="../classes/SVGGraphic.html">SVGGraphic</a></li>
535
<li><a href="../classes/SVGPath.html">SVGPath</a></li>
537
<li><a href="../classes/SVGPieSlice.html">SVGPieSlice</a></li>
539
<li><a href="../classes/SVGRect.html">SVGRect</a></li>
541
<li><a href="../classes/SVGShape.html">SVGShape</a></li>
543
<li><a href="../classes/SWF.html">SWF</a></li>
545
<li><a href="../classes/SWFDetect.html">SWFDetect</a></li>
547
<li><a href="../classes/SyntheticEvent.html">SyntheticEvent</a></li>
549
<li><a href="../classes/SyntheticEvent.Notifier.html">SyntheticEvent.Notifier</a></li>
551
<li><a href="../classes/SynthRegistry.html">SynthRegistry</a></li>
553
<li><a href="../classes/Tab.html">Tab</a></li>
555
<li><a href="../classes/TabView.html">TabView</a></li>
557
<li><a href="../classes/Test.html">Test</a></li>
559
<li><a href="../classes/Test.ArrayAssert.html">Test.ArrayAssert</a></li>
561
<li><a href="../classes/Test.Assert.html">Test.Assert</a></li>
563
<li><a href="../classes/Test.AssertionError.html">Test.AssertionError</a></li>
565
<li><a href="../classes/Test.ComparisonFailure.html">Test.ComparisonFailure</a></li>
567
<li><a href="../classes/Test.Console.html">Test.Console</a></li>
569
<li><a href="../classes/Test.CoverageFormat.CoverageFormat.html">Test.CoverageFormat.CoverageFormat</a></li>
571
<li><a href="../classes/Test.DateAssert.html">Test.DateAssert</a></li>
573
<li><a href="../classes/Test.EventTarget.html">Test.EventTarget</a></li>
575
<li><a href="../classes/Test.Mock.Mock.html">Test.Mock.Mock</a></li>
577
<li><a href="../classes/Test.Mock.Value.html">Test.Mock.Value</a></li>
579
<li><a href="../classes/Test.ObjectAssert.html">Test.ObjectAssert</a></li>
581
<li><a href="../classes/Test.Reporter.html">Test.Reporter</a></li>
583
<li><a href="../classes/Test.Results.html">Test.Results</a></li>
585
<li><a href="../classes/Test.Runner.html">Test.Runner</a></li>
587
<li><a href="../classes/Test.ShouldError.html">Test.ShouldError</a></li>
589
<li><a href="../classes/Test.ShouldFail.html">Test.ShouldFail</a></li>
591
<li><a href="../classes/Test.TestCase.html">Test.TestCase</a></li>
593
<li><a href="../classes/Test.TestFormat.html">Test.TestFormat</a></li>
595
<li><a href="../classes/Test.TestNode.html">Test.TestNode</a></li>
597
<li><a href="../classes/Test.TestRunner.html">Test.TestRunner</a></li>
599
<li><a href="../classes/Test.TestSuite.html">Test.TestSuite</a></li>
601
<li><a href="../classes/Test.UnexpectedError.html">Test.UnexpectedError</a></li>
603
<li><a href="../classes/Test.UnexpectedValue.html">Test.UnexpectedValue</a></li>
605
<li><a href="../classes/Test.Wait.html">Test.Wait</a></li>
607
<li><a href="../classes/Text.AccentFold.html">Text.AccentFold</a></li>
609
<li><a href="../classes/Text.WordBreak.html">Text.WordBreak</a></li>
611
<li><a href="../classes/TimeAxis.html">TimeAxis</a></li>
613
<li><a href="../classes/ToggleButton.html">ToggleButton</a></li>
615
<li><a href="../classes/TopAxisLayout.html">TopAxisLayout</a></li>
617
<li><a href="../classes/Transition.html">Transition</a></li>
619
<li><a href="../classes/UA.html">UA</a></li>
621
<li><a href="../classes/Uploader.html">Uploader</a></li>
623
<li><a href="../classes/Uploader.Queue.html">Uploader.Queue</a></li>
625
<li><a href="../classes/UploaderFlash.html">UploaderFlash</a></li>
627
<li><a href="../classes/UploaderHTML5.html">UploaderHTML5</a></li>
629
<li><a href="../classes/ValueChange.html">ValueChange</a></li>
631
<li><a href="../classes/VerticalLegendLayout.html">VerticalLegendLayout</a></li>
633
<li><a href="../classes/View.html">View</a></li>
635
<li><a href="../classes/View.NodeMap.html">View.NodeMap</a></li>
637
<li><a href="../classes/VMLCircle.html">VMLCircle</a></li>
639
<li><a href="../classes/VMLDrawing.html">VMLDrawing</a></li>
641
<li><a href="../classes/VMLEllipse.html">VMLEllipse</a></li>
643
<li><a href="../classes/VMLGraphic.html">VMLGraphic</a></li>
645
<li><a href="../classes/VMLPath.html">VMLPath</a></li>
647
<li><a href="../classes/VMLPieSlice.html">VMLPieSlice</a></li>
649
<li><a href="../classes/VMLRect.html">VMLRect</a></li>
651
<li><a href="../classes/VMLShape.html">VMLShape</a></li>
653
<li><a href="../classes/Widget.html">Widget</a></li>
655
<li><a href="../classes/WidgetAutohide.html">WidgetAutohide</a></li>
657
<li><a href="../classes/WidgetButtons.html">WidgetButtons</a></li>
659
<li><a href="../classes/WidgetChild.html">WidgetChild</a></li>
661
<li><a href="../classes/WidgetModality.html">WidgetModality</a></li>
663
<li><a href="../classes/WidgetParent.html">WidgetParent</a></li>
665
<li><a href="../classes/WidgetPosition.html">WidgetPosition</a></li>
667
<li><a href="../classes/WidgetPositionAlign.html">WidgetPositionAlign</a></li>
669
<li><a href="../classes/WidgetPositionConstrain.html">WidgetPositionConstrain</a></li>
671
<li><a href="../classes/WidgetStack.html">WidgetStack</a></li>
673
<li><a href="../classes/WidgetStdMod.html">WidgetStdMod</a></li>
675
<li><a href="../classes/YQL.html">YQL</a></li>
677
<li><a href="../classes/YQLRequest.html">YQLRequest</a></li>
679
<li><a href="../classes/YUI.html">YUI</a></li>
681
<li><a href="../classes/YUI~substitute.html">YUI~substitute</a></li>
685
<ul id="api-modules" class="apis modules">
687
<li><a href="../modules/align-plugin.html">align-plugin</a></li>
689
<li><a href="../modules/anim.html">anim</a></li>
691
<li><a href="../modules/anim-base.html">anim-base</a></li>
693
<li><a href="../modules/anim-color.html">anim-color</a></li>
695
<li><a href="../modules/anim-curve.html">anim-curve</a></li>
697
<li><a href="../modules/anim-easing.html">anim-easing</a></li>
699
<li><a href="../modules/anim-node-plugin.html">anim-node-plugin</a></li>
701
<li><a href="../modules/anim-scroll.html">anim-scroll</a></li>
703
<li><a href="../modules/anim-xy.html">anim-xy</a></li>
705
<li><a href="../modules/app.html">app</a></li>
707
<li><a href="../modules/app-base.html">app-base</a></li>
709
<li><a href="../modules/app-transitions.html">app-transitions</a></li>
711
<li><a href="../modules/app-transitions-native.html">app-transitions-native</a></li>
713
<li><a href="../modules/array-extras.html">array-extras</a></li>
715
<li><a href="../modules/array-invoke.html">array-invoke</a></li>
717
<li><a href="../modules/arraylist.html">arraylist</a></li>
719
<li><a href="../modules/arraylist-add.html">arraylist-add</a></li>
721
<li><a href="../modules/arraylist-filter.html">arraylist-filter</a></li>
723
<li><a href="../modules/arraysort.html">arraysort</a></li>
725
<li><a href="../modules/async-queue.html">async-queue</a></li>
727
<li><a href="../modules/attribute.html">attribute</a></li>
729
<li><a href="../modules/attribute-base.html">attribute-base</a></li>
731
<li><a href="../modules/attribute-complex.html">attribute-complex</a></li>
733
<li><a href="../modules/attribute-core.html">attribute-core</a></li>
735
<li><a href="../modules/attribute-events.html">attribute-events</a></li>
737
<li><a href="../modules/attribute-extras.html">attribute-extras</a></li>
739
<li><a href="../modules/autocomplete.html">autocomplete</a></li>
741
<li><a href="../modules/autocomplete-base.html">autocomplete-base</a></li>
743
<li><a href="../modules/autocomplete-filters.html">autocomplete-filters</a></li>
745
<li><a href="../modules/autocomplete-filters-accentfold.html">autocomplete-filters-accentfold</a></li>
747
<li><a href="../modules/autocomplete-highlighters.html">autocomplete-highlighters</a></li>
749
<li><a href="../modules/autocomplete-highlighters-accentfold.html">autocomplete-highlighters-accentfold</a></li>
751
<li><a href="../modules/autocomplete-list.html">autocomplete-list</a></li>
753
<li><a href="../modules/autocomplete-list-keys.html">autocomplete-list-keys</a></li>
755
<li><a href="../modules/autocomplete-plugin.html">autocomplete-plugin</a></li>
757
<li><a href="../modules/autocomplete-sources.html">autocomplete-sources</a></li>
759
<li><a href="../modules/base.html">base</a></li>
761
<li><a href="../modules/base-base.html">base-base</a></li>
763
<li><a href="../modules/base-build.html">base-build</a></li>
765
<li><a href="../modules/base-core.html">base-core</a></li>
767
<li><a href="../modules/base-pluginhost.html">base-pluginhost</a></li>
769
<li><a href="../modules/button.html">button</a></li>
771
<li><a href="../modules/button-core.html">button-core</a></li>
773
<li><a href="../modules/button-group.html">button-group</a></li>
775
<li><a href="../modules/button-plugin.html">button-plugin</a></li>
777
<li><a href="../modules/cache.html">cache</a></li>
779
<li><a href="../modules/cache-base.html">cache-base</a></li>
781
<li><a href="../modules/cache-offline.html">cache-offline</a></li>
783
<li><a href="../modules/cache-plugin.html">cache-plugin</a></li>
785
<li><a href="../modules/calendar.html">calendar</a></li>
787
<li><a href="../modules/calendar-base.html">calendar-base</a></li>
789
<li><a href="../modules/calendarnavigator.html">calendarnavigator</a></li>
791
<li><a href="../modules/charts.html">charts</a></li>
793
<li><a href="../modules/charts-legend.html">charts-legend</a></li>
795
<li><a href="../modules/classnamemanager.html">classnamemanager</a></li>
797
<li><a href="../modules/clickable-rail.html">clickable-rail</a></li>
799
<li><a href="../modules/collection.html">collection</a></li>
801
<li><a href="../modules/console.html">console</a></li>
803
<li><a href="../modules/console-filters.html">console-filters</a></li>
805
<li><a href="../modules/cookie.html">cookie</a></li>
807
<li><a href="../modules/createlink-base.html">createlink-base</a></li>
809
<li><a href="../modules/dataschema.html">dataschema</a></li>
811
<li><a href="../modules/dataschema-array.html">dataschema-array</a></li>
813
<li><a href="../modules/dataschema-base.html">dataschema-base</a></li>
815
<li><a href="../modules/dataschema-json.html">dataschema-json</a></li>
817
<li><a href="../modules/dataschema-text.html">dataschema-text</a></li>
819
<li><a href="../modules/dataschema-xml.html">dataschema-xml</a></li>
821
<li><a href="../modules/datasource.html">datasource</a></li>
823
<li><a href="../modules/datasource-arrayschema.html">datasource-arrayschema</a></li>
825
<li><a href="../modules/datasource-cache.html">datasource-cache</a></li>
827
<li><a href="../modules/datasource-function.html">datasource-function</a></li>
829
<li><a href="../modules/datasource-get.html">datasource-get</a></li>
831
<li><a href="../modules/datasource-io.html">datasource-io</a></li>
833
<li><a href="../modules/datasource-jsonschema.html">datasource-jsonschema</a></li>
835
<li><a href="../modules/datasource-local.html">datasource-local</a></li>
837
<li><a href="../modules/datasource-polling.html">datasource-polling</a></li>
839
<li><a href="../modules/datasource-textschema.html">datasource-textschema</a></li>
841
<li><a href="../modules/datasource-xmlschema.html">datasource-xmlschema</a></li>
843
<li><a href="../modules/datatable.html">datatable</a></li>
845
<li><a href="../modules/datatable-base.html">datatable-base</a></li>
847
<li><a href="../modules/datatable-base-deprecated.html">datatable-base-deprecated</a></li>
849
<li><a href="../modules/datatable-body.html">datatable-body</a></li>
851
<li><a href="../modules/datatable-column-widths.html">datatable-column-widths</a></li>
853
<li><a href="../modules/datatable-core.html">datatable-core</a></li>
855
<li><a href="../modules/datatable-datasource.html">datatable-datasource</a></li>
857
<li><a href="../modules/datatable-datasource-deprecated.html">datatable-datasource-deprecated</a></li>
859
<li><a href="../modules/datatable-deprecated.html">datatable-deprecated</a></li>
861
<li><a href="../modules/datatable-head.html">datatable-head</a></li>
863
<li><a href="../modules/datatable-message.html">datatable-message</a></li>
865
<li><a href="../modules/datatable-mutable.html">datatable-mutable</a></li>
867
<li><a href="../modules/datatable-scroll.html">datatable-scroll</a></li>
869
<li><a href="../modules/datatable-scroll-deprecated.html">datatable-scroll-deprecated</a></li>
871
<li><a href="../modules/datatable-sort.html">datatable-sort</a></li>
873
<li><a href="../modules/datatable-sort-deprecated.html">datatable-sort-deprecated</a></li>
875
<li><a href="../modules/datatype.html">datatype</a></li>
877
<li><a href="../modules/datatype-date.html">datatype-date</a></li>
879
<li><a href="../modules/datatype-date-format.html">datatype-date-format</a></li>
881
<li><a href="../modules/datatype-date-math.html">datatype-date-math</a></li>
883
<li><a href="../modules/datatype-date-parse.html">datatype-date-parse</a></li>
885
<li><a href="../modules/datatype-number.html">datatype-number</a></li>
887
<li><a href="../modules/datatype-number-format.html">datatype-number-format</a></li>
889
<li><a href="../modules/datatype-number-parse.html">datatype-number-parse</a></li>
891
<li><a href="../modules/datatype-xml.html">datatype-xml</a></li>
893
<li><a href="../modules/datatype-xml-format.html">datatype-xml-format</a></li>
895
<li><a href="../modules/datatype-xml-parse.html">datatype-xml-parse</a></li>
897
<li><a href="../modules/dd.html">dd</a></li>
899
<li><a href="../modules/dd-constrain.html">dd-constrain</a></li>
901
<li><a href="../modules/dd-ddm.html">dd-ddm</a></li>
903
<li><a href="../modules/dd-ddm-base.html">dd-ddm-base</a></li>
905
<li><a href="../modules/dd-ddm-drop.html">dd-ddm-drop</a></li>
907
<li><a href="../modules/dd-delegate.html">dd-delegate</a></li>
909
<li><a href="../modules/dd-drag.html">dd-drag</a></li>
911
<li><a href="../modules/dd-drop.html">dd-drop</a></li>
913
<li><a href="../modules/dd-drop-plugin.html">dd-drop-plugin</a></li>
915
<li><a href="../modules/dd-plugin.html">dd-plugin</a></li>
917
<li><a href="../modules/dd-proxy.html">dd-proxy</a></li>
919
<li><a href="../modules/dd-scroll.html">dd-scroll</a></li>
921
<li><a href="../modules/dial.html">dial</a></li>
923
<li><a href="../modules/dom.html">dom</a></li>
925
<li><a href="../modules/dom-base.html">dom-base</a></li>
927
<li><a href="../modules/dom-screen.html">dom-screen</a></li>
929
<li><a href="../modules/dom-style.html">dom-style</a></li>
931
<li><a href="../modules/dump.html">dump</a></li>
933
<li><a href="../modules/editor.html">editor</a></li>
935
<li><a href="../modules/editor-base.html">editor-base</a></li>
937
<li><a href="../modules/editor-bidi.html">editor-bidi</a></li>
939
<li><a href="../modules/editor-br.html">editor-br</a></li>
941
<li><a href="../modules/editor-lists.html">editor-lists</a></li>
943
<li><a href="../modules/editor-para.html">editor-para</a></li>
945
<li><a href="../modules/editor-para-base.html">editor-para-base</a></li>
947
<li><a href="../modules/editor-para-ie.html">editor-para-ie</a></li>
949
<li><a href="../modules/editor-tab.html">editor-tab</a></li>
951
<li><a href="../modules/escape.html">escape</a></li>
953
<li><a href="../modules/event.html">event</a></li>
955
<li><a href="../modules/event-base.html">event-base</a></li>
957
<li><a href="../modules/event-contextmenu.html">event-contextmenu</a></li>
959
<li><a href="../modules/event-custom.html">event-custom</a></li>
961
<li><a href="../modules/event-custom-base.html">event-custom-base</a></li>
963
<li><a href="../modules/event-custom-complex.html">event-custom-complex</a></li>
965
<li><a href="../modules/event-delegate.html">event-delegate</a></li>
967
<li><a href="../modules/event-flick.html">event-flick</a></li>
969
<li><a href="../modules/event-focus.html">event-focus</a></li>
971
<li><a href="../modules/event-gestures.html">event-gestures</a></li>
973
<li><a href="../modules/event-hover.html">event-hover</a></li>
975
<li><a href="../modules/event-key.html">event-key</a></li>
977
<li><a href="../modules/event-mouseenter.html">event-mouseenter</a></li>
979
<li><a href="../modules/event-mousewheel.html">event-mousewheel</a></li>
981
<li><a href="../modules/event-move.html">event-move</a></li>
983
<li><a href="../modules/event-outside.html">event-outside</a></li>
985
<li><a href="../modules/event-resize.html">event-resize</a></li>
987
<li><a href="../modules/event-simulate.html">event-simulate</a></li>
989
<li><a href="../modules/event-synthetic.html">event-synthetic</a></li>
991
<li><a href="../modules/event-touch.html">event-touch</a></li>
993
<li><a href="../modules/event-valuechange.html">event-valuechange</a></li>
995
<li><a href="../modules/exec-command.html">exec-command</a></li>
997
<li><a href="../modules/features.html">features</a></li>
999
<li><a href="../modules/file.html">file</a></li>
1001
<li><a href="../modules/file-flash.html">file-flash</a></li>
1003
<li><a href="../modules/file-html5.html">file-html5</a></li>
1005
<li><a href="../modules/frame.html">frame</a></li>
1007
<li><a href="../modules/get.html">get</a></li>
1009
<li><a href="../modules/get-nodejs.html">get-nodejs</a></li>
1011
<li><a href="../modules/graphics.html">graphics</a></li>
1013
<li><a href="../modules/handlebars.html">handlebars</a></li>
1015
<li><a href="../modules/handlebars-base.html">handlebars-base</a></li>
1017
<li><a href="../modules/handlebars-compiler.html">handlebars-compiler</a></li>
1019
<li><a href="../modules/highlight.html">highlight</a></li>
1021
<li><a href="../modules/highlight-accentfold.html">highlight-accentfold</a></li>
1023
<li><a href="../modules/highlight-base.html">highlight-base</a></li>
1025
<li><a href="../modules/history.html">history</a></li>
1027
<li><a href="../modules/history-base.html">history-base</a></li>
1029
<li><a href="../modules/history-hash.html">history-hash</a></li>
1031
<li><a href="../modules/history-hash-ie.html">history-hash-ie</a></li>
1033
<li><a href="../modules/history-html5.html">history-html5</a></li>
1035
<li><a href="../modules/imageloader.html">imageloader</a></li>
1037
<li><a href="../modules/intl.html">intl</a></li>
1039
<li><a href="../modules/io.html">io</a></li>
1041
<li><a href="../modules/io-base.html">io-base</a></li>
1043
<li><a href="../modules/io-form.html">io-form</a></li>
1045
<li><a href="../modules/io-queue.html">io-queue</a></li>
1047
<li><a href="../modules/io-upload-iframe.html">io-upload-iframe</a></li>
1049
<li><a href="../modules/io-xdr.html">io-xdr</a></li>
1051
<li><a href="../modules/json.html">json</a></li>
1053
<li><a href="../modules/json-parse.html">json-parse</a></li>
1055
<li><a href="../modules/json-stringify.html">json-stringify</a></li>
1057
<li><a href="../modules/jsonp.html">jsonp</a></li>
1059
<li><a href="../modules/jsonp-url.html">jsonp-url</a></li>
1061
<li><a href="../modules/loader.html">loader</a></li>
1063
<li><a href="../modules/loader-base.html">loader-base</a></li>
1065
<li><a href="../modules/matrix.html">matrix</a></li>
1067
<li><a href="../modules/model.html">model</a></li>
1069
<li><a href="../modules/model-list.html">model-list</a></li>
1071
<li><a href="../modules/node.html">node</a></li>
1073
<li><a href="../modules/node-base.html">node-base</a></li>
1075
<li><a href="../modules/node-core.html">node-core</a></li>
1077
<li><a href="../modules/node-data.html">node-data</a></li>
1079
<li><a href="../modules/node-deprecated.html">node-deprecated</a></li>
1081
<li><a href="../modules/node-event-delegate.html">node-event-delegate</a></li>
1083
<li><a href="../modules/node-event-html5.html">node-event-html5</a></li>
1085
<li><a href="../modules/node-event-simulate.html">node-event-simulate</a></li>
1087
<li><a href="../modules/node-flick.html">node-flick</a></li>
1089
<li><a href="../modules/node-focusmanager.html">node-focusmanager</a></li>
1091
<li><a href="../modules/node-load.html">node-load</a></li>
1093
<li><a href="../modules/node-menunav.html">node-menunav</a></li>
1095
<li><a href="../modules/node-pluginhost.html">node-pluginhost</a></li>
1097
<li><a href="../modules/node-screen.html">node-screen</a></li>
1099
<li><a href="../modules/node-style.html">node-style</a></li>
1101
<li><a href="../modules/oop.html">oop</a></li>
1103
<li><a href="../modules/overlay.html">overlay</a></li>
1105
<li><a href="../modules/panel.html">panel</a></li>
1107
<li><a href="../modules/parallel.html">parallel</a></li>
1109
<li><a href="../modules/pjax.html">pjax</a></li>
1111
<li><a href="../modules/pjax-base.html">pjax-base</a></li>
1113
<li><a href="../modules/pjax-plugin.html">pjax-plugin</a></li>
1115
<li><a href="../modules/plugin.html">plugin</a></li>
1117
<li><a href="../modules/pluginhost.html">pluginhost</a></li>
1119
<li><a href="../modules/pluginhost-base.html">pluginhost-base</a></li>
1121
<li><a href="../modules/pluginhost-config.html">pluginhost-config</a></li>
1123
<li><a href="../modules/profiler.html">profiler</a></li>
1125
<li><a href="../modules/querystring.html">querystring</a></li>
1127
<li><a href="../modules/querystring-parse.html">querystring-parse</a></li>
1129
<li><a href="../modules/querystring-parse-simple.html">querystring-parse-simple</a></li>
1131
<li><a href="../modules/querystring-stringify.html">querystring-stringify</a></li>
1133
<li><a href="../modules/querystring-stringify-simple.html">querystring-stringify-simple</a></li>
1135
<li><a href="../modules/queue-promote.html">queue-promote</a></li>
1137
<li><a href="../modules/range-slider.html">range-slider</a></li>
1139
<li><a href="../modules/recordset.html">recordset</a></li>
1141
<li><a href="../modules/recordset-base.html">recordset-base</a></li>
1143
<li><a href="../modules/recordset-filter.html">recordset-filter</a></li>
1145
<li><a href="../modules/recordset-indexer.html">recordset-indexer</a></li>
1147
<li><a href="../modules/recordset-sort.html">recordset-sort</a></li>
1149
<li><a href="../modules/resize.html">resize</a></li>
1151
<li><a href="../modules/resize-contrain.html">resize-contrain</a></li>
1153
<li><a href="../modules/resize-plugin.html">resize-plugin</a></li>
1155
<li><a href="../modules/resize-proxy.html">resize-proxy</a></li>
1157
<li><a href="../modules/rollup.html">rollup</a></li>
1159
<li><a href="../modules/router.html">router</a></li>
1161
<li><a href="../modules/scrollview.html">scrollview</a></li>
1163
<li><a href="../modules/scrollview-base.html">scrollview-base</a></li>
1165
<li><a href="../modules/scrollview-base-ie.html">scrollview-base-ie</a></li>
1167
<li><a href="../modules/scrollview-list.html">scrollview-list</a></li>
1169
<li><a href="../modules/scrollview-paginator.html">scrollview-paginator</a></li>
1171
<li><a href="../modules/scrollview-scrollbars.html">scrollview-scrollbars</a></li>
1173
<li><a href="../modules/selection.html">selection</a></li>
1175
<li><a href="../modules/selector-css2.html">selector-css2</a></li>
1177
<li><a href="../modules/selector-css3.html">selector-css3</a></li>
1179
<li><a href="../modules/selector-native.html">selector-native</a></li>
1181
<li><a href="../modules/shim-plugin.html">shim-plugin</a></li>
1183
<li><a href="../modules/slider.html">slider</a></li>
1185
<li><a href="../modules/slider-base.html">slider-base</a></li>
1187
<li><a href="../modules/slider-value-range.html">slider-value-range</a></li>
1189
<li><a href="../modules/sortable.html">sortable</a></li>
1191
<li><a href="../modules/sortable-scroll.html">sortable-scroll</a></li>
1193
<li><a href="../modules/stylesheet.html">stylesheet</a></li>
1195
<li><a href="../modules/substitute.html">substitute</a></li>
1197
<li><a href="../modules/swf.html">swf</a></li>
1199
<li><a href="../modules/swfdetect.html">swfdetect</a></li>
1201
<li><a href="../modules/tabview.html">tabview</a></li>
1203
<li><a href="../modules/test.html">test</a></li>
1205
<li><a href="../modules/test-console.html">test-console</a></li>
1207
<li><a href="../modules/text.html">text</a></li>
1209
<li><a href="../modules/text-accentfold.html">text-accentfold</a></li>
1211
<li><a href="../modules/text-wordbreak.html">text-wordbreak</a></li>
1213
<li><a href="../modules/transition.html">transition</a></li>
1215
<li><a href="../modules/uploader.html">uploader</a></li>
1217
<li><a href="../modules/uploader-deprecated.html">uploader-deprecated</a></li>
1219
<li><a href="../modules/uploader-flash.html">uploader-flash</a></li>
1221
<li><a href="../modules/uploader-html5.html">uploader-html5</a></li>
1223
<li><a href="../modules/uploader-queue.html">uploader-queue</a></li>
1225
<li><a href="../modules/view.html">view</a></li>
1227
<li><a href="../modules/view-node-map.html">view-node-map</a></li>
1229
<li><a href="../modules/widget.html">widget</a></li>
1231
<li><a href="../modules/widget-anim.html">widget-anim</a></li>
1233
<li><a href="../modules/widget-autohide.html">widget-autohide</a></li>
1235
<li><a href="../modules/widget-base.html">widget-base</a></li>
1237
<li><a href="../modules/widget-base-ie.html">widget-base-ie</a></li>
1239
<li><a href="../modules/widget-buttons.html">widget-buttons</a></li>
1241
<li><a href="../modules/widget-child.html">widget-child</a></li>
1243
<li><a href="../modules/widget-htmlparser.html">widget-htmlparser</a></li>
1245
<li><a href="../modules/widget-locale.html">widget-locale</a></li>
1247
<li><a href="../modules/widget-modality.html">widget-modality</a></li>
1249
<li><a href="../modules/widget-parent.html">widget-parent</a></li>
1251
<li><a href="../modules/widget-position.html">widget-position</a></li>
1253
<li><a href="../modules/widget-position-align.html">widget-position-align</a></li>
1255
<li><a href="../modules/widget-position-constrain.html">widget-position-constrain</a></li>
1257
<li><a href="../modules/widget-skin.html">widget-skin</a></li>
1259
<li><a href="../modules/widget-stack.html">widget-stack</a></li>
1261
<li><a href="../modules/widget-stdmod.html">widget-stdmod</a></li>
1263
<li><a href="../modules/widget-uievents.html">widget-uievents</a></li>
1265
<li><a href="../modules/yql.html">yql</a></li>
1267
<li><a href="../modules/yui.html">yui</a></li>
1269
<li><a href="../modules/yui-base.html">yui-base</a></li>
1271
<li><a href="../modules/yui-later.html">yui-later</a></li>
1273
<li><a href="../modules/yui-log.html">yui-log</a></li>
1275
<li><a href="../modules/yui-throttle.html">yui-throttle</a></li>
1277
<li><a href="../modules/yui3.html">yui3</a></li>
1286
<div class="yui3-u-3-4">
1287
<div id="api-options">
1289
<label for="api-show-inherited">
1290
<input type="checkbox" id="api-show-inherited" checked>
1294
<label for="api-show-protected">
1295
<input type="checkbox" id="api-show-protected">
1299
<label for="api-show-private">
1300
<input type="checkbox" id="api-show-private">
1306
<div class="apidocs">
1307
<div id="docs-main">
1308
<div class="content">
1309
<h1>AsyncQueue Class</h1>
1310
<div class="box meta">
1314
<div class="extends">
1315
Extends <a href="../classes/EventTarget.html" class="crosslink">EventTarget</a>
1320
<div class="foundat">
1321
Defined in: <a href="../files/async-queue_js_async-queue.js.html#l11"><code>async-queue/js/async-queue.js:11</code></a>
1327
Module: <a href="../modules/async-queue.html">async-queue</a>
1336
<div class="box intro">
1337
<p>A specialized queue class that supports scheduling callbacks to execute
1338
sequentially, iteratively, even asynchronously.</p>
1340
<p>Callbacks can be function refs or objects with the following keys. Only
1341
the <code>fn</code> key is required.</p>
1344
<li><code>fn</code> -- The callback function</li>
1345
<li><code>context</code> -- The execution context for the callbackFn.</li>
1346
<li><code>args</code> -- Arguments to pass to callbackFn.</li>
1347
<li><code>timeout</code> -- Millisecond delay before executing callbackFn.
1348
(Applies to each iterative execution of callback)</li>
1349
<li><code>iterations</code> -- Number of times to repeat the callback.
1350
<li><code>until</code> -- Repeat the callback until this function returns
1351
true. This setting trumps iterations.</li>
1352
<li><code>autoContinue</code> -- Set to false to prevent the AsyncQueue from
1353
executing the next callback in the Queue after
1354
the callback completes.</li>
1355
<li><code>id</code> -- Name that can be used to get, promote, get the
1356
indexOf, or delete this callback.</li>
1361
<div class="constructor">
1362
<h2>Constructor</h2>
1363
<div id="method_AsyncQueue" class="method item">
1364
<h3 class="name"><code>AsyncQueue</code></h3>
1368
<span class="paren">(</span><ul class="args-list inline commas">
1372
<code>callback</code>
1376
</ul><span class="paren">)</span>
1403
<a href="../files/async-queue_js_async-queue.js.html#l11"><code>async-queue/js/async-queue.js:11</code></a>
1413
<div class="description">
1418
<div class="params">
1419
<h4>Parameters:</h4>
1421
<ul class="params-list">
1425
<code class="param-name">callback</code>
1426
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
1430
<span class="flag multiple" title="This argument may occur one or more times.">multiple</span>
1433
<div class="param-description">
1434
<p>0..n callbacks to seed the queue</p>
1452
<div id="classdocs" class="tabview">
1453
<ul class="api-class-tabs">
1454
<li class="api-class-tab index"><a href="#index">Index</a></li>
1457
<li class="api-class-tab methods"><a href="#methods">Methods</a></li>
1460
<li class="api-class-tab properties"><a href="#properties">Properties</a></li>
1464
<li class="api-class-tab events"><a href="#events">Events</a></li>
1469
<div id="index" class="api-class-tabpanel index">
1470
<h2 class="off-left">Item Index</h2>
1473
<div class="index-section methods">
1476
<ul class="index-list methods">
1478
<li class="index-item method protected">
1479
<a href="#method__defAddFn">_defAddFn</a>
1484
<li class="index-item method protected">
1485
<a href="#method__defExecFn">_defExecFn</a>
1490
<li class="index-item method protected">
1491
<a href="#method__defPromoteFn">_defPromoteFn</a>
1496
<li class="index-item method protected">
1497
<a href="#method__defRemoveFn">_defRemoveFn</a>
1502
<li class="index-item method protected">
1503
<a href="#method__defShiftFn">_defShiftFn</a>
1508
<li class="index-item method protected">
1509
<a href="#method__execute">_execute</a>
1514
<li class="index-item method private inherited">
1515
<a href="#method__getType">_getType</a>
1520
<li class="index-item method protected">
1521
<a href="#method__init">_init</a>
1526
<li class="index-item method protected">
1527
<a href="#method__initEvents">_initEvents</a>
1532
<li class="index-item method private inherited">
1533
<a href="#method__monitor">_monitor</a>
1538
<li class="index-item method private inherited">
1539
<a href="#method__parseType">_parseType</a>
1544
<li class="index-item method protected">
1545
<a href="#method__prepare">_prepare</a>
1550
<li class="index-item method protected">
1551
<a href="#method__schedule">_schedule</a>
1556
<li class="index-item method">
1557
<a href="#method_add">add</a>
1562
<li class="index-item method inherited">
1563
<a href="#method_addTarget">addTarget</a>
1568
<li class="index-item method inherited">
1569
<a href="#method_after">after</a>
1574
<li class="index-item method inherited">
1575
<a href="#method_before">before</a>
1580
<li class="index-item method inherited">
1581
<a href="#method_bubble">bubble</a>
1586
<li class="index-item method inherited">
1587
<a href="#method_detach">detach</a>
1592
<li class="index-item method inherited">
1593
<a href="#method_detachAll">detachAll</a>
1598
<li class="index-item method inherited">
1599
<a href="#method_fire">fire</a>
1604
<li class="index-item method">
1605
<a href="#method_getCallback">getCallback</a>
1610
<li class="index-item method inherited">
1611
<a href="#method_getEvent">getEvent</a>
1616
<li class="index-item method inherited">
1617
<a href="#method_getTargets">getTargets</a>
1622
<li class="index-item method">
1623
<a href="#method_indexOf">indexOf</a>
1628
<li class="index-item method">
1629
<a href="#method_isRunning">isRunning</a>
1634
<li class="index-item method">
1635
<a href="#method_next">next</a>
1640
<li class="index-item method inherited">
1641
<a href="#method_on">on</a>
1646
<li class="index-item method inherited">
1647
<a href="#method_once">once</a>
1652
<li class="index-item method inherited">
1653
<a href="#method_onceAfter">onceAfter</a>
1658
<li class="index-item method inherited">
1659
<a href="#method_parseType">parseType</a>
1664
<li class="index-item method">
1665
<a href="#method_pause">pause</a>
1670
<li class="index-item method">
1671
<a href="#method_promote">promote</a>
1676
<li class="index-item method inherited">
1677
<a href="#method_publish">publish</a>
1682
<li class="index-item method">
1683
<a href="#method_remove">remove</a>
1688
<li class="index-item method inherited">
1689
<a href="#method_removeTarget">removeTarget</a>
1694
<li class="index-item method">
1695
<a href="#method_run">run</a>
1700
<li class="index-item method">
1701
<a href="#method_size">size</a>
1706
<li class="index-item method">
1707
<a href="#method_stop">stop</a>
1712
<li class="index-item method deprecated inherited">
1713
<a href="#method_subscribe">subscribe</a>
1718
<li class="index-item method deprecated inherited">
1719
<a href="#method_unsubscribe">unsubscribe</a>
1724
<li class="index-item method deprecated inherited">
1725
<a href="#method_unsubscribeAll">unsubscribeAll</a>
1735
<div class="index-section properties">
1738
<ul class="index-list properties">
1740
<li class="index-item property protected">
1741
<a href="#property__running">_running</a>
1746
<li class="index-item property">
1747
<a href="#property_defaults">defaults</a>
1750
<span class="flag static">static</span>
1754
<li class="index-item property">
1755
<a href="#property_defaults">defaults</a>
1767
<div class="index-section events">
1770
<ul class="index-list events">
1772
<li class="index-item event">
1773
<a href="#event_complete">complete</a>
1784
<div id="methods" class="api-class-tabpanel">
1785
<h2 class="off-left">Methods</h2>
1788
<div id="method__defAddFn" class="method item protected">
1789
<h3 class="name"><code>_defAddFn</code></h3>
1793
<span class="paren">(</span><ul class="args-list inline commas">
1801
</ul><span class="paren">)</span>
1810
<span class="flag protected">protected</span>
1830
<a href="../files/async-queue_js_async-queue.js.html#l318"><code>async-queue/js/async-queue.js:318</code></a>
1840
<div class="description">
1841
<p>Default functionality for the "add" event. Adds the callbacks
1842
in the event facade to the queue. Callbacks successfully added to the
1843
queue are present in the event's <code>added</code> property in the
1848
<div class="params">
1849
<h4>Parameters:</h4>
1851
<ul class="params-list">
1855
<code class="param-name">e</code>
1856
<span class="type"><a href="../classes/Event.html" class="crosslink">Event</a></span>
1861
<div class="param-description">
1862
<p>the event object</p>
1878
<div id="method__defExecFn" class="method item protected">
1879
<h3 class="name"><code>_defExecFn</code></h3>
1883
<span class="paren">(</span><ul class="args-list inline commas">
1891
</ul><span class="paren">)</span>
1900
<span class="flag protected">protected</span>
1920
<a href="../files/async-queue_js_async-queue.js.html#l291"><code>async-queue/js/async-queue.js:291</code></a>
1930
<div class="description">
1931
<p>Default functionality for the "execute" event. Executes the
1932
callback function</p>
1936
<div class="params">
1937
<h4>Parameters:</h4>
1939
<ul class="params-list">
1943
<code class="param-name">e</code>
1944
<span class="type"><a href="../classes/Event.html" class="crosslink">Event</a></span>
1949
<div class="param-description">
1950
<p>the event object</p>
1966
<div id="method__defPromoteFn" class="method item protected">
1967
<h3 class="name"><code>_defPromoteFn</code></h3>
1971
<span class="paren">(</span><ul class="args-list inline commas">
1979
</ul><span class="paren">)</span>
1988
<span class="flag protected">protected</span>
2008
<a href="../files/async-queue_js_async-queue.js.html#l436"><code>async-queue/js/async-queue.js:436</code></a>
2018
<div class="description">
2019
<p>Default functionality for the "promote" event. Promotes the
2020
named callback to the head of the queue.</p>
2022
<p>The event object will contain a property "callback", which
2023
holds the id of a callback or the callback object itself.</p>
2027
<div class="params">
2028
<h4>Parameters:</h4>
2030
<ul class="params-list">
2034
<code class="param-name">e</code>
2035
<span class="type"><a href="../classes/Event.html" class="crosslink">Event</a></span>
2040
<div class="param-description">
2041
<p>the custom event</p>
2057
<div id="method__defRemoveFn" class="method item protected">
2058
<h3 class="name"><code>_defRemoveFn</code></h3>
2062
<span class="paren">(</span><ul class="args-list inline commas">
2070
</ul><span class="paren">)</span>
2079
<span class="flag protected">protected</span>
2099
<a href="../files/async-queue_js_async-queue.js.html#l484"><code>async-queue/js/async-queue.js:484</code></a>
2109
<div class="description">
2110
<p>Default functionality for the "remove" event. Removes the
2111
callback from the queue.</p>
2113
<p>The event object will contain a property "callback", which
2114
holds the id of a callback or the callback object itself.</p>
2118
<div class="params">
2119
<h4>Parameters:</h4>
2121
<ul class="params-list">
2125
<code class="param-name">e</code>
2126
<span class="type"><a href="../classes/Event.html" class="crosslink">Event</a></span>
2131
<div class="param-description">
2132
<p>the custom event</p>
2148
<div id="method__defShiftFn" class="method item protected">
2149
<h3 class="name"><code>_defShiftFn</code></h3>
2153
<span class="paren">(</span><ul class="args-list inline commas">
2161
</ul><span class="paren">)</span>
2170
<span class="flag protected">protected</span>
2190
<a href="../files/async-queue_js_async-queue.js.html#l155"><code>async-queue/js/async-queue.js:155</code></a>
2200
<div class="description">
2201
<p>Default functionality for the "shift" event. Shifts the
2202
callback stored in the event object's <em>callback</em> property from
2203
the queue if it is the first item.</p>
2207
<div class="params">
2208
<h4>Parameters:</h4>
2210
<ul class="params-list">
2214
<code class="param-name">e</code>
2215
<span class="type"><a href="../classes/Event.html" class="crosslink">Event</a></span>
2220
<div class="param-description">
2221
<p>The event object</p>
2237
<div id="method__execute" class="method item protected">
2238
<h3 class="name"><code>_execute</code></h3>
2242
<span class="paren">(</span><ul class="args-list inline commas">
2246
<code>callback</code>
2250
</ul><span class="paren">)</span>
2255
<span class="returns-inline">
2256
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
2263
<span class="flag protected">protected</span>
2283
<a href="../files/async-queue_js_async-queue.js.html#l240"><code>async-queue/js/async-queue.js:240</code></a>
2293
<div class="description">
2294
<p>Handles the execution of callbacks. Returns a boolean indicating
2295
whether it is appropriate to continue running.</p>
2299
<div class="params">
2300
<h4>Parameters:</h4>
2302
<ul class="params-list">
2306
<code class="param-name">callback</code>
2307
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2312
<div class="param-description">
2313
<p>the callback object to execute</p>
2324
<div class="returns">
2327
<div class="returns-description">
2330
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
2332
whether the run loop should continue
2342
<div id="method__getType" class="method item private inherited">
2343
<h3 class="name"><code>_getType</code></h3>
2346
<span class="paren">()</span>
2354
<span class="flag private">private</span>
2367
<a href="../classes/EventTarget.html#method__getType">EventTarget</a>:
2371
<a href="../files/event-custom_js_event-target.js.html#l36"><code>event-custom/js/event-target.js:36</code></a>
2381
<div class="description">
2382
<p>If the instance has a prefix attribute and the
2383
event type is not prefixed, the instance prefix is
2384
applied to the supplied type.</p>
2395
<div id="method__init" class="method item protected">
2396
<h3 class="name"><code>_init</code></h3>
2399
<span class="paren">()</span>
2407
<span class="flag protected">protected</span>
2427
<a href="../files/async-queue_js_async-queue.js.html#l90"><code>async-queue/js/async-queue.js:90</code></a>
2437
<div class="description">
2438
<p>Initializes the AsyncQueue instance properties and events.</p>
2449
<div id="method__initEvents" class="method item protected">
2450
<h3 class="name"><code>_initEvents</code></h3>
2453
<span class="paren">()</span>
2461
<span class="flag protected">protected</span>
2481
<a href="../files/async-queue_js_async-queue.js.html#l113"><code>async-queue/js/async-queue.js:113</code></a>
2491
<div class="description">
2492
<p>Initializes the instance events.</p>
2503
<div id="method__monitor" class="method item private inherited">
2504
<h3 class="name"><code>_monitor</code></h3>
2508
<span class="paren">(</span><ul class="args-list inline commas">
2528
</ul><span class="paren">)</span>
2537
<span class="flag private">private</span>
2550
<a href="../classes/EventTarget.html#method__monitor">EventTarget</a>:
2554
<a href="../files/event-custom_js_event-target.js.html#l602"><code>event-custom/js/event-target.js:602</code></a>
2564
<div class="description">
2565
<p>This is the entry point for the event monitoring system.
2566
You can monitor 'attach', 'detach', 'fire', and 'publish'.
2567
When configured, these events generate an event. click ->
2568
click<em>attach, click</em>detach, click_publish -- these can
2569
be subscribed to like other events to monitor the event
2570
system. Inividual published events can have monitoring
2571
turned on or off (publish can't be turned off before it
2572
it published) by setting the events 'monitor' config.</p>
2576
<div class="params">
2577
<h4>Parameters:</h4>
2579
<ul class="params-list">
2583
<code class="param-name">what</code>
2584
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
2589
<div class="param-description">
2590
<p>'attach', 'detach', 'fire', or 'publish'</p>
2598
<code class="param-name">type</code>
2599
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
2604
<div class="param-description">
2605
<p>Name of the event being monitored</p>
2613
<code class="param-name">o</code>
2614
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2619
<div class="param-description">
2620
<p>Information about the event interaction, such as
2621
fire() args, subscription category, publish config</p>
2637
<div id="method__parseType" class="method item private inherited">
2638
<h3 class="name"><code>_parseType</code></h3>
2641
<span class="paren">()</span>
2649
<span class="flag private">private</span>
2662
<a href="../classes/EventTarget.html#method__parseType">EventTarget</a>:
2666
<a href="../files/event-custom_js_event-target.js.html#l52"><code>event-custom/js/event-target.js:52</code></a>
2676
<div class="description">
2677
<p>Returns an array with the detach key (if provided),
2678
and the prefixed event name from _getType
2679
Y.on('detachcategory| menu:click', fn)</p>
2690
<div id="method__prepare" class="method item protected">
2691
<h3 class="name"><code>_prepare</code></h3>
2695
<span class="paren">(</span><ul class="args-list inline commas">
2699
<code>callback</code>
2703
</ul><span class="paren">)</span>
2708
<span class="returns-inline">
2709
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
2716
<span class="flag protected">protected</span>
2736
<a href="../files/async-queue_js_async-queue.js.html#l170"><code>async-queue/js/async-queue.js:170</code></a>
2746
<div class="description">
2747
<p>Creates a wrapper function to execute the callback using the aggregated
2748
configuration generated by combining the static AsyncQueue.defaults, the
2749
instance defaults, and the specified callback settings.</p>
2751
<p>The wrapper function is decorated with the callback configuration as
2752
properties for runtime modification.</p>
2756
<div class="params">
2757
<h4>Parameters:</h4>
2759
<ul class="params-list">
2763
<code class="param-name">callback</code>
2764
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
2769
<div class="param-description">
2770
<p>the raw callback</p>
2781
<div class="returns">
2784
<div class="returns-description">
2787
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>:
2789
a decorated function wrapper to execute the callback
2799
<div id="method__schedule" class="method item protected">
2800
<h3 class="name"><code>_schedule</code></h3>
2804
<span class="paren">(</span><ul class="args-list inline commas">
2808
<code>callback</code>
2812
</ul><span class="paren">)</span>
2817
<span class="returns-inline">
2818
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
2825
<span class="flag protected">protected</span>
2845
<a href="../files/async-queue_js_async-queue.js.html#l262"><code>async-queue/js/async-queue.js:262</code></a>
2855
<div class="description">
2856
<p>Schedules the execution of asynchronous callbacks.</p>
2860
<div class="params">
2861
<h4>Parameters:</h4>
2863
<ul class="params-list">
2867
<code class="param-name">callback</code>
2868
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2873
<div class="param-description">
2874
<p>the callback object to execute</p>
2885
<div class="returns">
2888
<div class="returns-description">
2891
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
2893
whether the run loop should continue
2903
<div id="method_add" class="method item">
2904
<h3 class="name"><code>add</code></h3>
2908
<span class="paren">(</span><ul class="args-list inline commas">
2912
<code>callback</code>
2916
</ul><span class="paren">)</span>
2921
<span class="returns-inline">
2922
<span class="type"><a href="../classes/AsyncQueue.html" class="crosslink">AsyncQueue</a></span>
2935
<span class="flag chainable">chainable</span>
2949
<a href="../files/async-queue_js_async-queue.js.html#l303"><code>async-queue/js/async-queue.js:303</code></a>
2959
<div class="description">
2960
<p>Add any number of callbacks to the end of the queue. Callbacks may be
2961
provided as functions or objects.</p>
2965
<div class="params">
2966
<h4>Parameters:</h4>
2968
<ul class="params-list">
2972
<code class="param-name">callback</code>
2973
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2977
<span class="flag multiple" title="This argument may occur one or more times.">multiple</span>
2980
<div class="param-description">
2981
<p>0..n callbacks</p>
2992
<div class="returns">
2995
<div class="returns-description">
2998
<span class="type"><a href="../classes/AsyncQueue.html" class="crosslink">AsyncQueue</a></span>:
3000
the AsyncQueue instance
3010
<div id="method_addTarget" class="method item inherited">
3011
<h3 class="name"><code>addTarget</code></h3>
3015
<span class="paren">(</span><ul class="args-list inline commas">
3023
</ul><span class="paren">)</span>
3043
<a href="../classes/EventTarget.html#method_addTarget">EventTarget</a>:
3047
<a href="../files/event-custom_js_event-facade.js.html#l382"><code>event-custom/js/event-facade.js:382</code></a>
3057
<div class="description">
3058
<p>Registers another EventTarget as a bubble target. Bubble order
3059
is determined by the order registered. Multiple targets can
3062
<p>Events can only bubble if emitFacade is true.</p>
3064
<p>Included in the event-custom-complex submodule.</p>
3068
<div class="params">
3069
<h4>Parameters:</h4>
3071
<ul class="params-list">
3075
<code class="param-name">o</code>
3076
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
3081
<div class="param-description">
3082
<p>the target to add</p>
3098
<div id="method_after" class="method item inherited">
3099
<h3 class="name"><code>after</code></h3>
3103
<span class="paren">(</span><ul class="args-list inline commas">
3119
<code class="optional">[context]</code>
3125
<code class="optional">[arg*]</code>
3129
</ul><span class="paren">)</span>
3134
<span class="returns-inline">
3135
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
3153
<a href="../classes/EventTarget.html#method_after">EventTarget</a>:
3157
<a href="../files/event-custom_js_event-target.js.html#l730"><code>event-custom/js/event-target.js:730</code></a>
3167
<div class="description">
3168
<p>Subscribe to a custom event hosted by this object. The
3169
supplied callback will execute after any listeners add
3170
via the subscribe method, and after the default function,
3171
if configured for the event, has executed.</p>
3175
<div class="params">
3176
<h4>Parameters:</h4>
3178
<ul class="params-list">
3182
<code class="param-name">type</code>
3183
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3188
<div class="param-description">
3189
<p>The name of the event</p>
3197
<code class="param-name">fn</code>
3198
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
3203
<div class="param-description">
3204
<p>The callback to execute in response to the event</p>
3212
<code class="param-name optional">[context]</code>
3213
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3214
<span class="flag optional" title="This parameter is optional.">optional</span>
3219
<div class="param-description">
3220
<p>Override <code>this</code> object in callback</p>
3228
<code class="param-name optional">[arg*]</code>
3229
<span class="type">Any</span>
3230
<span class="flag optional" title="This parameter is optional.">optional</span>
3235
<div class="param-description">
3236
<p>0..n additional arguments to supply to the subscriber</p>
3247
<div class="returns">
3250
<div class="returns-description">
3253
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
3255
A subscription handle capable of detaching the
3266
<div id="method_before" class="method item inherited">
3267
<h3 class="name"><code>before</code></h3>
3270
<span class="paren">()</span>
3274
<span class="returns-inline">
3275
<span class="type"></span>
3293
<a href="../classes/EventTarget.html#method_before">EventTarget</a>:
3297
<a href="../files/event-custom_js_event-target.js.html#l767"><code>event-custom/js/event-target.js:767</code></a>
3307
<div class="description">
3308
<p>Executes the callback before a DOM event, custom event
3309
or method. If the first argument is a function, it
3310
is assumed the target is a method. For DOM and custom
3311
events, this is an alias for Y.on.</p>
3313
<p>For DOM and custom events:
3314
type, callback, context, 0-n arguments</p>
3317
callback, object (method host), methodName, context, 0-n arguments</p>
3323
<div class="returns">
3326
<div class="returns-description">
3339
<div id="method_bubble" class="method item inherited">
3340
<h3 class="name"><code>bubble</code></h3>
3344
<span class="paren">(</span><ul class="args-list inline commas">
3352
</ul><span class="paren">)</span>
3357
<span class="returns-inline">
3358
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
3376
<a href="../classes/EventTarget.html#method_bubble">EventTarget</a>:
3380
<a href="../files/event-custom_js_event-facade.js.html#l419"><code>event-custom/js/event-facade.js:419</code></a>
3390
<div class="description">
3391
<p>Propagate an event. Requires the event-custom-complex module.</p>
3395
<div class="params">
3396
<h4>Parameters:</h4>
3398
<ul class="params-list">
3402
<code class="param-name">evt</code>
3403
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
3408
<div class="param-description">
3409
<p>the custom event to propagate</p>
3420
<div class="returns">
3423
<div class="returns-description">
3426
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
3428
the aggregated return value from Event.Custom.fire
3438
<div id="method_detach" class="method item inherited">
3439
<h3 class="name"><code>detach</code></h3>
3443
<span class="paren">(</span><ul class="args-list inline commas">
3459
<code>context</code>
3463
</ul><span class="paren">)</span>
3468
<span class="returns-inline">
3469
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
3487
<a href="../classes/EventTarget.html#method_detach">EventTarget</a>:
3491
<a href="../files/event-custom_js_event-target.js.html#l345"><code>event-custom/js/event-target.js:345</code></a>
3501
<div class="description">
3502
<p>Detach one or more listeners the from the specified event</p>
3506
<div class="params">
3507
<h4>Parameters:</h4>
3509
<ul class="params-list">
3513
<code class="param-name">type</code>
3514
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3519
<div class="param-description">
3520
<p>Either the handle to the subscriber or the
3521
type of event. If the type
3522
is not specified, it will attempt to remove
3523
the listener from all hosted events.</p>
3531
<code class="param-name">fn</code>
3532
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
3537
<div class="param-description">
3538
<p>The subscribed function to unsubscribe, if not
3539
supplied, all subscribers will be removed.</p>
3547
<code class="param-name">context</code>
3548
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3553
<div class="param-description">
3554
<p>The custom object passed to subscribe. This is
3555
optional, but if supplied will be used to
3556
disambiguate multiple listeners that are the same
3557
(e.g., you subscribe many object using a function
3558
that lives on the prototype)</p>
3569
<div class="returns">
3572
<div class="returns-description">
3575
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
3587
<div id="method_detachAll" class="method item inherited">
3588
<h3 class="name"><code>detachAll</code></h3>
3592
<span class="paren">(</span><ul class="args-list inline commas">
3600
</ul><span class="paren">)</span>
3620
<a href="../classes/EventTarget.html#method_detachAll">EventTarget</a>:
3624
<a href="../files/event-custom_js_event-target.js.html#l465"><code>event-custom/js/event-target.js:465</code></a>
3634
<div class="description">
3635
<p>Removes all listeners from the specified event. If the event type
3636
is not specified, all listeners from all hosted custom events will
3641
<div class="params">
3642
<h4>Parameters:</h4>
3644
<ul class="params-list">
3648
<code class="param-name">type</code>
3649
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3654
<div class="param-description">
3655
<p>The type, or name of the event</p>
3671
<div id="method_fire" class="method item inherited">
3672
<h3 class="name"><code>fire</code></h3>
3676
<span class="paren">(</span><ul class="args-list inline commas">
3686
<code>arguments</code>
3690
</ul><span class="paren">)</span>
3695
<span class="returns-inline">
3696
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
3714
<a href="../classes/EventTarget.html#method_fire">EventTarget</a>:
3718
<a href="../files/event-custom_js_event-target.js.html#l629"><code>event-custom/js/event-target.js:629</code></a>
3728
<div class="description">
3729
<p>Fire a custom event by name. The callback functions will be executed
3730
from the context specified when the event was created, and with the
3731
following parameters.</p>
3733
<p>If the custom event object hasn't been created, then the event hasn't
3734
been published and it has no subscribers. For performance sake, we
3735
immediate exit in this case. This means the event won't bubble, so
3736
if the intention is that a bubble target be notified, the event must
3737
be published on this object first.</p>
3739
<p>The first argument is the event type, and any additional arguments are
3740
passed to the listeners as parameters. If the first of these is an
3741
object literal, and the event is configured to emit an event facade,
3742
that object is mixed into the event facade and the facade is provided
3743
in place of the original object.</p>
3747
<div class="params">
3748
<h4>Parameters:</h4>
3750
<ul class="params-list">
3754
<code class="param-name">type</code>
3755
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3760
<div class="param-description">
3761
<p>The type of the event, or an object that contains
3762
a 'type' property.</p>
3770
<code class="param-name">arguments</code>
3771
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object*</a></span>
3776
<div class="param-description">
3777
<p>an arbitrary set of parameters to pass to
3778
the handler. If the first of these is an object literal and the event is
3779
configured to emit an event facade, the event facade will replace that
3780
parameter after the properties the object literal contains are copied to
3781
the event facade.</p>
3792
<div class="returns">
3795
<div class="returns-description">
3798
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
3810
<div id="method_getCallback" class="method item">
3811
<h3 class="name"><code>getCallback</code></h3>
3815
<span class="paren">(</span><ul class="args-list inline commas">
3823
</ul><span class="paren">)</span>
3828
<span class="returns-inline">
3829
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3854
<a href="../files/async-queue_js_async-queue.js.html#l397"><code>async-queue/js/async-queue.js:397</code></a>
3864
<div class="description">
3865
<p>Retrieve a callback by its id. Useful to modify the configuration
3866
while the queue is running.</p>
3870
<div class="params">
3871
<h4>Parameters:</h4>
3873
<ul class="params-list">
3877
<code class="param-name">id</code>
3878
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3883
<div class="param-description">
3884
<p>the id assigned to the callback</p>
3895
<div class="returns">
3898
<div class="returns-description">
3901
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3913
<div id="method_getEvent" class="method item inherited">
3914
<h3 class="name"><code>getEvent</code></h3>
3918
<span class="paren">(</span><ul class="args-list inline commas">
3928
<code>prefixed</code>
3932
</ul><span class="paren">)</span>
3937
<span class="returns-inline">
3938
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
3956
<a href="../classes/EventTarget.html#method_getEvent">EventTarget</a>:
3960
<a href="../files/event-custom_js_event-target.js.html#l712"><code>event-custom/js/event-target.js:712</code></a>
3970
<div class="description">
3971
<p>Returns the custom event of the provided type has been created, a
3972
falsy value otherwise</p>
3976
<div class="params">
3977
<h4>Parameters:</h4>
3979
<ul class="params-list">
3983
<code class="param-name">type</code>
3984
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3989
<div class="param-description">
3990
<p>the type, or name of the event</p>
3998
<code class="param-name">prefixed</code>
3999
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4004
<div class="param-description">
4005
<p>if true, the type is prefixed already</p>
4016
<div class="returns">
4019
<div class="returns-description">
4022
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
4024
the custom event or null
4034
<div id="method_getTargets" class="method item inherited">
4035
<h3 class="name"><code>getTargets</code></h3>
4038
<span class="paren">()</span>
4042
<span class="returns-inline">
4043
<span class="type"></span>
4061
<a href="../classes/EventTarget.html#method_getTargets">EventTarget</a>:
4065
<a href="../files/event-custom_js_event-facade.js.html#l400"><code>event-custom/js/event-facade.js:400</code></a>
4075
<div class="description">
4076
<p>Returns an array of bubble targets for this object.</p>
4082
<div class="returns">
4085
<div class="returns-description">
4098
<div id="method_indexOf" class="method item">
4099
<h3 class="name"><code>indexOf</code></h3>
4103
<span class="paren">(</span><ul class="args-list inline commas">
4107
<code>callback</code>
4111
</ul><span class="paren">)</span>
4116
<span class="returns-inline">
4117
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
4142
<a href="../files/async-queue_js_async-queue.js.html#l376"><code>async-queue/js/async-queue.js:376</code></a>
4152
<div class="description">
4153
<p>Returns the current index of a callback. Pass in either the id or
4154
callback function from getCallback.</p>
4158
<div class="params">
4159
<h4>Parameters:</h4>
4161
<ul class="params-list">
4165
<code class="param-name">callback</code>
4166
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
4171
<div class="param-description">
4172
<p>the callback or its specified id</p>
4183
<div class="returns">
4186
<div class="returns-description">
4189
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>:
4191
index of the callback or -1 if not found
4201
<div id="method_isRunning" class="method item">
4202
<h3 class="name"><code>isRunning</code></h3>
4205
<span class="paren">()</span>
4209
<span class="returns-inline">
4210
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4235
<a href="../files/async-queue_js_async-queue.js.html#l280"><code>async-queue/js/async-queue.js:280</code></a>
4245
<div class="description">
4246
<p>Determines if the queue is waiting for a callback to complete execution.</p>
4252
<div class="returns">
4255
<div class="returns-description">
4258
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
4260
true if queue is waiting for a
4261
from any initiated transactions
4271
<div id="method_next" class="method item">
4272
<h3 class="name"><code>next</code></h3>
4275
<span class="paren">()</span>
4279
<span class="returns-inline">
4280
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
4305
<a href="../files/async-queue_js_async-queue.js.html#l129"><code>async-queue/js/async-queue.js:129</code></a>
4315
<div class="description">
4316
<p>Returns the next callback needing execution. If a callback is
4317
configured to repeat via iterations or until, it will be returned until
4318
the completion criteria is met.</p>
4320
<p>When the queue is empty, null is returned.</p>
4326
<div class="returns">
4329
<div class="returns-description">
4332
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>:
4334
the callback to execute
4344
<div id="method_on" class="method item inherited">
4345
<h3 class="name"><code>on</code></h3>
4349
<span class="paren">(</span><ul class="args-list inline commas">
4365
<code class="optional">[context]</code>
4371
<code class="optional">[arg*]</code>
4375
</ul><span class="paren">)</span>
4380
<span class="returns-inline">
4381
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
4399
<a href="../classes/EventTarget.html#method_on">EventTarget</a>:
4403
<a href="../files/event-custom_js_event-target.js.html#l192"><code>event-custom/js/event-target.js:192</code></a>
4413
<div class="description">
4414
<p>Subscribe a callback function to a custom event fired by this object or
4415
from an object that bubbles its events to this object.</p>
4417
<p>Callback functions for events published with <code>emitFacade = true</code> will
4418
receive an <code>EventFacade</code> as the first argument (typically named "e").
4419
These callbacks can then call <code>e.preventDefault()</code> to disable the
4420
behavior published to that event's <code>defaultFn</code>. See the <code>EventFacade</code>
4421
API for all available properties and methods. Subscribers to
4422
non-<code>emitFacade</code> events will receive the arguments passed to <code>fire()</code>
4423
after the event name.</p>
4425
<p>To subscribe to multiple events at once, pass an object as the first
4426
argument, where the key:value pairs correspond to the eventName:callback,
4427
or pass an array of event names as the first argument to subscribe to
4428
all listed events with the same callback.</p>
4430
<p>Returning <code>false</code> from a callback is supported as an alternative to
4431
calling <code>e.preventDefault(); e.stopPropagation();</code>. However, it is
4432
recommended to use the event methods whenever possible.</p>
4436
<div class="params">
4437
<h4>Parameters:</h4>
4439
<ul class="params-list">
4443
<code class="param-name">type</code>
4444
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4449
<div class="param-description">
4450
<p>The name of the event</p>
4458
<code class="param-name">fn</code>
4459
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
4464
<div class="param-description">
4465
<p>The callback to execute in response to the event</p>
4473
<code class="param-name optional">[context]</code>
4474
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4475
<span class="flag optional" title="This parameter is optional.">optional</span>
4480
<div class="param-description">
4481
<p>Override <code>this</code> object in callback</p>
4489
<code class="param-name optional">[arg*]</code>
4490
<span class="type">Any</span>
4491
<span class="flag optional" title="This parameter is optional.">optional</span>
4496
<div class="param-description">
4497
<p>0..n additional arguments to supply to the subscriber</p>
4508
<div class="returns">
4511
<div class="returns-description">
4514
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
4516
A subscription handle capable of detaching that
4527
<div id="method_once" class="method item inherited">
4528
<h3 class="name"><code>once</code></h3>
4532
<span class="paren">(</span><ul class="args-list inline commas">
4548
<code class="optional">[context]</code>
4554
<code class="optional">[arg*]</code>
4558
</ul><span class="paren">)</span>
4563
<span class="returns-inline">
4564
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
4582
<a href="../classes/EventTarget.html#method_once">EventTarget</a>:
4586
<a href="../files/event-custom_js_event-target.js.html#l128"><code>event-custom/js/event-target.js:128</code></a>
4596
<div class="description">
4597
<p>Listen to a custom event hosted by this object one time.
4598
This is the equivalent to <code>on</code> except the
4599
listener is immediatelly detached when it is executed.</p>
4603
<div class="params">
4604
<h4>Parameters:</h4>
4606
<ul class="params-list">
4610
<code class="param-name">type</code>
4611
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4616
<div class="param-description">
4617
<p>The name of the event</p>
4625
<code class="param-name">fn</code>
4626
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
4631
<div class="param-description">
4632
<p>The callback to execute in response to the event</p>
4640
<code class="param-name optional">[context]</code>
4641
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4642
<span class="flag optional" title="This parameter is optional.">optional</span>
4647
<div class="param-description">
4648
<p>Override <code>this</code> object in callback</p>
4656
<code class="param-name optional">[arg*]</code>
4657
<span class="type">Any</span>
4658
<span class="flag optional" title="This parameter is optional.">optional</span>
4663
<div class="param-description">
4664
<p>0..n additional arguments to supply to the subscriber</p>
4675
<div class="returns">
4678
<div class="returns-description">
4681
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
4683
A subscription handle capable of detaching the
4694
<div id="method_onceAfter" class="method item inherited">
4695
<h3 class="name"><code>onceAfter</code></h3>
4699
<span class="paren">(</span><ul class="args-list inline commas">
4715
<code class="optional">[context]</code>
4721
<code class="optional">[arg*]</code>
4725
</ul><span class="paren">)</span>
4730
<span class="returns-inline">
4731
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
4749
<a href="../classes/EventTarget.html#method_onceAfter">EventTarget</a>:
4753
<a href="../files/event-custom_js_event-target.js.html#l150"><code>event-custom/js/event-target.js:150</code></a>
4763
<div class="description">
4764
<p>Listen to a custom event hosted by this object one time.
4765
This is the equivalent to <code>after</code> except the
4766
listener is immediatelly detached when it is executed.</p>
4770
<div class="params">
4771
<h4>Parameters:</h4>
4773
<ul class="params-list">
4777
<code class="param-name">type</code>
4778
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4783
<div class="param-description">
4784
<p>The name of the event</p>
4792
<code class="param-name">fn</code>
4793
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
4798
<div class="param-description">
4799
<p>The callback to execute in response to the event</p>
4807
<code class="param-name optional">[context]</code>
4808
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4809
<span class="flag optional" title="This parameter is optional.">optional</span>
4814
<div class="param-description">
4815
<p>Override <code>this</code> object in callback</p>
4823
<code class="param-name optional">[arg*]</code>
4824
<span class="type">Any</span>
4825
<span class="flag optional" title="This parameter is optional.">optional</span>
4830
<div class="param-description">
4831
<p>0..n additional arguments to supply to the subscriber</p>
4842
<div class="returns">
4845
<div class="returns-description">
4848
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
4850
A subscription handle capable of detaching that
4861
<div id="method_parseType" class="method item inherited">
4862
<h3 class="name"><code>parseType</code></h3>
4866
<span class="paren">(</span><ul class="args-list inline commas">
4876
<code class="optional">[pre=this._yuievt.config.prefix]</code>
4880
</ul><span class="paren">)</span>
4885
<span class="returns-inline">
4886
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
4904
<a href="../classes/EventTarget.html#method_parseType">EventTarget</a>:
4908
<a href="../files/event-custom_js_event-target.js.html#l172"><code>event-custom/js/event-target.js:172</code></a>
4916
<p>Available since 3.3.0</p>
4920
<div class="description">
4921
<p>Takes the type parameter passed to 'on' and parses out the
4922
various pieces that could be included in the type. If the
4923
event type is passed without a prefix, it will be expanded
4924
to include the prefix one is supplied or the event target
4925
is configured with a default prefix.</p>
4929
<div class="params">
4930
<h4>Parameters:</h4>
4932
<ul class="params-list">
4936
<code class="param-name">type</code>
4937
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4942
<div class="param-description">
4951
<code class="param-name optional">[pre=this._yuievt.config.prefix]</code>
4952
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4953
<span class="flag optional" title="This parameter is optional.">optional</span>
4958
<div class="param-description">
4970
<div class="returns">
4973
<div class="returns-description">
4976
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>:
4978
an array containing:
4979
* the detach category, if supplied,
4980
* the prefixed event type,
4981
* whether or not this is an after listener,
4982
* the supplied event type
4992
<div id="method_pause" class="method item">
4993
<h3 class="name"><code>pause</code></h3>
4996
<span class="paren">()</span>
5000
<span class="returns-inline">
5001
<span class="type"><a href="../classes/AsyncQueue.html" class="crosslink">AsyncQueue</a></span>
5014
<span class="flag chainable">chainable</span>
5028
<a href="../files/async-queue_js_async-queue.js.html#l342"><code>async-queue/js/async-queue.js:342</code></a>
5038
<div class="description">
5039
<p>Pause the execution of the queue after the execution of the current
5040
callback completes. If called from code outside of a queued callback,
5041
clears the timeout for the pending callback. Paused queue can be
5042
restarted with q.run()</p>
5048
<div class="returns">
5051
<div class="returns-description">
5054
<span class="type"><a href="../classes/AsyncQueue.html" class="crosslink">AsyncQueue</a></span>:
5056
the AsyncQueue instance
5066
<div id="method_promote" class="method item">
5067
<h3 class="name"><code>promote</code></h3>
5071
<span class="paren">(</span><ul class="args-list inline commas">
5075
<code>callback</code>
5079
</ul><span class="paren">)</span>
5084
<span class="returns-inline">
5085
<span class="type"><a href="../classes/AsyncQueue.html" class="crosslink">AsyncQueue</a></span>
5098
<span class="flag chainable">chainable</span>
5112
<a href="../files/async-queue_js_async-queue.js.html#l411"><code>async-queue/js/async-queue.js:411</code></a>
5122
<div class="description">
5123
<p>Promotes the named callback to the top of the queue. If a callback is
5124
currently executing or looping (via until or iterations), the promotion
5125
is scheduled to occur after the current callback has completed.</p>
5129
<div class="params">
5130
<h4>Parameters:</h4>
5132
<ul class="params-list">
5136
<code class="param-name">callback</code>
5137
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5142
<div class="param-description">
5143
<p>the callback object or a callback's id</p>
5154
<div class="returns">
5157
<div class="returns-description">
5160
<span class="type"><a href="../classes/AsyncQueue.html" class="crosslink">AsyncQueue</a></span>:
5162
the AsyncQueue instance
5172
<div id="method_publish" class="method item inherited">
5173
<h3 class="name"><code>publish</code></h3>
5177
<span class="paren">(</span><ul class="args-list inline commas">
5191
</ul><span class="paren">)</span>
5196
<span class="returns-inline">
5197
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
5215
<a href="../classes/EventTarget.html#method_publish">EventTarget</a>:
5219
<a href="../files/event-custom_js_event-target.js.html#l489"><code>event-custom/js/event-target.js:489</code></a>
5229
<div class="description">
5230
<p>Creates a new custom event of the specified type. If a custom event
5231
by that name already exists, it will not be re-created. In either
5232
case the custom event is returned.</p>
5236
<div class="params">
5237
<h4>Parameters:</h4>
5239
<ul class="params-list">
5243
<code class="param-name">type</code>
5244
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5249
<div class="param-description">
5250
<p>the type, or name of the event</p>
5258
<code class="param-name">opts</code>
5259
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5264
<div class="param-description">
5265
<p>optional config params. Valid properties are:</p>
5269
'broadcast': whether or not the YUI instance and YUI global are notified when the event is fired (false)
5272
'bubbles': whether or not this event bubbles (true)
5273
Events can only bubble if emitFacade is true.
5276
'context': the default execution context for the listeners (this)
5279
'defaultFn': the default function to execute when this event fires if preventDefault was not called
5282
'emitFacade': whether or not this event emits a facade (false)
5285
'prefix': the prefix for this targets events, e.g., 'menu' in 'menu:click'
5288
'fireOnce': if an event is configured to fire once, new subscribers after
5289
the fire will be notified immediately.
5292
'async': fireOnce event listeners will fire synchronously if the event has already
5293
fired unless async is true.
5296
'preventable': whether or not preventDefault() has an effect (true)
5299
'preventedFn': a function that is executed when preventDefault is called
5302
'queuable': whether or not this event can be queued during bubbling (false)
5305
'silent': if silent is true, debug messages are not provided for this event.
5308
'stoppedFn': a function that is executed when stopPropagation is called
5312
'monitored': specifies whether or not this event should send notifications about
5313
when the event has been attached, detached, or published.
5316
'type': the event type (valid option if not provided as the first parameter to publish)
5329
<div class="returns">
5332
<div class="returns-description">
5335
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
5347
<div id="method_remove" class="method item">
5348
<h3 class="name"><code>remove</code></h3>
5352
<span class="paren">(</span><ul class="args-list inline commas">
5356
<code>callback</code>
5360
</ul><span class="paren">)</span>
5365
<span class="returns-inline">
5366
<span class="type"><a href="../classes/AsyncQueue.html" class="crosslink">AsyncQueue</a></span>
5379
<span class="flag chainable">chainable</span>
5393
<a href="../files/async-queue_js_async-queue.js.html#l458"><code>async-queue/js/async-queue.js:458</code></a>
5403
<div class="description">
5404
<p>Removes the callback from the queue. If the queue is active, the
5405
removal is scheduled to occur after the current callback has completed.</p>
5409
<div class="params">
5410
<h4>Parameters:</h4>
5412
<ul class="params-list">
5416
<code class="param-name">callback</code>
5417
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5422
<div class="param-description">
5423
<p>the callback object or a callback's id</p>
5434
<div class="returns">
5437
<div class="returns-description">
5440
<span class="type"><a href="../classes/AsyncQueue.html" class="crosslink">AsyncQueue</a></span>:
5442
the AsyncQueue instance
5452
<div id="method_removeTarget" class="method item inherited">
5453
<h3 class="name"><code>removeTarget</code></h3>
5457
<span class="paren">(</span><ul class="args-list inline commas">
5465
</ul><span class="paren">)</span>
5485
<a href="../classes/EventTarget.html#method_removeTarget">EventTarget</a>:
5489
<a href="../files/event-custom_js_event-facade.js.html#l409"><code>event-custom/js/event-facade.js:409</code></a>
5499
<div class="description">
5500
<p>Removes a bubble target</p>
5504
<div class="params">
5505
<h4>Parameters:</h4>
5507
<ul class="params-list">
5511
<code class="param-name">o</code>
5512
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
5517
<div class="param-description">
5518
<p>the target to remove</p>
5534
<div id="method_run" class="method item">
5535
<h3 class="name"><code>run</code></h3>
5538
<span class="paren">()</span>
5542
<span class="returns-inline">
5543
<span class="type"><a href="../classes/AsyncQueue.html" class="crosslink">AsyncQueue</a></span>
5556
<span class="flag chainable">chainable</span>
5570
<a href="../files/async-queue_js_async-queue.js.html#l207"><code>async-queue/js/async-queue.js:207</code></a>
5580
<div class="description">
5581
<p>Sets the queue in motion. All queued callbacks will be executed in
5582
order unless pause() or stop() is called or if one of the callbacks is
5583
configured with autoContinue: false.</p>
5589
<div class="returns">
5592
<div class="returns-description">
5595
<span class="type"><a href="../classes/AsyncQueue.html" class="crosslink">AsyncQueue</a></span>:
5597
the AsyncQueue instance
5607
<div id="method_size" class="method item">
5608
<h3 class="name"><code>size</code></h3>
5611
<span class="paren">()</span>
5615
<span class="returns-inline">
5616
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
5641
<a href="../files/async-queue_js_async-queue.js.html#l501"><code>async-queue/js/async-queue.js:501</code></a>
5651
<div class="description">
5652
<p>Returns the number of callbacks in the queue.</p>
5658
<div class="returns">
5661
<div class="returns-description">
5664
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>:
5675
<div id="method_stop" class="method item">
5676
<h3 class="name"><code>stop</code></h3>
5679
<span class="paren">()</span>
5683
<span class="returns-inline">
5684
<span class="type"><a href="../classes/AsyncQueue.html" class="crosslink">AsyncQueue</a></span>
5697
<span class="flag chainable">chainable</span>
5711
<a href="../files/async-queue_js_async-queue.js.html#l362"><code>async-queue/js/async-queue.js:362</code></a>
5721
<div class="description">
5722
<p>Stop and clear the queue after the current execution of the
5723
current callback completes.</p>
5729
<div class="returns">
5732
<div class="returns-description">
5735
<span class="type"><a href="../classes/AsyncQueue.html" class="crosslink">AsyncQueue</a></span>:
5737
the AsyncQueue instance
5747
<div id="method_subscribe" class="method item deprecated inherited">
5748
<h3 class="name"><code>subscribe</code></h3>
5751
<span class="paren">()</span>
5757
<span class="flag deprecated" title="use on">deprecated</span>
5772
<a href="../classes/EventTarget.html#method_subscribe">EventTarget</a>:
5776
<a href="../files/event-custom_js_event-target.js.html#l335"><code>event-custom/js/event-target.js:335</code></a>
5782
<p>Deprecated: use on</p>
5788
<div class="description">
5789
<p>subscribe to an event</p>
5800
<div id="method_unsubscribe" class="method item deprecated inherited">
5801
<h3 class="name"><code>unsubscribe</code></h3>
5804
<span class="paren">()</span>
5810
<span class="flag deprecated" title="use detach">deprecated</span>
5825
<a href="../classes/EventTarget.html#method_unsubscribe">EventTarget</a>:
5829
<a href="../files/event-custom_js_event-target.js.html#l455"><code>event-custom/js/event-target.js:455</code></a>
5835
<p>Deprecated: use detach</p>
5841
<div class="description">
5842
<p>detach a listener</p>
5853
<div id="method_unsubscribeAll" class="method item deprecated inherited">
5854
<h3 class="name"><code>unsubscribeAll</code></h3>
5858
<span class="paren">(</span><ul class="args-list inline commas">
5866
</ul><span class="paren">)</span>
5873
<span class="flag deprecated" title="use detachAll">deprecated</span>
5888
<a href="../classes/EventTarget.html#method_unsubscribeAll">EventTarget</a>:
5892
<a href="../files/event-custom_js_event-target.js.html#l476"><code>event-custom/js/event-target.js:476</code></a>
5898
<p>Deprecated: use detachAll</p>
5904
<div class="description">
5905
<p>Removes all listeners from the specified event. If the event type
5906
is not specified, all listeners from all hosted custom events will
5911
<div class="params">
5912
<h4>Parameters:</h4>
5914
<ul class="params-list">
5918
<code class="param-name">type</code>
5919
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5924
<div class="param-description">
5925
<p>The type, or name of the event</p>
5945
<div id="properties" class="api-class-tabpanel">
5946
<h2 class="off-left">Properties</h2>
5949
<div id="property__running" class="property item protected">
5950
<h3 class="name"><code>_running</code></h3>
5951
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> | Object true for synchronous callback execution, the
5952
return handle from Y.later for async callbacks.
5953
Otherwise false.</span>
5958
<span class="flag protected">protected</span>
5976
<a href="../files/async-queue_js_async-queue.js.html#l79"><code>async-queue/js/async-queue.js:79</code></a>
5985
<div class="description">
5986
<p>Used to indicate the queue is currently executing a callback.</p>
5997
<div id="property_defaults" class="property item">
5998
<h3 class="name"><code>defaults</code></h3>
5999
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6008
<span class="flag static">static</span>
6022
<a href="../files/async-queue_js_async-queue.js.html#l53"><code>async-queue/js/async-queue.js:53</code></a>
6031
<div class="description">
6032
<p>Static default values used to populate callback configuration properties.
6033
Preconfigured defaults include:</p>
6036
<li><code>autoContinue</code>: <code>true</code></li>
6037
<li><code>iterations</code>: 1</li>
6038
<li><code>timeout</code>: 10 (10ms between callbacks)</li>
6039
<li><code>until</code>: (function to run until iterations <= 0)</li>
6051
<div id="property_defaults" class="property item">
6052
<h3 class="name"><code>defaults</code></h3>
6053
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6074
<a href="../files/async-queue_js_async-queue.js.html#l101"><code>async-queue/js/async-queue.js:101</code></a>
6083
<div class="description">
6084
<p>Callback defaults for this instance. Static defaults that are not
6085
overridden are also included.</p>
6102
<div id="events" class="api-class-tabpanel">
6103
<h2 class="off-left">Events</h2>
6106
<div id="event_complete" class="events item">
6107
<h3 class="name"><code>complete</code></h3>
6108
<span class="type"></span>
6129
<a href="../files/async-queue_js_async-queue.js.html#l230"><code>async-queue/js/async-queue.js:230</code></a>
6138
<div class="description">
6139
<p>Event fired after the last queued callback is executed.</p>
6160
<script src="../assets/vendor/prettify/prettify-min.js"></script>
6161
<script>prettyPrint();</script>
6162
<script src="../assets/js/yui-prettify.js"></script>
6163
<script src="../assets/../api.js"></script>
6164
<script src="../assets/js/api-filter.js"></script>
6165
<script src="../assets/js/api-list.js"></script>
6166
<script src="../assets/js/api-search.js"></script>
6167
<script src="../assets/js/apidocs.js"></script>