5
<title>Pollable - YUI 3</title>
6
<link rel="stylesheet" href="http://yui.yahooapis.com/3.5.0/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.0/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.1</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.Scroll.html">DD.Scroll</a></li>
233
<li><a href="../classes/Dial.html">Dial</a></li>
235
<li><a href="../classes/Do.html">Do</a></li>
237
<li><a href="../classes/Do.AlterArgs.html">Do.AlterArgs</a></li>
239
<li><a href="../classes/Do.AlterReturn.html">Do.AlterReturn</a></li>
241
<li><a href="../classes/Do.Error.html">Do.Error</a></li>
243
<li><a href="../classes/Do.Halt.html">Do.Halt</a></li>
245
<li><a href="../classes/Do.Method.html">Do.Method</a></li>
247
<li><a href="../classes/Do.Prevent.html">Do.Prevent</a></li>
249
<li><a href="../classes/DOM.html">DOM</a></li>
251
<li><a href="../classes/DOMEventFacade.html">DOMEventFacade</a></li>
253
<li><a href="../classes/Drawing.html">Drawing</a></li>
255
<li><a href="../classes/Easing.html">Easing</a></li>
257
<li><a href="../classes/EditorBase.html">EditorBase</a></li>
259
<li><a href="../classes/EditorSelection.html">EditorSelection</a></li>
261
<li><a href="../classes/Ellipse.html">Ellipse</a></li>
263
<li><a href="../classes/EllipseGroup.html">EllipseGroup</a></li>
265
<li><a href="../classes/Escape.html">Escape</a></li>
267
<li><a href="../classes/Event.html">Event</a></li>
269
<li><a href="../classes/EventFacade.html">EventFacade</a></li>
271
<li><a href="../classes/EventHandle.html">EventHandle</a></li>
273
<li><a href="../classes/EventTarget.html">EventTarget</a></li>
275
<li><a href="../classes/ExecCommand.html">ExecCommand</a></li>
277
<li><a href="../classes/Features.html">Features</a></li>
279
<li><a href="../classes/File.html">File</a></li>
281
<li><a href="../classes/FileFlash.html">FileFlash</a></li>
283
<li><a href="../classes/FileHTML5.html">FileHTML5</a></li>
285
<li><a href="../classes/Fills.html">Fills</a></li>
287
<li><a href="../classes/Frame.html">Frame</a></li>
289
<li><a href="../classes/Get.html">Get</a></li>
291
<li><a href="../classes/Get.Transaction.html">Get.Transaction</a></li>
293
<li><a href="../classes/GetNodeJS.html">GetNodeJS</a></li>
295
<li><a href="../classes/Graph.html">Graph</a></li>
297
<li><a href="../classes/Graphic.html">Graphic</a></li>
299
<li><a href="../classes/GraphicBase.html">GraphicBase</a></li>
301
<li><a href="../classes/Gridlines.html">Gridlines</a></li>
303
<li><a href="../classes/GroupCircle.html">GroupCircle</a></li>
305
<li><a href="../classes/GroupDiamond.html">GroupDiamond</a></li>
307
<li><a href="../classes/GroupRect.html">GroupRect</a></li>
309
<li><a href="../classes/Handlebars.html">Handlebars</a></li>
311
<li><a href="../classes/Highlight.html">Highlight</a></li>
313
<li><a href="../classes/Histogram.html">Histogram</a></li>
315
<li><a href="../classes/HistoryBase.html">HistoryBase</a></li>
317
<li><a href="../classes/HistoryHash.html">HistoryHash</a></li>
319
<li><a href="../classes/HistoryHTML5.html">HistoryHTML5</a></li>
321
<li><a href="../classes/HorizontalLegendLayout.html">HorizontalLegendLayout</a></li>
323
<li><a href="../classes/ImgLoadGroup.html">ImgLoadGroup</a></li>
325
<li><a href="../classes/ImgLoadImgObj.html">ImgLoadImgObj</a></li>
327
<li><a href="../classes/Intl.html">Intl</a></li>
329
<li><a href="../classes/IO.html">IO</a></li>
331
<li><a href="../classes/JSON.html">JSON</a></li>
333
<li><a href="../classes/JSONPRequest.html">JSONPRequest</a></li>
335
<li><a href="../classes/Lang.html">Lang</a></li>
337
<li><a href="../classes/LeftAxisLayout.html">LeftAxisLayout</a></li>
339
<li><a href="../classes/Lines.html">Lines</a></li>
341
<li><a href="../classes/LineSeries.html">LineSeries</a></li>
343
<li><a href="../classes/Loader.html">Loader</a></li>
345
<li><a href="../classes/MarkerSeries.html">MarkerSeries</a></li>
347
<li><a href="../classes/Matrix.html">Matrix</a></li>
349
<li><a href="../classes/Model.html">Model</a></li>
351
<li><a href="../classes/ModelList.html">ModelList</a></li>
353
<li><a href="../classes/Node.html">Node</a></li>
355
<li><a href="../classes/NodeList.html">NodeList</a></li>
357
<li><a href="../classes/NumericAxis.html">NumericAxis</a></li>
359
<li><a href="../classes/Object.html">Object</a></li>
361
<li><a href="../classes/Overlay.html">Overlay</a></li>
363
<li><a href="../classes/Panel.html">Panel</a></li>
365
<li><a href="../classes/Parallel.html">Parallel</a></li>
367
<li><a href="../classes/Path.html">Path</a></li>
369
<li><a href="../classes/PieChart.html">PieChart</a></li>
371
<li><a href="../classes/PieSeries.html">PieSeries</a></li>
373
<li><a href="../classes/Pjax.html">Pjax</a></li>
375
<li><a href="../classes/PjaxBase.html">PjaxBase</a></li>
377
<li><a href="../classes/Plots.html">Plots</a></li>
379
<li><a href="../classes/Plugin.Align.html">Plugin.Align</a></li>
381
<li><a href="../classes/Plugin.AutoComplete.html">Plugin.AutoComplete</a></li>
383
<li><a href="../classes/Plugin.Base.html">Plugin.Base</a></li>
385
<li><a href="../classes/Plugin.Cache.html">Plugin.Cache</a></li>
387
<li><a href="../classes/Plugin.CalendarNavigator.html">Plugin.CalendarNavigator</a></li>
389
<li><a href="../classes/Plugin.ConsoleFilters.html">Plugin.ConsoleFilters</a></li>
391
<li><a href="../classes/Plugin.CreateLinkBase.html">Plugin.CreateLinkBase</a></li>
393
<li><a href="../classes/Plugin.DataTableDataSource.html">Plugin.DataTableDataSource</a></li>
395
<li><a href="../classes/Plugin.DDConstrained.html">Plugin.DDConstrained</a></li>
397
<li><a href="../classes/Plugin.DDNodeScroll.html">Plugin.DDNodeScroll</a></li>
399
<li><a href="../classes/Plugin.DDProxy.html">Plugin.DDProxy</a></li>
401
<li><a href="../classes/Plugin.DDWindowScroll.html">Plugin.DDWindowScroll</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.ArrayAssert.html">Test.ArrayAssert</a></li>
559
<li><a href="../classes/Test.Assert.html">Test.Assert</a></li>
561
<li><a href="../classes/Test.AssertionError.html">Test.AssertionError</a></li>
563
<li><a href="../classes/Test.ComparisonFailure.html">Test.ComparisonFailure</a></li>
565
<li><a href="../classes/Test.Console.html">Test.Console</a></li>
567
<li><a href="../classes/Test.CoverageFormat.html">Test.CoverageFormat</a></li>
569
<li><a href="../classes/Test.DateAssert.html">Test.DateAssert</a></li>
571
<li><a href="../classes/Test.EventTarget.html">Test.EventTarget</a></li>
573
<li><a href="../classes/Test.Mock.html">Test.Mock</a></li>
575
<li><a href="../classes/Test.Mock.Value.html">Test.Mock.Value</a></li>
577
<li><a href="../classes/Test.ObjectAssert.html">Test.ObjectAssert</a></li>
579
<li><a href="../classes/Test.Reporter.html">Test.Reporter</a></li>
581
<li><a href="../classes/Test.Results.html">Test.Results</a></li>
583
<li><a href="../classes/Test.Runner.html">Test.Runner</a></li>
585
<li><a href="../classes/Test.ShouldError.html">Test.ShouldError</a></li>
587
<li><a href="../classes/Test.ShouldFail.html">Test.ShouldFail</a></li>
589
<li><a href="../classes/Test.TestCase.html">Test.TestCase</a></li>
591
<li><a href="../classes/Test.TestFormat.html">Test.TestFormat</a></li>
593
<li><a href="../classes/Test.TestNode.html">Test.TestNode</a></li>
595
<li><a href="../classes/Test.TestRunner.html">Test.TestRunner</a></li>
597
<li><a href="../classes/Test.TestSuite.html">Test.TestSuite</a></li>
599
<li><a href="../classes/Test.UnexpectedError.html">Test.UnexpectedError</a></li>
601
<li><a href="../classes/Test.UnexpectedValue.html">Test.UnexpectedValue</a></li>
603
<li><a href="../classes/Test.Wait.html">Test.Wait</a></li>
605
<li><a href="../classes/Text.AccentFold.html">Text.AccentFold</a></li>
607
<li><a href="../classes/Text.WordBreak.html">Text.WordBreak</a></li>
609
<li><a href="../classes/TimeAxis.html">TimeAxis</a></li>
611
<li><a href="../classes/ToggleButton.html">ToggleButton</a></li>
613
<li><a href="../classes/TopAxisLayout.html">TopAxisLayout</a></li>
615
<li><a href="../classes/Transition.html">Transition</a></li>
617
<li><a href="../classes/UA.html">UA</a></li>
619
<li><a href="../classes/Uploader.html">Uploader</a></li>
621
<li><a href="../classes/Uploader.Queue.html">Uploader.Queue</a></li>
623
<li><a href="../classes/UploaderFlash.html">UploaderFlash</a></li>
625
<li><a href="../classes/UploaderHTML5.html">UploaderHTML5</a></li>
627
<li><a href="../classes/ValueChange.html">ValueChange</a></li>
629
<li><a href="../classes/VerticalLegendLayout.html">VerticalLegendLayout</a></li>
631
<li><a href="../classes/View.html">View</a></li>
633
<li><a href="../classes/View.NodeMap.html">View.NodeMap</a></li>
635
<li><a href="../classes/VMLCircle.html">VMLCircle</a></li>
637
<li><a href="../classes/VMLDrawing.html">VMLDrawing</a></li>
639
<li><a href="../classes/VMLEllipse.html">VMLEllipse</a></li>
641
<li><a href="../classes/VMLGraphic.html">VMLGraphic</a></li>
643
<li><a href="../classes/VMLPath.html">VMLPath</a></li>
645
<li><a href="../classes/VMLPieSlice.html">VMLPieSlice</a></li>
647
<li><a href="../classes/VMLRect.html">VMLRect</a></li>
649
<li><a href="../classes/VMLShape.html">VMLShape</a></li>
651
<li><a href="../classes/Widget.html">Widget</a></li>
653
<li><a href="../classes/WidgetAutohide.html">WidgetAutohide</a></li>
655
<li><a href="../classes/WidgetButtons.html">WidgetButtons</a></li>
657
<li><a href="../classes/WidgetChild.html">WidgetChild</a></li>
659
<li><a href="../classes/WidgetModality.html">WidgetModality</a></li>
661
<li><a href="../classes/WidgetParent.html">WidgetParent</a></li>
663
<li><a href="../classes/WidgetPosition.html">WidgetPosition</a></li>
665
<li><a href="../classes/WidgetPositionAlign.html">WidgetPositionAlign</a></li>
667
<li><a href="../classes/WidgetPositionConstrain.html">WidgetPositionConstrain</a></li>
669
<li><a href="../classes/WidgetStack.html">WidgetStack</a></li>
671
<li><a href="../classes/WidgetStdMod.html">WidgetStdMod</a></li>
673
<li><a href="../classes/YQL.html">YQL</a></li>
675
<li><a href="../classes/YQLRequest.html">YQLRequest</a></li>
677
<li><a href="../classes/YUI.html">YUI</a></li>
679
<li><a href="../classes/YUI~substitute.html">YUI~substitute</a></li>
683
<ul id="api-modules" class="apis modules">
685
<li><a href="../modules/align-plugin.html">align-plugin</a></li>
687
<li><a href="../modules/anim.html">anim</a></li>
689
<li><a href="../modules/anim-base.html">anim-base</a></li>
691
<li><a href="../modules/anim-color.html">anim-color</a></li>
693
<li><a href="../modules/anim-curve.html">anim-curve</a></li>
695
<li><a href="../modules/anim-easing.html">anim-easing</a></li>
697
<li><a href="../modules/anim-node-plugin.html">anim-node-plugin</a></li>
699
<li><a href="../modules/anim-scroll.html">anim-scroll</a></li>
701
<li><a href="../modules/anim-shape-transform.html">anim-shape-transform</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>Pollable Class</h1>
1310
<div class="box meta">
1314
<div class="extends">
1315
Extends <a href="../classes/DataSource.Local.html" class="crosslink">DataSource.Local</a>
1320
<div class="foundat">
1321
Defined in: <a href="../files/datasource_js_datasource-polling.js.html#l8"><code>datasource/js/datasource-polling.js:8</code></a>
1327
Module: <a href="../modules/datasource-polling.html">datasource-polling</a><br>
1328
Parent Module: <a href="../modules/datasource.html">datasource</a>
1337
<div class="box intro">
1338
<p>Adds polling to the DataSource Utility.</p>
1343
<div id="classdocs" class="tabview">
1344
<ul class="api-class-tabs">
1345
<li class="api-class-tab index"><a href="#index">Index</a></li>
1348
<li class="api-class-tab methods"><a href="#methods">Methods</a></li>
1351
<li class="api-class-tab properties"><a href="#properties">Properties</a></li>
1354
<li class="api-class-tab attrs"><a href="#attrs">Attributes</a></li>
1357
<li class="api-class-tab events"><a href="#events">Events</a></li>
1362
<div id="index" class="api-class-tabpanel index">
1363
<h2 class="off-left">Item Index</h2>
1366
<div class="index-section methods">
1369
<ul class="index-list methods">
1371
<li class="index-item method private inherited">
1372
<a href="#method__addAttrs">_addAttrs</a>
1377
<li class="index-item method private inherited">
1378
<a href="#method__addLazyAttr">_addLazyAttr</a>
1383
<li class="index-item method private inherited">
1384
<a href="#method__aggregateAttrs">_aggregateAttrs</a>
1389
<li class="index-item method private inherited inherited">
1390
<a href="#method__attrCfgHash">_attrCfgHash</a>
1395
<li class="index-item method private inherited">
1396
<a href="#method__baseDestroy">_baseDestroy</a>
1401
<li class="index-item method private inherited">
1402
<a href="#method__baseInit">_baseInit</a>
1407
<li class="index-item method private inherited">
1408
<a href="#method__defAttrChangeFn">_defAttrChangeFn</a>
1413
<li class="index-item method protected inherited">
1414
<a href="#method__defDataFn">_defDataFn</a>
1419
<li class="index-item method protected inherited">
1420
<a href="#method__defDestroyFn">_defDestroyFn</a>
1425
<li class="index-item method protected inherited">
1426
<a href="#method__defInitFn">_defInitFn</a>
1431
<li class="index-item method protected inherited">
1432
<a href="#method__defRequestFn">_defRequestFn</a>
1437
<li class="index-item method protected inherited">
1438
<a href="#method__defResponseFn">_defResponseFn</a>
1443
<li class="index-item method private inherited">
1444
<a href="#method__destroyHierarchy">_destroyHierarchy</a>
1449
<li class="index-item method private inherited">
1450
<a href="#method__filterAdHocAttrs">_filterAdHocAttrs</a>
1455
<li class="index-item method private inherited">
1456
<a href="#method__filterAttrCfs">_filterAttrCfs</a>
1461
<li class="index-item method private inherited">
1462
<a href="#method__fireAttrChange">_fireAttrChange</a>
1467
<li class="index-item method protected inherited">
1468
<a href="#method__getAttr">_getAttr</a>
1473
<li class="index-item method protected inherited">
1474
<a href="#method__getAttrCfg">_getAttrCfg</a>
1479
<li class="index-item method protected inherited">
1480
<a href="#method__getAttrCfgs">_getAttrCfgs</a>
1485
<li class="index-item method private inherited inherited">
1486
<a href="#method__getAttrInitVal">_getAttrInitVal</a>
1491
<li class="index-item method protected inherited">
1492
<a href="#method__getAttrs">_getAttrs</a>
1497
<li class="index-item method protected inherited">
1498
<a href="#method__getClasses">_getClasses</a>
1503
<li class="index-item method private inherited">
1504
<a href="#method__getStateVal">_getStateVal</a>
1509
<li class="index-item method private inherited">
1510
<a href="#method__getType">_getType</a>
1515
<li class="index-item method private inherited">
1516
<a href="#method__initAttrHost">_initAttrHost</a>
1521
<li class="index-item method private inherited inherited">
1522
<a href="#method__initAttribute">_initAttribute</a>
1527
<li class="index-item method protected inherited">
1528
<a href="#method__initAttrs">_initAttrs</a>
1533
<li class="index-item method private inherited inherited">
1534
<a href="#method__initBase">_initBase</a>
1539
<li class="index-item method private inherited">
1540
<a href="#method__initEvents">_initEvents</a>
1545
<li class="index-item method private inherited">
1546
<a href="#method__initHierarchy">_initHierarchy</a>
1551
<li class="index-item method private inherited">
1552
<a href="#method__initHierarchyData">_initHierarchyData</a>
1557
<li class="index-item method private inherited">
1558
<a href="#method__isLazyAttr">_isLazyAttr</a>
1563
<li class="index-item method private inherited">
1564
<a href="#method__monitor">_monitor</a>
1569
<li class="index-item method private inherited inherited">
1570
<a href="#method__normAttrVals">_normAttrVals</a>
1575
<li class="index-item method private inherited">
1576
<a href="#method__parseType">_parseType</a>
1581
<li class="index-item method private inherited">
1582
<a href="#method__preInitEventCfg">_preInitEventCfg</a>
1587
<li class="index-item method protected inherited">
1588
<a href="#method__protectAttrs">_protectAttrs</a>
1593
<li class="index-item method protected inherited inherited">
1594
<a href="#method__set">_set</a>
1599
<li class="index-item method protected inherited">
1600
<a href="#method__setAttr">_setAttr</a>
1605
<li class="index-item method protected inherited">
1606
<a href="#method__setAttrs">_setAttrs</a>
1611
<li class="index-item method private inherited">
1612
<a href="#method__setAttrVal">_setAttrVal</a>
1617
<li class="index-item method private inherited">
1618
<a href="#method__setStateVal">_setStateVal</a>
1623
<li class="index-item method inherited">
1624
<a href="#method_addAttr">addAttr</a>
1629
<li class="index-item method inherited">
1630
<a href="#method_addAttrs">addAttrs</a>
1635
<li class="index-item method inherited">
1636
<a href="#method_addTarget">addTarget</a>
1641
<li class="index-item method inherited">
1642
<a href="#method_after">after</a>
1647
<li class="index-item method inherited">
1648
<a href="#method_attrAdded">attrAdded</a>
1653
<li class="index-item method inherited">
1654
<a href="#method_before">before</a>
1659
<li class="index-item method inherited">
1660
<a href="#method_bubble">bubble</a>
1665
<li class="index-item method">
1666
<a href="#method_clearAllIntervals">clearAllIntervals</a>
1671
<li class="index-item method">
1672
<a href="#method_clearInterval">clearInterval</a>
1677
<li class="index-item method inherited inherited">
1678
<a href="#method_destroy">destroy</a>
1683
<li class="index-item method inherited">
1684
<a href="#method_detach">detach</a>
1689
<li class="index-item method inherited">
1690
<a href="#method_detachAll">detachAll</a>
1695
<li class="index-item method inherited">
1696
<a href="#method_fire">fire</a>
1701
<li class="index-item method inherited">
1702
<a href="#method_get">get</a>
1707
<li class="index-item method inherited">
1708
<a href="#method_getAttrs">getAttrs</a>
1713
<li class="index-item method inherited">
1714
<a href="#method_getEvent">getEvent</a>
1719
<li class="index-item method inherited">
1720
<a href="#method_getTargets">getTargets</a>
1725
<li class="index-item method inherited inherited">
1726
<a href="#method_init">init</a>
1731
<li class="index-item method private inherited">
1732
<a href="#method_initializer">initializer</a>
1737
<li class="index-item method inherited">
1738
<a href="#method_modifyAttr">modifyAttr</a>
1743
<li class="index-item method inherited">
1744
<a href="#method_on">on</a>
1749
<li class="index-item method inherited">
1750
<a href="#method_once">once</a>
1755
<li class="index-item method inherited">
1756
<a href="#method_onceAfter">onceAfter</a>
1761
<li class="index-item method inherited">
1762
<a href="#method_parseType">parseType</a>
1767
<li class="index-item method inherited">
1768
<a href="#method_publish">publish</a>
1773
<li class="index-item method inherited">
1774
<a href="#method_removeAttr">removeAttr</a>
1779
<li class="index-item method inherited">
1780
<a href="#method_removeTarget">removeTarget</a>
1785
<li class="index-item method inherited">
1786
<a href="#method_reset">reset</a>
1791
<li class="index-item method inherited">
1792
<a href="#method_sendRequest">sendRequest</a>
1797
<li class="index-item method inherited inherited">
1798
<a href="#method_set">set</a>
1803
<li class="index-item method inherited inherited">
1804
<a href="#method_setAttrs">setAttrs</a>
1809
<li class="index-item method">
1810
<a href="#method_setInterval">setInterval</a>
1815
<li class="index-item method deprecated inherited">
1816
<a href="#method_subscribe">subscribe</a>
1821
<li class="index-item method inherited">
1822
<a href="#method_toString">toString</a>
1827
<li class="index-item method deprecated inherited">
1828
<a href="#method_unsubscribe">unsubscribe</a>
1833
<li class="index-item method deprecated inherited">
1834
<a href="#method_unsubscribeAll">unsubscribeAll</a>
1844
<div class="index-section properties">
1847
<ul class="index-list properties">
1849
<li class="index-item property protected inherited">
1850
<a href="#property__allowAdHocAttrs">_allowAdHocAttrs</a>
1855
<li class="index-item property private">
1856
<a href="#property__intervals">_intervals</a>
1861
<li class="index-item property deprecated inherited">
1862
<a href="#property_name">name</a>
1872
<div class="index-section attrs">
1875
<ul class="index-list attrs">
1877
<li class="index-item attr inherited">
1878
<a href="#attr_destroyed">destroyed</a>
1881
<li class="index-item attr inherited">
1882
<a href="#attr_initialized">initialized</a>
1885
<li class="index-item attr inherited">
1886
<a href="#attr_source">source</a>
1894
<div class="index-section events">
1897
<ul class="index-list events">
1899
<li class="index-item event inherited">
1900
<a href="#event_data">data</a>
1905
<li class="index-item event inherited">
1906
<a href="#event_destroy">destroy</a>
1911
<li class="index-item event inherited">
1912
<a href="#event_error">error</a>
1917
<li class="index-item event inherited">
1918
<a href="#event_init">init</a>
1923
<li class="index-item event inherited">
1924
<a href="#event_request">request</a>
1929
<li class="index-item event inherited">
1930
<a href="#event_response">response</a>
1941
<div id="methods" class="api-class-tabpanel">
1942
<h2 class="off-left">Methods</h2>
1945
<div id="method__addAttrs" class="method item private inherited">
1946
<h3 class="name"><code>_addAttrs</code></h3>
1950
<span class="paren">(</span><ul class="args-list inline commas">
1970
</ul><span class="paren">)</span>
1979
<span class="flag private">private</span>
1992
<a href="../classes/AttributeCore.html#method__addAttrs">AttributeCore</a>:
1996
<a href="../files/attribute_js_AttributeCore.js.html#l740"><code>attribute/js/AttributeCore.js:740</code></a>
2006
<div class="description">
2007
<p>Implementation behind the public addAttrs method. </p>
2009
<p>This method is invoked directly by get if it encounters a scenario
2010
in which an attribute's valueFn attempts to obtain the
2011
value an attribute in the same group of attributes, which has not yet
2012
been added (on demand initialization).</p>
2016
<div class="params">
2017
<h4>Parameters:</h4>
2019
<ul class="params-list">
2023
<code class="param-name">cfgs</code>
2024
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2029
<div class="param-description">
2030
<p>An object with attribute name/configuration pairs.</p>
2038
<code class="param-name">values</code>
2039
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2044
<div class="param-description">
2045
<p>An object with attribute name/value pairs, defining the initial values to apply.
2046
Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p>
2054
<code class="param-name">lazy</code>
2055
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
2060
<div class="param-description">
2061
<p>Whether or not to delay the intialization of these attributes until the first call to get/set.
2062
Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration.
2063
See <a href="#method_addAttr">addAttr</a>.</p>
2079
<div id="method__addLazyAttr" class="method item private inherited">
2080
<h3 class="name"><code>_addLazyAttr</code></h3>
2084
<span class="paren">(</span><ul class="args-list inline commas">
2092
</ul><span class="paren">)</span>
2101
<span class="flag private">private</span>
2114
<a href="../classes/AttributeCore.html#method__addLazyAttr">AttributeCore</a>:
2118
<a href="../files/attribute_js_AttributeCore.js.html#l312"><code>attribute/js/AttributeCore.js:312</code></a>
2128
<div class="description">
2129
<p>Finishes initializing an attribute which has been lazily added.</p>
2133
<div class="params">
2134
<h4>Parameters:</h4>
2136
<ul class="params-list">
2140
<code class="param-name">name</code>
2141
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2146
<div class="param-description">
2147
<p>The name of the attribute</p>
2163
<div id="method__aggregateAttrs" class="method item private inherited">
2164
<h3 class="name"><code>_aggregateAttrs</code></h3>
2168
<span class="paren">(</span><ul class="args-list inline commas">
2172
<code>allAttrs</code>
2176
</ul><span class="paren">)</span>
2181
<span class="returns-inline">
2182
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2189
<span class="flag private">private</span>
2202
<a href="../classes/BaseCore.html#method__aggregateAttrs">BaseCore</a>:
2206
<a href="../files/base_js_BaseCore.js.html#l426"><code>base/js/BaseCore.js:426</code></a>
2216
<div class="description">
2217
<p>A helper method, used by _initHierarchyData to aggregate
2218
attribute configuration across the instances class hierarchy.</p>
2220
<p>The method will protect the attribute configuration value to protect the statically defined
2221
default value in ATTRS if required (if the value is an object literal, array or the
2222
attribute configuration has cloneDefaultValue set to shallow or deep).</p>
2226
<div class="params">
2227
<h4>Parameters:</h4>
2229
<ul class="params-list">
2233
<code class="param-name">allAttrs</code>
2234
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
2239
<div class="param-description">
2240
<p>An array of ATTRS definitions across classes in the hierarchy
2241
(subclass first, Base last)</p>
2252
<div class="returns">
2255
<div class="returns-description">
2258
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
2260
The aggregate set of ATTRS definitions for the instance
2270
<div id="method__attrCfgHash" class="method item private inherited">
2271
<h3 class="name"><code>_attrCfgHash</code></h3>
2274
<span class="paren">()</span>
2282
<span class="flag private">private</span>
2294
<a href="../classes/BaseCore.html#method__attrCfgHash">
2302
<a href="../files/base_js_Base.js.html#l180"><code>base/js/Base.js:180</code></a>
2312
<div class="description">
2313
<p>Utility method to define the attribute hash used to filter/whitelist property mixes for
2325
<div id="method__baseDestroy" class="method item private inherited">
2326
<h3 class="name"><code>_baseDestroy</code></h3>
2329
<span class="paren">()</span>
2337
<span class="flag private">private</span>
2350
<a href="../classes/BaseCore.html#method__baseDestroy">BaseCore</a>:
2354
<a href="../files/base_js_BaseCore.js.html#l263"><code>base/js/BaseCore.js:263</code></a>
2364
<div class="description">
2365
<p>Internal destroy implementation for BaseCore</p>
2376
<div id="method__baseInit" class="method item private inherited">
2377
<h3 class="name"><code>_baseInit</code></h3>
2380
<span class="paren">()</span>
2388
<span class="flag private">private</span>
2401
<a href="../classes/BaseCore.html#method__baseInit">BaseCore</a>:
2405
<a href="../files/base_js_BaseCore.js.html#l235"><code>base/js/BaseCore.js:235</code></a>
2415
<div class="description">
2416
<p>Internal initialization implementation for BaseCore</p>
2427
<div id="method__defAttrChangeFn" class="method item private inherited">
2428
<h3 class="name"><code>_defAttrChangeFn</code></h3>
2432
<span class="paren">(</span><ul class="args-list inline commas">
2440
</ul><span class="paren">)</span>
2449
<span class="flag private">private</span>
2462
<a href="../classes/AttributeEvents.html#method__defAttrChangeFn">AttributeEvents</a>:
2466
<a href="../files/attribute_js_AttributeEvents.js.html#l148"><code>attribute/js/AttributeEvents.js:148</code></a>
2476
<div class="description">
2477
<p>Default function for attribute change events.</p>
2481
<div class="params">
2482
<h4>Parameters:</h4>
2484
<ul class="params-list">
2488
<code class="param-name">e</code>
2489
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2494
<div class="param-description">
2495
<p>The event object for attribute change events.</p>
2511
<div id="method__defDataFn" class="method item protected inherited">
2512
<h3 class="name"><code>_defDataFn</code></h3>
2516
<span class="paren">(</span><ul class="args-list inline commas">
2524
</ul><span class="paren">)</span>
2533
<span class="flag protected">protected</span>
2546
<a href="../classes/DataSource.Local.html#method__defDataFn">DataSource.Local</a>:
2550
<a href="../files/datasource_js_datasource-local.js.html#l279"><code>datasource/js/datasource-local.js:279</code></a>
2560
<div class="description">
2561
<p>Normalizes raw data into a response that includes results and meta properties.</p>
2565
<div class="params">
2566
<h4>Parameters:</h4>
2568
<ul class="params-list">
2572
<code class="param-name">e</code>
2573
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
2578
<div class="param-description">
2579
<p>Event Facade with the following properties:</p>
2582
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>
2583
<dt>request (Object)</dt> <dd>The request.</dd>
2584
<dt>callback (Object)</dt> <dd>Deprecated alias for the
2585
<strong>on</strong> property</dd>
2586
<dt>on (Object)</dt> <dd>The map of configured transaction
2587
callbacks. An object with the following properties:
2589
<dt>success (Function)</dt> <dd>Success handler.</dd>
2590
<dt>failure (Function)</dt> <dd>Failure handler.</dd>
2593
<dt>cfg (Object)</dt> <dd>Configuration object.</dd>
2594
<dt>data (Object)</dt> <dd>Raw data.</dd>
2611
<div id="method__defDestroyFn" class="method item protected inherited">
2612
<h3 class="name"><code>_defDestroyFn</code></h3>
2616
<span class="paren">(</span><ul class="args-list inline commas">
2624
</ul><span class="paren">)</span>
2633
<span class="flag protected">protected</span>
2646
<a href="../classes/Base.html#method__defDestroyFn">Base</a>:
2650
<a href="../files/base_js_Base.js.html#l325"><code>base/js/Base.js:325</code></a>
2660
<div class="description">
2661
<p>Default destroy event handler</p>
2665
<div class="params">
2666
<h4>Parameters:</h4>
2668
<ul class="params-list">
2672
<code class="param-name">e</code>
2673
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2678
<div class="param-description">
2695
<div id="method__defInitFn" class="method item protected inherited">
2696
<h3 class="name"><code>_defInitFn</code></h3>
2700
<span class="paren">(</span><ul class="args-list inline commas">
2708
</ul><span class="paren">)</span>
2717
<span class="flag protected">protected</span>
2730
<a href="../classes/Base.html#method__defInitFn">Base</a>:
2734
<a href="../files/base_js_Base.js.html#l313"><code>base/js/Base.js:313</code></a>
2744
<div class="description">
2745
<p>Default init event handler</p>
2749
<div class="params">
2750
<h4>Parameters:</h4>
2752
<ul class="params-list">
2756
<code class="param-name">e</code>
2757
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2762
<div class="param-description">
2763
<p>Event object, with a cfg property which
2764
refers to the configuration object passed to the constructor.</p>
2780
<div id="method__defRequestFn" class="method item protected inherited">
2781
<h3 class="name"><code>_defRequestFn</code></h3>
2785
<span class="paren">(</span><ul class="args-list inline commas">
2793
</ul><span class="paren">)</span>
2802
<span class="flag protected">protected</span>
2815
<a href="../classes/DataSource.Local.html#method__defRequestFn">DataSource.Local</a>:
2819
<a href="../files/datasource_js_datasource-local.js.html#l240"><code>datasource/js/datasource-local.js:240</code></a>
2829
<div class="description">
2830
<p>Manages request/response transaction. Must fire <code>response</code>
2831
event when response is received. This method should be implemented by
2832
subclasses to achieve more complex behavior such as accessing remote data.</p>
2836
<div class="params">
2837
<h4>Parameters:</h4>
2839
<ul class="params-list">
2843
<code class="param-name">e</code>
2844
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
2849
<div class="param-description">
2850
<p>Event Facadewith the following properties:</p>
2853
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>
2854
<dt>request (Object)</dt> <dd>The request.</dd>
2855
<dt>callback (Object)</dt> <dd>Deprecated alias for the
2856
<strong>on</strong> property</dd>
2857
<dt>on (Object)</dt> <dd>The map of configured transaction
2858
callbacks. An object with the following properties:
2860
<dt>success (Function)</dt> <dd>Success handler.</dd>
2861
<dt>failure (Function)</dt> <dd>Failure handler.</dd>
2864
<dt>cfg (Object)</dt> <dd>Configuration object.</dd>
2881
<div id="method__defResponseFn" class="method item protected inherited">
2882
<h3 class="name"><code>_defResponseFn</code></h3>
2886
<span class="paren">(</span><ul class="args-list inline commas">
2894
</ul><span class="paren">)</span>
2903
<span class="flag protected">protected</span>
2916
<a href="../classes/DataSource.Local.html#method__defResponseFn">DataSource.Local</a>:
2920
<a href="../files/datasource_js_datasource-local.js.html#l314"><code>datasource/js/datasource-local.js:314</code></a>
2930
<div class="description">
2931
<p>Sends data as a normalized response to callback.</p>
2935
<div class="params">
2936
<h4>Parameters:</h4>
2938
<ul class="params-list">
2942
<code class="param-name">e</code>
2943
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
2948
<div class="param-description">
2949
<p>Event Facade with the following properties:</p>
2952
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>
2953
<dt>request (Object)</dt> <dd>The request.</dd>
2954
<dt>callback (Object)</dt> <dd>Deprecated alias for the
2955
<strong>on</strong> property</dd>
2956
<dt>on (Object)</dt> <dd>The map of configured transaction
2957
callbacks. An object with the following properties:
2959
<dt>success (Function)</dt> <dd>Success handler.</dd>
2960
<dt>failure (Function)</dt> <dd>Failure handler.</dd>
2963
<dt>cfg (Object)</dt> <dd>Configuration object.</dd>
2964
<dt>data (Object)</dt> <dd>Raw data.</dd>
2965
<dt>response (Object)</dt> <dd>Normalized response object with the following properties:
2967
<dt>results (Object)</dt> <dd>Parsed results.</dd>
2968
<dt>meta (Object)</dt> <dd>Parsed meta data.</dd>
2969
<dt>error (Boolean)</dt> <dd>Error flag.</dd>
2988
<div id="method__destroyHierarchy" class="method item private inherited">
2989
<h3 class="name"><code>_destroyHierarchy</code></h3>
2992
<span class="paren">()</span>
3000
<span class="flag private">private</span>
3013
<a href="../classes/BaseCore.html#method__destroyHierarchy">BaseCore</a>:
3017
<a href="../files/base_js_BaseCore.js.html#l559"><code>base/js/BaseCore.js:559</code></a>
3027
<div class="description">
3028
<p>Destroys the class hierarchy for this instance by invoking
3029
the destructor method on the prototype of each class in the hierarchy.</p>
3040
<div id="method__filterAdHocAttrs" class="method item private inherited">
3041
<h3 class="name"><code>_filterAdHocAttrs</code></h3>
3045
<span class="paren">(</span><ul class="args-list inline commas">
3049
<code>allAttrs</code>
3055
<code>userVals</code>
3059
</ul><span class="paren">)</span>
3064
<span class="returns-inline">
3065
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3072
<span class="flag private">private</span>
3085
<a href="../classes/BaseCore.html#method__filterAdHocAttrs">BaseCore</a>:
3089
<a href="../files/base_js_BaseCore.js.html#l342"><code>base/js/BaseCore.js:342</code></a>
3099
<div class="description">
3104
<div class="params">
3105
<h4>Parameters:</h4>
3107
<ul class="params-list">
3111
<code class="param-name">allAttrs</code>
3112
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3117
<div class="param-description">
3118
<p>The set of all attribute configurations for this instance.
3119
Attributes will be removed from this set, if they belong to the filtered class, so
3120
that by the time all classes are processed, allCfgs will be empty.</p>
3128
<code class="param-name">userVals</code>
3129
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3134
<div class="param-description">
3135
<p>The config object passed in by the user, from which adhoc attrs are to be filtered.</p>
3146
<div class="returns">
3149
<div class="returns-description">
3152
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3154
The set of adhoc attributes passed in, in the form
3155
of an object with attribute name/configuration pairs.
3165
<div id="method__filterAttrCfs" class="method item private inherited">
3166
<h3 class="name"><code>_filterAttrCfs</code></h3>
3170
<span class="paren">(</span><ul class="args-list inline commas">
3180
<code>allCfgs</code>
3184
</ul><span class="paren">)</span>
3189
<span class="returns-inline">
3190
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3197
<span class="flag private">private</span>
3210
<a href="../classes/BaseCore.html#method__filterAttrCfs">BaseCore</a>:
3214
<a href="../files/base_js_BaseCore.js.html#l310"><code>base/js/BaseCore.js:310</code></a>
3224
<div class="description">
3225
<p>A helper method used when processing ATTRS across the class hierarchy during
3226
initialization. Returns a disposable object with the attributes defined for
3227
the provided class, extracted from the set of all attributes passed in.</p>
3231
<div class="params">
3232
<h4>Parameters:</h4>
3234
<ul class="params-list">
3238
<code class="param-name">clazz</code>
3239
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
3244
<div class="param-description">
3245
<p>The class for which the desired attributes are required.</p>
3253
<code class="param-name">allCfgs</code>
3254
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3259
<div class="param-description">
3260
<p>The set of all attribute configurations for this instance.
3261
Attributes will be removed from this set, if they belong to the filtered class, so
3262
that by the time all classes are processed, allCfgs will be empty.</p>
3273
<div class="returns">
3276
<div class="returns-description">
3279
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3281
The set of attributes belonging to the class passed in, in the form
3282
of an object with attribute name/configuration pairs.
3292
<div id="method__fireAttrChange" class="method item private inherited">
3293
<h3 class="name"><code>_fireAttrChange</code></h3>
3297
<span class="paren">(</span><ul class="args-list inline commas">
3301
<code>attrName</code>
3307
<code>subAttrName</code>
3313
<code>currVal</code>
3329
</ul><span class="paren">)</span>
3338
<span class="flag private">private</span>
3351
<a href="../classes/AttributeEvents.html#method__fireAttrChange">AttributeEvents</a>:
3355
<a href="../files/attribute_js_AttributeEvents.js.html#l94"><code>attribute/js/AttributeEvents.js:94</code></a>
3365
<div class="description">
3366
<p>Utility method to help setup the event payload and fire the attribute change event.</p>
3370
<div class="params">
3371
<h4>Parameters:</h4>
3373
<ul class="params-list">
3377
<code class="param-name">attrName</code>
3378
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3383
<div class="param-description">
3384
<p>The name of the attribute</p>
3392
<code class="param-name">subAttrName</code>
3393
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3398
<div class="param-description">
3399
<p>The full path of the property being changed,
3400
if this is a sub-attribute value being change. Otherwise null.</p>
3408
<code class="param-name">currVal</code>
3409
<span class="type">Any</span>
3414
<div class="param-description">
3415
<p>The current value of the attribute</p>
3423
<code class="param-name">newVal</code>
3424
<span class="type">Any</span>
3429
<div class="param-description">
3430
<p>The new value of the attribute</p>
3438
<code class="param-name">opts</code>
3439
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3444
<div class="param-description">
3445
<p>Any additional event data to mix into the attribute change event's event facade.</p>
3461
<div id="method__getAttr" class="method item protected inherited">
3462
<h3 class="name"><code>_getAttr</code></h3>
3466
<span class="paren">(</span><ul class="args-list inline commas">
3474
</ul><span class="paren">)</span>
3479
<span class="returns-inline">
3480
<span class="type">Any</span>
3487
<span class="flag protected">protected</span>
3495
<span class="flag chainable">chainable</span>
3502
<a href="../classes/AttributeCore.html#method__getAttr">AttributeCore</a>:
3506
<a href="../files/attribute_js_AttributeCore.js.html#l468"><code>attribute/js/AttributeCore.js:468</code></a>
3516
<div class="description">
3517
<p>Provides the common implementation for the public get method,
3518
allowing Attribute hosts to over-ride either method.</p>
3520
<p>See <a href="#method_get">get</a> for argument details.</p>
3524
<div class="params">
3525
<h4>Parameters:</h4>
3527
<ul class="params-list">
3531
<code class="param-name">name</code>
3532
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3537
<div class="param-description">
3538
<p>The name of the attribute.</p>
3549
<div class="returns">
3552
<div class="returns-description">
3555
<span class="type">Any</span>:
3557
The value of the attribute.
3567
<div id="method__getAttrCfg" class="method item protected inherited">
3568
<h3 class="name"><code>_getAttrCfg</code></h3>
3572
<span class="paren">(</span><ul class="args-list inline commas">
3580
</ul><span class="paren">)</span>
3585
<span class="returns-inline">
3586
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3593
<span class="flag protected">protected</span>
3606
<a href="../classes/AttributeExtras.html#method__getAttrCfg">AttributeExtras</a>:
3610
<a href="../files/attribute_js_AttributeExtras.js.html#l112"><code>attribute/js/AttributeExtras.js:112</code></a>
3620
<div class="description">
3621
<p>Returns an object with the configuration properties (and value)
3622
for the given attribute. If attrName is not provided, returns the
3623
configuration properties for all attributes.</p>
3627
<div class="params">
3628
<h4>Parameters:</h4>
3630
<ul class="params-list">
3634
<code class="param-name">name</code>
3635
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3640
<div class="param-description">
3641
<p>Optional. The attribute name. If not provided, the method will return the configuration for all attributes.</p>
3652
<div class="returns">
3655
<div class="returns-description">
3658
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3660
The configuration properties for the given attribute, or all attributes.
3670
<div id="method__getAttrCfgs" class="method item protected inherited">
3671
<h3 class="name"><code>_getAttrCfgs</code></h3>
3674
<span class="paren">()</span>
3678
<span class="returns-inline">
3679
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3686
<span class="flag protected">protected</span>
3699
<a href="../classes/BaseCore.html#method__getAttrCfgs">BaseCore</a>:
3703
<a href="../files/base_js_BaseCore.js.html#l293"><code>base/js/BaseCore.js:293</code></a>
3713
<div class="description">
3714
<p>Returns an aggregated set of attribute configurations, by traversing
3715
the class hierarchy.</p>
3721
<div class="returns">
3724
<div class="returns-description">
3727
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3729
The hash of attribute configurations, aggregated across classes in the hierarchy
3730
This value is cached the first time the method, or _getClasses, is invoked. Subsequent invocations return
3741
<div id="method__getAttrInitVal" class="method item private inherited">
3742
<h3 class="name"><code>_getAttrInitVal</code></h3>
3746
<span class="paren">(</span><ul class="args-list inline commas">
3762
<code>initValues</code>
3766
</ul><span class="paren">)</span>
3771
<span class="returns-inline">
3772
<span class="type">Any</span>
3779
<span class="flag private">private</span>
3791
<a href="../classes/Attribute.html#method__getAttrInitVal">
3799
<a href="../files/attribute_js_AttributeCore.js.html#l823"><code>attribute/js/AttributeCore.js:823</code></a>
3809
<div class="description">
3810
<p>Returns the initial value of the given attribute from
3811
either the default configuration provided, or the
3812
over-ridden value if it exists in the set of initValues
3813
provided and the attribute is not read-only.</p>
3817
<div class="params">
3818
<h4>Parameters:</h4>
3820
<ul class="params-list">
3824
<code class="param-name">attr</code>
3825
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3830
<div class="param-description">
3831
<p>The name of the attribute</p>
3839
<code class="param-name">cfg</code>
3840
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3845
<div class="param-description">
3846
<p>The attribute configuration object</p>
3854
<code class="param-name">initValues</code>
3855
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3860
<div class="param-description">
3861
<p>The object with simple and complex attribute name/value pairs returned from _normAttrVals</p>
3872
<div class="returns">
3875
<div class="returns-description">
3878
<span class="type">Any</span>:
3880
The initial value of the attribute.
3890
<div id="method__getAttrs" class="method item protected inherited">
3891
<h3 class="name"><code>_getAttrs</code></h3>
3895
<span class="paren">(</span><ul class="args-list inline commas">
3903
</ul><span class="paren">)</span>
3908
<span class="returns-inline">
3909
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3916
<span class="flag protected">protected</span>
3929
<a href="../classes/AttributeCore.html#method__getAttrs">AttributeCore</a>:
3933
<a href="../files/attribute_js_AttributeCore.js.html#l677"><code>attribute/js/AttributeCore.js:677</code></a>
3943
<div class="description">
3944
<p>Implementation behind the public getAttrs method, to get multiple attribute values.</p>
3948
<div class="params">
3949
<h4>Parameters:</h4>
3951
<ul class="params-list">
3955
<code class="param-name">attrs</code>
3956
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span>
3961
<div class="param-description">
3962
<p>Optional. An array of attribute names. If omitted, all attribute values are
3963
returned. If set to true, all attributes modified from their initial values are returned.</p>
3974
<div class="returns">
3977
<div class="returns-description">
3980
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3982
An object with attribute name/value pairs.
3992
<div id="method__getClasses" class="method item protected inherited">
3993
<h3 class="name"><code>_getClasses</code></h3>
3996
<span class="paren">()</span>
4000
<span class="returns-inline">
4001
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>
4008
<span class="flag protected">protected</span>
4021
<a href="../classes/BaseCore.html#method__getClasses">BaseCore</a>:
4025
<a href="../files/base_js_BaseCore.js.html#l277"><code>base/js/BaseCore.js:277</code></a>
4035
<div class="description">
4036
<p>Returns the class hierarchy for this object, with BaseCore being the last class in the array.</p>
4042
<div class="returns">
4045
<div class="returns-description">
4048
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>:
4050
An array of classes (constructor functions), making up the class hierarchy for this object.
4051
This value is cached the first time the method, or _getAttrCfgs, is invoked. Subsequent invocations return the
4062
<div id="method__getStateVal" class="method item private inherited">
4063
<h3 class="name"><code>_getStateVal</code></h3>
4067
<span class="paren">(</span><ul class="args-list inline commas">
4075
</ul><span class="paren">)</span>
4080
<span class="returns-inline">
4081
<span class="type">Any</span>
4088
<span class="flag private">private</span>
4101
<a href="../classes/AttributeCore.html#method__getStateVal">AttributeCore</a>:
4105
<a href="../files/attribute_js_AttributeCore.js.html#l522"><code>attribute/js/AttributeCore.js:522</code></a>
4115
<div class="description">
4116
<p>Gets the stored value for the attribute, from either the
4117
internal state object, or the state proxy if it exits</p>
4121
<div class="params">
4122
<h4>Parameters:</h4>
4124
<ul class="params-list">
4128
<code class="param-name">name</code>
4129
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4134
<div class="param-description">
4135
<p>The name of the attribute</p>
4146
<div class="returns">
4149
<div class="returns-description">
4152
<span class="type">Any</span>:
4154
The stored value of the attribute
4164
<div id="method__getType" class="method item private inherited">
4165
<h3 class="name"><code>_getType</code></h3>
4168
<span class="paren">()</span>
4176
<span class="flag private">private</span>
4189
<a href="../classes/EventTarget.html#method__getType">EventTarget</a>:
4193
<a href="../files/event-custom_js_event-target.js.html#l36"><code>event-custom/js/event-target.js:36</code></a>
4203
<div class="description">
4204
<p>If the instance has a prefix attribute and the
4205
event type is not prefixed, the instance prefix is
4206
applied to the supplied type.</p>
4217
<div id="method__initAttrHost" class="method item private inherited">
4218
<h3 class="name"><code>_initAttrHost</code></h3>
4222
<span class="paren">(</span><ul class="args-list inline commas">
4242
</ul><span class="paren">)</span>
4251
<span class="flag private">private</span>
4264
<a href="../classes/AttributeCore.html#method__initAttrHost">AttributeCore</a>:
4268
<a href="../files/attribute_js_AttributeCore.js.html#l109"><code>attribute/js/AttributeCore.js:109</code></a>
4278
<div class="description">
4279
<p>Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the
4284
<div class="params">
4285
<h4>Parameters:</h4>
4287
<ul class="params-list">
4291
<code class="param-name">attrs</code>
4292
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4297
<div class="param-description">
4298
<p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p>
4306
<code class="param-name">values</code>
4307
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4312
<div class="param-description">
4313
<p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p>
4321
<code class="param-name">lazy</code>
4322
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4327
<div class="param-description">
4328
<p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p>
4344
<div id="method__initAttribute" class="method item private inherited">
4345
<h3 class="name"><code>_initAttribute</code></h3>
4348
<span class="paren">()</span>
4356
<span class="flag private">private</span>
4368
<a href="../classes/BaseCore.html#method__initAttribute">
4376
<a href="../files/base_js_Base.js.html#l169"><code>base/js/Base.js:169</code></a>
4386
<div class="description">
4387
<p>Initializes Attribute</p>
4398
<div id="method__initAttrs" class="method item protected inherited">
4399
<h3 class="name"><code>_initAttrs</code></h3>
4403
<span class="paren">(</span><ul class="args-list inline commas">
4423
</ul><span class="paren">)</span>
4432
<span class="flag protected">protected</span>
4445
<a href="../classes/AttributeCore.html#method__initAttrs">AttributeCore</a>:
4449
<a href="../files/attribute_js_AttributeCore.js.html#l862"><code>attribute/js/AttributeCore.js:862</code></a>
4459
<div class="description">
4460
<p>Utility method to set up initial attributes defined during construction, either through the constructor.ATTRS property, or explicitly passed in.</p>
4464
<div class="params">
4465
<h4>Parameters:</h4>
4467
<ul class="params-list">
4471
<code class="param-name">attrs</code>
4472
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4477
<div class="param-description">
4478
<p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p>
4486
<code class="param-name">values</code>
4487
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4492
<div class="param-description">
4493
<p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p>
4501
<code class="param-name">lazy</code>
4502
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4507
<div class="param-description">
4508
<p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p>
4524
<div id="method__initBase" class="method item private inherited">
4525
<h3 class="name"><code>_initBase</code></h3>
4529
<span class="paren">(</span><ul class="args-list inline commas">
4537
</ul><span class="paren">)</span>
4546
<span class="flag private">private</span>
4558
<a href="../classes/BaseCore.html#method__initBase">
4566
<a href="../files/base_js_Base.js.html#l154"><code>base/js/Base.js:154</code></a>
4576
<div class="description">
4577
<p>Internal construction logic for Base.</p>
4581
<div class="params">
4582
<h4>Parameters:</h4>
4584
<ul class="params-list">
4588
<code class="param-name">config</code>
4589
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4594
<div class="param-description">
4595
<p>The constructor configuration object</p>
4611
<div id="method__initEvents" class="method item private inherited">
4612
<h3 class="name"><code>_initEvents</code></h3>
4615
<span class="paren">()</span>
4623
<span class="flag private">private</span>
4636
<a href="../classes/DataSource.Local.html#method__initEvents">DataSource.Local</a>:
4640
<a href="../files/datasource_js_datasource-local.js.html#l124"><code>datasource/js/datasource-local.js:124</code></a>
4650
<div class="description">
4651
<p>This method creates all the events for this module.</p>
4662
<div id="method__initHierarchy" class="method item private inherited">
4663
<h3 class="name"><code>_initHierarchy</code></h3>
4667
<span class="paren">(</span><ul class="args-list inline commas">
4671
<code>userVals</code>
4675
</ul><span class="paren">)</span>
4684
<span class="flag private">private</span>
4697
<a href="../classes/BaseCore.html#method__initHierarchy">BaseCore</a>:
4701
<a href="../files/base_js_BaseCore.js.html#l501"><code>base/js/BaseCore.js:501</code></a>
4711
<div class="description">
4712
<p>Initializes the class hierarchy for the instance, which includes
4713
initializing attributes for each class defined in the class's
4714
static <a href="#property_BaseCore.ATTRS">ATTRS</a> property and
4715
invoking the initializer method on the prototype of each class in the hierarchy.</p>
4719
<div class="params">
4720
<h4>Parameters:</h4>
4722
<ul class="params-list">
4726
<code class="param-name">userVals</code>
4727
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4732
<div class="param-description">
4733
<p>Object with configuration property name/value pairs</p>
4749
<div id="method__initHierarchyData" class="method item private inherited">
4750
<h3 class="name"><code>_initHierarchyData</code></h3>
4753
<span class="paren">()</span>
4761
<span class="flag private">private</span>
4774
<a href="../classes/BaseCore.html#method__initHierarchyData">BaseCore</a>:
4778
<a href="../files/base_js_BaseCore.js.html#l372"><code>base/js/BaseCore.js:372</code></a>
4788
<div class="description">
4789
<p>A helper method used by _getClasses and _getAttrCfgs, which determines both
4790
the array of classes and aggregate set of attribute configurations
4791
across the class hierarchy for the instance.</p>
4802
<div id="method__isLazyAttr" class="method item private inherited">
4803
<h3 class="name"><code>_isLazyAttr</code></h3>
4807
<span class="paren">(</span><ul class="args-list inline commas">
4815
</ul><span class="paren">)</span>
4820
<span class="returns-inline">
4821
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4828
<span class="flag private">private</span>
4841
<a href="../classes/AttributeCore.html#method__isLazyAttr">AttributeCore</a>:
4845
<a href="../files/attribute_js_AttributeCore.js.html#l299"><code>attribute/js/AttributeCore.js:299</code></a>
4855
<div class="description">
4856
<p>Checks whether or not the attribute is one which has been
4857
added lazily and still requires initialization.</p>
4861
<div class="params">
4862
<h4>Parameters:</h4>
4864
<ul class="params-list">
4868
<code class="param-name">name</code>
4869
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4874
<div class="param-description">
4875
<p>The name of the attribute</p>
4886
<div class="returns">
4889
<div class="returns-description">
4892
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
4894
true if it's a lazily added attribute, false otherwise.
4904
<div id="method__monitor" class="method item private inherited">
4905
<h3 class="name"><code>_monitor</code></h3>
4909
<span class="paren">(</span><ul class="args-list inline commas">
4929
</ul><span class="paren">)</span>
4938
<span class="flag private">private</span>
4951
<a href="../classes/EventTarget.html#method__monitor">EventTarget</a>:
4955
<a href="../files/event-custom_js_event-target.js.html#l602"><code>event-custom/js/event-target.js:602</code></a>
4965
<div class="description">
4966
<p>This is the entry point for the event monitoring system.
4967
You can monitor 'attach', 'detach', 'fire', and 'publish'.
4968
When configured, these events generate an event. click ->
4969
click<em>attach, click</em>detach, click_publish -- these can
4970
be subscribed to like other events to monitor the event
4971
system. Inividual published events can have monitoring
4972
turned on or off (publish can't be turned off before it
4973
it published) by setting the events 'monitor' config.</p>
4977
<div class="params">
4978
<h4>Parameters:</h4>
4980
<ul class="params-list">
4984
<code class="param-name">what</code>
4985
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4990
<div class="param-description">
4991
<p>'attach', 'detach', 'fire', or 'publish'</p>
4999
<code class="param-name">type</code>
5000
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5005
<div class="param-description">
5006
<p>Name of the event being monitored</p>
5014
<code class="param-name">o</code>
5015
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5020
<div class="param-description">
5021
<p>Information about the event interaction, such as
5022
fire() args, subscription category, publish config</p>
5038
<div id="method__normAttrVals" class="method item private inherited">
5039
<h3 class="name"><code>_normAttrVals</code></h3>
5043
<span class="paren">(</span><ul class="args-list inline commas">
5047
<code>valueHash</code>
5051
</ul><span class="paren">)</span>
5056
<span class="returns-inline">
5057
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5064
<span class="flag private">private</span>
5076
<a href="../classes/Attribute.html#method__normAttrVals">
5084
<a href="../files/attribute_js_AttributeCore.js.html#l808"><code>attribute/js/AttributeCore.js:808</code></a>
5094
<div class="description">
5095
<p>Utility method to normalize attribute values. The base implementation
5096
simply merges the hash to protect the original.</p>
5100
<div class="params">
5101
<h4>Parameters:</h4>
5103
<ul class="params-list">
5107
<code class="param-name">valueHash</code>
5108
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5113
<div class="param-description">
5114
<p>An object with attribute name/value pairs</p>
5125
<div class="returns">
5128
<div class="returns-description">
5131
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5142
<div id="method__parseType" class="method item private inherited">
5143
<h3 class="name"><code>_parseType</code></h3>
5146
<span class="paren">()</span>
5154
<span class="flag private">private</span>
5167
<a href="../classes/EventTarget.html#method__parseType">EventTarget</a>:
5171
<a href="../files/event-custom_js_event-target.js.html#l52"><code>event-custom/js/event-target.js:52</code></a>
5181
<div class="description">
5182
<p>Returns an array with the detach key (if provided),
5183
and the prefixed event name from _getType
5184
Y.on('detachcategory| menu:click', fn)</p>
5195
<div id="method__preInitEventCfg" class="method item private inherited">
5196
<h3 class="name"><code>_preInitEventCfg</code></h3>
5200
<span class="paren">(</span><ul class="args-list inline commas">
5208
</ul><span class="paren">)</span>
5217
<span class="flag private">private</span>
5230
<a href="../classes/Base.html#method__preInitEventCfg">Base</a>:
5234
<a href="../files/base_js_Base.js.html#l233"><code>base/js/Base.js:233</code></a>
5244
<div class="description">
5245
<p>Handles the special on, after and target properties which allow the user to
5246
easily configure on and after listeners as well as bubble targets during
5247
construction, prior to init.</p>
5251
<div class="params">
5252
<h4>Parameters:</h4>
5254
<ul class="params-list">
5258
<code class="param-name">config</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>The user configuration object</p>
5281
<div id="method__protectAttrs" class="method item protected inherited">
5282
<h3 class="name"><code>_protectAttrs</code></h3>
5286
<span class="paren">(</span><ul class="args-list inline commas">
5294
</ul><span class="paren">)</span>
5299
<span class="returns-inline">
5300
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5307
<span class="flag protected">protected</span>
5320
<a href="../classes/AttributeCore.html#method__protectAttrs">AttributeCore</a>:
5324
<a href="../files/attribute_js_AttributeCore.js.html#l786"><code>attribute/js/AttributeCore.js:786</code></a>
5334
<div class="description">
5335
<p>Utility method to protect an attribute configuration
5336
hash, by merging the entire object and the individual
5337
attr config objects.</p>
5341
<div class="params">
5342
<h4>Parameters:</h4>
5344
<ul class="params-list">
5348
<code class="param-name">attrs</code>
5349
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5354
<div class="param-description">
5355
<p>A hash of attribute to configuration object pairs.</p>
5366
<div class="returns">
5369
<div class="returns-description">
5372
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5374
A protected version of the attrs argument.
5384
<div id="method__set" class="method item protected inherited">
5385
<h3 class="name"><code>_set</code></h3>
5389
<span class="paren">(</span><ul class="args-list inline commas">
5403
</ul><span class="paren">)</span>
5408
<span class="returns-inline">
5409
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5416
<span class="flag protected">protected</span>
5424
<span class="flag chainable">chainable</span>
5430
<a href="../classes/AttributeEvents.html#method__set">
5438
<a href="../files/attribute_js_AttributeCore.js.html#l346"><code>attribute/js/AttributeCore.js:346</code></a>
5448
<div class="description">
5449
<p>Allows setting of readOnly/writeOnce attributes. See <a href="#method_set">set</a> for argument details.</p>
5453
<div class="params">
5454
<h4>Parameters:</h4>
5456
<ul class="params-list">
5460
<code class="param-name">name</code>
5461
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5466
<div class="param-description">
5467
<p>The name of the attribute.</p>
5475
<code class="param-name">val</code>
5476
<span class="type">Any</span>
5481
<div class="param-description">
5482
<p>The value to set the attribute to.</p>
5493
<div class="returns">
5496
<div class="returns-description">
5499
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5501
A reference to the host object.
5511
<div id="method__setAttr" class="method item protected inherited">
5512
<h3 class="name"><code>_setAttr</code></h3>
5516
<span class="paren">(</span><ul class="args-list inline commas">
5542
</ul><span class="paren">)</span>
5547
<span class="returns-inline">
5548
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5555
<span class="flag protected">protected</span>
5563
<span class="flag chainable">chainable</span>
5570
<a href="../classes/AttributeCore.html#method__setAttr">AttributeCore</a>:
5574
<a href="../files/attribute_js_AttributeCore.js.html#l361"><code>attribute/js/AttributeCore.js:361</code></a>
5584
<div class="description">
5585
<p>Provides the common implementation for the public set and protected _set methods.</p>
5587
<p>See <a href="#method_set">set</a> for argument details.</p>
5591
<div class="params">
5592
<h4>Parameters:</h4>
5594
<ul class="params-list">
5598
<code class="param-name">name</code>
5599
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5604
<div class="param-description">
5605
<p>The name of the attribute.</p>
5613
<code class="param-name">value</code>
5614
<span class="type">Any</span>
5619
<div class="param-description">
5620
<p>The value to set the attribute to.</p>
5628
<code class="param-name">opts</code>
5629
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5634
<div class="param-description">
5635
<p>(Optional) Optional event data to be mixed into
5636
the event facade passed to subscribers of the attribute's change event.
5637
This is currently a hack. There's no real need for the AttributeCore implementation
5638
to support this parameter, but breaking it out into AttributeEvents, results in
5639
additional function hops for the critical path. May change in 3.5.0 PR3.</p>
5647
<code class="param-name">force</code>
5648
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
5653
<div class="param-description">
5654
<p>If true, allows the caller to set values for
5655
readOnly or writeOnce attributes which have already been set.</p>
5666
<div class="returns">
5669
<div class="returns-description">
5672
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5674
A reference to the host object.
5684
<div id="method__setAttrs" class="method item protected inherited">
5685
<h3 class="name"><code>_setAttrs</code></h3>
5689
<span class="paren">(</span><ul class="args-list inline commas">
5697
</ul><span class="paren">)</span>
5702
<span class="returns-inline">
5703
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5710
<span class="flag protected">protected</span>
5718
<span class="flag chainable">chainable</span>
5725
<a href="../classes/AttributeCore.html#method__setAttrs">AttributeCore</a>:
5729
<a href="../files/attribute_js_AttributeCore.js.html#l647"><code>attribute/js/AttributeCore.js:647</code></a>
5739
<div class="description">
5740
<p>Implementation behind the public setAttrs method, to set multiple attribute values.</p>
5744
<div class="params">
5745
<h4>Parameters:</h4>
5747
<ul class="params-list">
5751
<code class="param-name">attrs</code>
5752
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5757
<div class="param-description">
5758
<p>An object with attributes name/value pairs.</p>
5769
<div class="returns">
5772
<div class="returns-description">
5775
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5777
A reference to the host object.
5787
<div id="method__setAttrVal" class="method item private inherited">
5788
<h3 class="name"><code>_setAttrVal</code></h3>
5792
<span class="paren">(</span><ul class="args-list inline commas">
5796
<code>attrName</code>
5802
<code>subAttrName</code>
5808
<code>prevVal</code>
5818
</ul><span class="paren">)</span>
5823
<span class="returns-inline">
5824
<span class="type">Booolean</span>
5831
<span class="flag private">private</span>
5844
<a href="../classes/AttributeCore.html#method__setAttrVal">AttributeCore</a>:
5848
<a href="../files/attribute_js_AttributeCore.js.html#l554"><code>attribute/js/AttributeCore.js:554</code></a>
5858
<div class="description">
5859
<p>Updates the stored value of the attribute in the privately held State object,
5860
if validation and setter passes.</p>
5864
<div class="params">
5865
<h4>Parameters:</h4>
5867
<ul class="params-list">
5871
<code class="param-name">attrName</code>
5872
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5877
<div class="param-description">
5878
<p>The attribute name.</p>
5886
<code class="param-name">subAttrName</code>
5887
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5892
<div class="param-description">
5893
<p>The sub-attribute name, if setting a sub-attribute property ("x.y.z").</p>
5901
<code class="param-name">prevVal</code>
5902
<span class="type">Any</span>
5907
<div class="param-description">
5908
<p>The currently stored value of the attribute.</p>
5916
<code class="param-name">newVal</code>
5917
<span class="type">Any</span>
5922
<div class="param-description">
5923
<p>The value which is going to be stored.</p>
5934
<div class="returns">
5937
<div class="returns-description">
5940
<span class="type">Booolean</span>:
5942
true if the new attribute value was stored, false if not.
5952
<div id="method__setStateVal" class="method item private inherited">
5953
<h3 class="name"><code>_setStateVal</code></h3>
5957
<span class="paren">(</span><ul class="args-list inline commas">
5971
</ul><span class="paren">)</span>
5980
<span class="flag private">private</span>
5993
<a href="../classes/AttributeCore.html#method__setStateVal">AttributeCore</a>:
5997
<a href="../files/attribute_js_AttributeCore.js.html#l536"><code>attribute/js/AttributeCore.js:536</code></a>
6007
<div class="description">
6008
<p>Sets the stored value for the attribute, in either the
6009
internal state object, or the state proxy if it exits</p>
6013
<div class="params">
6014
<h4>Parameters:</h4>
6016
<ul class="params-list">
6020
<code class="param-name">name</code>
6021
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6026
<div class="param-description">
6027
<p>The name of the attribute</p>
6035
<code class="param-name">value</code>
6036
<span class="type">Any</span>
6041
<div class="param-description">
6042
<p>The value of the attribute</p>
6058
<div id="method_addAttr" class="method item inherited">
6059
<h3 class="name"><code>addAttr</code></h3>
6063
<span class="paren">(</span><ul class="args-list inline commas">
6083
</ul><span class="paren">)</span>
6088
<span class="returns-inline">
6089
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6102
<span class="flag chainable">chainable</span>
6109
<a href="../classes/AttributeCore.html#method_addAttr">AttributeCore</a>:
6113
<a href="../files/attribute_js_AttributeCore.js.html#l124"><code>attribute/js/AttributeCore.js:124</code></a>
6123
<div class="description">
6125
Adds an attribute with the provided configuration to the host object.
6129
The config argument object supports the following properties:
6133
<dt>value <Any></dt>
6134
<dd>The initial value to set on the attribute</dd>
6136
<dt>valueFn <Function | String></dt>
6138
<p>A function, which will return the initial value to set on the attribute. This is useful
6139
for cases where the attribute configuration is defined statically, but needs to
6140
reference the host instance ("this") to obtain an initial value. If both the value and valueFn properties are defined,
6141
the value returned by the valueFn has precedence over the value property, unless it returns undefined, in which
6142
case the value property is used.</p>
6144
<p>valueFn can also be set to a string, representing the name of the instance method to be used to retrieve the value.</p>
6147
<dt>readOnly <boolean></dt>
6148
<dd>Whether or not the attribute is read only. Attributes having readOnly set to true
6149
cannot be modified by invoking the set method.</dd>
6151
<dt>writeOnce <boolean> or <string></dt>
6153
Whether or not the attribute is "write once". Attributes having writeOnce set to true,
6154
can only have their values set once, be it through the default configuration,
6155
constructor configuration arguments, or by invoking set.
6156
<p>The writeOnce attribute can also be set to the string "initOnly", in which case the attribute can only be set during initialization
6157
(when used with Base, this means it can only be set during construction)</p>
6160
<dt>setter <Function | String></dt>
6162
<p>The setter function used to massage or normalize the value passed to the set method for the attribute.
6163
The value returned by the setter will be the final stored value. Returning
6164
<a href="#property_Attribute.INVALID_VALUE">Attribute.INVALID_VALUE</a>, from the setter will prevent
6165
the value from being stored.
6168
<p>setter can also be set to a string, representing the name of the instance method to be used as the setter function.</p>
6171
<dt>getter <Function | String></dt>
6174
The getter function used to massage or normalize the value returned by the get method for the attribute.
6175
The value returned by the getter function is the value which will be returned to the user when they
6179
<p>getter can also be set to a string, representing the name of the instance method to be used as the getter function.</p>
6182
<dt>validator <Function | String></dt>
6185
The validator function invoked prior to setting the stored value. Returning
6186
false from the validator function will prevent the value from being stored.
6189
<p>validator can also be set to a string, representing the name of the instance method to be used as the validator function.</p>
6192
<dt>lazyAdd <boolean></dt>
6193
<dd>Whether or not to delay initialization of the attribute until the first call to get/set it.
6194
This flag can be used to over-ride lazy initialization on a per attribute basis, when adding multiple attributes through
6195
the <a href="#method_addAttrs">addAttrs</a> method.</dd>
6199
<p>The setter, getter and validator are invoked with the value and name passed in as the first and second arguments, and with
6200
the context ("this") set to the host object.</p>
6202
<p>Configuration properties outside of the list mentioned above are considered private properties used internally by attribute,
6203
and are not intended for public use.</p>
6207
<div class="params">
6208
<h4>Parameters:</h4>
6210
<ul class="params-list">
6214
<code class="param-name">name</code>
6215
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6220
<div class="param-description">
6221
<p>The name of the attribute.</p>
6229
<code class="param-name">config</code>
6230
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6235
<div class="param-description">
6236
<p>An object with attribute configuration property/value pairs, specifying the configuration for the attribute.</p>
6239
<strong>NOTE:</strong> The configuration object is modified when adding an attribute, so if you need
6240
to protect the original values, you will need to merge the object.
6249
<code class="param-name">lazy</code>
6250
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6255
<div class="param-description">
6256
<p>(optional) Whether or not to add this attribute lazily (on the first call to get/set).</p>
6267
<div class="returns">
6270
<div class="returns-description">
6273
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
6275
A reference to the host object.
6285
<div id="method_addAttrs" class="method item inherited">
6286
<h3 class="name"><code>addAttrs</code></h3>
6290
<span class="paren">(</span><ul class="args-list inline commas">
6310
</ul><span class="paren">)</span>
6315
<span class="returns-inline">
6316
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6329
<span class="flag chainable">chainable</span>
6336
<a href="../classes/AttributeCore.html#method_addAttrs">AttributeCore</a>:
6340
<a href="../files/attribute_js_AttributeCore.js.html#l708"><code>attribute/js/AttributeCore.js:708</code></a>
6350
<div class="description">
6351
<p>Configures a group of attributes, and sets initial values.</p>
6354
<strong>NOTE:</strong> This method does not isolate the configuration object by merging/cloning.
6355
The caller is responsible for merging/cloning the configuration object if required.
6360
<div class="params">
6361
<h4>Parameters:</h4>
6363
<ul class="params-list">
6367
<code class="param-name">cfgs</code>
6368
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6373
<div class="param-description">
6374
<p>An object with attribute name/configuration pairs.</p>
6382
<code class="param-name">values</code>
6383
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6388
<div class="param-description">
6389
<p>An object with attribute name/value pairs, defining the initial values to apply.
6390
Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p>
6398
<code class="param-name">lazy</code>
6399
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6404
<div class="param-description">
6405
<p>Whether or not to delay the intialization of these attributes until the first call to get/set.
6406
Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration.
6407
See <a href="#method_addAttr">addAttr</a>.</p>
6418
<div class="returns">
6421
<div class="returns-description">
6424
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
6426
A reference to the host object.
6436
<div id="method_addTarget" class="method item inherited">
6437
<h3 class="name"><code>addTarget</code></h3>
6441
<span class="paren">(</span><ul class="args-list inline commas">
6449
</ul><span class="paren">)</span>
6469
<a href="../classes/EventTarget.html#method_addTarget">EventTarget</a>:
6473
<a href="../files/event-custom_js_event-facade.js.html#l382"><code>event-custom/js/event-facade.js:382</code></a>
6483
<div class="description">
6484
<p>Registers another EventTarget as a bubble target. Bubble order
6485
is determined by the order registered. Multiple targets can
6488
<p>Events can only bubble if emitFacade is true.</p>
6490
<p>Included in the event-custom-complex submodule.</p>
6494
<div class="params">
6495
<h4>Parameters:</h4>
6497
<ul class="params-list">
6501
<code class="param-name">o</code>
6502
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
6507
<div class="param-description">
6508
<p>the target to add</p>
6524
<div id="method_after" class="method item inherited">
6525
<h3 class="name"><code>after</code></h3>
6529
<span class="paren">(</span><ul class="args-list inline commas">
6545
<code class="optional">[context]</code>
6551
<code class="optional">[arg*]</code>
6555
</ul><span class="paren">)</span>
6560
<span class="returns-inline">
6561
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
6579
<a href="../classes/EventTarget.html#method_after">EventTarget</a>:
6583
<a href="../files/event-custom_js_event-target.js.html#l730"><code>event-custom/js/event-target.js:730</code></a>
6593
<div class="description">
6594
<p>Subscribe to a custom event hosted by this object. The
6595
supplied callback will execute after any listeners add
6596
via the subscribe method, and after the default function,
6597
if configured for the event, has executed.</p>
6601
<div class="params">
6602
<h4>Parameters:</h4>
6604
<ul class="params-list">
6608
<code class="param-name">type</code>
6609
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6614
<div class="param-description">
6615
<p>The name of the event</p>
6623
<code class="param-name">fn</code>
6624
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
6629
<div class="param-description">
6630
<p>The callback to execute in response to the event</p>
6638
<code class="param-name optional">[context]</code>
6639
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6640
<span class="flag optional" title="This parameter is optional.">optional</span>
6645
<div class="param-description">
6646
<p>Override <code>this</code> object in callback</p>
6654
<code class="param-name optional">[arg*]</code>
6655
<span class="type">Any</span>
6656
<span class="flag optional" title="This parameter is optional.">optional</span>
6661
<div class="param-description">
6662
<p>0..n additional arguments to supply to the subscriber</p>
6673
<div class="returns">
6676
<div class="returns-description">
6679
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
6681
A subscription handle capable of detaching the
6692
<div id="method_attrAdded" class="method item inherited">
6693
<h3 class="name"><code>attrAdded</code></h3>
6697
<span class="paren">(</span><ul class="args-list inline commas">
6705
</ul><span class="paren">)</span>
6710
<span class="returns-inline">
6711
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6729
<a href="../classes/AttributeCore.html#method_attrAdded">AttributeCore</a>:
6733
<a href="../files/attribute_js_AttributeCore.js.html#l272"><code>attribute/js/AttributeCore.js:272</code></a>
6743
<div class="description">
6744
<p>Checks if the given attribute has been added to the host</p>
6748
<div class="params">
6749
<h4>Parameters:</h4>
6751
<ul class="params-list">
6755
<code class="param-name">name</code>
6756
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6761
<div class="param-description">
6762
<p>The name of the attribute to check.</p>
6773
<div class="returns">
6776
<div class="returns-description">
6779
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
6781
true if an attribute with the given name has been added, false if it hasn't. This method will return true for lazily added attributes.
6791
<div id="method_before" class="method item inherited">
6792
<h3 class="name"><code>before</code></h3>
6795
<span class="paren">()</span>
6799
<span class="returns-inline">
6800
<span class="type"></span>
6818
<a href="../classes/EventTarget.html#method_before">EventTarget</a>:
6822
<a href="../files/event-custom_js_event-target.js.html#l767"><code>event-custom/js/event-target.js:767</code></a>
6832
<div class="description">
6833
<p>Executes the callback before a DOM event, custom event
6834
or method. If the first argument is a function, it
6835
is assumed the target is a method. For DOM and custom
6836
events, this is an alias for Y.on.</p>
6838
<p>For DOM and custom events:
6839
type, callback, context, 0-n arguments</p>
6842
callback, object (method host), methodName, context, 0-n arguments</p>
6848
<div class="returns">
6851
<div class="returns-description">
6864
<div id="method_bubble" class="method item inherited">
6865
<h3 class="name"><code>bubble</code></h3>
6869
<span class="paren">(</span><ul class="args-list inline commas">
6877
</ul><span class="paren">)</span>
6882
<span class="returns-inline">
6883
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6901
<a href="../classes/EventTarget.html#method_bubble">EventTarget</a>:
6905
<a href="../files/event-custom_js_event-facade.js.html#l419"><code>event-custom/js/event-facade.js:419</code></a>
6915
<div class="description">
6916
<p>Propagate an event. Requires the event-custom-complex module.</p>
6920
<div class="params">
6921
<h4>Parameters:</h4>
6923
<ul class="params-list">
6927
<code class="param-name">evt</code>
6928
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
6933
<div class="param-description">
6934
<p>the custom event to propagate</p>
6945
<div class="returns">
6948
<div class="returns-description">
6951
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
6953
the aggregated return value from Event.Custom.fire
6963
<div id="method_clearAllIntervals" class="method item">
6964
<h3 class="name"><code>clearAllIntervals</code></h3>
6967
<span class="paren">()</span>
6993
<a href="../files/datasource_js_datasource-polling.js.html#l78"><code>datasource/js/datasource-polling.js:78</code></a>
7003
<div class="description">
7004
<p>Clears all intervals.</p>
7015
<div id="method_clearInterval" class="method item">
7016
<h3 class="name"><code>clearInterval</code></h3>
7020
<span class="paren">(</span><ul class="args-list inline commas">
7028
</ul><span class="paren">)</span>
7055
<a href="../files/datasource_js_datasource-polling.js.html#l61"><code>datasource/js/datasource-polling.js:61</code></a>
7065
<div class="description">
7066
<p>Disables polling mechanism associated with the given interval ID.</p>
7070
<div class="params">
7071
<h4>Parameters:</h4>
7073
<ul class="params-list">
7077
<code class="param-name">id</code>
7078
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
7083
<div class="param-description">
7100
<div id="method_destroy" class="method item inherited">
7101
<h3 class="name"><code>destroy</code></h3>
7104
<span class="paren">()</span>
7108
<span class="returns-inline">
7109
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>
7122
<span class="flag chainable">chainable</span>
7128
<a href="../classes/BaseCore.html#method_destroy">
7136
<a href="../files/base_js_Base.js.html#l267"><code>base/js/Base.js:267</code></a>
7146
<div class="description">
7148
Destroy lifecycle method. Fires the destroy
7149
event, prior to invoking destructors for the
7154
Subscribers to the destroy
7155
event can invoke preventDefault on the event object, to prevent destruction
7163
<div class="returns">
7166
<div class="returns-description">
7169
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>:
7171
A reference to this object
7181
<div id="method_detach" class="method item inherited">
7182
<h3 class="name"><code>detach</code></h3>
7186
<span class="paren">(</span><ul class="args-list inline commas">
7202
<code>context</code>
7206
</ul><span class="paren">)</span>
7211
<span class="returns-inline">
7212
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
7230
<a href="../classes/EventTarget.html#method_detach">EventTarget</a>:
7234
<a href="../files/event-custom_js_event-target.js.html#l345"><code>event-custom/js/event-target.js:345</code></a>
7244
<div class="description">
7245
<p>Detach one or more listeners the from the specified event</p>
7249
<div class="params">
7250
<h4>Parameters:</h4>
7252
<ul class="params-list">
7256
<code class="param-name">type</code>
7257
<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>
7262
<div class="param-description">
7263
<p>Either the handle to the subscriber or the
7264
type of event. If the type
7265
is not specified, it will attempt to remove
7266
the listener from all hosted events.</p>
7274
<code class="param-name">fn</code>
7275
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
7280
<div class="param-description">
7281
<p>The subscribed function to unsubscribe, if not
7282
supplied, all subscribers will be removed.</p>
7290
<code class="param-name">context</code>
7291
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7296
<div class="param-description">
7297
<p>The custom object passed to subscribe. This is
7298
optional, but if supplied will be used to
7299
disambiguate multiple listeners that are the same
7300
(e.g., you subscribe many object using a function
7301
that lives on the prototype)</p>
7312
<div class="returns">
7315
<div class="returns-description">
7318
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
7330
<div id="method_detachAll" class="method item inherited">
7331
<h3 class="name"><code>detachAll</code></h3>
7335
<span class="paren">(</span><ul class="args-list inline commas">
7343
</ul><span class="paren">)</span>
7363
<a href="../classes/EventTarget.html#method_detachAll">EventTarget</a>:
7367
<a href="../files/event-custom_js_event-target.js.html#l465"><code>event-custom/js/event-target.js:465</code></a>
7377
<div class="description">
7378
<p>Removes all listeners from the specified event. If the event type
7379
is not specified, all listeners from all hosted custom events will
7384
<div class="params">
7385
<h4>Parameters:</h4>
7387
<ul class="params-list">
7391
<code class="param-name">type</code>
7392
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7397
<div class="param-description">
7398
<p>The type, or name of the event</p>
7414
<div id="method_fire" class="method item inherited">
7415
<h3 class="name"><code>fire</code></h3>
7419
<span class="paren">(</span><ul class="args-list inline commas">
7429
<code>arguments</code>
7433
</ul><span class="paren">)</span>
7438
<span class="returns-inline">
7439
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
7457
<a href="../classes/EventTarget.html#method_fire">EventTarget</a>:
7461
<a href="../files/event-custom_js_event-target.js.html#l629"><code>event-custom/js/event-target.js:629</code></a>
7471
<div class="description">
7472
<p>Fire a custom event by name. The callback functions will be executed
7473
from the context specified when the event was created, and with the
7474
following parameters.</p>
7476
<p>If the custom event object hasn't been created, then the event hasn't
7477
been published and it has no subscribers. For performance sake, we
7478
immediate exit in this case. This means the event won't bubble, so
7479
if the intention is that a bubble target be notified, the event must
7480
be published on this object first.</p>
7482
<p>The first argument is the event type, and any additional arguments are
7483
passed to the listeners as parameters. If the first of these is an
7484
object literal, and the event is configured to emit an event facade,
7485
that object is mixed into the event facade and the facade is provided
7486
in place of the original object.</p>
7490
<div class="params">
7491
<h4>Parameters:</h4>
7493
<ul class="params-list">
7497
<code class="param-name">type</code>
7498
<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>
7503
<div class="param-description">
7504
<p>The type of the event, or an object that contains
7505
a 'type' property.</p>
7513
<code class="param-name">arguments</code>
7514
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object*</a></span>
7519
<div class="param-description">
7520
<p>an arbitrary set of parameters to pass to
7521
the handler. If the first of these is an object literal and the event is
7522
configured to emit an event facade, the event facade will replace that
7523
parameter after the properties the object literal contains are copied to
7524
the event facade.</p>
7535
<div class="returns">
7538
<div class="returns-description">
7541
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
7553
<div id="method_get" class="method item inherited">
7554
<h3 class="name"><code>get</code></h3>
7558
<span class="paren">(</span><ul class="args-list inline commas">
7566
</ul><span class="paren">)</span>
7571
<span class="returns-inline">
7572
<span class="type">Any</span>
7590
<a href="../classes/AttributeCore.html#method_get">AttributeCore</a>:
7594
<a href="../files/attribute_js_AttributeCore.js.html#l283"><code>attribute/js/AttributeCore.js:283</code></a>
7604
<div class="description">
7605
<p>Returns the current value of the attribute. If the attribute
7606
has been configured with a 'getter' function, this method will delegate
7607
to the 'getter' to obtain the value of the attribute.</p>
7611
<div class="params">
7612
<h4>Parameters:</h4>
7614
<ul class="params-list">
7618
<code class="param-name">name</code>
7619
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7624
<div class="param-description">
7625
<p>The name of the attribute. If the value of the attribute is an Object,
7626
dot notation can be used to obtain the value of a property of the object (e.g. <code>get("x.y.z")</code>)</p>
7637
<div class="returns">
7640
<div class="returns-description">
7643
<span class="type">Any</span>:
7645
The value of the attribute
7655
<div id="method_getAttrs" class="method item inherited">
7656
<h3 class="name"><code>getAttrs</code></h3>
7660
<span class="paren">(</span><ul class="args-list inline commas">
7668
</ul><span class="paren">)</span>
7673
<span class="returns-inline">
7674
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7692
<a href="../classes/AttributeCore.html#method_getAttrs">AttributeCore</a>:
7696
<a href="../files/attribute_js_AttributeCore.js.html#l665"><code>attribute/js/AttributeCore.js:665</code></a>
7706
<div class="description">
7707
<p>Gets multiple attribute values.</p>
7711
<div class="params">
7712
<h4>Parameters:</h4>
7714
<ul class="params-list">
7718
<code class="param-name">attrs</code>
7719
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span>
7724
<div class="param-description">
7725
<p>Optional. An array of attribute names. If omitted, all attribute values are
7726
returned. If set to true, all attributes modified from their initial values are returned.</p>
7737
<div class="returns">
7740
<div class="returns-description">
7743
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
7745
An object with attribute name/value pairs.
7755
<div id="method_getEvent" class="method item inherited">
7756
<h3 class="name"><code>getEvent</code></h3>
7760
<span class="paren">(</span><ul class="args-list inline commas">
7770
<code>prefixed</code>
7774
</ul><span class="paren">)</span>
7779
<span class="returns-inline">
7780
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
7798
<a href="../classes/EventTarget.html#method_getEvent">EventTarget</a>:
7802
<a href="../files/event-custom_js_event-target.js.html#l712"><code>event-custom/js/event-target.js:712</code></a>
7812
<div class="description">
7813
<p>Returns the custom event of the provided type has been created, a
7814
falsy value otherwise</p>
7818
<div class="params">
7819
<h4>Parameters:</h4>
7821
<ul class="params-list">
7825
<code class="param-name">type</code>
7826
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7831
<div class="param-description">
7832
<p>the type, or name of the event</p>
7840
<code class="param-name">prefixed</code>
7841
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7846
<div class="param-description">
7847
<p>if true, the type is prefixed already</p>
7858
<div class="returns">
7861
<div class="returns-description">
7864
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
7866
the custom event or null
7876
<div id="method_getTargets" class="method item inherited">
7877
<h3 class="name"><code>getTargets</code></h3>
7880
<span class="paren">()</span>
7884
<span class="returns-inline">
7885
<span class="type"></span>
7903
<a href="../classes/EventTarget.html#method_getTargets">EventTarget</a>:
7907
<a href="../files/event-custom_js_event-facade.js.html#l400"><code>event-custom/js/event-facade.js:400</code></a>
7917
<div class="description">
7918
<p>Returns an array of bubble targets for this object.</p>
7924
<div class="returns">
7927
<div class="returns-description">
7940
<div id="method_init" class="method item inherited">
7941
<h3 class="name"><code>init</code></h3>
7945
<span class="paren">(</span><ul class="args-list inline commas">
7953
</ul><span class="paren">)</span>
7958
<span class="returns-inline">
7959
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>
7972
<span class="flag chainable">chainable</span>
7978
<a href="../classes/BaseCore.html#method_init">
7986
<a href="../files/base_js_Base.js.html#l191"><code>base/js/Base.js:191</code></a>
7996
<div class="description">
7997
<p>Init lifecycle method, invoked during construction.
7998
Fires the init event prior to setting up attributes and
7999
invoking initializers for the class hierarchy.</p>
8003
<div class="params">
8004
<h4>Parameters:</h4>
8006
<ul class="params-list">
8010
<code class="param-name">config</code>
8011
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8016
<div class="param-description">
8017
<p>Object with configuration property name/value pairs</p>
8028
<div class="returns">
8031
<div class="returns-description">
8034
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>:
8036
A reference to this object
8046
<div id="method_initializer" class="method item private inherited">
8047
<h3 class="name"><code>initializer</code></h3>
8051
<span class="paren">(</span><ul class="args-list inline commas">
8059
</ul><span class="paren">)</span>
8068
<span class="flag private">private</span>
8081
<a href="../classes/DataSource.Local.html#method_initializer">DataSource.Local</a>:
8085
<a href="../files/datasource_js_datasource-local.js.html#l113"><code>datasource/js/datasource-local.js:113</code></a>
8095
<div class="description">
8096
<p>Internal init() handler.</p>
8100
<div class="params">
8101
<h4>Parameters:</h4>
8103
<ul class="params-list">
8107
<code class="param-name">config</code>
8108
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8113
<div class="param-description">
8114
<p>Config object.</p>
8130
<div id="method_modifyAttr" class="method item inherited">
8131
<h3 class="name"><code>modifyAttr</code></h3>
8135
<span class="paren">(</span><ul class="args-list inline commas">
8149
</ul><span class="paren">)</span>
8169
<a href="../classes/AttributeExtras.html#method_modifyAttr">AttributeExtras</a>:
8173
<a href="../files/attribute_js_AttributeExtras.js.html#l39"><code>attribute/js/AttributeExtras.js:39</code></a>
8183
<div class="description">
8184
<p>Updates the configuration of an attribute which has already been added.</p>
8187
The properties which can be modified through this interface are limited
8188
to the following subset of attributes, which can be safely modified
8189
after a value has already been set on the attribute: readOnly, writeOnce,
8190
broadcast and getter.
8195
<div class="params">
8196
<h4>Parameters:</h4>
8198
<ul class="params-list">
8202
<code class="param-name">name</code>
8203
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8208
<div class="param-description">
8209
<p>The name of the attribute whose configuration is to be updated.</p>
8217
<code class="param-name">config</code>
8218
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8223
<div class="param-description">
8224
<p>An object with configuration property/value pairs, specifying the configuration properties to modify.</p>
8240
<div id="method_on" class="method item inherited">
8241
<h3 class="name"><code>on</code></h3>
8245
<span class="paren">(</span><ul class="args-list inline commas">
8261
<code class="optional">[context]</code>
8267
<code class="optional">[arg*]</code>
8271
</ul><span class="paren">)</span>
8276
<span class="returns-inline">
8277
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
8295
<a href="../classes/EventTarget.html#method_on">EventTarget</a>:
8299
<a href="../files/event-custom_js_event-target.js.html#l192"><code>event-custom/js/event-target.js:192</code></a>
8309
<div class="description">
8310
<p>Subscribe a callback function to a custom event fired by this object or
8311
from an object that bubbles its events to this object.</p>
8313
<p>Callback functions for events published with <code>emitFacade = true</code> will
8314
receive an <code>EventFacade</code> as the first argument (typically named "e").
8315
These callbacks can then call <code>e.preventDefault()</code> to disable the
8316
behavior published to that event's <code>defaultFn</code>. See the <code>EventFacade</code>
8317
API for all available properties and methods. Subscribers to
8318
non-<code>emitFacade</code> events will receive the arguments passed to <code>fire()</code>
8319
after the event name.</p>
8321
<p>To subscribe to multiple events at once, pass an object as the first
8322
argument, where the key:value pairs correspond to the eventName:callback,
8323
or pass an array of event names as the first argument to subscribe to
8324
all listed events with the same callback.</p>
8326
<p>Returning <code>false</code> from a callback is supported as an alternative to
8327
calling <code>e.preventDefault(); e.stopPropagation();</code>. However, it is
8328
recommended to use the event methods whenever possible.</p>
8332
<div class="params">
8333
<h4>Parameters:</h4>
8335
<ul class="params-list">
8339
<code class="param-name">type</code>
8340
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8345
<div class="param-description">
8346
<p>The name of the event</p>
8354
<code class="param-name">fn</code>
8355
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
8360
<div class="param-description">
8361
<p>The callback to execute in response to the event</p>
8369
<code class="param-name optional">[context]</code>
8370
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8371
<span class="flag optional" title="This parameter is optional.">optional</span>
8376
<div class="param-description">
8377
<p>Override <code>this</code> object in callback</p>
8385
<code class="param-name optional">[arg*]</code>
8386
<span class="type">Any</span>
8387
<span class="flag optional" title="This parameter is optional.">optional</span>
8392
<div class="param-description">
8393
<p>0..n additional arguments to supply to the subscriber</p>
8404
<div class="returns">
8407
<div class="returns-description">
8410
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
8412
A subscription handle capable of detaching that
8423
<div id="method_once" class="method item inherited">
8424
<h3 class="name"><code>once</code></h3>
8428
<span class="paren">(</span><ul class="args-list inline commas">
8444
<code class="optional">[context]</code>
8450
<code class="optional">[arg*]</code>
8454
</ul><span class="paren">)</span>
8459
<span class="returns-inline">
8460
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
8478
<a href="../classes/EventTarget.html#method_once">EventTarget</a>:
8482
<a href="../files/event-custom_js_event-target.js.html#l128"><code>event-custom/js/event-target.js:128</code></a>
8492
<div class="description">
8493
<p>Listen to a custom event hosted by this object one time.
8494
This is the equivalent to <code>on</code> except the
8495
listener is immediatelly detached when it is executed.</p>
8499
<div class="params">
8500
<h4>Parameters:</h4>
8502
<ul class="params-list">
8506
<code class="param-name">type</code>
8507
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8512
<div class="param-description">
8513
<p>The name of the event</p>
8521
<code class="param-name">fn</code>
8522
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
8527
<div class="param-description">
8528
<p>The callback to execute in response to the event</p>
8536
<code class="param-name optional">[context]</code>
8537
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8538
<span class="flag optional" title="This parameter is optional.">optional</span>
8543
<div class="param-description">
8544
<p>Override <code>this</code> object in callback</p>
8552
<code class="param-name optional">[arg*]</code>
8553
<span class="type">Any</span>
8554
<span class="flag optional" title="This parameter is optional.">optional</span>
8559
<div class="param-description">
8560
<p>0..n additional arguments to supply to the subscriber</p>
8571
<div class="returns">
8574
<div class="returns-description">
8577
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
8579
A subscription handle capable of detaching the
8590
<div id="method_onceAfter" class="method item inherited">
8591
<h3 class="name"><code>onceAfter</code></h3>
8595
<span class="paren">(</span><ul class="args-list inline commas">
8611
<code class="optional">[context]</code>
8617
<code class="optional">[arg*]</code>
8621
</ul><span class="paren">)</span>
8626
<span class="returns-inline">
8627
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
8645
<a href="../classes/EventTarget.html#method_onceAfter">EventTarget</a>:
8649
<a href="../files/event-custom_js_event-target.js.html#l150"><code>event-custom/js/event-target.js:150</code></a>
8659
<div class="description">
8660
<p>Listen to a custom event hosted by this object one time.
8661
This is the equivalent to <code>after</code> except the
8662
listener is immediatelly detached when it is executed.</p>
8666
<div class="params">
8667
<h4>Parameters:</h4>
8669
<ul class="params-list">
8673
<code class="param-name">type</code>
8674
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8679
<div class="param-description">
8680
<p>The name of the event</p>
8688
<code class="param-name">fn</code>
8689
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
8694
<div class="param-description">
8695
<p>The callback to execute in response to the event</p>
8703
<code class="param-name optional">[context]</code>
8704
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8705
<span class="flag optional" title="This parameter is optional.">optional</span>
8710
<div class="param-description">
8711
<p>Override <code>this</code> object in callback</p>
8719
<code class="param-name optional">[arg*]</code>
8720
<span class="type">Any</span>
8721
<span class="flag optional" title="This parameter is optional.">optional</span>
8726
<div class="param-description">
8727
<p>0..n additional arguments to supply to the subscriber</p>
8738
<div class="returns">
8741
<div class="returns-description">
8744
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
8746
A subscription handle capable of detaching that
8757
<div id="method_parseType" class="method item inherited">
8758
<h3 class="name"><code>parseType</code></h3>
8762
<span class="paren">(</span><ul class="args-list inline commas">
8772
<code class="optional">[pre=this._yuievt.config.prefix]</code>
8776
</ul><span class="paren">)</span>
8781
<span class="returns-inline">
8782
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
8800
<a href="../classes/EventTarget.html#method_parseType">EventTarget</a>:
8804
<a href="../files/event-custom_js_event-target.js.html#l172"><code>event-custom/js/event-target.js:172</code></a>
8812
<p>Available since 3.3.0</p>
8816
<div class="description">
8817
<p>Takes the type parameter passed to 'on' and parses out the
8818
various pieces that could be included in the type. If the
8819
event type is passed without a prefix, it will be expanded
8820
to include the prefix one is supplied or the event target
8821
is configured with a default prefix.</p>
8825
<div class="params">
8826
<h4>Parameters:</h4>
8828
<ul class="params-list">
8832
<code class="param-name">type</code>
8833
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8838
<div class="param-description">
8847
<code class="param-name optional">[pre=this._yuievt.config.prefix]</code>
8848
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8849
<span class="flag optional" title="This parameter is optional.">optional</span>
8854
<div class="param-description">
8866
<div class="returns">
8869
<div class="returns-description">
8872
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>:
8874
an array containing:
8875
* the detach category, if supplied,
8876
* the prefixed event type,
8877
* whether or not this is an after listener,
8878
* the supplied event type
8888
<div id="method_publish" class="method item inherited">
8889
<h3 class="name"><code>publish</code></h3>
8893
<span class="paren">(</span><ul class="args-list inline commas">
8907
</ul><span class="paren">)</span>
8912
<span class="returns-inline">
8913
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
8931
<a href="../classes/EventTarget.html#method_publish">EventTarget</a>:
8935
<a href="../files/event-custom_js_event-target.js.html#l489"><code>event-custom/js/event-target.js:489</code></a>
8945
<div class="description">
8946
<p>Creates a new custom event of the specified type. If a custom event
8947
by that name already exists, it will not be re-created. In either
8948
case the custom event is returned.</p>
8952
<div class="params">
8953
<h4>Parameters:</h4>
8955
<ul class="params-list">
8959
<code class="param-name">type</code>
8960
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8965
<div class="param-description">
8966
<p>the type, or name of the event</p>
8974
<code class="param-name">opts</code>
8975
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8980
<div class="param-description">
8981
<p>optional config params. Valid properties are:</p>
8985
'broadcast': whether or not the YUI instance and YUI global are notified when the event is fired (false)
8988
'bubbles': whether or not this event bubbles (true)
8989
Events can only bubble if emitFacade is true.
8992
'context': the default execution context for the listeners (this)
8995
'defaultFn': the default function to execute when this event fires if preventDefault was not called
8998
'emitFacade': whether or not this event emits a facade (false)
9001
'prefix': the prefix for this targets events, e.g., 'menu' in 'menu:click'
9004
'fireOnce': if an event is configured to fire once, new subscribers after
9005
the fire will be notified immediately.
9008
'async': fireOnce event listeners will fire synchronously if the event has already
9009
fired unless async is true.
9012
'preventable': whether or not preventDefault() has an effect (true)
9015
'preventedFn': a function that is executed when preventDefault is called
9018
'queuable': whether or not this event can be queued during bubbling (false)
9021
'silent': if silent is true, debug messages are not provided for this event.
9024
'stoppedFn': a function that is executed when stopPropagation is called
9028
'monitored': specifies whether or not this event should send notifications about
9029
when the event has been attached, detached, or published.
9032
'type': the event type (valid option if not provided as the first parameter to publish)
9045
<div class="returns">
9048
<div class="returns-description">
9051
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
9063
<div id="method_removeAttr" class="method item inherited">
9064
<h3 class="name"><code>removeAttr</code></h3>
9068
<span class="paren">(</span><ul class="args-list inline commas">
9076
</ul><span class="paren">)</span>
9096
<a href="../classes/AttributeExtras.html#method_removeAttr">AttributeExtras</a>:
9100
<a href="../files/attribute_js_AttributeExtras.js.html#l77"><code>attribute/js/AttributeExtras.js:77</code></a>
9110
<div class="description">
9111
<p>Removes an attribute from the host object</p>
9115
<div class="params">
9116
<h4>Parameters:</h4>
9118
<ul class="params-list">
9122
<code class="param-name">name</code>
9123
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9128
<div class="param-description">
9129
<p>The name of the attribute to be removed.</p>
9145
<div id="method_removeTarget" class="method item inherited">
9146
<h3 class="name"><code>removeTarget</code></h3>
9150
<span class="paren">(</span><ul class="args-list inline commas">
9158
</ul><span class="paren">)</span>
9178
<a href="../classes/EventTarget.html#method_removeTarget">EventTarget</a>:
9182
<a href="../files/event-custom_js_event-facade.js.html#l409"><code>event-custom/js/event-facade.js:409</code></a>
9192
<div class="description">
9193
<p>Removes a bubble target</p>
9197
<div class="params">
9198
<h4>Parameters:</h4>
9200
<ul class="params-list">
9204
<code class="param-name">o</code>
9205
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
9210
<div class="param-description">
9211
<p>the target to remove</p>
9227
<div id="method_reset" class="method item inherited">
9228
<h3 class="name"><code>reset</code></h3>
9232
<span class="paren">(</span><ul class="args-list inline commas">
9240
</ul><span class="paren">)</span>
9245
<span class="returns-inline">
9246
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9259
<span class="flag chainable">chainable</span>
9266
<a href="../classes/AttributeExtras.html#method_reset">AttributeExtras</a>:
9270
<a href="../files/attribute_js_AttributeExtras.js.html#l87"><code>attribute/js/AttributeExtras.js:87</code></a>
9280
<div class="description">
9281
<p>Resets the attribute (or all attributes) to its initial value, as long as
9282
the attribute is not readOnly, or writeOnce.</p>
9286
<div class="params">
9287
<h4>Parameters:</h4>
9289
<ul class="params-list">
9293
<code class="param-name">name</code>
9294
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9299
<div class="param-description">
9300
<p>Optional. The name of the attribute to reset. If omitted, all attributes are reset.</p>
9311
<div class="returns">
9314
<div class="returns-description">
9317
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
9319
A reference to the host object.
9329
<div id="method_sendRequest" class="method item inherited">
9330
<h3 class="name"><code>sendRequest</code></h3>
9334
<span class="paren">(</span><ul class="args-list inline commas">
9338
<code>request</code>
9342
</ul><span class="paren">)</span>
9347
<span class="returns-inline">
9348
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
9366
<a href="../classes/DataSource.Local.html#method_sendRequest">DataSource.Local</a>:
9370
<a href="../files/datasource_js_datasource-local.js.html#l348"><code>datasource/js/datasource-local.js:348</code></a>
9380
<div class="description">
9381
<p>Generates a unique transaction ID and fires <code>request</code> event.
9382
<strong>Note</strong>: the property <code>callback</code> is a
9383
deprecated alias for the <code>on</code> transaction configuration
9384
property described below.</p>
9388
<div class="params">
9389
<h4>Parameters:</h4>
9391
<ul class="params-list">
9395
<code class="param-name">request</code>
9396
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9401
<div class="param-description">
9402
<p>An object literal with the following properties:
9404
<dt><code>request</code></dt>
9405
<dd>The request to send to the live data source, if any.</dd>
9406
<dt><code>on</code></dt>
9407
<dd>An object literal with the following properties:
9409
<dt><code>success</code></dt>
9410
<dd>The function to call when the data is ready.</dd>
9411
<dt><code>failure</code></dt>
9412
<dd>The function to call upon a response failure condition.</dd>
9413
<dt><code>argument</code></dt>
9414
<dd>Arbitrary data payload that will be passed back to the success and failure handlers.</dd>
9417
<dt><code>cfg</code></dt>
9418
<dd>Configuration object, if any.</dd>
9430
<div class="returns">
9433
<div class="returns-description">
9436
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>:
9448
<div id="method_set" class="method item inherited">
9449
<h3 class="name"><code>set</code></h3>
9453
<span class="paren">(</span><ul class="args-list inline commas">
9467
</ul><span class="paren">)</span>
9472
<span class="returns-inline">
9473
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9486
<span class="flag chainable">chainable</span>
9492
<a href="../classes/AttributeEvents.html#method_set">
9500
<a href="../files/attribute_js_AttributeCore.js.html#l328"><code>attribute/js/AttributeCore.js:328</code></a>
9510
<div class="description">
9511
<p>Sets the value of an attribute.</p>
9515
<div class="params">
9516
<h4>Parameters:</h4>
9518
<ul class="params-list">
9522
<code class="param-name">name</code>
9523
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9528
<div class="param-description">
9529
<p>The name of the attribute. If the
9530
current value of the attribute is an Object, dot notation can be used
9531
to set the value of a property within the object (e.g. <code>set("x.y.z", 5)</code>).</p>
9539
<code class="param-name">value</code>
9540
<span class="type">Any</span>
9545
<div class="param-description">
9546
<p>The value to set the attribute to.</p>
9557
<div class="returns">
9560
<div class="returns-description">
9563
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
9565
A reference to the host object.
9575
<div id="method_setAttrs" class="method item inherited">
9576
<h3 class="name"><code>setAttrs</code></h3>
9580
<span class="paren">(</span><ul class="args-list inline commas">
9588
</ul><span class="paren">)</span>
9593
<span class="returns-inline">
9594
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9607
<span class="flag chainable">chainable</span>
9613
<a href="../classes/AttributeEvents.html#method_setAttrs">
9621
<a href="../files/attribute_js_AttributeCore.js.html#l635"><code>attribute/js/AttributeCore.js:635</code></a>
9631
<div class="description">
9632
<p>Sets multiple attribute values.</p>
9636
<div class="params">
9637
<h4>Parameters:</h4>
9639
<ul class="params-list">
9643
<code class="param-name">attrs</code>
9644
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9649
<div class="param-description">
9650
<p>An object with attributes name/value pairs.</p>
9661
<div class="returns">
9664
<div class="returns-description">
9667
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
9669
A reference to the host object.
9679
<div id="method_setInterval" class="method item">
9680
<h3 class="name"><code>setInterval</code></h3>
9684
<span class="paren">(</span><ul class="args-list inline commas">
9694
<code>request</code>
9698
</ul><span class="paren">)</span>
9703
<span class="returns-inline">
9704
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
9729
<a href="../files/datasource_js_datasource-polling.js.html#l27"><code>datasource/js/datasource-polling.js:27</code></a>
9739
<div class="description">
9740
<p>Sets up a polling mechanism to send requests at set intervals and
9741
forward responses to given callback.</p>
9745
<div class="params">
9746
<h4>Parameters:</h4>
9748
<ul class="params-list">
9752
<code class="param-name">msec</code>
9753
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
9758
<div class="param-description">
9759
<p>Length of interval in milliseconds.</p>
9767
<code class="param-name">request</code>
9768
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9773
<div class="param-description">
9774
<p>An object literal with the following properties:
9776
<dt><code>request</code></dt>
9777
<dd>The request to send to the live data source, if any.</dd>
9778
<dt><code>callback</code></dt>
9779
<dd>An object literal with the following properties:
9781
<dt><code>success</code></dt>
9782
<dd>The function to call when the data is ready.</dd>
9783
<dt><code>failure</code></dt>
9784
<dd>The function to call upon a response failure condition.</dd>
9785
<dt><code>argument</code></dt>
9786
<dd>Arbitrary data payload that will be passed back to the success and failure handlers.</dd>
9789
<dt><code>cfg</code></dt>
9790
<dd>Configuration object, if any.</dd>
9802
<div class="returns">
9805
<div class="returns-description">
9808
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>:
9820
<div id="method_subscribe" class="method item deprecated inherited">
9821
<h3 class="name"><code>subscribe</code></h3>
9824
<span class="paren">()</span>
9830
<span class="flag deprecated" title="use on">deprecated</span>
9845
<a href="../classes/EventTarget.html#method_subscribe">EventTarget</a>:
9849
<a href="../files/event-custom_js_event-target.js.html#l335"><code>event-custom/js/event-target.js:335</code></a>
9855
<p>Deprecated: use on</p>
9861
<div class="description">
9862
<p>subscribe to an event</p>
9873
<div id="method_toString" class="method item inherited">
9874
<h3 class="name"><code>toString</code></h3>
9877
<span class="paren">()</span>
9881
<span class="returns-inline">
9882
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9900
<a href="../classes/BaseCore.html#method_toString">BaseCore</a>:
9904
<a href="../files/base_js_BaseCore.js.html#l592"><code>base/js/BaseCore.js:592</code></a>
9914
<div class="description">
9915
<p>Default toString implementation. Provides the constructor NAME
9916
and the instance guid, if set.</p>
9922
<div class="returns">
9925
<div class="returns-description">
9928
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
9930
String representation for this object
9940
<div id="method_unsubscribe" class="method item deprecated inherited">
9941
<h3 class="name"><code>unsubscribe</code></h3>
9944
<span class="paren">()</span>
9950
<span class="flag deprecated" title="use detach">deprecated</span>
9965
<a href="../classes/EventTarget.html#method_unsubscribe">EventTarget</a>:
9969
<a href="../files/event-custom_js_event-target.js.html#l455"><code>event-custom/js/event-target.js:455</code></a>
9975
<p>Deprecated: use detach</p>
9981
<div class="description">
9982
<p>detach a listener</p>
9993
<div id="method_unsubscribeAll" class="method item deprecated inherited">
9994
<h3 class="name"><code>unsubscribeAll</code></h3>
9998
<span class="paren">(</span><ul class="args-list inline commas">
10006
</ul><span class="paren">)</span>
10013
<span class="flag deprecated" title="use detachAll">deprecated</span>
10028
<a href="../classes/EventTarget.html#method_unsubscribeAll">EventTarget</a>:
10032
<a href="../files/event-custom_js_event-target.js.html#l476"><code>event-custom/js/event-target.js:476</code></a>
10038
<p>Deprecated: use detachAll</p>
10044
<div class="description">
10045
<p>Removes all listeners from the specified event. If the event type
10046
is not specified, all listeners from all hosted custom events will
10051
<div class="params">
10052
<h4>Parameters:</h4>
10054
<ul class="params-list">
10058
<code class="param-name">type</code>
10059
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10064
<div class="param-description">
10065
<p>The type, or name of the event</p>
10085
<div id="properties" class="api-class-tabpanel">
10086
<h2 class="off-left">Properties</h2>
10089
<div id="property__allowAdHocAttrs" class="property item protected inherited">
10090
<h3 class="name"><code>_allowAdHocAttrs</code></h3>
10091
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
10096
<span class="flag protected">protected</span>
10107
<a href="../classes/BaseCore.html#property__allowAdHocAttrs">BaseCore</a>:
10111
<a href="../files/base_js_BaseCore.js.html#l100"><code>base/js/BaseCore.js:100</code></a>
10120
<div class="description">
10121
<p>This property controls whether or not instances of this class should
10122
allow users to add ad-hoc attributes through the constructor configuration
10125
<p>AdHoc attributes are attributes which are not defined by the class, and are
10126
not handled by the MyClass.<em>NON</em>ATTRS_CFG</p>
10130
<p><strong>Default:</strong> undefined (false)</p>
10139
<div id="property__intervals" class="property item private">
10140
<h3 class="name"><code>_intervals</code></h3>
10141
<span class="type">Unknown</span>
10146
<span class="flag private">private</span>
10164
<a href="../files/datasource_js_datasource-polling.js.html#l19"><code>datasource/js/datasource-polling.js:19</code></a>
10173
<div class="description">
10174
<p>Hash of polling interval IDs that have been enabled,
10175
stored here to be able to clear all intervals.</p>
10186
<div id="property_name" class="property item deprecated inherited">
10187
<h3 class="name"><code>name</code></h3>
10188
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10191
<span class="flag deprecated" title="Use this.constructor.NAME">deprecated</span>
10204
<a href="../classes/BaseCore.html#property_name">BaseCore</a>:
10208
<a href="../files/base_js_BaseCore.js.html#l196"><code>base/js/BaseCore.js:196</code></a>
10213
<p>Deprecated: Use this.constructor.NAME</p>
10219
<div class="description">
10220
<p>The string used to identify the class of this object.</p>
10235
<div id="attrs" class="api-class-tabpanel">
10236
<h2 class="off-left">Attributes</h2>
10239
<div id="attr_destroyed" class="attr item inherited">
10240
<a name="config_destroyed"></a>
10241
<h3 class="name"><code>destroyed</code></h3>
10242
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
10256
<a href="../classes/BaseCore.html#attr_destroyed">BaseCore</a>:
10260
<a href="../files/base_js_BaseCore.js.html#l157"><code>base/js/BaseCore.js:157</code></a>
10269
<div class="description">
10270
<p>Flag indicating whether or not this object
10271
has been through the destroy lifecycle phase.</p>
10275
<p><strong>Default:</strong> false</p>
10279
<div class="emits box">
10280
<h4>Fires event <code>destroyedChange</code></h4>
10283
Fires when the value for the configuration attribute <code>destroyed</code> is
10284
changed. You can listen for the event using the <code>on</code> method if you
10285
wish to be notified before the attribute's value has changed, or
10286
using the <code>after</code> method if you wish to be notified after the
10287
attribute's value has changed.
10290
<div class="params">
10291
<h4>Parameters:</h4>
10293
<ul class="params-list">
10295
<code class="param-name">e</code>
10296
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
10298
<div class="param-description">
10299
An Event Facade object with the following
10300
attribute-specific properties added:
10303
<ul class="params-list">
10305
<code class="param-name">prevVal</code>
10306
<span class="type">Any</span>
10307
<div class="param-description">The value of the attribute, prior to it being set.</div>
10310
<code class="param-name">newVal</code>
10311
<span class="type">Any</span>
10312
<div class="param-description">The value the attribute is to be set to.</div>
10315
<code class="param-name">attrName</code>
10316
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10317
<div class="param-description">The name of the attribute being set.</div>
10320
<code class="param-name">subAttrName</code>
10321
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10322
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
10335
<div id="attr_initialized" class="attr item inherited">
10336
<a name="config_initialized"></a>
10337
<h3 class="name"><code>initialized</code></h3>
10338
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
10352
<a href="../classes/BaseCore.html#attr_initialized">BaseCore</a>:
10356
<a href="../files/base_js_BaseCore.js.html#l143"><code>base/js/BaseCore.js:143</code></a>
10365
<div class="description">
10366
<p>Flag indicating whether or not this object
10367
has been through the init lifecycle phase.</p>
10371
<p><strong>Default:</strong> false</p>
10375
<div class="emits box">
10376
<h4>Fires event <code>initializedChange</code></h4>
10379
Fires when the value for the configuration attribute <code>initialized</code> is
10380
changed. You can listen for the event using the <code>on</code> method if you
10381
wish to be notified before the attribute's value has changed, or
10382
using the <code>after</code> method if you wish to be notified after the
10383
attribute's value has changed.
10386
<div class="params">
10387
<h4>Parameters:</h4>
10389
<ul class="params-list">
10391
<code class="param-name">e</code>
10392
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
10394
<div class="param-description">
10395
An Event Facade object with the following
10396
attribute-specific properties added:
10399
<ul class="params-list">
10401
<code class="param-name">prevVal</code>
10402
<span class="type">Any</span>
10403
<div class="param-description">The value of the attribute, prior to it being set.</div>
10406
<code class="param-name">newVal</code>
10407
<span class="type">Any</span>
10408
<div class="param-description">The value the attribute is to be set to.</div>
10411
<code class="param-name">attrName</code>
10412
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10413
<div class="param-description">The name of the attribute being set.</div>
10416
<code class="param-name">subAttrName</code>
10417
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10418
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
10431
<div id="attr_source" class="attr item inherited">
10432
<a name="config_source"></a>
10433
<h3 class="name"><code>source</code></h3>
10434
<span class="type">MIXED</span>
10448
<a href="../classes/DataSource.Local.html#attr_source">DataSource.Local</a>:
10452
<a href="../files/datasource_js_datasource-local.js.html#l54"><code>datasource/js/datasource-local.js:54</code></a>
10461
<div class="description">
10462
<p>Pointer to live data.</p>
10466
<p><strong>Default:</strong> null</p>
10470
<div class="emits box">
10471
<h4>Fires event <code>sourceChange</code></h4>
10474
Fires when the value for the configuration attribute <code>source</code> is
10475
changed. You can listen for the event using the <code>on</code> method if you
10476
wish to be notified before the attribute's value has changed, or
10477
using the <code>after</code> method if you wish to be notified after the
10478
attribute's value has changed.
10481
<div class="params">
10482
<h4>Parameters:</h4>
10484
<ul class="params-list">
10486
<code class="param-name">e</code>
10487
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
10489
<div class="param-description">
10490
An Event Facade object with the following
10491
attribute-specific properties added:
10494
<ul class="params-list">
10496
<code class="param-name">prevVal</code>
10497
<span class="type">Any</span>
10498
<div class="param-description">The value of the attribute, prior to it being set.</div>
10501
<code class="param-name">newVal</code>
10502
<span class="type">Any</span>
10503
<div class="param-description">The value the attribute is to be set to.</div>
10506
<code class="param-name">attrName</code>
10507
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10508
<div class="param-description">The name of the attribute being set.</div>
10511
<code class="param-name">subAttrName</code>
10512
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10513
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
10530
<div id="events" class="api-class-tabpanel">
10531
<h2 class="off-left">Events</h2>
10534
<div id="event_data" class="events item inherited">
10535
<h3 class="name"><code>data</code></h3>
10536
<span class="type"></span>
10550
<a href="../classes/DataSource.Local.html#event_data">DataSource.Local</a>:
10554
<a href="../files/datasource_js_datasource-local.js.html#l148"><code>datasource/js/datasource-local.js:148</code></a>
10563
<div class="description">
10564
<p>Fired when raw data is received.</p>
10568
<div class="params">
10569
<h4>Event Payload:</h4>
10571
<ul class="params-list">
10575
<code class="param-name">e</code>
10576
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
10581
<div class="param-description">
10582
<p>Event Facade with the following properties:</p>
10585
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>
10586
<dt>request (Object)</dt> <dd>The request.</dd>
10587
<dt>callback (Object)</dt> <dd>Deprecated alias for the
10588
<strong>on</strong> property</dd>
10589
<dt>on (Object)</dt> <dd>The map of configured transaction
10590
callbacks. An object with the following properties:
10592
<dt>success (Function)</dt> <dd>Success handler.</dd>
10593
<dt>failure (Function)</dt> <dd>Failure handler.</dd>
10596
<dt>cfg (Object)</dt> <dd>Configuration object.</dd>
10597
<dt>data (Object)</dt> <dd>Raw data.</dd>
10613
<div id="event_destroy" class="events item inherited">
10614
<h3 class="name"><code>destroy</code></h3>
10615
<span class="type"></span>
10629
<a href="../classes/Base.html#event_destroy">Base</a>:
10633
<a href="../files/base_js_Base.js.html#l285"><code>base/js/Base.js:285</code></a>
10642
<div class="description">
10644
Lifecycle event for the destroy phase,
10645
fired prior to destruction. Invoking the preventDefault
10646
method on the event object provided to subscribers will
10647
prevent destruction from proceeding.
10651
Subscribers to the "after" moment of this event, will be notified
10652
after destruction is complete (and as a result cannot prevent
10658
<div class="params">
10659
<h4>Event Payload:</h4>
10661
<ul class="params-list">
10665
<code class="param-name">e</code>
10666
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
10671
<div class="param-description">
10672
<p>Event object</p>
10687
<div id="event_error" class="events item inherited">
10688
<h3 class="name"><code>error</code></h3>
10689
<span class="type"></span>
10703
<a href="../classes/DataSource.Local.html#event_error">DataSource.Local</a>:
10707
<a href="../files/datasource_js_datasource-local.js.html#l206"><code>datasource/js/datasource-local.js:206</code></a>
10716
<div class="description">
10717
<p>Fired when an error is encountered.</p>
10721
<div class="params">
10722
<h4>Event Payload:</h4>
10724
<ul class="params-list">
10728
<code class="param-name">e</code>
10729
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
10734
<div class="param-description">
10735
<p>Event Facade with the following properties:</p>
10738
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>
10739
<dt>request (Object)</dt> <dd>The request.</dd>
10740
<dt>callback (Object)</dt> <dd>Deprecated alias for the
10741
<strong>on</strong> property</dd>
10742
<dt>on (Object)</dt> <dd>The map of configured transaction
10743
callbacks. An object with the following properties:
10745
<dt>success (Function)</dt> <dd>Success handler.</dd>
10746
<dt>failure (Function)</dt> <dd>Failure handler.</dd>
10749
<dt>cfg (Object)</dt> <dd>Configuration object.</dd>
10750
<dt>data (Object)</dt> <dd>Raw data.</dd>
10751
<dt>response (Object)</dt>
10752
<dd>Normalized response object with the following properties:
10754
<dt>results (Object)</dt> <dd>Parsed results.</dd>
10755
<dt>meta (Object)</dt> <dd>Parsed meta data.</dd>
10756
<dt>error (Object)</dt> <dd>Error object.</dd>
10760
<dd>Any error that occurred along the transaction lifecycle.</dd>
10776
<div id="event_init" class="events item inherited">
10777
<h3 class="name"><code>init</code></h3>
10778
<span class="type"></span>
10792
<a href="../classes/Base.html#event_init">Base</a>:
10796
<a href="../files/base_js_Base.js.html#l202"><code>base/js/Base.js:202</code></a>
10805
<div class="description">
10807
Lifecycle event for the init phase, fired prior to initialization.
10808
Invoking the preventDefault() method on the event object provided
10809
to subscribers will prevent initialization from occuring.
10813
Subscribers to the "after" momemt of this event, will be notified
10814
after initialization of the object is complete (and therefore
10815
cannot prevent initialization).
10820
<div class="params">
10821
<h4>Event Payload:</h4>
10823
<ul class="params-list">
10827
<code class="param-name">e</code>
10828
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
10833
<div class="param-description">
10834
<p>Event object, with a cfg property which
10835
refers to the configuration object passed to the constructor.</p>
10850
<div id="event_request" class="events item inherited">
10851
<h3 class="name"><code>request</code></h3>
10852
<span class="type"></span>
10866
<a href="../classes/DataSource.Local.html#event_request">DataSource.Local</a>:
10870
<a href="../files/datasource_js_datasource-local.js.html#l130"><code>datasource/js/datasource-local.js:130</code></a>
10879
<div class="description">
10880
<p>Fired when a data request is received.</p>
10884
<div class="params">
10885
<h4>Event Payload:</h4>
10887
<ul class="params-list">
10891
<code class="param-name">e</code>
10892
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
10897
<div class="param-description">
10898
<p>Event Facade with the following properties:</p>
10901
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>
10902
<dt>request (Object)</dt> <dd>The request.</dd>
10903
<dt>callback (Object)</dt> <dd>The callback object
10904
(deprecated, refer to <strong>on</strong></dd>
10905
<dt>on (Object)</dt> <dd>The map of configured callback
10907
<dt>cfg (Object)</dt> <dd>Configuration object.</dd>
10923
<div id="event_response" class="events item inherited">
10924
<h3 class="name"><code>response</code></h3>
10925
<span class="type"></span>
10939
<a href="../classes/DataSource.Local.html#event_response">DataSource.Local</a>:
10943
<a href="../files/datasource_js_datasource-local.js.html#l172"><code>datasource/js/datasource-local.js:172</code></a>
10952
<div class="description">
10953
<p>Fired when response is returned.</p>
10957
<div class="params">
10958
<h4>Event Payload:</h4>
10960
<ul class="params-list">
10964
<code class="param-name">e</code>
10965
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
10970
<div class="param-description">
10971
<p>Event Facade with the following properties:</p>
10974
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>
10975
<dt>request (Object)</dt> <dd>The request.</dd>
10976
<dt>callback (Object)</dt> <dd>Deprecated alias for the
10977
<strong>on</strong> property</dd>
10978
<dt>on (Object)</dt> <dd>The map of configured transaction
10979
callbacks. An object with the following properties:
10981
<dt>success (Function)</dt> <dd>Success handler.</dd>
10982
<dt>failure (Function)</dt> <dd>Failure handler.</dd>
10985
<dt>cfg (Object)</dt> <dd>Configuration object.</dd>
10986
<dt>data (Object)</dt> <dd>Raw data.</dd>
10987
<dt>response (Object)</dt>
10988
<dd>Normalized response object with the following properties:
10990
<dt>results (Object)</dt> <dd>Parsed results.</dd>
10991
<dt>meta (Object)</dt> <dd>Parsed meta data.</dd>
10992
<dt>error (Boolean)</dt> <dd>Error flag.</dd>
10996
<dd>Any error that occurred along the transaction lifecycle.</dd>
11023
<script src="../assets/vendor/prettify/prettify-min.js"></script>
11024
<script>prettyPrint();</script>
11025
<script src="../assets/js/yui-prettify.js"></script>
11026
<script src="../assets/../api.js"></script>
11027
<script src="../assets/js/api-filter.js"></script>
11028
<script src="../assets/js/api-list.js"></script>
11029
<script src="../assets/js/api-search.js"></script>
11030
<script src="../assets/js/apidocs.js"></script>