5
<title>DataSource.Function - YUI 3</title>
6
<link rel="stylesheet" href="http://yui.yahooapis.com/3.5.0pr4/build/cssgrids/cssgrids-min.css">
7
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
8
<link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
9
<script src="http://yui.yahooapis.com/3.5.0pr4/build/yui/yui-min.js"></script>
11
<body class="yui3-skin-sam">
14
<div id="hd" class="yui3-g header">
15
<div class="yui3-u-3-4">
17
<h1><img src="../assets/css/logo.png" title="YUI 3"></h1>
20
<div class="yui3-u-1-4 version">
21
<em>API Docs for: 3.5.0</em>
24
<div id="bd" class="yui3-g">
26
<div class="yui3-u-1-4">
27
<div id="docs-sidebar" class="sidebar apidocs">
29
<h2 class="off-left">APIs</h2>
30
<div id="api-tabview" class="tabview">
32
<li><a href="#api-classes">Classes</a></li>
33
<li><a href="#api-modules">Modules</a></li>
36
<div id="api-tabview-filter">
37
<input type="search" id="api-filter" placeholder="Type to filter APIs">
40
<div id="api-tabview-panel">
41
<ul id="api-classes" class="apis classes">
43
<li><a href="../classes/Anim.html">Anim</a></li>
45
<li><a href="../classes/App.html">App</a></li>
47
<li><a href="../classes/App.Base.html">App.Base</a></li>
49
<li><a href="../classes/App.Transitions.html">App.Transitions</a></li>
51
<li><a href="../classes/App.TransitionsNative.html">App.TransitionsNative</a></li>
53
<li><a href="../classes/AreaSeries.html">AreaSeries</a></li>
55
<li><a href="../classes/AreaSplineSeries.html">AreaSplineSeries</a></li>
57
<li><a href="../classes/Array.html">Array</a></li>
59
<li><a href="../classes/ArrayList.html">ArrayList</a></li>
61
<li><a href="../classes/ArraySort.html">ArraySort</a></li>
63
<li><a href="../classes/AsyncQueue.html">AsyncQueue</a></li>
65
<li><a href="../classes/Attribute.html">Attribute</a></li>
67
<li><a href="../classes/AttributeCore.html">AttributeCore</a></li>
69
<li><a href="../classes/AttributeEvents.html">AttributeEvents</a></li>
71
<li><a href="../classes/AttributeExtras.html">AttributeExtras</a></li>
73
<li><a href="../classes/AttributeLite.html">AttributeLite</a></li>
75
<li><a href="../classes/AutoComplete.html">AutoComplete</a></li>
77
<li><a href="../classes/AutoCompleteBase.html">AutoCompleteBase</a></li>
79
<li><a href="../classes/AutoCompleteFilters.html">AutoCompleteFilters</a></li>
81
<li><a href="../classes/AutoCompleteHighlighters.html">AutoCompleteHighlighters</a></li>
83
<li><a href="../classes/AutoCompleteList.html">AutoCompleteList</a></li>
85
<li><a href="../classes/Axis.html">Axis</a></li>
87
<li><a href="../classes/AxisType.html">AxisType</a></li>
89
<li><a href="../classes/BarSeries.html">BarSeries</a></li>
91
<li><a href="../classes/Base.html">Base</a></li>
93
<li><a href="../classes/BaseCore.html">BaseCore</a></li>
95
<li><a href="../classes/BottomAxisLayout.html">BottomAxisLayout</a></li>
97
<li><a href="../classes/Button.html">Button</a></li>
99
<li><a href="../classes/ButtonCore.html">ButtonCore</a></li>
101
<li><a href="../classes/ButtonGroup.html">ButtonGroup</a></li>
103
<li><a href="../classes/ButtonPlugin.html">ButtonPlugin</a></li>
105
<li><a href="../classes/Cache.html">Cache</a></li>
107
<li><a href="../classes/CacheOffline.html">CacheOffline</a></li>
109
<li><a href="../classes/Calendar.html">Calendar</a></li>
111
<li><a href="../classes/CalendarBase.html">CalendarBase</a></li>
113
<li><a href="../classes/CanvasCircle.html">CanvasCircle</a></li>
115
<li><a href="../classes/CanvasDrawing.html">CanvasDrawing</a></li>
117
<li><a href="../classes/CanvasEllipse.html">CanvasEllipse</a></li>
119
<li><a href="../classes/CanvasGraphic.html">CanvasGraphic</a></li>
121
<li><a href="../classes/CanvasPath.html">CanvasPath</a></li>
123
<li><a href="../classes/CanvasPieSlice.html">CanvasPieSlice</a></li>
125
<li><a href="../classes/CanvasRect.html">CanvasRect</a></li>
127
<li><a href="../classes/CanvasShape.html">CanvasShape</a></li>
129
<li><a href="../classes/CartesianChart.html">CartesianChart</a></li>
131
<li><a href="../classes/CartesianSeries.html">CartesianSeries</a></li>
133
<li><a href="../classes/CategoryAxis.html">CategoryAxis</a></li>
135
<li><a href="../classes/Chart.html">Chart</a></li>
137
<li><a href="../classes/ChartBase.html">ChartBase</a></li>
139
<li><a href="../classes/ChartLegend.html">ChartLegend</a></li>
141
<li><a href="../classes/Circle.html">Circle</a></li>
143
<li><a href="../classes/ClassNameManager.html">ClassNameManager</a></li>
145
<li><a href="../classes/ClickableRail.html">ClickableRail</a></li>
147
<li><a href="../classes/ColumnSeries.html">ColumnSeries</a></li>
149
<li><a href="../classes/ComboSeries.html">ComboSeries</a></li>
151
<li><a href="../classes/ComboSplineSeries.html">ComboSplineSeries</a></li>
153
<li><a href="../classes/config.html">config</a></li>
155
<li><a href="../classes/Console.html">Console</a></li>
157
<li><a href="../classes/Controller.html">Controller</a></li>
159
<li><a href="../classes/Cookie.html">Cookie</a></li>
161
<li><a href="../classes/CurveUtil.html">CurveUtil</a></li>
163
<li><a href="../classes/CustomEvent.html">CustomEvent</a></li>
165
<li><a href="../classes/DataSchema.Array.html">DataSchema.Array</a></li>
167
<li><a href="../classes/DataSchema.Base.html">DataSchema.Base</a></li>
169
<li><a href="../classes/DataSchema.JSON.html">DataSchema.JSON</a></li>
171
<li><a href="../classes/DataSchema.Text.html">DataSchema.Text</a></li>
173
<li><a href="../classes/DataSchema.XML.html">DataSchema.XML</a></li>
175
<li><a href="../classes/DataSource.Function.html">DataSource.Function</a></li>
177
<li><a href="../classes/DataSource.Get.html">DataSource.Get</a></li>
179
<li><a href="../classes/DataSource.IO.html">DataSource.IO</a></li>
181
<li><a href="../classes/DataSource.Local.html">DataSource.Local</a></li>
183
<li><a href="../classes/DataSourceArraySchema.html">DataSourceArraySchema</a></li>
185
<li><a href="../classes/DataSourceCache.html">DataSourceCache</a></li>
187
<li><a href="../classes/DataSourceCacheExtension.html">DataSourceCacheExtension</a></li>
189
<li><a href="../classes/DataSourceJSONSchema.html">DataSourceJSONSchema</a></li>
191
<li><a href="../classes/DataSourceTextSchema.html">DataSourceTextSchema</a></li>
193
<li><a href="../classes/DataSourceXMLSchema.html">DataSourceXMLSchema</a></li>
195
<li><a href="../classes/DataTable.html">DataTable</a></li>
197
<li><a href="../classes/DataTable.Base.html">DataTable.Base</a></li>
199
<li><a href="../classes/DataTable.BodyView.html">DataTable.BodyView</a></li>
201
<li><a href="../classes/DataTable.ColumnWidths.html">DataTable.ColumnWidths</a></li>
203
<li><a href="../classes/DataTable.Core.html">DataTable.Core</a></li>
205
<li><a href="../classes/DataTable.HeaderView.html">DataTable.HeaderView</a></li>
207
<li><a href="../classes/DataTable.Message.html">DataTable.Message</a></li>
209
<li><a href="../classes/DataTable.Mutable.html">DataTable.Mutable</a></li>
211
<li><a href="../classes/DataTable.Scrollable.html">DataTable.Scrollable</a></li>
213
<li><a href="../classes/DataTable.Sortable.html">DataTable.Sortable</a></li>
215
<li><a href="../classes/DataType.Date.html">DataType.Date</a></li>
217
<li><a href="../classes/DataType.Date.Locale.html">DataType.Date.Locale</a></li>
219
<li><a href="../classes/DataType.Number.html">DataType.Number</a></li>
221
<li><a href="../classes/DataType.XML.html">DataType.XML</a></li>
223
<li><a href="../classes/DD.DDM.html">DD.DDM</a></li>
225
<li><a href="../classes/DD.Delegate.html">DD.Delegate</a></li>
227
<li><a href="../classes/DD.Drag.html">DD.Drag</a></li>
229
<li><a href="../classes/DD.Drop.html">DD.Drop</a></li>
231
<li><a href="../classes/DD.Plugin.DDWindowScroll.html">DD.Plugin.DDWindowScroll</a></li>
233
<li><a href="../classes/DD.Scroll.html">DD.Scroll</a></li>
235
<li><a href="../classes/Dial.html">Dial</a></li>
237
<li><a href="../classes/Do.html">Do</a></li>
239
<li><a href="../classes/Do.AlterArgs.html">Do.AlterArgs</a></li>
241
<li><a href="../classes/Do.AlterReturn.html">Do.AlterReturn</a></li>
243
<li><a href="../classes/Do.Error.html">Do.Error</a></li>
245
<li><a href="../classes/Do.Halt.html">Do.Halt</a></li>
247
<li><a href="../classes/Do.Method.html">Do.Method</a></li>
249
<li><a href="../classes/Do.Prevent.html">Do.Prevent</a></li>
251
<li><a href="../classes/DOM.html">DOM</a></li>
253
<li><a href="../classes/DOMEventFacade.html">DOMEventFacade</a></li>
255
<li><a href="../classes/Drawing.html">Drawing</a></li>
257
<li><a href="../classes/Easing.html">Easing</a></li>
259
<li><a href="../classes/EditorBase.html">EditorBase</a></li>
261
<li><a href="../classes/EditorSelection.html">EditorSelection</a></li>
263
<li><a href="../classes/Ellipse.html">Ellipse</a></li>
265
<li><a href="../classes/EllipseGroup.html">EllipseGroup</a></li>
267
<li><a href="../classes/Escape.html">Escape</a></li>
269
<li><a href="../classes/Event.html">Event</a></li>
271
<li><a href="../classes/EventFacade.html">EventFacade</a></li>
273
<li><a href="../classes/EventHandle.html">EventHandle</a></li>
275
<li><a href="../classes/EventTarget.html">EventTarget</a></li>
277
<li><a href="../classes/ExecCommand.html">ExecCommand</a></li>
279
<li><a href="../classes/Features.html">Features</a></li>
281
<li><a href="../classes/File.html">File</a></li>
283
<li><a href="../classes/FileFlash.html">FileFlash</a></li>
285
<li><a href="../classes/FileHTML5.html">FileHTML5</a></li>
287
<li><a href="../classes/Fills.html">Fills</a></li>
289
<li><a href="../classes/Frame.html">Frame</a></li>
291
<li><a href="../classes/Get.html">Get</a></li>
293
<li><a href="../classes/Get.Transaction.html">Get.Transaction</a></li>
295
<li><a href="../classes/GetNodeJS.html">GetNodeJS</a></li>
297
<li><a href="../classes/Graph.html">Graph</a></li>
299
<li><a href="../classes/Graphic.html">Graphic</a></li>
301
<li><a href="../classes/GraphicBase.html">GraphicBase</a></li>
303
<li><a href="../classes/Gridlines.html">Gridlines</a></li>
305
<li><a href="../classes/GroupCircle.html">GroupCircle</a></li>
307
<li><a href="../classes/GroupDiamond.html">GroupDiamond</a></li>
309
<li><a href="../classes/GroupRect.html">GroupRect</a></li>
311
<li><a href="../classes/Handlebars.html">Handlebars</a></li>
313
<li><a href="../classes/Highlight.html">Highlight</a></li>
315
<li><a href="../classes/Histogram.html">Histogram</a></li>
317
<li><a href="../classes/HistoryBase.html">HistoryBase</a></li>
319
<li><a href="../classes/HistoryHash.html">HistoryHash</a></li>
321
<li><a href="../classes/HistoryHTML5.html">HistoryHTML5</a></li>
323
<li><a href="../classes/HorizontalLegendLayout.html">HorizontalLegendLayout</a></li>
325
<li><a href="../classes/ImgLoadGroup.html">ImgLoadGroup</a></li>
327
<li><a href="../classes/ImgLoadImgObj.html">ImgLoadImgObj</a></li>
329
<li><a href="../classes/Intl.html">Intl</a></li>
331
<li><a href="../classes/IO.html">IO</a></li>
333
<li><a href="../classes/json.html">json</a></li>
335
<li><a href="../classes/JSONPRequest.html">JSONPRequest</a></li>
337
<li><a href="../classes/Lang.html">Lang</a></li>
339
<li><a href="../classes/LeftAxisLayout.html">LeftAxisLayout</a></li>
341
<li><a href="../classes/Lines.html">Lines</a></li>
343
<li><a href="../classes/LineSeries.html">LineSeries</a></li>
345
<li><a href="../classes/Loader.html">Loader</a></li>
347
<li><a href="../classes/MarkerSeries.html">MarkerSeries</a></li>
349
<li><a href="../classes/Matrix.html">Matrix</a></li>
351
<li><a href="../classes/Model.html">Model</a></li>
353
<li><a href="../classes/ModelList.html">ModelList</a></li>
355
<li><a href="../classes/Node.html">Node</a></li>
357
<li><a href="../classes/NodeList.html">NodeList</a></li>
359
<li><a href="../classes/NumericAxis.html">NumericAxis</a></li>
361
<li><a href="../classes/Object.html">Object</a></li>
363
<li><a href="../classes/Overlay.html">Overlay</a></li>
365
<li><a href="../classes/Panel.html">Panel</a></li>
367
<li><a href="../classes/Parallel.html">Parallel</a></li>
369
<li><a href="../classes/Path.html">Path</a></li>
371
<li><a href="../classes/PieChart.html">PieChart</a></li>
373
<li><a href="../classes/PieSeries.html">PieSeries</a></li>
375
<li><a href="../classes/Pjax.html">Pjax</a></li>
377
<li><a href="../classes/PjaxBase.html">PjaxBase</a></li>
379
<li><a href="../classes/Plots.html">Plots</a></li>
381
<li><a href="../classes/Plugin.Align.html">Plugin.Align</a></li>
383
<li><a href="../classes/Plugin.AutoComplete.html">Plugin.AutoComplete</a></li>
385
<li><a href="../classes/Plugin.Base.html">Plugin.Base</a></li>
387
<li><a href="../classes/Plugin.Cache.html">Plugin.Cache</a></li>
389
<li><a href="../classes/Plugin.CalendarNavigator.html">Plugin.CalendarNavigator</a></li>
391
<li><a href="../classes/Plugin.ConsoleFilters.html">Plugin.ConsoleFilters</a></li>
393
<li><a href="../classes/Plugin.CreateLinkBase.html">Plugin.CreateLinkBase</a></li>
395
<li><a href="../classes/Plugin.DataTableDataSource.html">Plugin.DataTableDataSource</a></li>
397
<li><a href="../classes/Plugin.DDConstrained.html">Plugin.DDConstrained</a></li>
399
<li><a href="../classes/Plugin.DDNodeScroll.html">Plugin.DDNodeScroll</a></li>
401
<li><a href="../classes/Plugin.DDProxy.html">Plugin.DDProxy</a></li>
403
<li><a href="../classes/Plugin.Drag.html">Plugin.Drag</a></li>
405
<li><a href="../classes/Plugin.Drop.html">Plugin.Drop</a></li>
407
<li><a href="../classes/Plugin.EditorBidi.html">Plugin.EditorBidi</a></li>
409
<li><a href="../classes/Plugin.EditorBR.html">Plugin.EditorBR</a></li>
411
<li><a href="../classes/Plugin.EditorLists.html">Plugin.EditorLists</a></li>
413
<li><a href="../classes/Plugin.EditorPara.html">Plugin.EditorPara</a></li>
415
<li><a href="../classes/Plugin.EditorParaBase.html">Plugin.EditorParaBase</a></li>
417
<li><a href="../classes/Plugin.EditorParaIE.html">Plugin.EditorParaIE</a></li>
419
<li><a href="../classes/Plugin.EditorTab.html">Plugin.EditorTab</a></li>
421
<li><a href="../classes/Plugin.ExecCommand.html">Plugin.ExecCommand</a></li>
423
<li><a href="../classes/Plugin.Flick.html">Plugin.Flick</a></li>
425
<li><a href="../classes/Plugin.Host.html">Plugin.Host</a></li>
427
<li><a href="../classes/plugin.NodeFocusManager.html">plugin.NodeFocusManager</a></li>
429
<li><a href="../classes/Plugin.NodeFX.html">Plugin.NodeFX</a></li>
431
<li><a href="../classes/plugin.NodeMenuNav.html">plugin.NodeMenuNav</a></li>
433
<li><a href="../classes/Plugin.Pjax.html">Plugin.Pjax</a></li>
435
<li><a href="../classes/Plugin.Resize.html">Plugin.Resize</a></li>
437
<li><a href="../classes/Plugin.ResizeConstrained.html">Plugin.ResizeConstrained</a></li>
439
<li><a href="../classes/Plugin.ResizeProxy.html">Plugin.ResizeProxy</a></li>
441
<li><a href="../classes/Plugin.ScrollViewList.html">Plugin.ScrollViewList</a></li>
443
<li><a href="../classes/Plugin.ScrollViewPaginator.html">Plugin.ScrollViewPaginator</a></li>
445
<li><a href="../classes/Plugin.ScrollViewScrollbars.html">Plugin.ScrollViewScrollbars</a></li>
447
<li><a href="../classes/Plugin.Shim.html">Plugin.Shim</a></li>
449
<li><a href="../classes/Plugin.SortScroll.html">Plugin.SortScroll</a></li>
451
<li><a href="../classes/Plugin.WidgetAnim.html">Plugin.WidgetAnim</a></li>
453
<li><a href="../classes/Pollable.html">Pollable</a></li>
455
<li><a href="../classes/Profiler.html">Profiler</a></li>
457
<li><a href="../classes/QueryString.html">QueryString</a></li>
459
<li><a href="../classes/Queue.html">Queue</a></li>
461
<li><a href="../classes/Record.html">Record</a></li>
463
<li><a href="../classes/Recordset.html">Recordset</a></li>
465
<li><a href="../classes/RecordsetFilter.html">RecordsetFilter</a></li>
467
<li><a href="../classes/RecordsetIndexer.html">RecordsetIndexer</a></li>
469
<li><a href="../classes/RecordsetSort.html">RecordsetSort</a></li>
471
<li><a href="../classes/Rect.html">Rect</a></li>
473
<li><a href="../classes/Renderer.html">Renderer</a></li>
475
<li><a href="../classes/Resize.html">Resize</a></li>
477
<li><a href="../classes/RightAxisLayout.html">RightAxisLayout</a></li>
479
<li><a href="../classes/Router.html">Router</a></li>
481
<li><a href="../classes/ScrollView.html">ScrollView</a></li>
483
<li><a href="../classes/Selector.html">Selector</a></li>
485
<li><a href="../classes/Shape.html">Shape</a></li>
487
<li><a href="../classes/ShapeGroup.html">ShapeGroup</a></li>
489
<li><a href="../classes/Slider.html">Slider</a></li>
491
<li><a href="../classes/SliderBase.html">SliderBase</a></li>
493
<li><a href="../classes/SliderValueRange.html">SliderValueRange</a></li>
495
<li><a href="../classes/Sortable.html">Sortable</a></li>
497
<li><a href="../classes/SplineSeries.html">SplineSeries</a></li>
499
<li><a href="../classes/StackedAreaSeries.html">StackedAreaSeries</a></li>
501
<li><a href="../classes/StackedAreaSplineSeries.html">StackedAreaSplineSeries</a></li>
503
<li><a href="../classes/StackedAxis.html">StackedAxis</a></li>
505
<li><a href="../classes/StackedBarSeries.html">StackedBarSeries</a></li>
507
<li><a href="../classes/StackedColumnSeries.html">StackedColumnSeries</a></li>
509
<li><a href="../classes/StackedComboSeries.html">StackedComboSeries</a></li>
511
<li><a href="../classes/StackedComboSplineSeries.html">StackedComboSplineSeries</a></li>
513
<li><a href="../classes/StackedLineSeries.html">StackedLineSeries</a></li>
515
<li><a href="../classes/StackedMarkerSeries.html">StackedMarkerSeries</a></li>
517
<li><a href="../classes/StackedSplineSeries.html">StackedSplineSeries</a></li>
519
<li><a href="../classes/StackingUtil.html">StackingUtil</a></li>
521
<li><a href="../classes/State.html">State</a></li>
523
<li><a href="../classes/StyleSheet.html">StyleSheet</a></li>
525
<li><a href="../classes/Subscriber.html">Subscriber</a></li>
527
<li><a href="../classes/SVGCircle.html">SVGCircle</a></li>
529
<li><a href="../classes/SVGDrawing.html">SVGDrawing</a></li>
531
<li><a href="../classes/SVGEllipse.html">SVGEllipse</a></li>
533
<li><a href="../classes/SVGGraphic.html">SVGGraphic</a></li>
535
<li><a href="../classes/SVGPath.html">SVGPath</a></li>
537
<li><a href="../classes/SVGPieSlice.html">SVGPieSlice</a></li>
539
<li><a href="../classes/SVGRect.html">SVGRect</a></li>
541
<li><a href="../classes/SVGShape.html">SVGShape</a></li>
543
<li><a href="../classes/SWF.html">SWF</a></li>
545
<li><a href="../classes/SWFDetect.html">SWFDetect</a></li>
547
<li><a href="../classes/SyntheticEvent.html">SyntheticEvent</a></li>
549
<li><a href="../classes/SyntheticEvent.Notifier.html">SyntheticEvent.Notifier</a></li>
551
<li><a href="../classes/SynthRegistry.html">SynthRegistry</a></li>
553
<li><a href="../classes/Tab.html">Tab</a></li>
555
<li><a href="../classes/TabView.html">TabView</a></li>
557
<li><a href="../classes/Test.html">Test</a></li>
559
<li><a href="../classes/Test.ArrayAssert.html">Test.ArrayAssert</a></li>
561
<li><a href="../classes/Test.Assert.html">Test.Assert</a></li>
563
<li><a href="../classes/Test.AssertionError.html">Test.AssertionError</a></li>
565
<li><a href="../classes/Test.ComparisonFailure.html">Test.ComparisonFailure</a></li>
567
<li><a href="../classes/Test.Console.html">Test.Console</a></li>
569
<li><a href="../classes/Test.CoverageFormat.CoverageFormat.html">Test.CoverageFormat.CoverageFormat</a></li>
571
<li><a href="../classes/Test.DateAssert.html">Test.DateAssert</a></li>
573
<li><a href="../classes/Test.EventTarget.html">Test.EventTarget</a></li>
575
<li><a href="../classes/Test.Mock.Mock.html">Test.Mock.Mock</a></li>
577
<li><a href="../classes/Test.Mock.Value.html">Test.Mock.Value</a></li>
579
<li><a href="../classes/Test.ObjectAssert.html">Test.ObjectAssert</a></li>
581
<li><a href="../classes/Test.Reporter.html">Test.Reporter</a></li>
583
<li><a href="../classes/Test.Results.html">Test.Results</a></li>
585
<li><a href="../classes/Test.Runner.html">Test.Runner</a></li>
587
<li><a href="../classes/Test.ShouldError.html">Test.ShouldError</a></li>
589
<li><a href="../classes/Test.ShouldFail.html">Test.ShouldFail</a></li>
591
<li><a href="../classes/Test.TestCase.html">Test.TestCase</a></li>
593
<li><a href="../classes/Test.TestFormat.html">Test.TestFormat</a></li>
595
<li><a href="../classes/Test.TestNode.html">Test.TestNode</a></li>
597
<li><a href="../classes/Test.TestRunner.html">Test.TestRunner</a></li>
599
<li><a href="../classes/Test.TestSuite.html">Test.TestSuite</a></li>
601
<li><a href="../classes/Test.UnexpectedError.html">Test.UnexpectedError</a></li>
603
<li><a href="../classes/Test.UnexpectedValue.html">Test.UnexpectedValue</a></li>
605
<li><a href="../classes/Test.Wait.html">Test.Wait</a></li>
607
<li><a href="../classes/Text.AccentFold.html">Text.AccentFold</a></li>
609
<li><a href="../classes/Text.WordBreak.html">Text.WordBreak</a></li>
611
<li><a href="../classes/TimeAxis.html">TimeAxis</a></li>
613
<li><a href="../classes/ToggleButton.html">ToggleButton</a></li>
615
<li><a href="../classes/TopAxisLayout.html">TopAxisLayout</a></li>
617
<li><a href="../classes/Transition.html">Transition</a></li>
619
<li><a href="../classes/UA.html">UA</a></li>
621
<li><a href="../classes/Uploader.html">Uploader</a></li>
623
<li><a href="../classes/Uploader.Queue.html">Uploader.Queue</a></li>
625
<li><a href="../classes/UploaderFlash.html">UploaderFlash</a></li>
627
<li><a href="../classes/UploaderHTML5.html">UploaderHTML5</a></li>
629
<li><a href="../classes/ValueChange.html">ValueChange</a></li>
631
<li><a href="../classes/VerticalLegendLayout.html">VerticalLegendLayout</a></li>
633
<li><a href="../classes/View.html">View</a></li>
635
<li><a href="../classes/View.NodeMap.html">View.NodeMap</a></li>
637
<li><a href="../classes/VMLCircle.html">VMLCircle</a></li>
639
<li><a href="../classes/VMLDrawing.html">VMLDrawing</a></li>
641
<li><a href="../classes/VMLEllipse.html">VMLEllipse</a></li>
643
<li><a href="../classes/VMLGraphic.html">VMLGraphic</a></li>
645
<li><a href="../classes/VMLPath.html">VMLPath</a></li>
647
<li><a href="../classes/VMLPieSlice.html">VMLPieSlice</a></li>
649
<li><a href="../classes/VMLRect.html">VMLRect</a></li>
651
<li><a href="../classes/VMLShape.html">VMLShape</a></li>
653
<li><a href="../classes/Widget.html">Widget</a></li>
655
<li><a href="../classes/WidgetAutohide.html">WidgetAutohide</a></li>
657
<li><a href="../classes/WidgetButtons.html">WidgetButtons</a></li>
659
<li><a href="../classes/WidgetChild.html">WidgetChild</a></li>
661
<li><a href="../classes/WidgetModality.html">WidgetModality</a></li>
663
<li><a href="../classes/WidgetParent.html">WidgetParent</a></li>
665
<li><a href="../classes/WidgetPosition.html">WidgetPosition</a></li>
667
<li><a href="../classes/WidgetPositionAlign.html">WidgetPositionAlign</a></li>
669
<li><a href="../classes/WidgetPositionConstrain.html">WidgetPositionConstrain</a></li>
671
<li><a href="../classes/WidgetStack.html">WidgetStack</a></li>
673
<li><a href="../classes/WidgetStdMod.html">WidgetStdMod</a></li>
675
<li><a href="../classes/YQL.html">YQL</a></li>
677
<li><a href="../classes/YQLRequest.html">YQLRequest</a></li>
679
<li><a href="../classes/YUI.html">YUI</a></li>
681
<li><a href="../classes/YUI~substitute.html">YUI~substitute</a></li>
685
<ul id="api-modules" class="apis modules">
687
<li><a href="../modules/align-plugin.html">align-plugin</a></li>
689
<li><a href="../modules/anim.html">anim</a></li>
691
<li><a href="../modules/anim-base.html">anim-base</a></li>
693
<li><a href="../modules/anim-color.html">anim-color</a></li>
695
<li><a href="../modules/anim-curve.html">anim-curve</a></li>
697
<li><a href="../modules/anim-easing.html">anim-easing</a></li>
699
<li><a href="../modules/anim-node-plugin.html">anim-node-plugin</a></li>
701
<li><a href="../modules/anim-scroll.html">anim-scroll</a></li>
703
<li><a href="../modules/anim-xy.html">anim-xy</a></li>
705
<li><a href="../modules/app.html">app</a></li>
707
<li><a href="../modules/app-base.html">app-base</a></li>
709
<li><a href="../modules/app-transitions.html">app-transitions</a></li>
711
<li><a href="../modules/app-transitions-native.html">app-transitions-native</a></li>
713
<li><a href="../modules/array-extras.html">array-extras</a></li>
715
<li><a href="../modules/array-invoke.html">array-invoke</a></li>
717
<li><a href="../modules/arraylist.html">arraylist</a></li>
719
<li><a href="../modules/arraylist-add.html">arraylist-add</a></li>
721
<li><a href="../modules/arraylist-filter.html">arraylist-filter</a></li>
723
<li><a href="../modules/arraysort.html">arraysort</a></li>
725
<li><a href="../modules/async-queue.html">async-queue</a></li>
727
<li><a href="../modules/attribute.html">attribute</a></li>
729
<li><a href="../modules/attribute-base.html">attribute-base</a></li>
731
<li><a href="../modules/attribute-complex.html">attribute-complex</a></li>
733
<li><a href="../modules/attribute-core.html">attribute-core</a></li>
735
<li><a href="../modules/attribute-events.html">attribute-events</a></li>
737
<li><a href="../modules/attribute-extras.html">attribute-extras</a></li>
739
<li><a href="../modules/autocomplete.html">autocomplete</a></li>
741
<li><a href="../modules/autocomplete-base.html">autocomplete-base</a></li>
743
<li><a href="../modules/autocomplete-filters.html">autocomplete-filters</a></li>
745
<li><a href="../modules/autocomplete-filters-accentfold.html">autocomplete-filters-accentfold</a></li>
747
<li><a href="../modules/autocomplete-highlighters.html">autocomplete-highlighters</a></li>
749
<li><a href="../modules/autocomplete-highlighters-accentfold.html">autocomplete-highlighters-accentfold</a></li>
751
<li><a href="../modules/autocomplete-list.html">autocomplete-list</a></li>
753
<li><a href="../modules/autocomplete-list-keys.html">autocomplete-list-keys</a></li>
755
<li><a href="../modules/autocomplete-plugin.html">autocomplete-plugin</a></li>
757
<li><a href="../modules/autocomplete-sources.html">autocomplete-sources</a></li>
759
<li><a href="../modules/base.html">base</a></li>
761
<li><a href="../modules/base-base.html">base-base</a></li>
763
<li><a href="../modules/base-build.html">base-build</a></li>
765
<li><a href="../modules/base-core.html">base-core</a></li>
767
<li><a href="../modules/base-pluginhost.html">base-pluginhost</a></li>
769
<li><a href="../modules/button.html">button</a></li>
771
<li><a href="../modules/button-core.html">button-core</a></li>
773
<li><a href="../modules/button-group.html">button-group</a></li>
775
<li><a href="../modules/button-plugin.html">button-plugin</a></li>
777
<li><a href="../modules/cache.html">cache</a></li>
779
<li><a href="../modules/cache-base.html">cache-base</a></li>
781
<li><a href="../modules/cache-offline.html">cache-offline</a></li>
783
<li><a href="../modules/cache-plugin.html">cache-plugin</a></li>
785
<li><a href="../modules/calendar.html">calendar</a></li>
787
<li><a href="../modules/calendar-base.html">calendar-base</a></li>
789
<li><a href="../modules/calendarnavigator.html">calendarnavigator</a></li>
791
<li><a href="../modules/charts.html">charts</a></li>
793
<li><a href="../modules/charts-legend.html">charts-legend</a></li>
795
<li><a href="../modules/classnamemanager.html">classnamemanager</a></li>
797
<li><a href="../modules/clickable-rail.html">clickable-rail</a></li>
799
<li><a href="../modules/collection.html">collection</a></li>
801
<li><a href="../modules/console.html">console</a></li>
803
<li><a href="../modules/console-filters.html">console-filters</a></li>
805
<li><a href="../modules/cookie.html">cookie</a></li>
807
<li><a href="../modules/createlink-base.html">createlink-base</a></li>
809
<li><a href="../modules/dataschema.html">dataschema</a></li>
811
<li><a href="../modules/dataschema-array.html">dataschema-array</a></li>
813
<li><a href="../modules/dataschema-base.html">dataschema-base</a></li>
815
<li><a href="../modules/dataschema-json.html">dataschema-json</a></li>
817
<li><a href="../modules/dataschema-text.html">dataschema-text</a></li>
819
<li><a href="../modules/dataschema-xml.html">dataschema-xml</a></li>
821
<li><a href="../modules/datasource.html">datasource</a></li>
823
<li><a href="../modules/datasource-arrayschema.html">datasource-arrayschema</a></li>
825
<li><a href="../modules/datasource-cache.html">datasource-cache</a></li>
827
<li><a href="../modules/datasource-function.html">datasource-function</a></li>
829
<li><a href="../modules/datasource-get.html">datasource-get</a></li>
831
<li><a href="../modules/datasource-io.html">datasource-io</a></li>
833
<li><a href="../modules/datasource-jsonschema.html">datasource-jsonschema</a></li>
835
<li><a href="../modules/datasource-local.html">datasource-local</a></li>
837
<li><a href="../modules/datasource-polling.html">datasource-polling</a></li>
839
<li><a href="../modules/datasource-textschema.html">datasource-textschema</a></li>
841
<li><a href="../modules/datasource-xmlschema.html">datasource-xmlschema</a></li>
843
<li><a href="../modules/datatable.html">datatable</a></li>
845
<li><a href="../modules/datatable-base.html">datatable-base</a></li>
847
<li><a href="../modules/datatable-base-deprecated.html">datatable-base-deprecated</a></li>
849
<li><a href="../modules/datatable-body.html">datatable-body</a></li>
851
<li><a href="../modules/datatable-column-widths.html">datatable-column-widths</a></li>
853
<li><a href="../modules/datatable-core.html">datatable-core</a></li>
855
<li><a href="../modules/datatable-datasource.html">datatable-datasource</a></li>
857
<li><a href="../modules/datatable-datasource-deprecated.html">datatable-datasource-deprecated</a></li>
859
<li><a href="../modules/datatable-deprecated.html">datatable-deprecated</a></li>
861
<li><a href="../modules/datatable-head.html">datatable-head</a></li>
863
<li><a href="../modules/datatable-message.html">datatable-message</a></li>
865
<li><a href="../modules/datatable-mutable.html">datatable-mutable</a></li>
867
<li><a href="../modules/datatable-scroll.html">datatable-scroll</a></li>
869
<li><a href="../modules/datatable-scroll-deprecated.html">datatable-scroll-deprecated</a></li>
871
<li><a href="../modules/datatable-sort.html">datatable-sort</a></li>
873
<li><a href="../modules/datatable-sort-deprecated.html">datatable-sort-deprecated</a></li>
875
<li><a href="../modules/datatype.html">datatype</a></li>
877
<li><a href="../modules/datatype-date.html">datatype-date</a></li>
879
<li><a href="../modules/datatype-date-format.html">datatype-date-format</a></li>
881
<li><a href="../modules/datatype-date-math.html">datatype-date-math</a></li>
883
<li><a href="../modules/datatype-date-parse.html">datatype-date-parse</a></li>
885
<li><a href="../modules/datatype-number.html">datatype-number</a></li>
887
<li><a href="../modules/datatype-number-format.html">datatype-number-format</a></li>
889
<li><a href="../modules/datatype-number-parse.html">datatype-number-parse</a></li>
891
<li><a href="../modules/datatype-xml.html">datatype-xml</a></li>
893
<li><a href="../modules/datatype-xml-format.html">datatype-xml-format</a></li>
895
<li><a href="../modules/datatype-xml-parse.html">datatype-xml-parse</a></li>
897
<li><a href="../modules/dd.html">dd</a></li>
899
<li><a href="../modules/dd-constrain.html">dd-constrain</a></li>
901
<li><a href="../modules/dd-ddm.html">dd-ddm</a></li>
903
<li><a href="../modules/dd-ddm-base.html">dd-ddm-base</a></li>
905
<li><a href="../modules/dd-ddm-drop.html">dd-ddm-drop</a></li>
907
<li><a href="../modules/dd-delegate.html">dd-delegate</a></li>
909
<li><a href="../modules/dd-drag.html">dd-drag</a></li>
911
<li><a href="../modules/dd-drop.html">dd-drop</a></li>
913
<li><a href="../modules/dd-drop-plugin.html">dd-drop-plugin</a></li>
915
<li><a href="../modules/dd-plugin.html">dd-plugin</a></li>
917
<li><a href="../modules/dd-proxy.html">dd-proxy</a></li>
919
<li><a href="../modules/dd-scroll.html">dd-scroll</a></li>
921
<li><a href="../modules/dial.html">dial</a></li>
923
<li><a href="../modules/dom.html">dom</a></li>
925
<li><a href="../modules/dom-base.html">dom-base</a></li>
927
<li><a href="../modules/dom-screen.html">dom-screen</a></li>
929
<li><a href="../modules/dom-style.html">dom-style</a></li>
931
<li><a href="../modules/dump.html">dump</a></li>
933
<li><a href="../modules/editor.html">editor</a></li>
935
<li><a href="../modules/editor-base.html">editor-base</a></li>
937
<li><a href="../modules/editor-bidi.html">editor-bidi</a></li>
939
<li><a href="../modules/editor-br.html">editor-br</a></li>
941
<li><a href="../modules/editor-lists.html">editor-lists</a></li>
943
<li><a href="../modules/editor-para.html">editor-para</a></li>
945
<li><a href="../modules/editor-para-base.html">editor-para-base</a></li>
947
<li><a href="../modules/editor-para-ie.html">editor-para-ie</a></li>
949
<li><a href="../modules/editor-tab.html">editor-tab</a></li>
951
<li><a href="../modules/escape.html">escape</a></li>
953
<li><a href="../modules/event.html">event</a></li>
955
<li><a href="../modules/event-base.html">event-base</a></li>
957
<li><a href="../modules/event-contextmenu.html">event-contextmenu</a></li>
959
<li><a href="../modules/event-custom.html">event-custom</a></li>
961
<li><a href="../modules/event-custom-base.html">event-custom-base</a></li>
963
<li><a href="../modules/event-custom-complex.html">event-custom-complex</a></li>
965
<li><a href="../modules/event-delegate.html">event-delegate</a></li>
967
<li><a href="../modules/event-flick.html">event-flick</a></li>
969
<li><a href="../modules/event-focus.html">event-focus</a></li>
971
<li><a href="../modules/event-gestures.html">event-gestures</a></li>
973
<li><a href="../modules/event-hover.html">event-hover</a></li>
975
<li><a href="../modules/event-key.html">event-key</a></li>
977
<li><a href="../modules/event-mouseenter.html">event-mouseenter</a></li>
979
<li><a href="../modules/event-mousewheel.html">event-mousewheel</a></li>
981
<li><a href="../modules/event-move.html">event-move</a></li>
983
<li><a href="../modules/event-outside.html">event-outside</a></li>
985
<li><a href="../modules/event-resize.html">event-resize</a></li>
987
<li><a href="../modules/event-simulate.html">event-simulate</a></li>
989
<li><a href="../modules/event-synthetic.html">event-synthetic</a></li>
991
<li><a href="../modules/event-touch.html">event-touch</a></li>
993
<li><a href="../modules/event-valuechange.html">event-valuechange</a></li>
995
<li><a href="../modules/exec-command.html">exec-command</a></li>
997
<li><a href="../modules/features.html">features</a></li>
999
<li><a href="../modules/file.html">file</a></li>
1001
<li><a href="../modules/file-flash.html">file-flash</a></li>
1003
<li><a href="../modules/file-html5.html">file-html5</a></li>
1005
<li><a href="../modules/frame.html">frame</a></li>
1007
<li><a href="../modules/get.html">get</a></li>
1009
<li><a href="../modules/get-nodejs.html">get-nodejs</a></li>
1011
<li><a href="../modules/graphics.html">graphics</a></li>
1013
<li><a href="../modules/handlebars.html">handlebars</a></li>
1015
<li><a href="../modules/handlebars-base.html">handlebars-base</a></li>
1017
<li><a href="../modules/handlebars-compiler.html">handlebars-compiler</a></li>
1019
<li><a href="../modules/highlight.html">highlight</a></li>
1021
<li><a href="../modules/highlight-accentfold.html">highlight-accentfold</a></li>
1023
<li><a href="../modules/highlight-base.html">highlight-base</a></li>
1025
<li><a href="../modules/history.html">history</a></li>
1027
<li><a href="../modules/history-base.html">history-base</a></li>
1029
<li><a href="../modules/history-hash.html">history-hash</a></li>
1031
<li><a href="../modules/history-hash-ie.html">history-hash-ie</a></li>
1033
<li><a href="../modules/history-html5.html">history-html5</a></li>
1035
<li><a href="../modules/imageloader.html">imageloader</a></li>
1037
<li><a href="../modules/intl.html">intl</a></li>
1039
<li><a href="../modules/io.html">io</a></li>
1041
<li><a href="../modules/io-base.html">io-base</a></li>
1043
<li><a href="../modules/io-form.html">io-form</a></li>
1045
<li><a href="../modules/io-queue.html">io-queue</a></li>
1047
<li><a href="../modules/io-upload-iframe.html">io-upload-iframe</a></li>
1049
<li><a href="../modules/io-xdr.html">io-xdr</a></li>
1051
<li><a href="../modules/json.html">json</a></li>
1053
<li><a href="../modules/json-parse.html">json-parse</a></li>
1055
<li><a href="../modules/json-stringify.html">json-stringify</a></li>
1057
<li><a href="../modules/jsonp.html">jsonp</a></li>
1059
<li><a href="../modules/jsonp-url.html">jsonp-url</a></li>
1061
<li><a href="../modules/loader.html">loader</a></li>
1063
<li><a href="../modules/loader-base.html">loader-base</a></li>
1065
<li><a href="../modules/matrix.html">matrix</a></li>
1067
<li><a href="../modules/model.html">model</a></li>
1069
<li><a href="../modules/model-list.html">model-list</a></li>
1071
<li><a href="../modules/node.html">node</a></li>
1073
<li><a href="../modules/node-base.html">node-base</a></li>
1075
<li><a href="../modules/node-core.html">node-core</a></li>
1077
<li><a href="../modules/node-data.html">node-data</a></li>
1079
<li><a href="../modules/node-deprecated.html">node-deprecated</a></li>
1081
<li><a href="../modules/node-event-delegate.html">node-event-delegate</a></li>
1083
<li><a href="../modules/node-event-html5.html">node-event-html5</a></li>
1085
<li><a href="../modules/node-event-simulate.html">node-event-simulate</a></li>
1087
<li><a href="../modules/node-flick.html">node-flick</a></li>
1089
<li><a href="../modules/node-focusmanager.html">node-focusmanager</a></li>
1091
<li><a href="../modules/node-load.html">node-load</a></li>
1093
<li><a href="../modules/node-menunav.html">node-menunav</a></li>
1095
<li><a href="../modules/node-pluginhost.html">node-pluginhost</a></li>
1097
<li><a href="../modules/node-screen.html">node-screen</a></li>
1099
<li><a href="../modules/node-style.html">node-style</a></li>
1101
<li><a href="../modules/oop.html">oop</a></li>
1103
<li><a href="../modules/overlay.html">overlay</a></li>
1105
<li><a href="../modules/panel.html">panel</a></li>
1107
<li><a href="../modules/parallel.html">parallel</a></li>
1109
<li><a href="../modules/pjax.html">pjax</a></li>
1111
<li><a href="../modules/pjax-base.html">pjax-base</a></li>
1113
<li><a href="../modules/pjax-plugin.html">pjax-plugin</a></li>
1115
<li><a href="../modules/plugin.html">plugin</a></li>
1117
<li><a href="../modules/pluginhost.html">pluginhost</a></li>
1119
<li><a href="../modules/pluginhost-base.html">pluginhost-base</a></li>
1121
<li><a href="../modules/pluginhost-config.html">pluginhost-config</a></li>
1123
<li><a href="../modules/profiler.html">profiler</a></li>
1125
<li><a href="../modules/querystring.html">querystring</a></li>
1127
<li><a href="../modules/querystring-parse.html">querystring-parse</a></li>
1129
<li><a href="../modules/querystring-parse-simple.html">querystring-parse-simple</a></li>
1131
<li><a href="../modules/querystring-stringify.html">querystring-stringify</a></li>
1133
<li><a href="../modules/querystring-stringify-simple.html">querystring-stringify-simple</a></li>
1135
<li><a href="../modules/queue-promote.html">queue-promote</a></li>
1137
<li><a href="../modules/range-slider.html">range-slider</a></li>
1139
<li><a href="../modules/recordset.html">recordset</a></li>
1141
<li><a href="../modules/recordset-base.html">recordset-base</a></li>
1143
<li><a href="../modules/recordset-filter.html">recordset-filter</a></li>
1145
<li><a href="../modules/recordset-indexer.html">recordset-indexer</a></li>
1147
<li><a href="../modules/recordset-sort.html">recordset-sort</a></li>
1149
<li><a href="../modules/resize.html">resize</a></li>
1151
<li><a href="../modules/resize-contrain.html">resize-contrain</a></li>
1153
<li><a href="../modules/resize-plugin.html">resize-plugin</a></li>
1155
<li><a href="../modules/resize-proxy.html">resize-proxy</a></li>
1157
<li><a href="../modules/rollup.html">rollup</a></li>
1159
<li><a href="../modules/router.html">router</a></li>
1161
<li><a href="../modules/scrollview.html">scrollview</a></li>
1163
<li><a href="../modules/scrollview-base.html">scrollview-base</a></li>
1165
<li><a href="../modules/scrollview-base-ie.html">scrollview-base-ie</a></li>
1167
<li><a href="../modules/scrollview-list.html">scrollview-list</a></li>
1169
<li><a href="../modules/scrollview-paginator.html">scrollview-paginator</a></li>
1171
<li><a href="../modules/scrollview-scrollbars.html">scrollview-scrollbars</a></li>
1173
<li><a href="../modules/selection.html">selection</a></li>
1175
<li><a href="../modules/selector-css2.html">selector-css2</a></li>
1177
<li><a href="../modules/selector-css3.html">selector-css3</a></li>
1179
<li><a href="../modules/selector-native.html">selector-native</a></li>
1181
<li><a href="../modules/shim-plugin.html">shim-plugin</a></li>
1183
<li><a href="../modules/slider.html">slider</a></li>
1185
<li><a href="../modules/slider-base.html">slider-base</a></li>
1187
<li><a href="../modules/slider-value-range.html">slider-value-range</a></li>
1189
<li><a href="../modules/sortable.html">sortable</a></li>
1191
<li><a href="../modules/sortable-scroll.html">sortable-scroll</a></li>
1193
<li><a href="../modules/stylesheet.html">stylesheet</a></li>
1195
<li><a href="../modules/substitute.html">substitute</a></li>
1197
<li><a href="../modules/swf.html">swf</a></li>
1199
<li><a href="../modules/swfdetect.html">swfdetect</a></li>
1201
<li><a href="../modules/tabview.html">tabview</a></li>
1203
<li><a href="../modules/test.html">test</a></li>
1205
<li><a href="../modules/test-console.html">test-console</a></li>
1207
<li><a href="../modules/text.html">text</a></li>
1209
<li><a href="../modules/text-accentfold.html">text-accentfold</a></li>
1211
<li><a href="../modules/text-wordbreak.html">text-wordbreak</a></li>
1213
<li><a href="../modules/transition.html">transition</a></li>
1215
<li><a href="../modules/uploader.html">uploader</a></li>
1217
<li><a href="../modules/uploader-deprecated.html">uploader-deprecated</a></li>
1219
<li><a href="../modules/uploader-flash.html">uploader-flash</a></li>
1221
<li><a href="../modules/uploader-html5.html">uploader-html5</a></li>
1223
<li><a href="../modules/uploader-queue.html">uploader-queue</a></li>
1225
<li><a href="../modules/view.html">view</a></li>
1227
<li><a href="../modules/view-node-map.html">view-node-map</a></li>
1229
<li><a href="../modules/widget.html">widget</a></li>
1231
<li><a href="../modules/widget-anim.html">widget-anim</a></li>
1233
<li><a href="../modules/widget-autohide.html">widget-autohide</a></li>
1235
<li><a href="../modules/widget-base.html">widget-base</a></li>
1237
<li><a href="../modules/widget-base-ie.html">widget-base-ie</a></li>
1239
<li><a href="../modules/widget-buttons.html">widget-buttons</a></li>
1241
<li><a href="../modules/widget-child.html">widget-child</a></li>
1243
<li><a href="../modules/widget-htmlparser.html">widget-htmlparser</a></li>
1245
<li><a href="../modules/widget-locale.html">widget-locale</a></li>
1247
<li><a href="../modules/widget-modality.html">widget-modality</a></li>
1249
<li><a href="../modules/widget-parent.html">widget-parent</a></li>
1251
<li><a href="../modules/widget-position.html">widget-position</a></li>
1253
<li><a href="../modules/widget-position-align.html">widget-position-align</a></li>
1255
<li><a href="../modules/widget-position-constrain.html">widget-position-constrain</a></li>
1257
<li><a href="../modules/widget-skin.html">widget-skin</a></li>
1259
<li><a href="../modules/widget-stack.html">widget-stack</a></li>
1261
<li><a href="../modules/widget-stdmod.html">widget-stdmod</a></li>
1263
<li><a href="../modules/widget-uievents.html">widget-uievents</a></li>
1265
<li><a href="../modules/yql.html">yql</a></li>
1267
<li><a href="../modules/yui.html">yui</a></li>
1269
<li><a href="../modules/yui-base.html">yui-base</a></li>
1271
<li><a href="../modules/yui-later.html">yui-later</a></li>
1273
<li><a href="../modules/yui-log.html">yui-log</a></li>
1275
<li><a href="../modules/yui-throttle.html">yui-throttle</a></li>
1277
<li><a href="../modules/yui3.html">yui3</a></li>
1286
<div class="yui3-u-3-4">
1287
<div id="api-options">
1289
<label for="api-show-inherited">
1290
<input type="checkbox" id="api-show-inherited" checked>
1294
<label for="api-show-protected">
1295
<input type="checkbox" id="api-show-protected">
1299
<label for="api-show-private">
1300
<input type="checkbox" id="api-show-private">
1306
<div class="apidocs">
1307
<div id="docs-main">
1308
<div class="content">
1309
<h1>DataSource.Function 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-function.js.html#l8"><code>datasource/js/datasource-function.js:8</code></a>
1327
Module: <a href="../modules/datasource-function.html">datasource-function</a><br>
1328
Parent Module: <a href="../modules/datasource.html">datasource</a>
1337
<div class="box intro">
1338
<p>Function subclass for the DataSource Utility.</p>
1342
<div class="constructor">
1343
<h2>Constructor</h2>
1344
<div id="method_DataSource.Function" class="method item">
1345
<h3 class="name"><code>DataSource.Function</code></h3>
1348
<span class="paren">()</span>
1374
<a href="../files/datasource_js_datasource-function.js.html#l8"><code>datasource/js/datasource-function.js:8</code></a>
1384
<div class="description">
1398
<div id="classdocs" class="tabview">
1399
<ul class="api-class-tabs">
1400
<li class="api-class-tab index"><a href="#index">Index</a></li>
1403
<li class="api-class-tab methods"><a href="#methods">Methods</a></li>
1406
<li class="api-class-tab properties"><a href="#properties">Properties</a></li>
1409
<li class="api-class-tab attrs"><a href="#attrs">Attributes</a></li>
1412
<li class="api-class-tab events"><a href="#events">Events</a></li>
1417
<div id="index" class="api-class-tabpanel index">
1418
<h2 class="off-left">Item Index</h2>
1421
<div class="index-section methods">
1424
<ul class="index-list methods">
1426
<li class="index-item method private inherited">
1427
<a href="#method__addAttrs">_addAttrs</a>
1432
<li class="index-item method private inherited">
1433
<a href="#method__addLazyAttr">_addLazyAttr</a>
1438
<li class="index-item method private inherited">
1439
<a href="#method__aggregateAttrs">_aggregateAttrs</a>
1444
<li class="index-item method private inherited inherited">
1445
<a href="#method__attrCfgHash">_attrCfgHash</a>
1450
<li class="index-item method private inherited">
1451
<a href="#method__baseDestroy">_baseDestroy</a>
1456
<li class="index-item method private inherited">
1457
<a href="#method__baseInit">_baseInit</a>
1462
<li class="index-item method private inherited">
1463
<a href="#method__defAttrChangeFn">_defAttrChangeFn</a>
1468
<li class="index-item method protected inherited">
1469
<a href="#method__defDataFn">_defDataFn</a>
1474
<li class="index-item method protected inherited">
1475
<a href="#method__defDestroyFn">_defDestroyFn</a>
1480
<li class="index-item method protected inherited">
1481
<a href="#method__defInitFn">_defInitFn</a>
1486
<li class="index-item method protected inherited">
1487
<a href="#method__defRequestFn">_defRequestFn</a>
1492
<li class="index-item method protected inherited">
1493
<a href="#method__defResponseFn">_defResponseFn</a>
1498
<li class="index-item method private inherited">
1499
<a href="#method__destroyHierarchy">_destroyHierarchy</a>
1504
<li class="index-item method private inherited">
1505
<a href="#method__filterAdHocAttrs">_filterAdHocAttrs</a>
1510
<li class="index-item method private inherited">
1511
<a href="#method__filterAttrCfs">_filterAttrCfs</a>
1516
<li class="index-item method private inherited">
1517
<a href="#method__fireAttrChange">_fireAttrChange</a>
1522
<li class="index-item method protected inherited">
1523
<a href="#method__getAttr">_getAttr</a>
1528
<li class="index-item method protected inherited">
1529
<a href="#method__getAttrCfg">_getAttrCfg</a>
1534
<li class="index-item method protected inherited">
1535
<a href="#method__getAttrCfgs">_getAttrCfgs</a>
1540
<li class="index-item method private inherited inherited">
1541
<a href="#method__getAttrInitVal">_getAttrInitVal</a>
1546
<li class="index-item method protected inherited">
1547
<a href="#method__getAttrs">_getAttrs</a>
1552
<li class="index-item method protected inherited">
1553
<a href="#method__getClasses">_getClasses</a>
1558
<li class="index-item method private inherited">
1559
<a href="#method__getStateVal">_getStateVal</a>
1564
<li class="index-item method private inherited">
1565
<a href="#method__getType">_getType</a>
1570
<li class="index-item method private inherited">
1571
<a href="#method__initAttrHost">_initAttrHost</a>
1576
<li class="index-item method private inherited inherited">
1577
<a href="#method__initAttribute">_initAttribute</a>
1582
<li class="index-item method protected inherited">
1583
<a href="#method__initAttrs">_initAttrs</a>
1588
<li class="index-item method private inherited inherited">
1589
<a href="#method__initBase">_initBase</a>
1594
<li class="index-item method private inherited">
1595
<a href="#method__initEvents">_initEvents</a>
1600
<li class="index-item method private inherited">
1601
<a href="#method__initHierarchy">_initHierarchy</a>
1606
<li class="index-item method private inherited">
1607
<a href="#method__initHierarchyData">_initHierarchyData</a>
1612
<li class="index-item method private inherited">
1613
<a href="#method__isLazyAttr">_isLazyAttr</a>
1618
<li class="index-item method private inherited">
1619
<a href="#method__monitor">_monitor</a>
1624
<li class="index-item method private inherited inherited">
1625
<a href="#method__normAttrVals">_normAttrVals</a>
1630
<li class="index-item method private inherited">
1631
<a href="#method__parseType">_parseType</a>
1636
<li class="index-item method private inherited">
1637
<a href="#method__preInitEventCfg">_preInitEventCfg</a>
1642
<li class="index-item method protected inherited">
1643
<a href="#method__protectAttrs">_protectAttrs</a>
1648
<li class="index-item method protected inherited inherited">
1649
<a href="#method__set">_set</a>
1654
<li class="index-item method protected inherited">
1655
<a href="#method__setAttr">_setAttr</a>
1660
<li class="index-item method protected inherited">
1661
<a href="#method__setAttrs">_setAttrs</a>
1666
<li class="index-item method private inherited">
1667
<a href="#method__setAttrVal">_setAttrVal</a>
1672
<li class="index-item method private inherited">
1673
<a href="#method__setStateVal">_setStateVal</a>
1678
<li class="index-item method inherited">
1679
<a href="#method_addAttr">addAttr</a>
1684
<li class="index-item method inherited">
1685
<a href="#method_addAttrs">addAttrs</a>
1690
<li class="index-item method inherited">
1691
<a href="#method_addTarget">addTarget</a>
1696
<li class="index-item method inherited">
1697
<a href="#method_after">after</a>
1702
<li class="index-item method inherited">
1703
<a href="#method_attrAdded">attrAdded</a>
1708
<li class="index-item method inherited">
1709
<a href="#method_before">before</a>
1714
<li class="index-item method inherited">
1715
<a href="#method_bubble">bubble</a>
1720
<li class="index-item method inherited inherited">
1721
<a href="#method_destroy">destroy</a>
1726
<li class="index-item method inherited">
1727
<a href="#method_detach">detach</a>
1732
<li class="index-item method inherited">
1733
<a href="#method_detachAll">detachAll</a>
1738
<li class="index-item method inherited">
1739
<a href="#method_fire">fire</a>
1744
<li class="index-item method inherited">
1745
<a href="#method_get">get</a>
1750
<li class="index-item method inherited">
1751
<a href="#method_getAttrs">getAttrs</a>
1756
<li class="index-item method inherited">
1757
<a href="#method_getEvent">getEvent</a>
1762
<li class="index-item method inherited">
1763
<a href="#method_getTargets">getTargets</a>
1768
<li class="index-item method inherited inherited">
1769
<a href="#method_init">init</a>
1774
<li class="index-item method private inherited">
1775
<a href="#method_initializer">initializer</a>
1780
<li class="index-item method inherited">
1781
<a href="#method_modifyAttr">modifyAttr</a>
1786
<li class="index-item method inherited">
1787
<a href="#method_on">on</a>
1792
<li class="index-item method inherited">
1793
<a href="#method_once">once</a>
1798
<li class="index-item method inherited">
1799
<a href="#method_onceAfter">onceAfter</a>
1804
<li class="index-item method inherited">
1805
<a href="#method_parseType">parseType</a>
1810
<li class="index-item method inherited">
1811
<a href="#method_publish">publish</a>
1816
<li class="index-item method inherited">
1817
<a href="#method_removeAttr">removeAttr</a>
1822
<li class="index-item method inherited">
1823
<a href="#method_removeTarget">removeTarget</a>
1828
<li class="index-item method inherited">
1829
<a href="#method_reset">reset</a>
1834
<li class="index-item method inherited">
1835
<a href="#method_sendRequest">sendRequest</a>
1840
<li class="index-item method inherited inherited">
1841
<a href="#method_set">set</a>
1846
<li class="index-item method inherited inherited">
1847
<a href="#method_setAttrs">setAttrs</a>
1852
<li class="index-item method deprecated inherited">
1853
<a href="#method_subscribe">subscribe</a>
1858
<li class="index-item method inherited">
1859
<a href="#method_toString">toString</a>
1864
<li class="index-item method deprecated inherited">
1865
<a href="#method_unsubscribe">unsubscribe</a>
1870
<li class="index-item method deprecated inherited">
1871
<a href="#method_unsubscribeAll">unsubscribeAll</a>
1881
<div class="index-section properties">
1884
<ul class="index-list properties">
1886
<li class="index-item property protected inherited">
1887
<a href="#property__allowAdHocAttrs">_allowAdHocAttrs</a>
1892
<li class="index-item property">
1893
<a href="#property_NAME">NAME</a>
1896
<span class="flag static">static</span>
1900
<li class="index-item property deprecated inherited">
1901
<a href="#property_name">name</a>
1911
<div class="index-section attrs">
1914
<ul class="index-list attrs">
1916
<li class="index-item attr inherited">
1917
<a href="#attr_destroyed">destroyed</a>
1920
<li class="index-item attr inherited">
1921
<a href="#attr_initialized">initialized</a>
1924
<li class="index-item attr inherited">
1925
<a href="#attr_source">source</a>
1933
<div class="index-section events">
1936
<ul class="index-list events">
1938
<li class="index-item event inherited">
1939
<a href="#event_data">data</a>
1944
<li class="index-item event inherited">
1945
<a href="#event_destroy">destroy</a>
1950
<li class="index-item event inherited">
1951
<a href="#event_error">error</a>
1956
<li class="index-item event inherited">
1957
<a href="#event_init">init</a>
1962
<li class="index-item event inherited">
1963
<a href="#event_request">request</a>
1968
<li class="index-item event inherited">
1969
<a href="#event_response">response</a>
1980
<div id="methods" class="api-class-tabpanel">
1981
<h2 class="off-left">Methods</h2>
1984
<div id="method__addAttrs" class="method item private inherited">
1985
<h3 class="name"><code>_addAttrs</code></h3>
1989
<span class="paren">(</span><ul class="args-list inline commas">
2009
</ul><span class="paren">)</span>
2018
<span class="flag private">private</span>
2031
<a href="../classes/AttributeCore.html#method__addAttrs">AttributeCore</a>:
2035
<a href="../files/attribute_js_AttributeCore.js.html#l740"><code>attribute/js/AttributeCore.js:740</code></a>
2045
<div class="description">
2046
<p>Implementation behind the public addAttrs method. </p>
2048
<p>This method is invoked directly by get if it encounters a scenario
2049
in which an attribute's valueFn attempts to obtain the
2050
value an attribute in the same group of attributes, which has not yet
2051
been added (on demand initialization).</p>
2055
<div class="params">
2056
<h4>Parameters:</h4>
2058
<ul class="params-list">
2062
<code class="param-name">cfgs</code>
2063
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2068
<div class="param-description">
2069
<p>An object with attribute name/configuration pairs.</p>
2077
<code class="param-name">values</code>
2078
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2083
<div class="param-description">
2084
<p>An object with attribute name/value pairs, defining the initial values to apply.
2085
Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p>
2093
<code class="param-name">lazy</code>
2094
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
2099
<div class="param-description">
2100
<p>Whether or not to delay the intialization of these attributes until the first call to get/set.
2101
Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration.
2102
See <a href="#method_addAttr">addAttr</a>.</p>
2118
<div id="method__addLazyAttr" class="method item private inherited">
2119
<h3 class="name"><code>_addLazyAttr</code></h3>
2123
<span class="paren">(</span><ul class="args-list inline commas">
2131
</ul><span class="paren">)</span>
2140
<span class="flag private">private</span>
2153
<a href="../classes/AttributeCore.html#method__addLazyAttr">AttributeCore</a>:
2157
<a href="../files/attribute_js_AttributeCore.js.html#l312"><code>attribute/js/AttributeCore.js:312</code></a>
2167
<div class="description">
2168
<p>Finishes initializing an attribute which has been lazily added.</p>
2172
<div class="params">
2173
<h4>Parameters:</h4>
2175
<ul class="params-list">
2179
<code class="param-name">name</code>
2180
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2185
<div class="param-description">
2186
<p>The name of the attribute</p>
2202
<div id="method__aggregateAttrs" class="method item private inherited">
2203
<h3 class="name"><code>_aggregateAttrs</code></h3>
2207
<span class="paren">(</span><ul class="args-list inline commas">
2211
<code>allAttrs</code>
2215
</ul><span class="paren">)</span>
2220
<span class="returns-inline">
2221
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2228
<span class="flag private">private</span>
2241
<a href="../classes/BaseCore.html#method__aggregateAttrs">BaseCore</a>:
2245
<a href="../files/base_js_BaseCore.js.html#l426"><code>base/js/BaseCore.js:426</code></a>
2255
<div class="description">
2256
<p>A helper method, used by _initHierarchyData to aggregate
2257
attribute configuration across the instances class hierarchy.</p>
2259
<p>The method will protect the attribute configuration value to protect the statically defined
2260
default value in ATTRS if required (if the value is an object literal, array or the
2261
attribute configuration has cloneDefaultValue set to shallow or deep).</p>
2265
<div class="params">
2266
<h4>Parameters:</h4>
2268
<ul class="params-list">
2272
<code class="param-name">allAttrs</code>
2273
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
2278
<div class="param-description">
2279
<p>An array of ATTRS definitions across classes in the hierarchy
2280
(subclass first, Base last)</p>
2291
<div class="returns">
2294
<div class="returns-description">
2297
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
2299
The aggregate set of ATTRS definitions for the instance
2309
<div id="method__attrCfgHash" class="method item private inherited">
2310
<h3 class="name"><code>_attrCfgHash</code></h3>
2313
<span class="paren">()</span>
2321
<span class="flag private">private</span>
2333
<a href="../classes/BaseCore.html#method__attrCfgHash">
2341
<a href="../files/base_js_Base.js.html#l180"><code>base/js/Base.js:180</code></a>
2351
<div class="description">
2352
<p>Utility method to define the attribute hash used to filter/whitelist property mixes for
2364
<div id="method__baseDestroy" class="method item private inherited">
2365
<h3 class="name"><code>_baseDestroy</code></h3>
2368
<span class="paren">()</span>
2376
<span class="flag private">private</span>
2389
<a href="../classes/BaseCore.html#method__baseDestroy">BaseCore</a>:
2393
<a href="../files/base_js_BaseCore.js.html#l263"><code>base/js/BaseCore.js:263</code></a>
2403
<div class="description">
2404
<p>Internal destroy implementation for BaseCore</p>
2415
<div id="method__baseInit" class="method item private inherited">
2416
<h3 class="name"><code>_baseInit</code></h3>
2419
<span class="paren">()</span>
2427
<span class="flag private">private</span>
2440
<a href="../classes/BaseCore.html#method__baseInit">BaseCore</a>:
2444
<a href="../files/base_js_BaseCore.js.html#l235"><code>base/js/BaseCore.js:235</code></a>
2454
<div class="description">
2455
<p>Internal initialization implementation for BaseCore</p>
2466
<div id="method__defAttrChangeFn" class="method item private inherited">
2467
<h3 class="name"><code>_defAttrChangeFn</code></h3>
2471
<span class="paren">(</span><ul class="args-list inline commas">
2479
</ul><span class="paren">)</span>
2488
<span class="flag private">private</span>
2501
<a href="../classes/AttributeEvents.html#method__defAttrChangeFn">AttributeEvents</a>:
2505
<a href="../files/attribute_js_AttributeEvents.js.html#l148"><code>attribute/js/AttributeEvents.js:148</code></a>
2515
<div class="description">
2516
<p>Default function for attribute change events.</p>
2520
<div class="params">
2521
<h4>Parameters:</h4>
2523
<ul class="params-list">
2527
<code class="param-name">e</code>
2528
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2533
<div class="param-description">
2534
<p>The event object for attribute change events.</p>
2550
<div id="method__defDataFn" class="method item protected inherited">
2551
<h3 class="name"><code>_defDataFn</code></h3>
2555
<span class="paren">(</span><ul class="args-list inline commas">
2563
</ul><span class="paren">)</span>
2572
<span class="flag protected">protected</span>
2585
<a href="../classes/DataSource.Local.html#method__defDataFn">DataSource.Local</a>:
2589
<a href="../files/datasource_js_datasource-local.js.html#l279"><code>datasource/js/datasource-local.js:279</code></a>
2599
<div class="description">
2600
<p>Normalizes raw data into a response that includes results and meta properties.</p>
2604
<div class="params">
2605
<h4>Parameters:</h4>
2607
<ul class="params-list">
2611
<code class="param-name">e</code>
2612
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
2617
<div class="param-description">
2618
<p>Event Facade with the following properties:</p>
2621
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>
2622
<dt>request (Object)</dt> <dd>The request.</dd>
2623
<dt>callback (Object)</dt> <dd>Deprecated alias for the
2624
<strong>on</strong> property</dd>
2625
<dt>on (Object)</dt> <dd>The map of configured transaction
2626
callbacks. An object with the following properties:
2628
<dt>success (Function)</dt> <dd>Success handler.</dd>
2629
<dt>failure (Function)</dt> <dd>Failure handler.</dd>
2632
<dt>cfg (Object)</dt> <dd>Configuration object.</dd>
2633
<dt>data (Object)</dt> <dd>Raw data.</dd>
2650
<div id="method__defDestroyFn" class="method item protected inherited">
2651
<h3 class="name"><code>_defDestroyFn</code></h3>
2655
<span class="paren">(</span><ul class="args-list inline commas">
2663
</ul><span class="paren">)</span>
2672
<span class="flag protected">protected</span>
2685
<a href="../classes/Base.html#method__defDestroyFn">Base</a>:
2689
<a href="../files/base_js_Base.js.html#l325"><code>base/js/Base.js:325</code></a>
2699
<div class="description">
2700
<p>Default destroy event handler</p>
2704
<div class="params">
2705
<h4>Parameters:</h4>
2707
<ul class="params-list">
2711
<code class="param-name">e</code>
2712
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2717
<div class="param-description">
2734
<div id="method__defInitFn" class="method item protected inherited">
2735
<h3 class="name"><code>_defInitFn</code></h3>
2739
<span class="paren">(</span><ul class="args-list inline commas">
2747
</ul><span class="paren">)</span>
2756
<span class="flag protected">protected</span>
2769
<a href="../classes/Base.html#method__defInitFn">Base</a>:
2773
<a href="../files/base_js_Base.js.html#l313"><code>base/js/Base.js:313</code></a>
2783
<div class="description">
2784
<p>Default init event handler</p>
2788
<div class="params">
2789
<h4>Parameters:</h4>
2791
<ul class="params-list">
2795
<code class="param-name">e</code>
2796
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2801
<div class="param-description">
2802
<p>Event object, with a cfg property which
2803
refers to the configuration object passed to the constructor.</p>
2819
<div id="method__defRequestFn" class="method item protected">
2820
<h3 class="name"><code>_defRequestFn</code></h3>
2824
<span class="paren">(</span><ul class="args-list inline commas">
2832
</ul><span class="paren">)</span>
2841
<span class="flag protected">protected</span>
2853
<a href="../classes/DataSource.Local.html#method__defRequestFn">
2861
<a href="../files/datasource_js_datasource-function.js.html#l59"><code>datasource/js/datasource-function.js:59</code></a>
2871
<div class="description">
2872
<p>Passes query string to IO. Fires <code>response</code> event when
2873
response is received asynchronously.</p>
2877
<div class="params">
2878
<h4>Parameters:</h4>
2880
<ul class="params-list">
2884
<code class="param-name">e</code>
2885
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
2890
<div class="param-description">
2891
<p>Event Facade with the following properties:</p>
2894
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>
2895
<dt>request (Object)</dt> <dd>The request.</dd>
2896
<dt>callback (Object)</dt> <dd>The callback object with the following properties:
2898
<dt>success (Function)</dt> <dd>Success handler.</dd>
2899
<dt>failure (Function)</dt> <dd>Failure handler.</dd>
2902
<dt>cfg (Object)</dt> <dd>Configuration object.</dd>
2919
<div id="method__defResponseFn" class="method item protected inherited">
2920
<h3 class="name"><code>_defResponseFn</code></h3>
2924
<span class="paren">(</span><ul class="args-list inline commas">
2932
</ul><span class="paren">)</span>
2941
<span class="flag protected">protected</span>
2954
<a href="../classes/DataSource.Local.html#method__defResponseFn">DataSource.Local</a>:
2958
<a href="../files/datasource_js_datasource-local.js.html#l314"><code>datasource/js/datasource-local.js:314</code></a>
2968
<div class="description">
2969
<p>Sends data as a normalized response to callback.</p>
2973
<div class="params">
2974
<h4>Parameters:</h4>
2976
<ul class="params-list">
2980
<code class="param-name">e</code>
2981
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
2986
<div class="param-description">
2987
<p>Event Facade with the following properties:</p>
2990
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>
2991
<dt>request (Object)</dt> <dd>The request.</dd>
2992
<dt>callback (Object)</dt> <dd>Deprecated alias for the
2993
<strong>on</strong> property</dd>
2994
<dt>on (Object)</dt> <dd>The map of configured transaction
2995
callbacks. An object with the following properties:
2997
<dt>success (Function)</dt> <dd>Success handler.</dd>
2998
<dt>failure (Function)</dt> <dd>Failure handler.</dd>
3001
<dt>cfg (Object)</dt> <dd>Configuration object.</dd>
3002
<dt>data (Object)</dt> <dd>Raw data.</dd>
3003
<dt>response (Object)</dt> <dd>Normalized response object with the following properties:
3005
<dt>results (Object)</dt> <dd>Parsed results.</dd>
3006
<dt>meta (Object)</dt> <dd>Parsed meta data.</dd>
3007
<dt>error (Boolean)</dt> <dd>Error flag.</dd>
3026
<div id="method__destroyHierarchy" class="method item private inherited">
3027
<h3 class="name"><code>_destroyHierarchy</code></h3>
3030
<span class="paren">()</span>
3038
<span class="flag private">private</span>
3051
<a href="../classes/BaseCore.html#method__destroyHierarchy">BaseCore</a>:
3055
<a href="../files/base_js_BaseCore.js.html#l559"><code>base/js/BaseCore.js:559</code></a>
3065
<div class="description">
3066
<p>Destroys the class hierarchy for this instance by invoking
3067
the destructor method on the prototype of each class in the hierarchy.</p>
3078
<div id="method__filterAdHocAttrs" class="method item private inherited">
3079
<h3 class="name"><code>_filterAdHocAttrs</code></h3>
3083
<span class="paren">(</span><ul class="args-list inline commas">
3087
<code>allAttrs</code>
3093
<code>userVals</code>
3097
</ul><span class="paren">)</span>
3102
<span class="returns-inline">
3103
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3110
<span class="flag private">private</span>
3123
<a href="../classes/BaseCore.html#method__filterAdHocAttrs">BaseCore</a>:
3127
<a href="../files/base_js_BaseCore.js.html#l342"><code>base/js/BaseCore.js:342</code></a>
3137
<div class="description">
3142
<div class="params">
3143
<h4>Parameters:</h4>
3145
<ul class="params-list">
3149
<code class="param-name">allAttrs</code>
3150
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3155
<div class="param-description">
3156
<p>The set of all attribute configurations for this instance.
3157
Attributes will be removed from this set, if they belong to the filtered class, so
3158
that by the time all classes are processed, allCfgs will be empty.</p>
3166
<code class="param-name">userVals</code>
3167
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3172
<div class="param-description">
3173
<p>The config object passed in by the user, from which adhoc attrs are to be filtered.</p>
3184
<div class="returns">
3187
<div class="returns-description">
3190
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3192
The set of adhoc attributes passed in, in the form
3193
of an object with attribute name/configuration pairs.
3203
<div id="method__filterAttrCfs" class="method item private inherited">
3204
<h3 class="name"><code>_filterAttrCfs</code></h3>
3208
<span class="paren">(</span><ul class="args-list inline commas">
3218
<code>allCfgs</code>
3222
</ul><span class="paren">)</span>
3227
<span class="returns-inline">
3228
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3235
<span class="flag private">private</span>
3248
<a href="../classes/BaseCore.html#method__filterAttrCfs">BaseCore</a>:
3252
<a href="../files/base_js_BaseCore.js.html#l310"><code>base/js/BaseCore.js:310</code></a>
3262
<div class="description">
3263
<p>A helper method used when processing ATTRS across the class hierarchy during
3264
initialization. Returns a disposable object with the attributes defined for
3265
the provided class, extracted from the set of all attributes passed in.</p>
3269
<div class="params">
3270
<h4>Parameters:</h4>
3272
<ul class="params-list">
3276
<code class="param-name">clazz</code>
3277
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
3282
<div class="param-description">
3283
<p>The class for which the desired attributes are required.</p>
3291
<code class="param-name">allCfgs</code>
3292
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3297
<div class="param-description">
3298
<p>The set of all attribute configurations for this instance.
3299
Attributes will be removed from this set, if they belong to the filtered class, so
3300
that by the time all classes are processed, allCfgs will be empty.</p>
3311
<div class="returns">
3314
<div class="returns-description">
3317
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3319
The set of attributes belonging to the class passed in, in the form
3320
of an object with attribute name/configuration pairs.
3330
<div id="method__fireAttrChange" class="method item private inherited">
3331
<h3 class="name"><code>_fireAttrChange</code></h3>
3335
<span class="paren">(</span><ul class="args-list inline commas">
3339
<code>attrName</code>
3345
<code>subAttrName</code>
3351
<code>currVal</code>
3367
</ul><span class="paren">)</span>
3376
<span class="flag private">private</span>
3389
<a href="../classes/AttributeEvents.html#method__fireAttrChange">AttributeEvents</a>:
3393
<a href="../files/attribute_js_AttributeEvents.js.html#l94"><code>attribute/js/AttributeEvents.js:94</code></a>
3403
<div class="description">
3404
<p>Utility method to help setup the event payload and fire the attribute change event.</p>
3408
<div class="params">
3409
<h4>Parameters:</h4>
3411
<ul class="params-list">
3415
<code class="param-name">attrName</code>
3416
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3421
<div class="param-description">
3422
<p>The name of the attribute</p>
3430
<code class="param-name">subAttrName</code>
3431
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3436
<div class="param-description">
3437
<p>The full path of the property being changed,
3438
if this is a sub-attribute value being change. Otherwise null.</p>
3446
<code class="param-name">currVal</code>
3447
<span class="type">Any</span>
3452
<div class="param-description">
3453
<p>The current value of the attribute</p>
3461
<code class="param-name">newVal</code>
3462
<span class="type">Any</span>
3467
<div class="param-description">
3468
<p>The new value of the attribute</p>
3476
<code class="param-name">opts</code>
3477
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3482
<div class="param-description">
3483
<p>Any additional event data to mix into the attribute change event's event facade.</p>
3499
<div id="method__getAttr" class="method item protected inherited">
3500
<h3 class="name"><code>_getAttr</code></h3>
3504
<span class="paren">(</span><ul class="args-list inline commas">
3512
</ul><span class="paren">)</span>
3517
<span class="returns-inline">
3518
<span class="type">Any</span>
3525
<span class="flag protected">protected</span>
3533
<span class="flag chainable">chainable</span>
3540
<a href="../classes/AttributeCore.html#method__getAttr">AttributeCore</a>:
3544
<a href="../files/attribute_js_AttributeCore.js.html#l468"><code>attribute/js/AttributeCore.js:468</code></a>
3554
<div class="description">
3555
<p>Provides the common implementation for the public get method,
3556
allowing Attribute hosts to over-ride either method.</p>
3558
<p>See <a href="#method_get">get</a> for argument details.</p>
3562
<div class="params">
3563
<h4>Parameters:</h4>
3565
<ul class="params-list">
3569
<code class="param-name">name</code>
3570
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3575
<div class="param-description">
3576
<p>The name of the attribute.</p>
3587
<div class="returns">
3590
<div class="returns-description">
3593
<span class="type">Any</span>:
3595
The value of the attribute.
3605
<div id="method__getAttrCfg" class="method item protected inherited">
3606
<h3 class="name"><code>_getAttrCfg</code></h3>
3610
<span class="paren">(</span><ul class="args-list inline commas">
3618
</ul><span class="paren">)</span>
3623
<span class="returns-inline">
3624
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3631
<span class="flag protected">protected</span>
3644
<a href="../classes/AttributeExtras.html#method__getAttrCfg">AttributeExtras</a>:
3648
<a href="../files/attribute_js_AttributeExtras.js.html#l112"><code>attribute/js/AttributeExtras.js:112</code></a>
3658
<div class="description">
3659
<p>Returns an object with the configuration properties (and value)
3660
for the given attribute. If attrName is not provided, returns the
3661
configuration properties for all attributes.</p>
3665
<div class="params">
3666
<h4>Parameters:</h4>
3668
<ul class="params-list">
3672
<code class="param-name">name</code>
3673
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3678
<div class="param-description">
3679
<p>Optional. The attribute name. If not provided, the method will return the configuration for all attributes.</p>
3690
<div class="returns">
3693
<div class="returns-description">
3696
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3698
The configuration properties for the given attribute, or all attributes.
3708
<div id="method__getAttrCfgs" class="method item protected inherited">
3709
<h3 class="name"><code>_getAttrCfgs</code></h3>
3712
<span class="paren">()</span>
3716
<span class="returns-inline">
3717
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3724
<span class="flag protected">protected</span>
3737
<a href="../classes/BaseCore.html#method__getAttrCfgs">BaseCore</a>:
3741
<a href="../files/base_js_BaseCore.js.html#l293"><code>base/js/BaseCore.js:293</code></a>
3751
<div class="description">
3752
<p>Returns an aggregated set of attribute configurations, by traversing
3753
the class hierarchy.</p>
3759
<div class="returns">
3762
<div class="returns-description">
3765
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3767
The hash of attribute configurations, aggregated across classes in the hierarchy
3768
This value is cached the first time the method, or _getClasses, is invoked. Subsequent invocations return
3779
<div id="method__getAttrInitVal" class="method item private inherited">
3780
<h3 class="name"><code>_getAttrInitVal</code></h3>
3784
<span class="paren">(</span><ul class="args-list inline commas">
3800
<code>initValues</code>
3804
</ul><span class="paren">)</span>
3809
<span class="returns-inline">
3810
<span class="type">Any</span>
3817
<span class="flag private">private</span>
3829
<a href="../classes/AttributeCore.html#method__getAttrInitVal">
3837
<a href="../files/attribute_js_ComplexAttribute.js.html#l58"><code>attribute/js/ComplexAttribute.js:58</code></a>
3847
<div class="description">
3848
<p>Returns the initial value of the given attribute from
3849
either the default configuration provided, or the
3850
over-ridden value if it exists in the set of initValues
3851
provided and the attribute is not read-only.</p>
3855
<div class="params">
3856
<h4>Parameters:</h4>
3858
<ul class="params-list">
3862
<code class="param-name">attr</code>
3863
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3868
<div class="param-description">
3869
<p>The name of the attribute</p>
3877
<code class="param-name">cfg</code>
3878
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3883
<div class="param-description">
3884
<p>The attribute configuration object</p>
3892
<code class="param-name">initValues</code>
3893
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3898
<div class="param-description">
3899
<p>The object with simple and complex attribute name/value pairs returned from _normAttrVals</p>
3910
<div class="returns">
3913
<div class="returns-description">
3916
<span class="type">Any</span>:
3918
The initial value of the attribute.
3928
<div id="method__getAttrs" class="method item protected inherited">
3929
<h3 class="name"><code>_getAttrs</code></h3>
3933
<span class="paren">(</span><ul class="args-list inline commas">
3941
</ul><span class="paren">)</span>
3946
<span class="returns-inline">
3947
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3954
<span class="flag protected">protected</span>
3967
<a href="../classes/AttributeCore.html#method__getAttrs">AttributeCore</a>:
3971
<a href="../files/attribute_js_AttributeCore.js.html#l677"><code>attribute/js/AttributeCore.js:677</code></a>
3981
<div class="description">
3982
<p>Implementation behind the public getAttrs method, to get multiple attribute values.</p>
3986
<div class="params">
3987
<h4>Parameters:</h4>
3989
<ul class="params-list">
3993
<code class="param-name">attrs</code>
3994
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span>
3999
<div class="param-description">
4000
<p>Optional. An array of attribute names. If omitted, all attribute values are
4001
returned. If set to true, all attributes modified from their initial values are returned.</p>
4012
<div class="returns">
4015
<div class="returns-description">
4018
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
4020
An object with attribute name/value pairs.
4030
<div id="method__getClasses" class="method item protected inherited">
4031
<h3 class="name"><code>_getClasses</code></h3>
4034
<span class="paren">()</span>
4038
<span class="returns-inline">
4039
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>
4046
<span class="flag protected">protected</span>
4059
<a href="../classes/BaseCore.html#method__getClasses">BaseCore</a>:
4063
<a href="../files/base_js_BaseCore.js.html#l277"><code>base/js/BaseCore.js:277</code></a>
4073
<div class="description">
4074
<p>Returns the class hierarchy for this object, with BaseCore being the last class in the array.</p>
4080
<div class="returns">
4083
<div class="returns-description">
4086
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>:
4088
An array of classes (constructor functions), making up the class hierarchy for this object.
4089
This value is cached the first time the method, or _getAttrCfgs, is invoked. Subsequent invocations return the
4100
<div id="method__getStateVal" class="method item private inherited">
4101
<h3 class="name"><code>_getStateVal</code></h3>
4105
<span class="paren">(</span><ul class="args-list inline commas">
4113
</ul><span class="paren">)</span>
4118
<span class="returns-inline">
4119
<span class="type">Any</span>
4126
<span class="flag private">private</span>
4139
<a href="../classes/AttributeCore.html#method__getStateVal">AttributeCore</a>:
4143
<a href="../files/attribute_js_AttributeCore.js.html#l522"><code>attribute/js/AttributeCore.js:522</code></a>
4153
<div class="description">
4154
<p>Gets the stored value for the attribute, from either the
4155
internal state object, or the state proxy if it exits</p>
4159
<div class="params">
4160
<h4>Parameters:</h4>
4162
<ul class="params-list">
4166
<code class="param-name">name</code>
4167
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4172
<div class="param-description">
4173
<p>The name of the attribute</p>
4184
<div class="returns">
4187
<div class="returns-description">
4190
<span class="type">Any</span>:
4192
The stored value of the attribute
4202
<div id="method__getType" class="method item private inherited">
4203
<h3 class="name"><code>_getType</code></h3>
4206
<span class="paren">()</span>
4214
<span class="flag private">private</span>
4227
<a href="../classes/EventTarget.html#method__getType">EventTarget</a>:
4231
<a href="../files/event-custom_js_event-target.js.html#l36"><code>event-custom/js/event-target.js:36</code></a>
4241
<div class="description">
4242
<p>If the instance has a prefix attribute and the
4243
event type is not prefixed, the instance prefix is
4244
applied to the supplied type.</p>
4255
<div id="method__initAttrHost" class="method item private inherited">
4256
<h3 class="name"><code>_initAttrHost</code></h3>
4260
<span class="paren">(</span><ul class="args-list inline commas">
4280
</ul><span class="paren">)</span>
4289
<span class="flag private">private</span>
4302
<a href="../classes/AttributeCore.html#method__initAttrHost">AttributeCore</a>:
4306
<a href="../files/attribute_js_AttributeCore.js.html#l109"><code>attribute/js/AttributeCore.js:109</code></a>
4316
<div class="description">
4317
<p>Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the
4322
<div class="params">
4323
<h4>Parameters:</h4>
4325
<ul class="params-list">
4329
<code class="param-name">attrs</code>
4330
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4335
<div class="param-description">
4336
<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>
4344
<code class="param-name">values</code>
4345
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4350
<div class="param-description">
4351
<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>
4359
<code class="param-name">lazy</code>
4360
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4365
<div class="param-description">
4366
<p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p>
4382
<div id="method__initAttribute" class="method item private inherited">
4383
<h3 class="name"><code>_initAttribute</code></h3>
4386
<span class="paren">()</span>
4394
<span class="flag private">private</span>
4406
<a href="../classes/BaseCore.html#method__initAttribute">
4414
<a href="../files/base_js_Base.js.html#l169"><code>base/js/Base.js:169</code></a>
4424
<div class="description">
4425
<p>Initializes Attribute</p>
4436
<div id="method__initAttrs" class="method item protected inherited">
4437
<h3 class="name"><code>_initAttrs</code></h3>
4441
<span class="paren">(</span><ul class="args-list inline commas">
4461
</ul><span class="paren">)</span>
4470
<span class="flag protected">protected</span>
4483
<a href="../classes/AttributeCore.html#method__initAttrs">AttributeCore</a>:
4487
<a href="../files/attribute_js_AttributeCore.js.html#l862"><code>attribute/js/AttributeCore.js:862</code></a>
4497
<div class="description">
4498
<p>Utility method to set up initial attributes defined during construction, either through the constructor.ATTRS property, or explicitly passed in.</p>
4502
<div class="params">
4503
<h4>Parameters:</h4>
4505
<ul class="params-list">
4509
<code class="param-name">attrs</code>
4510
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4515
<div class="param-description">
4516
<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>
4524
<code class="param-name">values</code>
4525
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4530
<div class="param-description">
4531
<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>
4539
<code class="param-name">lazy</code>
4540
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4545
<div class="param-description">
4546
<p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p>
4562
<div id="method__initBase" class="method item private inherited">
4563
<h3 class="name"><code>_initBase</code></h3>
4567
<span class="paren">(</span><ul class="args-list inline commas">
4575
</ul><span class="paren">)</span>
4584
<span class="flag private">private</span>
4596
<a href="../classes/BaseCore.html#method__initBase">
4604
<a href="../files/base_js_Base.js.html#l154"><code>base/js/Base.js:154</code></a>
4614
<div class="description">
4615
<p>Internal construction logic for Base.</p>
4619
<div class="params">
4620
<h4>Parameters:</h4>
4622
<ul class="params-list">
4626
<code class="param-name">config</code>
4627
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4632
<div class="param-description">
4633
<p>The constructor configuration object</p>
4649
<div id="method__initEvents" class="method item private inherited">
4650
<h3 class="name"><code>_initEvents</code></h3>
4653
<span class="paren">()</span>
4661
<span class="flag private">private</span>
4674
<a href="../classes/DataSource.Local.html#method__initEvents">DataSource.Local</a>:
4678
<a href="../files/datasource_js_datasource-local.js.html#l124"><code>datasource/js/datasource-local.js:124</code></a>
4688
<div class="description">
4689
<p>This method creates all the events for this module.</p>
4700
<div id="method__initHierarchy" class="method item private inherited">
4701
<h3 class="name"><code>_initHierarchy</code></h3>
4705
<span class="paren">(</span><ul class="args-list inline commas">
4709
<code>userVals</code>
4713
</ul><span class="paren">)</span>
4722
<span class="flag private">private</span>
4735
<a href="../classes/BaseCore.html#method__initHierarchy">BaseCore</a>:
4739
<a href="../files/base_js_BaseCore.js.html#l501"><code>base/js/BaseCore.js:501</code></a>
4749
<div class="description">
4750
<p>Initializes the class hierarchy for the instance, which includes
4751
initializing attributes for each class defined in the class's
4752
static <a href="#property_BaseCore.ATTRS">ATTRS</a> property and
4753
invoking the initializer method on the prototype of each class in the hierarchy.</p>
4757
<div class="params">
4758
<h4>Parameters:</h4>
4760
<ul class="params-list">
4764
<code class="param-name">userVals</code>
4765
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4770
<div class="param-description">
4771
<p>Object with configuration property name/value pairs</p>
4787
<div id="method__initHierarchyData" class="method item private inherited">
4788
<h3 class="name"><code>_initHierarchyData</code></h3>
4791
<span class="paren">()</span>
4799
<span class="flag private">private</span>
4812
<a href="../classes/BaseCore.html#method__initHierarchyData">BaseCore</a>:
4816
<a href="../files/base_js_BaseCore.js.html#l372"><code>base/js/BaseCore.js:372</code></a>
4826
<div class="description">
4827
<p>A helper method used by _getClasses and _getAttrCfgs, which determines both
4828
the array of classes and aggregate set of attribute configurations
4829
across the class hierarchy for the instance.</p>
4840
<div id="method__isLazyAttr" class="method item private inherited">
4841
<h3 class="name"><code>_isLazyAttr</code></h3>
4845
<span class="paren">(</span><ul class="args-list inline commas">
4853
</ul><span class="paren">)</span>
4858
<span class="returns-inline">
4859
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4866
<span class="flag private">private</span>
4879
<a href="../classes/AttributeCore.html#method__isLazyAttr">AttributeCore</a>:
4883
<a href="../files/attribute_js_AttributeCore.js.html#l299"><code>attribute/js/AttributeCore.js:299</code></a>
4893
<div class="description">
4894
<p>Checks whether or not the attribute is one which has been
4895
added lazily and still requires initialization.</p>
4899
<div class="params">
4900
<h4>Parameters:</h4>
4902
<ul class="params-list">
4906
<code class="param-name">name</code>
4907
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4912
<div class="param-description">
4913
<p>The name of the attribute</p>
4924
<div class="returns">
4927
<div class="returns-description">
4930
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
4932
true if it's a lazily added attribute, false otherwise.
4942
<div id="method__monitor" class="method item private inherited">
4943
<h3 class="name"><code>_monitor</code></h3>
4947
<span class="paren">(</span><ul class="args-list inline commas">
4967
</ul><span class="paren">)</span>
4976
<span class="flag private">private</span>
4989
<a href="../classes/EventTarget.html#method__monitor">EventTarget</a>:
4993
<a href="../files/event-custom_js_event-target.js.html#l602"><code>event-custom/js/event-target.js:602</code></a>
5003
<div class="description">
5004
<p>This is the entry point for the event monitoring system.
5005
You can monitor 'attach', 'detach', 'fire', and 'publish'.
5006
When configured, these events generate an event. click ->
5007
click<em>attach, click</em>detach, click_publish -- these can
5008
be subscribed to like other events to monitor the event
5009
system. Inividual published events can have monitoring
5010
turned on or off (publish can't be turned off before it
5011
it published) by setting the events 'monitor' config.</p>
5015
<div class="params">
5016
<h4>Parameters:</h4>
5018
<ul class="params-list">
5022
<code class="param-name">what</code>
5023
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5028
<div class="param-description">
5029
<p>'attach', 'detach', 'fire', or 'publish'</p>
5037
<code class="param-name">type</code>
5038
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5043
<div class="param-description">
5044
<p>Name of the event being monitored</p>
5052
<code class="param-name">o</code>
5053
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5058
<div class="param-description">
5059
<p>Information about the event interaction, such as
5060
fire() args, subscription category, publish config</p>
5076
<div id="method__normAttrVals" class="method item private inherited">
5077
<h3 class="name"><code>_normAttrVals</code></h3>
5081
<span class="paren">(</span><ul class="args-list inline commas">
5085
<code>valueHash</code>
5089
</ul><span class="paren">)</span>
5094
<span class="returns-inline">
5095
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5102
<span class="flag private">private</span>
5114
<a href="../classes/AttributeCore.html#method__normAttrVals">
5122
<a href="../files/attribute_js_ComplexAttribute.js.html#l15"><code>attribute/js/ComplexAttribute.js:15</code></a>
5132
<div class="description">
5133
<p>Utility method to split out simple attribute name/value pairs ("x")
5134
from complex attribute name/value pairs ("x.y.z"), so that complex
5135
attributes can be keyed by the top level attribute name.</p>
5139
<div class="params">
5140
<h4>Parameters:</h4>
5142
<ul class="params-list">
5146
<code class="param-name">valueHash</code>
5147
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5152
<div class="param-description">
5153
<p>An object with attribute name/value pairs</p>
5164
<div class="returns">
5167
<div class="returns-description">
5170
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5172
An object literal with 2 properties - "simple" and "complex",
5173
containing simple and complex attribute values respectively keyed
5174
by the top level attribute name, or null, if valueHash is falsey.
5184
<div id="method__parseType" class="method item private inherited">
5185
<h3 class="name"><code>_parseType</code></h3>
5188
<span class="paren">()</span>
5196
<span class="flag private">private</span>
5209
<a href="../classes/EventTarget.html#method__parseType">EventTarget</a>:
5213
<a href="../files/event-custom_js_event-target.js.html#l52"><code>event-custom/js/event-target.js:52</code></a>
5223
<div class="description">
5224
<p>Returns an array with the detach key (if provided),
5225
and the prefixed event name from _getType
5226
Y.on('detachcategory| menu:click', fn)</p>
5237
<div id="method__preInitEventCfg" class="method item private inherited">
5238
<h3 class="name"><code>_preInitEventCfg</code></h3>
5242
<span class="paren">(</span><ul class="args-list inline commas">
5250
</ul><span class="paren">)</span>
5259
<span class="flag private">private</span>
5272
<a href="../classes/Base.html#method__preInitEventCfg">Base</a>:
5276
<a href="../files/base_js_Base.js.html#l233"><code>base/js/Base.js:233</code></a>
5286
<div class="description">
5287
<p>Handles the special on, after and target properties which allow the user to
5288
easily configure on and after listeners as well as bubble targets during
5289
construction, prior to init.</p>
5293
<div class="params">
5294
<h4>Parameters:</h4>
5296
<ul class="params-list">
5300
<code class="param-name">config</code>
5301
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5306
<div class="param-description">
5307
<p>The user configuration object</p>
5323
<div id="method__protectAttrs" class="method item protected inherited">
5324
<h3 class="name"><code>_protectAttrs</code></h3>
5328
<span class="paren">(</span><ul class="args-list inline commas">
5336
</ul><span class="paren">)</span>
5341
<span class="returns-inline">
5342
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5349
<span class="flag protected">protected</span>
5362
<a href="../classes/AttributeCore.html#method__protectAttrs">AttributeCore</a>:
5366
<a href="../files/attribute_js_AttributeCore.js.html#l786"><code>attribute/js/AttributeCore.js:786</code></a>
5376
<div class="description">
5377
<p>Utility method to protect an attribute configuration
5378
hash, by merging the entire object and the individual
5379
attr config objects.</p>
5383
<div class="params">
5384
<h4>Parameters:</h4>
5386
<ul class="params-list">
5390
<code class="param-name">attrs</code>
5391
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5396
<div class="param-description">
5397
<p>A hash of attribute to configuration object pairs.</p>
5408
<div class="returns">
5411
<div class="returns-description">
5414
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5416
A protected version of the attrs argument.
5426
<div id="method__set" class="method item protected inherited">
5427
<h3 class="name"><code>_set</code></h3>
5431
<span class="paren">(</span><ul class="args-list inline commas">
5451
</ul><span class="paren">)</span>
5456
<span class="returns-inline">
5457
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5464
<span class="flag protected">protected</span>
5472
<span class="flag chainable">chainable</span>
5478
<a href="../classes/AttributeCore.html#method__set">
5486
<a href="../files/attribute_js_AttributeEvents.js.html#l65"><code>attribute/js/AttributeEvents.js:65</code></a>
5496
<div class="description">
5497
<p>Allows setting of readOnly/writeOnce attributes. See <a href="#method_set">set</a> for argument details.</p>
5501
<div class="params">
5502
<h4>Parameters:</h4>
5504
<ul class="params-list">
5508
<code class="param-name">name</code>
5509
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5514
<div class="param-description">
5515
<p>The name of the attribute.</p>
5523
<code class="param-name">val</code>
5524
<span class="type">Any</span>
5529
<div class="param-description">
5530
<p>The value to set the attribute to.</p>
5538
<code class="param-name">opts</code>
5539
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5544
<div class="param-description">
5545
<p>(Optional) Optional event data to be mixed into
5546
the event facade passed to subscribers of the attribute's change event.</p>
5557
<div class="returns">
5560
<div class="returns-description">
5563
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5565
A reference to the host object.
5575
<div id="method__setAttr" class="method item protected inherited">
5576
<h3 class="name"><code>_setAttr</code></h3>
5580
<span class="paren">(</span><ul class="args-list inline commas">
5606
</ul><span class="paren">)</span>
5611
<span class="returns-inline">
5612
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5619
<span class="flag protected">protected</span>
5627
<span class="flag chainable">chainable</span>
5634
<a href="../classes/AttributeCore.html#method__setAttr">AttributeCore</a>:
5638
<a href="../files/attribute_js_AttributeCore.js.html#l361"><code>attribute/js/AttributeCore.js:361</code></a>
5648
<div class="description">
5649
<p>Provides the common implementation for the public set and protected _set methods.</p>
5651
<p>See <a href="#method_set">set</a> for argument details.</p>
5655
<div class="params">
5656
<h4>Parameters:</h4>
5658
<ul class="params-list">
5662
<code class="param-name">name</code>
5663
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5668
<div class="param-description">
5669
<p>The name of the attribute.</p>
5677
<code class="param-name">value</code>
5678
<span class="type">Any</span>
5683
<div class="param-description">
5684
<p>The value to set the attribute to.</p>
5692
<code class="param-name">opts</code>
5693
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5698
<div class="param-description">
5699
<p>(Optional) Optional event data to be mixed into
5700
the event facade passed to subscribers of the attribute's change event.
5701
This is currently a hack. There's no real need for the AttributeCore implementation
5702
to support this parameter, but breaking it out into AttributeEvents, results in
5703
additional function hops for the critical path. May change in 3.5.0 PR3.</p>
5711
<code class="param-name">force</code>
5712
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
5717
<div class="param-description">
5718
<p>If true, allows the caller to set values for
5719
readOnly or writeOnce attributes which have already been set.</p>
5730
<div class="returns">
5733
<div class="returns-description">
5736
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5738
A reference to the host object.
5748
<div id="method__setAttrs" class="method item protected inherited">
5749
<h3 class="name"><code>_setAttrs</code></h3>
5753
<span class="paren">(</span><ul class="args-list inline commas">
5761
</ul><span class="paren">)</span>
5766
<span class="returns-inline">
5767
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5774
<span class="flag protected">protected</span>
5782
<span class="flag chainable">chainable</span>
5789
<a href="../classes/AttributeCore.html#method__setAttrs">AttributeCore</a>:
5793
<a href="../files/attribute_js_AttributeCore.js.html#l647"><code>attribute/js/AttributeCore.js:647</code></a>
5803
<div class="description">
5804
<p>Implementation behind the public setAttrs method, to set multiple attribute values.</p>
5808
<div class="params">
5809
<h4>Parameters:</h4>
5811
<ul class="params-list">
5815
<code class="param-name">attrs</code>
5816
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5821
<div class="param-description">
5822
<p>An object with attributes name/value pairs.</p>
5833
<div class="returns">
5836
<div class="returns-description">
5839
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5841
A reference to the host object.
5851
<div id="method__setAttrVal" class="method item private inherited">
5852
<h3 class="name"><code>_setAttrVal</code></h3>
5856
<span class="paren">(</span><ul class="args-list inline commas">
5860
<code>attrName</code>
5866
<code>subAttrName</code>
5872
<code>prevVal</code>
5882
</ul><span class="paren">)</span>
5887
<span class="returns-inline">
5888
<span class="type">Booolean</span>
5895
<span class="flag private">private</span>
5908
<a href="../classes/AttributeCore.html#method__setAttrVal">AttributeCore</a>:
5912
<a href="../files/attribute_js_AttributeCore.js.html#l554"><code>attribute/js/AttributeCore.js:554</code></a>
5922
<div class="description">
5923
<p>Updates the stored value of the attribute in the privately held State object,
5924
if validation and setter passes.</p>
5928
<div class="params">
5929
<h4>Parameters:</h4>
5931
<ul class="params-list">
5935
<code class="param-name">attrName</code>
5936
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5941
<div class="param-description">
5942
<p>The attribute name.</p>
5950
<code class="param-name">subAttrName</code>
5951
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5956
<div class="param-description">
5957
<p>The sub-attribute name, if setting a sub-attribute property ("x.y.z").</p>
5965
<code class="param-name">prevVal</code>
5966
<span class="type">Any</span>
5971
<div class="param-description">
5972
<p>The currently stored value of the attribute.</p>
5980
<code class="param-name">newVal</code>
5981
<span class="type">Any</span>
5986
<div class="param-description">
5987
<p>The value which is going to be stored.</p>
5998
<div class="returns">
6001
<div class="returns-description">
6004
<span class="type">Booolean</span>:
6006
true if the new attribute value was stored, false if not.
6016
<div id="method__setStateVal" class="method item private inherited">
6017
<h3 class="name"><code>_setStateVal</code></h3>
6021
<span class="paren">(</span><ul class="args-list inline commas">
6035
</ul><span class="paren">)</span>
6044
<span class="flag private">private</span>
6057
<a href="../classes/AttributeCore.html#method__setStateVal">AttributeCore</a>:
6061
<a href="../files/attribute_js_AttributeCore.js.html#l536"><code>attribute/js/AttributeCore.js:536</code></a>
6071
<div class="description">
6072
<p>Sets the stored value for the attribute, in either the
6073
internal state object, or the state proxy if it exits</p>
6077
<div class="params">
6078
<h4>Parameters:</h4>
6080
<ul class="params-list">
6084
<code class="param-name">name</code>
6085
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6090
<div class="param-description">
6091
<p>The name of the attribute</p>
6099
<code class="param-name">value</code>
6100
<span class="type">Any</span>
6105
<div class="param-description">
6106
<p>The value of the attribute</p>
6122
<div id="method_addAttr" class="method item inherited">
6123
<h3 class="name"><code>addAttr</code></h3>
6127
<span class="paren">(</span><ul class="args-list inline commas">
6147
</ul><span class="paren">)</span>
6152
<span class="returns-inline">
6153
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6166
<span class="flag chainable">chainable</span>
6173
<a href="../classes/AttributeCore.html#method_addAttr">AttributeCore</a>:
6177
<a href="../files/attribute_js_AttributeCore.js.html#l124"><code>attribute/js/AttributeCore.js:124</code></a>
6187
<div class="description">
6189
Adds an attribute with the provided configuration to the host object.
6193
The config argument object supports the following properties:
6197
<dt>value <Any></dt>
6198
<dd>The initial value to set on the attribute</dd>
6200
<dt>valueFn <Function | String></dt>
6202
<p>A function, which will return the initial value to set on the attribute. This is useful
6203
for cases where the attribute configuration is defined statically, but needs to
6204
reference the host instance ("this") to obtain an initial value. If both the value and valueFn properties are defined,
6205
the value returned by the valueFn has precedence over the value property, unless it returns undefined, in which
6206
case the value property is used.</p>
6208
<p>valueFn can also be set to a string, representing the name of the instance method to be used to retrieve the value.</p>
6211
<dt>readOnly <boolean></dt>
6212
<dd>Whether or not the attribute is read only. Attributes having readOnly set to true
6213
cannot be modified by invoking the set method.</dd>
6215
<dt>writeOnce <boolean> or <string></dt>
6217
Whether or not the attribute is "write once". Attributes having writeOnce set to true,
6218
can only have their values set once, be it through the default configuration,
6219
constructor configuration arguments, or by invoking set.
6220
<p>The writeOnce attribute can also be set to the string "initOnly", in which case the attribute can only be set during initialization
6221
(when used with Base, this means it can only be set during construction)</p>
6224
<dt>setter <Function | String></dt>
6226
<p>The setter function used to massage or normalize the value passed to the set method for the attribute.
6227
The value returned by the setter will be the final stored value. Returning
6228
<a href="#property_Attribute.INVALID_VALUE">Attribute.INVALID_VALUE</a>, from the setter will prevent
6229
the value from being stored.
6232
<p>setter can also be set to a string, representing the name of the instance method to be used as the setter function.</p>
6235
<dt>getter <Function | String></dt>
6238
The getter function used to massage or normalize the value returned by the get method for the attribute.
6239
The value returned by the getter function is the value which will be returned to the user when they
6243
<p>getter can also be set to a string, representing the name of the instance method to be used as the getter function.</p>
6246
<dt>validator <Function | String></dt>
6249
The validator function invoked prior to setting the stored value. Returning
6250
false from the validator function will prevent the value from being stored.
6253
<p>validator can also be set to a string, representing the name of the instance method to be used as the validator function.</p>
6256
<dt>lazyAdd <boolean></dt>
6257
<dd>Whether or not to delay initialization of the attribute until the first call to get/set it.
6258
This flag can be used to over-ride lazy initialization on a per attribute basis, when adding multiple attributes through
6259
the <a href="#method_addAttrs">addAttrs</a> method.</dd>
6263
<p>The setter, getter and validator are invoked with the value and name passed in as the first and second arguments, and with
6264
the context ("this") set to the host object.</p>
6266
<p>Configuration properties outside of the list mentioned above are considered private properties used internally by attribute,
6267
and are not intended for public use.</p>
6271
<div class="params">
6272
<h4>Parameters:</h4>
6274
<ul class="params-list">
6278
<code class="param-name">name</code>
6279
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6284
<div class="param-description">
6285
<p>The name of the attribute.</p>
6293
<code class="param-name">config</code>
6294
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6299
<div class="param-description">
6300
<p>An object with attribute configuration property/value pairs, specifying the configuration for the attribute.</p>
6303
<strong>NOTE:</strong> The configuration object is modified when adding an attribute, so if you need
6304
to protect the original values, you will need to merge the object.
6313
<code class="param-name">lazy</code>
6314
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6319
<div class="param-description">
6320
<p>(optional) Whether or not to add this attribute lazily (on the first call to get/set).</p>
6331
<div class="returns">
6334
<div class="returns-description">
6337
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
6339
A reference to the host object.
6349
<div id="method_addAttrs" class="method item inherited">
6350
<h3 class="name"><code>addAttrs</code></h3>
6354
<span class="paren">(</span><ul class="args-list inline commas">
6374
</ul><span class="paren">)</span>
6379
<span class="returns-inline">
6380
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6393
<span class="flag chainable">chainable</span>
6400
<a href="../classes/AttributeCore.html#method_addAttrs">AttributeCore</a>:
6404
<a href="../files/attribute_js_AttributeCore.js.html#l708"><code>attribute/js/AttributeCore.js:708</code></a>
6414
<div class="description">
6415
<p>Configures a group of attributes, and sets initial values.</p>
6418
<strong>NOTE:</strong> This method does not isolate the configuration object by merging/cloning.
6419
The caller is responsible for merging/cloning the configuration object if required.
6424
<div class="params">
6425
<h4>Parameters:</h4>
6427
<ul class="params-list">
6431
<code class="param-name">cfgs</code>
6432
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6437
<div class="param-description">
6438
<p>An object with attribute name/configuration pairs.</p>
6446
<code class="param-name">values</code>
6447
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6452
<div class="param-description">
6453
<p>An object with attribute name/value pairs, defining the initial values to apply.
6454
Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p>
6462
<code class="param-name">lazy</code>
6463
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6468
<div class="param-description">
6469
<p>Whether or not to delay the intialization of these attributes until the first call to get/set.
6470
Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration.
6471
See <a href="#method_addAttr">addAttr</a>.</p>
6482
<div class="returns">
6485
<div class="returns-description">
6488
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
6490
A reference to the host object.
6500
<div id="method_addTarget" class="method item inherited">
6501
<h3 class="name"><code>addTarget</code></h3>
6505
<span class="paren">(</span><ul class="args-list inline commas">
6513
</ul><span class="paren">)</span>
6533
<a href="../classes/EventTarget.html#method_addTarget">EventTarget</a>:
6537
<a href="../files/event-custom_js_event-facade.js.html#l382"><code>event-custom/js/event-facade.js:382</code></a>
6547
<div class="description">
6548
<p>Registers another EventTarget as a bubble target. Bubble order
6549
is determined by the order registered. Multiple targets can
6552
<p>Events can only bubble if emitFacade is true.</p>
6554
<p>Included in the event-custom-complex submodule.</p>
6558
<div class="params">
6559
<h4>Parameters:</h4>
6561
<ul class="params-list">
6565
<code class="param-name">o</code>
6566
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
6571
<div class="param-description">
6572
<p>the target to add</p>
6588
<div id="method_after" class="method item inherited">
6589
<h3 class="name"><code>after</code></h3>
6593
<span class="paren">(</span><ul class="args-list inline commas">
6609
<code class="optional">[context]</code>
6615
<code class="optional">[arg*]</code>
6619
</ul><span class="paren">)</span>
6624
<span class="returns-inline">
6625
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
6643
<a href="../classes/EventTarget.html#method_after">EventTarget</a>:
6647
<a href="../files/event-custom_js_event-target.js.html#l730"><code>event-custom/js/event-target.js:730</code></a>
6657
<div class="description">
6658
<p>Subscribe to a custom event hosted by this object. The
6659
supplied callback will execute after any listeners add
6660
via the subscribe method, and after the default function,
6661
if configured for the event, has executed.</p>
6665
<div class="params">
6666
<h4>Parameters:</h4>
6668
<ul class="params-list">
6672
<code class="param-name">type</code>
6673
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6678
<div class="param-description">
6679
<p>The name of the event</p>
6687
<code class="param-name">fn</code>
6688
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
6693
<div class="param-description">
6694
<p>The callback to execute in response to the event</p>
6702
<code class="param-name optional">[context]</code>
6703
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6704
<span class="flag optional" title="This parameter is optional.">optional</span>
6709
<div class="param-description">
6710
<p>Override <code>this</code> object in callback</p>
6718
<code class="param-name optional">[arg*]</code>
6719
<span class="type">Any</span>
6720
<span class="flag optional" title="This parameter is optional.">optional</span>
6725
<div class="param-description">
6726
<p>0..n additional arguments to supply to the subscriber</p>
6737
<div class="returns">
6740
<div class="returns-description">
6743
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
6745
A subscription handle capable of detaching the
6756
<div id="method_attrAdded" class="method item inherited">
6757
<h3 class="name"><code>attrAdded</code></h3>
6761
<span class="paren">(</span><ul class="args-list inline commas">
6769
</ul><span class="paren">)</span>
6774
<span class="returns-inline">
6775
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6793
<a href="../classes/AttributeCore.html#method_attrAdded">AttributeCore</a>:
6797
<a href="../files/attribute_js_AttributeCore.js.html#l272"><code>attribute/js/AttributeCore.js:272</code></a>
6807
<div class="description">
6808
<p>Checks if the given attribute has been added to the host</p>
6812
<div class="params">
6813
<h4>Parameters:</h4>
6815
<ul class="params-list">
6819
<code class="param-name">name</code>
6820
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6825
<div class="param-description">
6826
<p>The name of the attribute to check.</p>
6837
<div class="returns">
6840
<div class="returns-description">
6843
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
6845
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.
6855
<div id="method_before" class="method item inherited">
6856
<h3 class="name"><code>before</code></h3>
6859
<span class="paren">()</span>
6863
<span class="returns-inline">
6864
<span class="type"></span>
6882
<a href="../classes/EventTarget.html#method_before">EventTarget</a>:
6886
<a href="../files/event-custom_js_event-target.js.html#l767"><code>event-custom/js/event-target.js:767</code></a>
6896
<div class="description">
6897
<p>Executes the callback before a DOM event, custom event
6898
or method. If the first argument is a function, it
6899
is assumed the target is a method. For DOM and custom
6900
events, this is an alias for Y.on.</p>
6902
<p>For DOM and custom events:
6903
type, callback, context, 0-n arguments</p>
6906
callback, object (method host), methodName, context, 0-n arguments</p>
6912
<div class="returns">
6915
<div class="returns-description">
6928
<div id="method_bubble" class="method item inherited">
6929
<h3 class="name"><code>bubble</code></h3>
6933
<span class="paren">(</span><ul class="args-list inline commas">
6941
</ul><span class="paren">)</span>
6946
<span class="returns-inline">
6947
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6965
<a href="../classes/EventTarget.html#method_bubble">EventTarget</a>:
6969
<a href="../files/event-custom_js_event-facade.js.html#l419"><code>event-custom/js/event-facade.js:419</code></a>
6979
<div class="description">
6980
<p>Propagate an event. Requires the event-custom-complex module.</p>
6984
<div class="params">
6985
<h4>Parameters:</h4>
6987
<ul class="params-list">
6991
<code class="param-name">evt</code>
6992
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
6997
<div class="param-description">
6998
<p>the custom event to propagate</p>
7009
<div class="returns">
7012
<div class="returns-description">
7015
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
7017
the aggregated return value from Event.Custom.fire
7027
<div id="method_destroy" class="method item inherited">
7028
<h3 class="name"><code>destroy</code></h3>
7031
<span class="paren">()</span>
7035
<span class="returns-inline">
7036
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>
7049
<span class="flag chainable">chainable</span>
7055
<a href="../classes/BaseCore.html#method_destroy">
7063
<a href="../files/base_js_Base.js.html#l267"><code>base/js/Base.js:267</code></a>
7073
<div class="description">
7075
Destroy lifecycle method. Fires the destroy
7076
event, prior to invoking destructors for the
7081
Subscribers to the destroy
7082
event can invoke preventDefault on the event object, to prevent destruction
7090
<div class="returns">
7093
<div class="returns-description">
7096
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>:
7098
A reference to this object
7108
<div id="method_detach" class="method item inherited">
7109
<h3 class="name"><code>detach</code></h3>
7113
<span class="paren">(</span><ul class="args-list inline commas">
7129
<code>context</code>
7133
</ul><span class="paren">)</span>
7138
<span class="returns-inline">
7139
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
7157
<a href="../classes/EventTarget.html#method_detach">EventTarget</a>:
7161
<a href="../files/event-custom_js_event-target.js.html#l345"><code>event-custom/js/event-target.js:345</code></a>
7171
<div class="description">
7172
<p>Detach one or more listeners the from the specified event</p>
7176
<div class="params">
7177
<h4>Parameters:</h4>
7179
<ul class="params-list">
7183
<code class="param-name">type</code>
7184
<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>
7189
<div class="param-description">
7190
<p>Either the handle to the subscriber or the
7191
type of event. If the type
7192
is not specified, it will attempt to remove
7193
the listener from all hosted events.</p>
7201
<code class="param-name">fn</code>
7202
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
7207
<div class="param-description">
7208
<p>The subscribed function to unsubscribe, if not
7209
supplied, all subscribers will be removed.</p>
7217
<code class="param-name">context</code>
7218
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7223
<div class="param-description">
7224
<p>The custom object passed to subscribe. This is
7225
optional, but if supplied will be used to
7226
disambiguate multiple listeners that are the same
7227
(e.g., you subscribe many object using a function
7228
that lives on the prototype)</p>
7239
<div class="returns">
7242
<div class="returns-description">
7245
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
7257
<div id="method_detachAll" class="method item inherited">
7258
<h3 class="name"><code>detachAll</code></h3>
7262
<span class="paren">(</span><ul class="args-list inline commas">
7270
</ul><span class="paren">)</span>
7290
<a href="../classes/EventTarget.html#method_detachAll">EventTarget</a>:
7294
<a href="../files/event-custom_js_event-target.js.html#l465"><code>event-custom/js/event-target.js:465</code></a>
7304
<div class="description">
7305
<p>Removes all listeners from the specified event. If the event type
7306
is not specified, all listeners from all hosted custom events will
7311
<div class="params">
7312
<h4>Parameters:</h4>
7314
<ul class="params-list">
7318
<code class="param-name">type</code>
7319
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7324
<div class="param-description">
7325
<p>The type, or name of the event</p>
7341
<div id="method_fire" class="method item inherited">
7342
<h3 class="name"><code>fire</code></h3>
7346
<span class="paren">(</span><ul class="args-list inline commas">
7356
<code>arguments</code>
7360
</ul><span class="paren">)</span>
7365
<span class="returns-inline">
7366
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
7384
<a href="../classes/EventTarget.html#method_fire">EventTarget</a>:
7388
<a href="../files/event-custom_js_event-target.js.html#l629"><code>event-custom/js/event-target.js:629</code></a>
7398
<div class="description">
7399
<p>Fire a custom event by name. The callback functions will be executed
7400
from the context specified when the event was created, and with the
7401
following parameters.</p>
7403
<p>If the custom event object hasn't been created, then the event hasn't
7404
been published and it has no subscribers. For performance sake, we
7405
immediate exit in this case. This means the event won't bubble, so
7406
if the intention is that a bubble target be notified, the event must
7407
be published on this object first.</p>
7409
<p>The first argument is the event type, and any additional arguments are
7410
passed to the listeners as parameters. If the first of these is an
7411
object literal, and the event is configured to emit an event facade,
7412
that object is mixed into the event facade and the facade is provided
7413
in place of the original object.</p>
7417
<div class="params">
7418
<h4>Parameters:</h4>
7420
<ul class="params-list">
7424
<code class="param-name">type</code>
7425
<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>
7430
<div class="param-description">
7431
<p>The type of the event, or an object that contains
7432
a 'type' property.</p>
7440
<code class="param-name">arguments</code>
7441
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object*</a></span>
7446
<div class="param-description">
7447
<p>an arbitrary set of parameters to pass to
7448
the handler. If the first of these is an object literal and the event is
7449
configured to emit an event facade, the event facade will replace that
7450
parameter after the properties the object literal contains are copied to
7451
the event facade.</p>
7462
<div class="returns">
7465
<div class="returns-description">
7468
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
7480
<div id="method_get" class="method item inherited">
7481
<h3 class="name"><code>get</code></h3>
7485
<span class="paren">(</span><ul class="args-list inline commas">
7493
</ul><span class="paren">)</span>
7498
<span class="returns-inline">
7499
<span class="type">Any</span>
7517
<a href="../classes/AttributeCore.html#method_get">AttributeCore</a>:
7521
<a href="../files/attribute_js_AttributeCore.js.html#l283"><code>attribute/js/AttributeCore.js:283</code></a>
7531
<div class="description">
7532
<p>Returns the current value of the attribute. If the attribute
7533
has been configured with a 'getter' function, this method will delegate
7534
to the 'getter' to obtain the value of the attribute.</p>
7538
<div class="params">
7539
<h4>Parameters:</h4>
7541
<ul class="params-list">
7545
<code class="param-name">name</code>
7546
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7551
<div class="param-description">
7552
<p>The name of the attribute. If the value of the attribute is an Object,
7553
dot notation can be used to obtain the value of a property of the object (e.g. <code>get("x.y.z")</code>)</p>
7564
<div class="returns">
7567
<div class="returns-description">
7570
<span class="type">Any</span>:
7572
The value of the attribute
7582
<div id="method_getAttrs" class="method item inherited">
7583
<h3 class="name"><code>getAttrs</code></h3>
7587
<span class="paren">(</span><ul class="args-list inline commas">
7595
</ul><span class="paren">)</span>
7600
<span class="returns-inline">
7601
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7619
<a href="../classes/AttributeCore.html#method_getAttrs">AttributeCore</a>:
7623
<a href="../files/attribute_js_AttributeCore.js.html#l665"><code>attribute/js/AttributeCore.js:665</code></a>
7633
<div class="description">
7634
<p>Gets multiple attribute values.</p>
7638
<div class="params">
7639
<h4>Parameters:</h4>
7641
<ul class="params-list">
7645
<code class="param-name">attrs</code>
7646
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span>
7651
<div class="param-description">
7652
<p>Optional. An array of attribute names. If omitted, all attribute values are
7653
returned. If set to true, all attributes modified from their initial values are returned.</p>
7664
<div class="returns">
7667
<div class="returns-description">
7670
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
7672
An object with attribute name/value pairs.
7682
<div id="method_getEvent" class="method item inherited">
7683
<h3 class="name"><code>getEvent</code></h3>
7687
<span class="paren">(</span><ul class="args-list inline commas">
7697
<code>prefixed</code>
7701
</ul><span class="paren">)</span>
7706
<span class="returns-inline">
7707
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
7725
<a href="../classes/EventTarget.html#method_getEvent">EventTarget</a>:
7729
<a href="../files/event-custom_js_event-target.js.html#l712"><code>event-custom/js/event-target.js:712</code></a>
7739
<div class="description">
7740
<p>Returns the custom event of the provided type has been created, a
7741
falsy value otherwise</p>
7745
<div class="params">
7746
<h4>Parameters:</h4>
7748
<ul class="params-list">
7752
<code class="param-name">type</code>
7753
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7758
<div class="param-description">
7759
<p>the type, or name of the event</p>
7767
<code class="param-name">prefixed</code>
7768
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7773
<div class="param-description">
7774
<p>if true, the type is prefixed already</p>
7785
<div class="returns">
7788
<div class="returns-description">
7791
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
7793
the custom event or null
7803
<div id="method_getTargets" class="method item inherited">
7804
<h3 class="name"><code>getTargets</code></h3>
7807
<span class="paren">()</span>
7811
<span class="returns-inline">
7812
<span class="type"></span>
7830
<a href="../classes/EventTarget.html#method_getTargets">EventTarget</a>:
7834
<a href="../files/event-custom_js_event-facade.js.html#l400"><code>event-custom/js/event-facade.js:400</code></a>
7844
<div class="description">
7845
<p>Returns an array of bubble targets for this object.</p>
7851
<div class="returns">
7854
<div class="returns-description">
7867
<div id="method_init" class="method item inherited">
7868
<h3 class="name"><code>init</code></h3>
7872
<span class="paren">(</span><ul class="args-list inline commas">
7880
</ul><span class="paren">)</span>
7885
<span class="returns-inline">
7886
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>
7899
<span class="flag chainable">chainable</span>
7905
<a href="../classes/BaseCore.html#method_init">
7913
<a href="../files/base_js_Base.js.html#l191"><code>base/js/Base.js:191</code></a>
7923
<div class="description">
7924
<p>Init lifecycle method, invoked during construction.
7925
Fires the init event prior to setting up attributes and
7926
invoking initializers for the class hierarchy.</p>
7930
<div class="params">
7931
<h4>Parameters:</h4>
7933
<ul class="params-list">
7937
<code class="param-name">config</code>
7938
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7943
<div class="param-description">
7944
<p>Object with configuration property name/value pairs</p>
7955
<div class="returns">
7958
<div class="returns-description">
7961
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>:
7963
A reference to this object
7973
<div id="method_initializer" class="method item private inherited">
7974
<h3 class="name"><code>initializer</code></h3>
7978
<span class="paren">(</span><ul class="args-list inline commas">
7986
</ul><span class="paren">)</span>
7995
<span class="flag private">private</span>
8008
<a href="../classes/DataSource.Local.html#method_initializer">DataSource.Local</a>:
8012
<a href="../files/datasource_js_datasource-local.js.html#l113"><code>datasource/js/datasource-local.js:113</code></a>
8022
<div class="description">
8023
<p>Internal init() handler.</p>
8027
<div class="params">
8028
<h4>Parameters:</h4>
8030
<ul class="params-list">
8034
<code class="param-name">config</code>
8035
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8040
<div class="param-description">
8041
<p>Config object.</p>
8057
<div id="method_modifyAttr" class="method item inherited">
8058
<h3 class="name"><code>modifyAttr</code></h3>
8062
<span class="paren">(</span><ul class="args-list inline commas">
8076
</ul><span class="paren">)</span>
8096
<a href="../classes/AttributeExtras.html#method_modifyAttr">AttributeExtras</a>:
8100
<a href="../files/attribute_js_AttributeExtras.js.html#l39"><code>attribute/js/AttributeExtras.js:39</code></a>
8110
<div class="description">
8111
<p>Updates the configuration of an attribute which has already been added.</p>
8114
The properties which can be modified through this interface are limited
8115
to the following subset of attributes, which can be safely modified
8116
after a value has already been set on the attribute: readOnly, writeOnce,
8117
broadcast and getter.
8122
<div class="params">
8123
<h4>Parameters:</h4>
8125
<ul class="params-list">
8129
<code class="param-name">name</code>
8130
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8135
<div class="param-description">
8136
<p>The name of the attribute whose configuration is to be updated.</p>
8144
<code class="param-name">config</code>
8145
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8150
<div class="param-description">
8151
<p>An object with configuration property/value pairs, specifying the configuration properties to modify.</p>
8167
<div id="method_on" class="method item inherited">
8168
<h3 class="name"><code>on</code></h3>
8172
<span class="paren">(</span><ul class="args-list inline commas">
8188
<code class="optional">[context]</code>
8194
<code class="optional">[arg*]</code>
8198
</ul><span class="paren">)</span>
8203
<span class="returns-inline">
8204
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
8222
<a href="../classes/EventTarget.html#method_on">EventTarget</a>:
8226
<a href="../files/event-custom_js_event-target.js.html#l192"><code>event-custom/js/event-target.js:192</code></a>
8236
<div class="description">
8237
<p>Subscribe a callback function to a custom event fired by this object or
8238
from an object that bubbles its events to this object.</p>
8240
<p>Callback functions for events published with <code>emitFacade = true</code> will
8241
receive an <code>EventFacade</code> as the first argument (typically named "e").
8242
These callbacks can then call <code>e.preventDefault()</code> to disable the
8243
behavior published to that event's <code>defaultFn</code>. See the <code>EventFacade</code>
8244
API for all available properties and methods. Subscribers to
8245
non-<code>emitFacade</code> events will receive the arguments passed to <code>fire()</code>
8246
after the event name.</p>
8248
<p>To subscribe to multiple events at once, pass an object as the first
8249
argument, where the key:value pairs correspond to the eventName:callback,
8250
or pass an array of event names as the first argument to subscribe to
8251
all listed events with the same callback.</p>
8253
<p>Returning <code>false</code> from a callback is supported as an alternative to
8254
calling <code>e.preventDefault(); e.stopPropagation();</code>. However, it is
8255
recommended to use the event methods whenever possible.</p>
8259
<div class="params">
8260
<h4>Parameters:</h4>
8262
<ul class="params-list">
8266
<code class="param-name">type</code>
8267
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8272
<div class="param-description">
8273
<p>The name of the event</p>
8281
<code class="param-name">fn</code>
8282
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
8287
<div class="param-description">
8288
<p>The callback to execute in response to the event</p>
8296
<code class="param-name optional">[context]</code>
8297
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8298
<span class="flag optional" title="This parameter is optional.">optional</span>
8303
<div class="param-description">
8304
<p>Override <code>this</code> object in callback</p>
8312
<code class="param-name optional">[arg*]</code>
8313
<span class="type">Any</span>
8314
<span class="flag optional" title="This parameter is optional.">optional</span>
8319
<div class="param-description">
8320
<p>0..n additional arguments to supply to the subscriber</p>
8331
<div class="returns">
8334
<div class="returns-description">
8337
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
8339
A subscription handle capable of detaching that
8350
<div id="method_once" class="method item inherited">
8351
<h3 class="name"><code>once</code></h3>
8355
<span class="paren">(</span><ul class="args-list inline commas">
8371
<code class="optional">[context]</code>
8377
<code class="optional">[arg*]</code>
8381
</ul><span class="paren">)</span>
8386
<span class="returns-inline">
8387
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
8405
<a href="../classes/EventTarget.html#method_once">EventTarget</a>:
8409
<a href="../files/event-custom_js_event-target.js.html#l128"><code>event-custom/js/event-target.js:128</code></a>
8419
<div class="description">
8420
<p>Listen to a custom event hosted by this object one time.
8421
This is the equivalent to <code>on</code> except the
8422
listener is immediatelly detached when it is executed.</p>
8426
<div class="params">
8427
<h4>Parameters:</h4>
8429
<ul class="params-list">
8433
<code class="param-name">type</code>
8434
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8439
<div class="param-description">
8440
<p>The name of the event</p>
8448
<code class="param-name">fn</code>
8449
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
8454
<div class="param-description">
8455
<p>The callback to execute in response to the event</p>
8463
<code class="param-name optional">[context]</code>
8464
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8465
<span class="flag optional" title="This parameter is optional.">optional</span>
8470
<div class="param-description">
8471
<p>Override <code>this</code> object in callback</p>
8479
<code class="param-name optional">[arg*]</code>
8480
<span class="type">Any</span>
8481
<span class="flag optional" title="This parameter is optional.">optional</span>
8486
<div class="param-description">
8487
<p>0..n additional arguments to supply to the subscriber</p>
8498
<div class="returns">
8501
<div class="returns-description">
8504
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
8506
A subscription handle capable of detaching the
8517
<div id="method_onceAfter" class="method item inherited">
8518
<h3 class="name"><code>onceAfter</code></h3>
8522
<span class="paren">(</span><ul class="args-list inline commas">
8538
<code class="optional">[context]</code>
8544
<code class="optional">[arg*]</code>
8548
</ul><span class="paren">)</span>
8553
<span class="returns-inline">
8554
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
8572
<a href="../classes/EventTarget.html#method_onceAfter">EventTarget</a>:
8576
<a href="../files/event-custom_js_event-target.js.html#l150"><code>event-custom/js/event-target.js:150</code></a>
8586
<div class="description">
8587
<p>Listen to a custom event hosted by this object one time.
8588
This is the equivalent to <code>after</code> except the
8589
listener is immediatelly detached when it is executed.</p>
8593
<div class="params">
8594
<h4>Parameters:</h4>
8596
<ul class="params-list">
8600
<code class="param-name">type</code>
8601
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8606
<div class="param-description">
8607
<p>The name of the event</p>
8615
<code class="param-name">fn</code>
8616
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
8621
<div class="param-description">
8622
<p>The callback to execute in response to the event</p>
8630
<code class="param-name optional">[context]</code>
8631
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8632
<span class="flag optional" title="This parameter is optional.">optional</span>
8637
<div class="param-description">
8638
<p>Override <code>this</code> object in callback</p>
8646
<code class="param-name optional">[arg*]</code>
8647
<span class="type">Any</span>
8648
<span class="flag optional" title="This parameter is optional.">optional</span>
8653
<div class="param-description">
8654
<p>0..n additional arguments to supply to the subscriber</p>
8665
<div class="returns">
8668
<div class="returns-description">
8671
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
8673
A subscription handle capable of detaching that
8684
<div id="method_parseType" class="method item inherited">
8685
<h3 class="name"><code>parseType</code></h3>
8689
<span class="paren">(</span><ul class="args-list inline commas">
8699
<code class="optional">[pre=this._yuievt.config.prefix]</code>
8703
</ul><span class="paren">)</span>
8708
<span class="returns-inline">
8709
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
8727
<a href="../classes/EventTarget.html#method_parseType">EventTarget</a>:
8731
<a href="../files/event-custom_js_event-target.js.html#l172"><code>event-custom/js/event-target.js:172</code></a>
8739
<p>Available since 3.3.0</p>
8743
<div class="description">
8744
<p>Takes the type parameter passed to 'on' and parses out the
8745
various pieces that could be included in the type. If the
8746
event type is passed without a prefix, it will be expanded
8747
to include the prefix one is supplied or the event target
8748
is configured with a default prefix.</p>
8752
<div class="params">
8753
<h4>Parameters:</h4>
8755
<ul class="params-list">
8759
<code class="param-name">type</code>
8760
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8765
<div class="param-description">
8774
<code class="param-name optional">[pre=this._yuievt.config.prefix]</code>
8775
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8776
<span class="flag optional" title="This parameter is optional.">optional</span>
8781
<div class="param-description">
8793
<div class="returns">
8796
<div class="returns-description">
8799
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>:
8801
an array containing:
8802
* the detach category, if supplied,
8803
* the prefixed event type,
8804
* whether or not this is an after listener,
8805
* the supplied event type
8815
<div id="method_publish" class="method item inherited">
8816
<h3 class="name"><code>publish</code></h3>
8820
<span class="paren">(</span><ul class="args-list inline commas">
8834
</ul><span class="paren">)</span>
8839
<span class="returns-inline">
8840
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
8858
<a href="../classes/EventTarget.html#method_publish">EventTarget</a>:
8862
<a href="../files/event-custom_js_event-target.js.html#l489"><code>event-custom/js/event-target.js:489</code></a>
8872
<div class="description">
8873
<p>Creates a new custom event of the specified type. If a custom event
8874
by that name already exists, it will not be re-created. In either
8875
case the custom event is returned.</p>
8879
<div class="params">
8880
<h4>Parameters:</h4>
8882
<ul class="params-list">
8886
<code class="param-name">type</code>
8887
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8892
<div class="param-description">
8893
<p>the type, or name of the event</p>
8901
<code class="param-name">opts</code>
8902
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8907
<div class="param-description">
8908
<p>optional config params. Valid properties are:</p>
8912
'broadcast': whether or not the YUI instance and YUI global are notified when the event is fired (false)
8915
'bubbles': whether or not this event bubbles (true)
8916
Events can only bubble if emitFacade is true.
8919
'context': the default execution context for the listeners (this)
8922
'defaultFn': the default function to execute when this event fires if preventDefault was not called
8925
'emitFacade': whether or not this event emits a facade (false)
8928
'prefix': the prefix for this targets events, e.g., 'menu' in 'menu:click'
8931
'fireOnce': if an event is configured to fire once, new subscribers after
8932
the fire will be notified immediately.
8935
'async': fireOnce event listeners will fire synchronously if the event has already
8936
fired unless async is true.
8939
'preventable': whether or not preventDefault() has an effect (true)
8942
'preventedFn': a function that is executed when preventDefault is called
8945
'queuable': whether or not this event can be queued during bubbling (false)
8948
'silent': if silent is true, debug messages are not provided for this event.
8951
'stoppedFn': a function that is executed when stopPropagation is called
8955
'monitored': specifies whether or not this event should send notifications about
8956
when the event has been attached, detached, or published.
8959
'type': the event type (valid option if not provided as the first parameter to publish)
8972
<div class="returns">
8975
<div class="returns-description">
8978
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
8990
<div id="method_removeAttr" class="method item inherited">
8991
<h3 class="name"><code>removeAttr</code></h3>
8995
<span class="paren">(</span><ul class="args-list inline commas">
9003
</ul><span class="paren">)</span>
9023
<a href="../classes/AttributeExtras.html#method_removeAttr">AttributeExtras</a>:
9027
<a href="../files/attribute_js_AttributeExtras.js.html#l77"><code>attribute/js/AttributeExtras.js:77</code></a>
9037
<div class="description">
9038
<p>Removes an attribute from the host object</p>
9042
<div class="params">
9043
<h4>Parameters:</h4>
9045
<ul class="params-list">
9049
<code class="param-name">name</code>
9050
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9055
<div class="param-description">
9056
<p>The name of the attribute to be removed.</p>
9072
<div id="method_removeTarget" class="method item inherited">
9073
<h3 class="name"><code>removeTarget</code></h3>
9077
<span class="paren">(</span><ul class="args-list inline commas">
9085
</ul><span class="paren">)</span>
9105
<a href="../classes/EventTarget.html#method_removeTarget">EventTarget</a>:
9109
<a href="../files/event-custom_js_event-facade.js.html#l409"><code>event-custom/js/event-facade.js:409</code></a>
9119
<div class="description">
9120
<p>Removes a bubble target</p>
9124
<div class="params">
9125
<h4>Parameters:</h4>
9127
<ul class="params-list">
9131
<code class="param-name">o</code>
9132
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
9137
<div class="param-description">
9138
<p>the target to remove</p>
9154
<div id="method_reset" class="method item inherited">
9155
<h3 class="name"><code>reset</code></h3>
9159
<span class="paren">(</span><ul class="args-list inline commas">
9167
</ul><span class="paren">)</span>
9172
<span class="returns-inline">
9173
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9186
<span class="flag chainable">chainable</span>
9193
<a href="../classes/AttributeExtras.html#method_reset">AttributeExtras</a>:
9197
<a href="../files/attribute_js_AttributeExtras.js.html#l87"><code>attribute/js/AttributeExtras.js:87</code></a>
9207
<div class="description">
9208
<p>Resets the attribute (or all attributes) to its initial value, as long as
9209
the attribute is not readOnly, or writeOnce.</p>
9213
<div class="params">
9214
<h4>Parameters:</h4>
9216
<ul class="params-list">
9220
<code class="param-name">name</code>
9221
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9226
<div class="param-description">
9227
<p>Optional. The name of the attribute to reset. If omitted, all attributes are reset.</p>
9238
<div class="returns">
9241
<div class="returns-description">
9244
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
9246
A reference to the host object.
9256
<div id="method_sendRequest" class="method item inherited">
9257
<h3 class="name"><code>sendRequest</code></h3>
9261
<span class="paren">(</span><ul class="args-list inline commas">
9265
<code>request</code>
9269
</ul><span class="paren">)</span>
9274
<span class="returns-inline">
9275
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
9293
<a href="../classes/DataSource.Local.html#method_sendRequest">DataSource.Local</a>:
9297
<a href="../files/datasource_js_datasource-local.js.html#l348"><code>datasource/js/datasource-local.js:348</code></a>
9307
<div class="description">
9308
<p>Generates a unique transaction ID and fires <code>request</code> event.
9309
<strong>Note</strong>: the property <code>callback</code> is a
9310
deprecated alias for the <code>on</code> transaction configuration
9311
property described below.</p>
9315
<div class="params">
9316
<h4>Parameters:</h4>
9318
<ul class="params-list">
9322
<code class="param-name">request</code>
9323
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9328
<div class="param-description">
9329
<p>An object literal with the following properties:
9331
<dt><code>request</code></dt>
9332
<dd>The request to send to the live data source, if any.</dd>
9333
<dt><code>on</code></dt>
9334
<dd>An object literal with the following properties:
9336
<dt><code>success</code></dt>
9337
<dd>The function to call when the data is ready.</dd>
9338
<dt><code>failure</code></dt>
9339
<dd>The function to call upon a response failure condition.</dd>
9340
<dt><code>argument</code></dt>
9341
<dd>Arbitrary data payload that will be passed back to the success and failure handlers.</dd>
9344
<dt><code>cfg</code></dt>
9345
<dd>Configuration object, if any.</dd>
9357
<div class="returns">
9360
<div class="returns-description">
9363
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>:
9375
<div id="method_set" class="method item inherited">
9376
<h3 class="name"><code>set</code></h3>
9380
<span class="paren">(</span><ul class="args-list inline commas">
9400
</ul><span class="paren">)</span>
9405
<span class="returns-inline">
9406
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9419
<span class="flag chainable">chainable</span>
9425
<a href="../classes/AttributeCore.html#method_set">
9433
<a href="../files/attribute_js_AttributeEvents.js.html#l41"><code>attribute/js/AttributeEvents.js:41</code></a>
9443
<div class="description">
9444
<p>Sets the value of an attribute.</p>
9448
<div class="params">
9449
<h4>Parameters:</h4>
9451
<ul class="params-list">
9455
<code class="param-name">name</code>
9456
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9461
<div class="param-description">
9462
<p>The name of the attribute. If the
9463
current value of the attribute is an Object, dot notation can be used
9464
to set the value of a property within the object (e.g. <code>set("x.y.z", 5)</code>).</p>
9472
<code class="param-name">value</code>
9473
<span class="type">Any</span>
9478
<div class="param-description">
9479
<p>The value to set the attribute to.</p>
9487
<code class="param-name">opts</code>
9488
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9493
<div class="param-description">
9494
<p>(Optional) Optional event data to be mixed into
9495
the event facade passed to subscribers of the attribute's change event. This
9496
can be used as a flexible way to identify the source of a call to set, allowing
9497
the developer to distinguish between set called internally by the host, vs.
9498
set called externally by the application developer.</p>
9509
<div class="returns">
9512
<div class="returns-description">
9515
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
9517
A reference to the host object.
9527
<div id="method_setAttrs" class="method item inherited">
9528
<h3 class="name"><code>setAttrs</code></h3>
9532
<span class="paren">(</span><ul class="args-list inline commas">
9540
</ul><span class="paren">)</span>
9545
<span class="returns-inline">
9546
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9559
<span class="flag chainable">chainable</span>
9565
<a href="../classes/AttributeCore.html#method_setAttrs">
9573
<a href="../files/attribute_js_AttributeEvents.js.html#l82"><code>attribute/js/AttributeEvents.js:82</code></a>
9583
<div class="description">
9584
<p>Sets multiple attribute values.</p>
9588
<div class="params">
9589
<h4>Parameters:</h4>
9591
<ul class="params-list">
9595
<code class="param-name">attrs</code>
9596
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9601
<div class="param-description">
9602
<p>An object with attributes name/value pairs.</p>
9613
<div class="returns">
9616
<div class="returns-description">
9619
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
9621
A reference to the host object.
9631
<div id="method_subscribe" class="method item deprecated inherited">
9632
<h3 class="name"><code>subscribe</code></h3>
9635
<span class="paren">()</span>
9641
<span class="flag deprecated" title="use on">deprecated</span>
9656
<a href="../classes/EventTarget.html#method_subscribe">EventTarget</a>:
9660
<a href="../files/event-custom_js_event-target.js.html#l335"><code>event-custom/js/event-target.js:335</code></a>
9666
<p>Deprecated: use on</p>
9672
<div class="description">
9673
<p>subscribe to an event</p>
9684
<div id="method_toString" class="method item inherited">
9685
<h3 class="name"><code>toString</code></h3>
9688
<span class="paren">()</span>
9692
<span class="returns-inline">
9693
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9711
<a href="../classes/BaseCore.html#method_toString">BaseCore</a>:
9715
<a href="../files/base_js_BaseCore.js.html#l592"><code>base/js/BaseCore.js:592</code></a>
9725
<div class="description">
9726
<p>Default toString implementation. Provides the constructor NAME
9727
and the instance guid, if set.</p>
9733
<div class="returns">
9736
<div class="returns-description">
9739
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
9741
String representation for this object
9751
<div id="method_unsubscribe" class="method item deprecated inherited">
9752
<h3 class="name"><code>unsubscribe</code></h3>
9755
<span class="paren">()</span>
9761
<span class="flag deprecated" title="use detach">deprecated</span>
9776
<a href="../classes/EventTarget.html#method_unsubscribe">EventTarget</a>:
9780
<a href="../files/event-custom_js_event-target.js.html#l455"><code>event-custom/js/event-target.js:455</code></a>
9786
<p>Deprecated: use detach</p>
9792
<div class="description">
9793
<p>detach a listener</p>
9804
<div id="method_unsubscribeAll" class="method item deprecated inherited">
9805
<h3 class="name"><code>unsubscribeAll</code></h3>
9809
<span class="paren">(</span><ul class="args-list inline commas">
9817
</ul><span class="paren">)</span>
9824
<span class="flag deprecated" title="use detachAll">deprecated</span>
9839
<a href="../classes/EventTarget.html#method_unsubscribeAll">EventTarget</a>:
9843
<a href="../files/event-custom_js_event-target.js.html#l476"><code>event-custom/js/event-target.js:476</code></a>
9849
<p>Deprecated: use detachAll</p>
9855
<div class="description">
9856
<p>Removes all listeners from the specified event. If the event type
9857
is not specified, all listeners from all hosted custom events will
9862
<div class="params">
9863
<h4>Parameters:</h4>
9865
<ul class="params-list">
9869
<code class="param-name">type</code>
9870
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9875
<div class="param-description">
9876
<p>The type, or name of the event</p>
9896
<div id="properties" class="api-class-tabpanel">
9897
<h2 class="off-left">Properties</h2>
9900
<div id="property__allowAdHocAttrs" class="property item protected inherited">
9901
<h3 class="name"><code>_allowAdHocAttrs</code></h3>
9902
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
9907
<span class="flag protected">protected</span>
9918
<a href="../classes/BaseCore.html#property__allowAdHocAttrs">BaseCore</a>:
9922
<a href="../files/base_js_BaseCore.js.html#l100"><code>base/js/BaseCore.js:100</code></a>
9931
<div class="description">
9932
<p>This property controls whether or not instances of this class should
9933
allow users to add ad-hoc attributes through the constructor configuration
9936
<p>AdHoc attributes are attributes which are not defined by the class, and are
9937
not handled by the MyClass.<em>NON</em>ATTRS_CFG</p>
9941
<p><strong>Default:</strong> undefined (false)</p>
9950
<div id="property_NAME" class="property item">
9951
<h3 class="name"><code>NAME</code></h3>
9952
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9959
<span class="flag final">final</span>
9963
<span class="flag static">static</span>
9977
<a href="../files/datasource_js_datasource-function.js.html#l27"><code>datasource/js/datasource-function.js:27</code></a>
9986
<div class="description">
9998
<div id="property_name" class="property item deprecated inherited">
9999
<h3 class="name"><code>name</code></h3>
10000
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10003
<span class="flag deprecated" title="Use this.constructor.NAME">deprecated</span>
10016
<a href="../classes/BaseCore.html#property_name">BaseCore</a>:
10020
<a href="../files/base_js_BaseCore.js.html#l196"><code>base/js/BaseCore.js:196</code></a>
10025
<p>Deprecated: Use this.constructor.NAME</p>
10031
<div class="description">
10032
<p>The string used to identify the class of this object.</p>
10047
<div id="attrs" class="api-class-tabpanel">
10048
<h2 class="off-left">Attributes</h2>
10051
<div id="attr_destroyed" class="attr item inherited">
10052
<a name="config_destroyed"></a>
10053
<h3 class="name"><code>destroyed</code></h3>
10054
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
10068
<a href="../classes/BaseCore.html#attr_destroyed">BaseCore</a>:
10072
<a href="../files/base_js_BaseCore.js.html#l157"><code>base/js/BaseCore.js:157</code></a>
10081
<div class="description">
10082
<p>Flag indicating whether or not this object
10083
has been through the destroy lifecycle phase.</p>
10087
<p><strong>Default:</strong> false</p>
10091
<div class="emits box">
10092
<h4>Fires event <code>destroyedChange</code></h4>
10095
Fires when the value for the configuration attribute <code>destroyed</code> is
10096
changed. You can listen for the event using the <code>on</code> method if you
10097
wish to be notified before the attribute's value has changed, or
10098
using the <code>after</code> method if you wish to be notified after the
10099
attribute's value has changed.
10102
<div class="params">
10103
<h4>Parameters:</h4>
10105
<ul class="params-list">
10107
<code class="param-name">e</code>
10108
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
10110
<div class="param-description">
10111
An Event Facade object with the following
10112
attribute-specific properties added:
10115
<ul class="params-list">
10117
<code class="param-name">prevVal</code>
10118
<span class="type">Any</span>
10119
<div class="param-description">The value of the attribute, prior to it being set.</div>
10122
<code class="param-name">newVal</code>
10123
<span class="type">Any</span>
10124
<div class="param-description">The value the attribute is to be set to.</div>
10127
<code class="param-name">attrName</code>
10128
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10129
<div class="param-description">The name of the attribute being set.</div>
10132
<code class="param-name">subAttrName</code>
10133
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10134
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
10147
<div id="attr_initialized" class="attr item inherited">
10148
<a name="config_initialized"></a>
10149
<h3 class="name"><code>initialized</code></h3>
10150
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
10164
<a href="../classes/BaseCore.html#attr_initialized">BaseCore</a>:
10168
<a href="../files/base_js_BaseCore.js.html#l143"><code>base/js/BaseCore.js:143</code></a>
10177
<div class="description">
10178
<p>Flag indicating whether or not this object
10179
has been through the init lifecycle phase.</p>
10183
<p><strong>Default:</strong> false</p>
10187
<div class="emits box">
10188
<h4>Fires event <code>initializedChange</code></h4>
10191
Fires when the value for the configuration attribute <code>initialized</code> is
10192
changed. You can listen for the event using the <code>on</code> method if you
10193
wish to be notified before the attribute's value has changed, or
10194
using the <code>after</code> method if you wish to be notified after the
10195
attribute's value has changed.
10198
<div class="params">
10199
<h4>Parameters:</h4>
10201
<ul class="params-list">
10203
<code class="param-name">e</code>
10204
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
10206
<div class="param-description">
10207
An Event Facade object with the following
10208
attribute-specific properties added:
10211
<ul class="params-list">
10213
<code class="param-name">prevVal</code>
10214
<span class="type">Any</span>
10215
<div class="param-description">The value of the attribute, prior to it being set.</div>
10218
<code class="param-name">newVal</code>
10219
<span class="type">Any</span>
10220
<div class="param-description">The value the attribute is to be set to.</div>
10223
<code class="param-name">attrName</code>
10224
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10225
<div class="param-description">The name of the attribute being set.</div>
10228
<code class="param-name">subAttrName</code>
10229
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10230
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
10243
<div id="attr_source" class="attr item">
10244
<a name="config_source"></a>
10245
<h3 class="name"><code>source</code></h3>
10246
<span class="type">MIXED</span>
10259
<a href="../classes/DataSource.Local.html#attr_source">
10267
<a href="../files/datasource_js_datasource-function.js.html#l46"><code>datasource/js/datasource-function.js:46</code></a>
10276
<div class="description">
10277
<p>Pointer to live data.</p>
10281
<p><strong>Default:</strong> null</p>
10285
<div class="emits box">
10286
<h4>Fires event <code>sourceChange</code></h4>
10289
Fires when the value for the configuration attribute <code>source</code> is
10290
changed. You can listen for the event using the <code>on</code> method if you
10291
wish to be notified before the attribute's value has changed, or
10292
using the <code>after</code> method if you wish to be notified after the
10293
attribute's value has changed.
10296
<div class="params">
10297
<h4>Parameters:</h4>
10299
<ul class="params-list">
10301
<code class="param-name">e</code>
10302
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
10304
<div class="param-description">
10305
An Event Facade object with the following
10306
attribute-specific properties added:
10309
<ul class="params-list">
10311
<code class="param-name">prevVal</code>
10312
<span class="type">Any</span>
10313
<div class="param-description">The value of the attribute, prior to it being set.</div>
10316
<code class="param-name">newVal</code>
10317
<span class="type">Any</span>
10318
<div class="param-description">The value the attribute is to be set to.</div>
10321
<code class="param-name">attrName</code>
10322
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10323
<div class="param-description">The name of the attribute being set.</div>
10326
<code class="param-name">subAttrName</code>
10327
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10328
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
10345
<div id="events" class="api-class-tabpanel">
10346
<h2 class="off-left">Events</h2>
10349
<div id="event_data" class="events item inherited">
10350
<h3 class="name"><code>data</code></h3>
10351
<span class="type"></span>
10365
<a href="../classes/DataSource.Local.html#event_data">DataSource.Local</a>:
10369
<a href="../files/datasource_js_datasource-local.js.html#l148"><code>datasource/js/datasource-local.js:148</code></a>
10378
<div class="description">
10379
<p>Fired when raw data is received.</p>
10383
<div class="params">
10384
<h4>Event Payload:</h4>
10386
<ul class="params-list">
10390
<code class="param-name">e</code>
10391
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
10396
<div class="param-description">
10397
<p>Event Facade with the following properties:</p>
10400
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>
10401
<dt>request (Object)</dt> <dd>The request.</dd>
10402
<dt>callback (Object)</dt> <dd>Deprecated alias for the
10403
<strong>on</strong> property</dd>
10404
<dt>on (Object)</dt> <dd>The map of configured transaction
10405
callbacks. An object with the following properties:
10407
<dt>success (Function)</dt> <dd>Success handler.</dd>
10408
<dt>failure (Function)</dt> <dd>Failure handler.</dd>
10411
<dt>cfg (Object)</dt> <dd>Configuration object.</dd>
10412
<dt>data (Object)</dt> <dd>Raw data.</dd>
10428
<div id="event_destroy" class="events item inherited">
10429
<h3 class="name"><code>destroy</code></h3>
10430
<span class="type"></span>
10444
<a href="../classes/Base.html#event_destroy">Base</a>:
10448
<a href="../files/base_js_Base.js.html#l285"><code>base/js/Base.js:285</code></a>
10457
<div class="description">
10459
Lifecycle event for the destroy phase,
10460
fired prior to destruction. Invoking the preventDefault
10461
method on the event object provided to subscribers will
10462
prevent destruction from proceeding.
10466
Subscribers to the "after" moment of this event, will be notified
10467
after destruction is complete (and as a result cannot prevent
10473
<div class="params">
10474
<h4>Event Payload:</h4>
10476
<ul class="params-list">
10480
<code class="param-name">e</code>
10481
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
10486
<div class="param-description">
10487
<p>Event object</p>
10502
<div id="event_error" class="events item inherited">
10503
<h3 class="name"><code>error</code></h3>
10504
<span class="type"></span>
10518
<a href="../classes/DataSource.Local.html#event_error">DataSource.Local</a>:
10522
<a href="../files/datasource_js_datasource-local.js.html#l206"><code>datasource/js/datasource-local.js:206</code></a>
10531
<div class="description">
10532
<p>Fired when an error is encountered.</p>
10536
<div class="params">
10537
<h4>Event Payload:</h4>
10539
<ul class="params-list">
10543
<code class="param-name">e</code>
10544
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
10549
<div class="param-description">
10550
<p>Event Facade with the following properties:</p>
10553
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>
10554
<dt>request (Object)</dt> <dd>The request.</dd>
10555
<dt>callback (Object)</dt> <dd>Deprecated alias for the
10556
<strong>on</strong> property</dd>
10557
<dt>on (Object)</dt> <dd>The map of configured transaction
10558
callbacks. An object with the following properties:
10560
<dt>success (Function)</dt> <dd>Success handler.</dd>
10561
<dt>failure (Function)</dt> <dd>Failure handler.</dd>
10564
<dt>cfg (Object)</dt> <dd>Configuration object.</dd>
10565
<dt>data (Object)</dt> <dd>Raw data.</dd>
10566
<dt>response (Object)</dt>
10567
<dd>Normalized response object with the following properties:
10569
<dt>results (Object)</dt> <dd>Parsed results.</dd>
10570
<dt>meta (Object)</dt> <dd>Parsed meta data.</dd>
10571
<dt>error (Object)</dt> <dd>Error object.</dd>
10575
<dd>Any error that occurred along the transaction lifecycle.</dd>
10591
<div id="event_init" class="events item inherited">
10592
<h3 class="name"><code>init</code></h3>
10593
<span class="type"></span>
10607
<a href="../classes/Base.html#event_init">Base</a>:
10611
<a href="../files/base_js_Base.js.html#l202"><code>base/js/Base.js:202</code></a>
10620
<div class="description">
10622
Lifecycle event for the init phase, fired prior to initialization.
10623
Invoking the preventDefault() method on the event object provided
10624
to subscribers will prevent initialization from occuring.
10628
Subscribers to the "after" momemt of this event, will be notified
10629
after initialization of the object is complete (and therefore
10630
cannot prevent initialization).
10635
<div class="params">
10636
<h4>Event Payload:</h4>
10638
<ul class="params-list">
10642
<code class="param-name">e</code>
10643
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
10648
<div class="param-description">
10649
<p>Event object, with a cfg property which
10650
refers to the configuration object passed to the constructor.</p>
10665
<div id="event_request" class="events item inherited">
10666
<h3 class="name"><code>request</code></h3>
10667
<span class="type"></span>
10681
<a href="../classes/DataSource.Local.html#event_request">DataSource.Local</a>:
10685
<a href="../files/datasource_js_datasource-local.js.html#l130"><code>datasource/js/datasource-local.js:130</code></a>
10694
<div class="description">
10695
<p>Fired when a data request is received.</p>
10699
<div class="params">
10700
<h4>Event Payload:</h4>
10702
<ul class="params-list">
10706
<code class="param-name">e</code>
10707
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
10712
<div class="param-description">
10713
<p>Event Facade with the following properties:</p>
10716
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>
10717
<dt>request (Object)</dt> <dd>The request.</dd>
10718
<dt>callback (Object)</dt> <dd>The callback object
10719
(deprecated, refer to <strong>on</strong></dd>
10720
<dt>on (Object)</dt> <dd>The map of configured callback
10722
<dt>cfg (Object)</dt> <dd>Configuration object.</dd>
10738
<div id="event_response" class="events item inherited">
10739
<h3 class="name"><code>response</code></h3>
10740
<span class="type"></span>
10754
<a href="../classes/DataSource.Local.html#event_response">DataSource.Local</a>:
10758
<a href="../files/datasource_js_datasource-local.js.html#l172"><code>datasource/js/datasource-local.js:172</code></a>
10767
<div class="description">
10768
<p>Fired when response is returned.</p>
10772
<div class="params">
10773
<h4>Event Payload:</h4>
10775
<ul class="params-list">
10779
<code class="param-name">e</code>
10780
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
10785
<div class="param-description">
10786
<p>Event Facade with the following properties:</p>
10789
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>
10790
<dt>request (Object)</dt> <dd>The request.</dd>
10791
<dt>callback (Object)</dt> <dd>Deprecated alias for the
10792
<strong>on</strong> property</dd>
10793
<dt>on (Object)</dt> <dd>The map of configured transaction
10794
callbacks. An object with the following properties:
10796
<dt>success (Function)</dt> <dd>Success handler.</dd>
10797
<dt>failure (Function)</dt> <dd>Failure handler.</dd>
10800
<dt>cfg (Object)</dt> <dd>Configuration object.</dd>
10801
<dt>data (Object)</dt> <dd>Raw data.</dd>
10802
<dt>response (Object)</dt>
10803
<dd>Normalized response object with the following properties:
10805
<dt>results (Object)</dt> <dd>Parsed results.</dd>
10806
<dt>meta (Object)</dt> <dd>Parsed meta data.</dd>
10807
<dt>error (Boolean)</dt> <dd>Error flag.</dd>
10811
<dd>Any error that occurred along the transaction lifecycle.</dd>
10838
<script src="../assets/vendor/prettify/prettify-min.js"></script>
10839
<script>prettyPrint();</script>
10840
<script src="../assets/js/yui-prettify.js"></script>
10841
<script src="../assets/../api.js"></script>
10842
<script src="../assets/js/api-filter.js"></script>
10843
<script src="../assets/js/api-list.js"></script>
10844
<script src="../assets/js/api-search.js"></script>
10845
<script src="../assets/js/apidocs.js"></script>