5
<title>Controller - 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>Controller Class</h1>
1310
<div class="box meta">
1314
<div class="extends">
1315
Extends <a href="../classes/Base.html" class="crosslink">Base</a>
1320
<div class="foundat">
1321
Defined in: <a href="../files/app_js_router.js.html#l1043"><code>app/js/router.js:1043</code></a>
1327
Module: <a href="../modules/router.html">router</a><br>
1328
Parent Module: <a href="../modules/app.html">app</a>
1336
<div class="box deprecated">
1339
<strong>Deprecated:</strong> Use `Router` instead.
1345
<div class="box intro">
1346
<p>The <code>Controller</code> class was deprecated in YUI 3.5.0 and is now an alias for the
1347
<code>Router</code> class. Use that class instead. This alias will be removed in a future
1352
<div class="constructor">
1353
<h2>Constructor</h2>
1354
<div id="method_Controller" class="method item deprecated">
1355
<h3 class="name"><code>Controller</code></h3>
1358
<span class="paren">()</span>
1364
<span class="flag deprecated" title="Use `Router` instead.">deprecated</span>
1386
<a href="../files/app_js_router.js.html#l1043"><code>app/js/router.js:1043</code></a>
1392
<p>Deprecated: Use `Router` instead.</p>
1398
<div class="description">
1412
<div id="classdocs" class="tabview">
1413
<ul class="api-class-tabs">
1414
<li class="api-class-tab index"><a href="#index">Index</a></li>
1417
<li class="api-class-tab methods"><a href="#methods">Methods</a></li>
1420
<li class="api-class-tab properties"><a href="#properties">Properties</a></li>
1423
<li class="api-class-tab attrs"><a href="#attrs">Attributes</a></li>
1426
<li class="api-class-tab events"><a href="#events">Events</a></li>
1431
<div id="index" class="api-class-tabpanel index">
1432
<h2 class="off-left">Item Index</h2>
1435
<div class="index-section methods">
1438
<ul class="index-list methods">
1440
<li class="index-item method private inherited">
1441
<a href="#method__addAttrs">_addAttrs</a>
1446
<li class="index-item method private inherited">
1447
<a href="#method__addLazyAttr">_addLazyAttr</a>
1452
<li class="index-item method private inherited">
1453
<a href="#method__aggregateAttrs">_aggregateAttrs</a>
1458
<li class="index-item method private inherited inherited">
1459
<a href="#method__attrCfgHash">_attrCfgHash</a>
1464
<li class="index-item method private inherited">
1465
<a href="#method__baseDestroy">_baseDestroy</a>
1470
<li class="index-item method private inherited">
1471
<a href="#method__baseInit">_baseInit</a>
1476
<li class="index-item method private inherited">
1477
<a href="#method__defAttrChangeFn">_defAttrChangeFn</a>
1482
<li class="index-item method protected inherited">
1483
<a href="#method__defDestroyFn">_defDestroyFn</a>
1488
<li class="index-item method protected inherited">
1489
<a href="#method__defInitFn">_defInitFn</a>
1494
<li class="index-item method private inherited">
1495
<a href="#method__destroyHierarchy">_destroyHierarchy</a>
1500
<li class="index-item method private inherited">
1501
<a href="#method__filterAdHocAttrs">_filterAdHocAttrs</a>
1506
<li class="index-item method private inherited">
1507
<a href="#method__filterAttrCfs">_filterAttrCfs</a>
1512
<li class="index-item method private inherited">
1513
<a href="#method__fireAttrChange">_fireAttrChange</a>
1518
<li class="index-item method protected inherited">
1519
<a href="#method__getAttr">_getAttr</a>
1524
<li class="index-item method protected inherited">
1525
<a href="#method__getAttrCfg">_getAttrCfg</a>
1530
<li class="index-item method protected inherited">
1531
<a href="#method__getAttrCfgs">_getAttrCfgs</a>
1536
<li class="index-item method private inherited inherited">
1537
<a href="#method__getAttrInitVal">_getAttrInitVal</a>
1542
<li class="index-item method protected inherited">
1543
<a href="#method__getAttrs">_getAttrs</a>
1548
<li class="index-item method protected inherited">
1549
<a href="#method__getClasses">_getClasses</a>
1554
<li class="index-item method private inherited">
1555
<a href="#method__getStateVal">_getStateVal</a>
1560
<li class="index-item method private inherited">
1561
<a href="#method__getType">_getType</a>
1566
<li class="index-item method private inherited">
1567
<a href="#method__initAttrHost">_initAttrHost</a>
1572
<li class="index-item method private inherited inherited">
1573
<a href="#method__initAttribute">_initAttribute</a>
1578
<li class="index-item method protected inherited">
1579
<a href="#method__initAttrs">_initAttrs</a>
1584
<li class="index-item method private inherited inherited">
1585
<a href="#method__initBase">_initBase</a>
1590
<li class="index-item method private inherited">
1591
<a href="#method__initBase">_initBase</a>
1596
<li class="index-item method private inherited">
1597
<a href="#method__initHierarchy">_initHierarchy</a>
1602
<li class="index-item method private inherited">
1603
<a href="#method__initHierarchyData">_initHierarchyData</a>
1608
<li class="index-item method private inherited">
1609
<a href="#method__isLazyAttr">_isLazyAttr</a>
1614
<li class="index-item method private inherited">
1615
<a href="#method__monitor">_monitor</a>
1620
<li class="index-item method private inherited inherited">
1621
<a href="#method__normAttrVals">_normAttrVals</a>
1626
<li class="index-item method private inherited">
1627
<a href="#method__parseType">_parseType</a>
1632
<li class="index-item method private inherited">
1633
<a href="#method__preInitEventCfg">_preInitEventCfg</a>
1638
<li class="index-item method protected inherited">
1639
<a href="#method__protectAttrs">_protectAttrs</a>
1644
<li class="index-item method protected inherited inherited">
1645
<a href="#method__set">_set</a>
1650
<li class="index-item method protected inherited">
1651
<a href="#method__setAttr">_setAttr</a>
1656
<li class="index-item method protected inherited">
1657
<a href="#method__setAttrs">_setAttrs</a>
1662
<li class="index-item method private inherited">
1663
<a href="#method__setAttrVal">_setAttrVal</a>
1668
<li class="index-item method private inherited">
1669
<a href="#method__setStateVal">_setStateVal</a>
1674
<li class="index-item method inherited">
1675
<a href="#method_addAttr">addAttr</a>
1680
<li class="index-item method inherited">
1681
<a href="#method_addAttrs">addAttrs</a>
1686
<li class="index-item method inherited">
1687
<a href="#method_addTarget">addTarget</a>
1692
<li class="index-item method inherited">
1693
<a href="#method_after">after</a>
1698
<li class="index-item method inherited">
1699
<a href="#method_attrAdded">attrAdded</a>
1704
<li class="index-item method inherited">
1705
<a href="#method_before">before</a>
1710
<li class="index-item method inherited">
1711
<a href="#method_bubble">bubble</a>
1716
<li class="index-item method inherited inherited">
1717
<a href="#method_destroy">destroy</a>
1722
<li class="index-item method inherited">
1723
<a href="#method_detach">detach</a>
1728
<li class="index-item method inherited">
1729
<a href="#method_detachAll">detachAll</a>
1734
<li class="index-item method inherited">
1735
<a href="#method_fire">fire</a>
1740
<li class="index-item method inherited">
1741
<a href="#method_get">get</a>
1746
<li class="index-item method inherited">
1747
<a href="#method_getAttrs">getAttrs</a>
1752
<li class="index-item method inherited">
1753
<a href="#method_getEvent">getEvent</a>
1758
<li class="index-item method inherited">
1759
<a href="#method_getTargets">getTargets</a>
1764
<li class="index-item method inherited inherited">
1765
<a href="#method_init">init</a>
1770
<li class="index-item method inherited">
1771
<a href="#method_modifyAttr">modifyAttr</a>
1776
<li class="index-item method inherited">
1777
<a href="#method_on">on</a>
1782
<li class="index-item method inherited">
1783
<a href="#method_once">once</a>
1788
<li class="index-item method inherited">
1789
<a href="#method_onceAfter">onceAfter</a>
1794
<li class="index-item method inherited">
1795
<a href="#method_parseType">parseType</a>
1800
<li class="index-item method inherited">
1801
<a href="#method_publish">publish</a>
1806
<li class="index-item method inherited">
1807
<a href="#method_removeAttr">removeAttr</a>
1812
<li class="index-item method inherited">
1813
<a href="#method_removeTarget">removeTarget</a>
1818
<li class="index-item method inherited">
1819
<a href="#method_reset">reset</a>
1824
<li class="index-item method inherited inherited">
1825
<a href="#method_set">set</a>
1830
<li class="index-item method inherited inherited">
1831
<a href="#method_setAttrs">setAttrs</a>
1836
<li class="index-item method deprecated inherited">
1837
<a href="#method_subscribe">subscribe</a>
1842
<li class="index-item method inherited">
1843
<a href="#method_toString">toString</a>
1848
<li class="index-item method deprecated inherited">
1849
<a href="#method_unsubscribe">unsubscribe</a>
1854
<li class="index-item method deprecated inherited">
1855
<a href="#method_unsubscribeAll">unsubscribeAll</a>
1865
<div class="index-section properties">
1868
<ul class="index-list properties">
1870
<li class="index-item property protected inherited">
1871
<a href="#property__allowAdHocAttrs">_allowAdHocAttrs</a>
1876
<li class="index-item property deprecated inherited">
1877
<a href="#property_name">name</a>
1887
<div class="index-section attrs">
1890
<ul class="index-list attrs">
1892
<li class="index-item attr inherited">
1893
<a href="#attr_destroyed">destroyed</a>
1896
<li class="index-item attr inherited">
1897
<a href="#attr_initialized">initialized</a>
1905
<div class="index-section events">
1908
<ul class="index-list events">
1910
<li class="index-item event inherited">
1911
<a href="#event_destroy">destroy</a>
1916
<li class="index-item event inherited">
1917
<a href="#event_init">init</a>
1928
<div id="methods" class="api-class-tabpanel">
1929
<h2 class="off-left">Methods</h2>
1932
<div id="method__addAttrs" class="method item private inherited">
1933
<h3 class="name"><code>_addAttrs</code></h3>
1937
<span class="paren">(</span><ul class="args-list inline commas">
1957
</ul><span class="paren">)</span>
1966
<span class="flag private">private</span>
1979
<a href="../classes/AttributeCore.html#method__addAttrs">AttributeCore</a>:
1983
<a href="../files/attribute_js_AttributeCore.js.html#l740"><code>attribute/js/AttributeCore.js:740</code></a>
1993
<div class="description">
1994
<p>Implementation behind the public addAttrs method. </p>
1996
<p>This method is invoked directly by get if it encounters a scenario
1997
in which an attribute's valueFn attempts to obtain the
1998
value an attribute in the same group of attributes, which has not yet
1999
been added (on demand initialization).</p>
2003
<div class="params">
2004
<h4>Parameters:</h4>
2006
<ul class="params-list">
2010
<code class="param-name">cfgs</code>
2011
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2016
<div class="param-description">
2017
<p>An object with attribute name/configuration pairs.</p>
2025
<code class="param-name">values</code>
2026
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2031
<div class="param-description">
2032
<p>An object with attribute name/value pairs, defining the initial values to apply.
2033
Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p>
2041
<code class="param-name">lazy</code>
2042
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
2047
<div class="param-description">
2048
<p>Whether or not to delay the intialization of these attributes until the first call to get/set.
2049
Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration.
2050
See <a href="#method_addAttr">addAttr</a>.</p>
2066
<div id="method__addLazyAttr" class="method item private inherited">
2067
<h3 class="name"><code>_addLazyAttr</code></h3>
2071
<span class="paren">(</span><ul class="args-list inline commas">
2079
</ul><span class="paren">)</span>
2088
<span class="flag private">private</span>
2101
<a href="../classes/AttributeCore.html#method__addLazyAttr">AttributeCore</a>:
2105
<a href="../files/attribute_js_AttributeCore.js.html#l312"><code>attribute/js/AttributeCore.js:312</code></a>
2115
<div class="description">
2116
<p>Finishes initializing an attribute which has been lazily added.</p>
2120
<div class="params">
2121
<h4>Parameters:</h4>
2123
<ul class="params-list">
2127
<code class="param-name">name</code>
2128
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2133
<div class="param-description">
2134
<p>The name of the attribute</p>
2150
<div id="method__aggregateAttrs" class="method item private inherited">
2151
<h3 class="name"><code>_aggregateAttrs</code></h3>
2155
<span class="paren">(</span><ul class="args-list inline commas">
2159
<code>allAttrs</code>
2163
</ul><span class="paren">)</span>
2168
<span class="returns-inline">
2169
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2176
<span class="flag private">private</span>
2189
<a href="../classes/BaseCore.html#method__aggregateAttrs">BaseCore</a>:
2193
<a href="../files/base_js_BaseCore.js.html#l426"><code>base/js/BaseCore.js:426</code></a>
2203
<div class="description">
2204
<p>A helper method, used by _initHierarchyData to aggregate
2205
attribute configuration across the instances class hierarchy.</p>
2207
<p>The method will protect the attribute configuration value to protect the statically defined
2208
default value in ATTRS if required (if the value is an object literal, array or the
2209
attribute configuration has cloneDefaultValue set to shallow or deep).</p>
2213
<div class="params">
2214
<h4>Parameters:</h4>
2216
<ul class="params-list">
2220
<code class="param-name">allAttrs</code>
2221
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
2226
<div class="param-description">
2227
<p>An array of ATTRS definitions across classes in the hierarchy
2228
(subclass first, Base last)</p>
2239
<div class="returns">
2242
<div class="returns-description">
2245
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
2247
The aggregate set of ATTRS definitions for the instance
2257
<div id="method__attrCfgHash" class="method item private inherited">
2258
<h3 class="name"><code>_attrCfgHash</code></h3>
2261
<span class="paren">()</span>
2269
<span class="flag private">private</span>
2281
<a href="../classes/BaseCore.html#method__attrCfgHash">
2289
<a href="../files/base_js_Base.js.html#l180"><code>base/js/Base.js:180</code></a>
2299
<div class="description">
2300
<p>Utility method to define the attribute hash used to filter/whitelist property mixes for
2312
<div id="method__baseDestroy" class="method item private inherited">
2313
<h3 class="name"><code>_baseDestroy</code></h3>
2316
<span class="paren">()</span>
2324
<span class="flag private">private</span>
2337
<a href="../classes/BaseCore.html#method__baseDestroy">BaseCore</a>:
2341
<a href="../files/base_js_BaseCore.js.html#l263"><code>base/js/BaseCore.js:263</code></a>
2351
<div class="description">
2352
<p>Internal destroy implementation for BaseCore</p>
2363
<div id="method__baseInit" class="method item private inherited">
2364
<h3 class="name"><code>_baseInit</code></h3>
2367
<span class="paren">()</span>
2375
<span class="flag private">private</span>
2388
<a href="../classes/BaseCore.html#method__baseInit">BaseCore</a>:
2392
<a href="../files/base_js_BaseCore.js.html#l235"><code>base/js/BaseCore.js:235</code></a>
2402
<div class="description">
2403
<p>Internal initialization implementation for BaseCore</p>
2414
<div id="method__defAttrChangeFn" class="method item private inherited">
2415
<h3 class="name"><code>_defAttrChangeFn</code></h3>
2419
<span class="paren">(</span><ul class="args-list inline commas">
2427
</ul><span class="paren">)</span>
2436
<span class="flag private">private</span>
2449
<a href="../classes/AttributeEvents.html#method__defAttrChangeFn">AttributeEvents</a>:
2453
<a href="../files/attribute_js_AttributeEvents.js.html#l148"><code>attribute/js/AttributeEvents.js:148</code></a>
2463
<div class="description">
2464
<p>Default function for attribute change events.</p>
2468
<div class="params">
2469
<h4>Parameters:</h4>
2471
<ul class="params-list">
2475
<code class="param-name">e</code>
2476
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2481
<div class="param-description">
2482
<p>The event object for attribute change events.</p>
2498
<div id="method__defDestroyFn" class="method item protected inherited">
2499
<h3 class="name"><code>_defDestroyFn</code></h3>
2503
<span class="paren">(</span><ul class="args-list inline commas">
2511
</ul><span class="paren">)</span>
2520
<span class="flag protected">protected</span>
2533
<a href="../classes/Base.html#method__defDestroyFn">Base</a>:
2537
<a href="../files/base_js_Base.js.html#l325"><code>base/js/Base.js:325</code></a>
2547
<div class="description">
2548
<p>Default destroy event handler</p>
2552
<div class="params">
2553
<h4>Parameters:</h4>
2555
<ul class="params-list">
2559
<code class="param-name">e</code>
2560
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2565
<div class="param-description">
2582
<div id="method__defInitFn" class="method item protected inherited">
2583
<h3 class="name"><code>_defInitFn</code></h3>
2587
<span class="paren">(</span><ul class="args-list inline commas">
2595
</ul><span class="paren">)</span>
2604
<span class="flag protected">protected</span>
2617
<a href="../classes/Base.html#method__defInitFn">Base</a>:
2621
<a href="../files/base_js_Base.js.html#l313"><code>base/js/Base.js:313</code></a>
2631
<div class="description">
2632
<p>Default init event handler</p>
2636
<div class="params">
2637
<h4>Parameters:</h4>
2639
<ul class="params-list">
2643
<code class="param-name">e</code>
2644
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2649
<div class="param-description">
2650
<p>Event object, with a cfg property which
2651
refers to the configuration object passed to the constructor.</p>
2667
<div id="method__destroyHierarchy" class="method item private inherited">
2668
<h3 class="name"><code>_destroyHierarchy</code></h3>
2671
<span class="paren">()</span>
2679
<span class="flag private">private</span>
2692
<a href="../classes/BaseCore.html#method__destroyHierarchy">BaseCore</a>:
2696
<a href="../files/base_js_BaseCore.js.html#l559"><code>base/js/BaseCore.js:559</code></a>
2706
<div class="description">
2707
<p>Destroys the class hierarchy for this instance by invoking
2708
the destructor method on the prototype of each class in the hierarchy.</p>
2719
<div id="method__filterAdHocAttrs" class="method item private inherited">
2720
<h3 class="name"><code>_filterAdHocAttrs</code></h3>
2724
<span class="paren">(</span><ul class="args-list inline commas">
2728
<code>allAttrs</code>
2734
<code>userVals</code>
2738
</ul><span class="paren">)</span>
2743
<span class="returns-inline">
2744
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2751
<span class="flag private">private</span>
2764
<a href="../classes/BaseCore.html#method__filterAdHocAttrs">BaseCore</a>:
2768
<a href="../files/base_js_BaseCore.js.html#l342"><code>base/js/BaseCore.js:342</code></a>
2778
<div class="description">
2783
<div class="params">
2784
<h4>Parameters:</h4>
2786
<ul class="params-list">
2790
<code class="param-name">allAttrs</code>
2791
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2796
<div class="param-description">
2797
<p>The set of all attribute configurations for this instance.
2798
Attributes will be removed from this set, if they belong to the filtered class, so
2799
that by the time all classes are processed, allCfgs will be empty.</p>
2807
<code class="param-name">userVals</code>
2808
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2813
<div class="param-description">
2814
<p>The config object passed in by the user, from which adhoc attrs are to be filtered.</p>
2825
<div class="returns">
2828
<div class="returns-description">
2831
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
2833
The set of adhoc attributes passed in, in the form
2834
of an object with attribute name/configuration pairs.
2844
<div id="method__filterAttrCfs" class="method item private inherited">
2845
<h3 class="name"><code>_filterAttrCfs</code></h3>
2849
<span class="paren">(</span><ul class="args-list inline commas">
2859
<code>allCfgs</code>
2863
</ul><span class="paren">)</span>
2868
<span class="returns-inline">
2869
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2876
<span class="flag private">private</span>
2889
<a href="../classes/BaseCore.html#method__filterAttrCfs">BaseCore</a>:
2893
<a href="../files/base_js_BaseCore.js.html#l310"><code>base/js/BaseCore.js:310</code></a>
2903
<div class="description">
2904
<p>A helper method used when processing ATTRS across the class hierarchy during
2905
initialization. Returns a disposable object with the attributes defined for
2906
the provided class, extracted from the set of all attributes passed in.</p>
2910
<div class="params">
2911
<h4>Parameters:</h4>
2913
<ul class="params-list">
2917
<code class="param-name">clazz</code>
2918
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
2923
<div class="param-description">
2924
<p>The class for which the desired attributes are required.</p>
2932
<code class="param-name">allCfgs</code>
2933
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2938
<div class="param-description">
2939
<p>The set of all attribute configurations for this instance.
2940
Attributes will be removed from this set, if they belong to the filtered class, so
2941
that by the time all classes are processed, allCfgs will be empty.</p>
2952
<div class="returns">
2955
<div class="returns-description">
2958
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
2960
The set of attributes belonging to the class passed in, in the form
2961
of an object with attribute name/configuration pairs.
2971
<div id="method__fireAttrChange" class="method item private inherited">
2972
<h3 class="name"><code>_fireAttrChange</code></h3>
2976
<span class="paren">(</span><ul class="args-list inline commas">
2980
<code>attrName</code>
2986
<code>subAttrName</code>
2992
<code>currVal</code>
3008
</ul><span class="paren">)</span>
3017
<span class="flag private">private</span>
3030
<a href="../classes/AttributeEvents.html#method__fireAttrChange">AttributeEvents</a>:
3034
<a href="../files/attribute_js_AttributeEvents.js.html#l94"><code>attribute/js/AttributeEvents.js:94</code></a>
3044
<div class="description">
3045
<p>Utility method to help setup the event payload and fire the attribute change event.</p>
3049
<div class="params">
3050
<h4>Parameters:</h4>
3052
<ul class="params-list">
3056
<code class="param-name">attrName</code>
3057
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3062
<div class="param-description">
3063
<p>The name of the attribute</p>
3071
<code class="param-name">subAttrName</code>
3072
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3077
<div class="param-description">
3078
<p>The full path of the property being changed,
3079
if this is a sub-attribute value being change. Otherwise null.</p>
3087
<code class="param-name">currVal</code>
3088
<span class="type">Any</span>
3093
<div class="param-description">
3094
<p>The current value of the attribute</p>
3102
<code class="param-name">newVal</code>
3103
<span class="type">Any</span>
3108
<div class="param-description">
3109
<p>The new value of the attribute</p>
3117
<code class="param-name">opts</code>
3118
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3123
<div class="param-description">
3124
<p>Any additional event data to mix into the attribute change event's event facade.</p>
3140
<div id="method__getAttr" class="method item protected inherited">
3141
<h3 class="name"><code>_getAttr</code></h3>
3145
<span class="paren">(</span><ul class="args-list inline commas">
3153
</ul><span class="paren">)</span>
3158
<span class="returns-inline">
3159
<span class="type">Any</span>
3166
<span class="flag protected">protected</span>
3174
<span class="flag chainable">chainable</span>
3181
<a href="../classes/AttributeCore.html#method__getAttr">AttributeCore</a>:
3185
<a href="../files/attribute_js_AttributeCore.js.html#l468"><code>attribute/js/AttributeCore.js:468</code></a>
3195
<div class="description">
3196
<p>Provides the common implementation for the public get method,
3197
allowing Attribute hosts to over-ride either method.</p>
3199
<p>See <a href="#method_get">get</a> for argument details.</p>
3203
<div class="params">
3204
<h4>Parameters:</h4>
3206
<ul class="params-list">
3210
<code class="param-name">name</code>
3211
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3216
<div class="param-description">
3217
<p>The name of the attribute.</p>
3228
<div class="returns">
3231
<div class="returns-description">
3234
<span class="type">Any</span>:
3236
The value of the attribute.
3246
<div id="method__getAttrCfg" class="method item protected inherited">
3247
<h3 class="name"><code>_getAttrCfg</code></h3>
3251
<span class="paren">(</span><ul class="args-list inline commas">
3259
</ul><span class="paren">)</span>
3264
<span class="returns-inline">
3265
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3272
<span class="flag protected">protected</span>
3285
<a href="../classes/AttributeExtras.html#method__getAttrCfg">AttributeExtras</a>:
3289
<a href="../files/attribute_js_AttributeExtras.js.html#l112"><code>attribute/js/AttributeExtras.js:112</code></a>
3299
<div class="description">
3300
<p>Returns an object with the configuration properties (and value)
3301
for the given attribute. If attrName is not provided, returns the
3302
configuration properties for all attributes.</p>
3306
<div class="params">
3307
<h4>Parameters:</h4>
3309
<ul class="params-list">
3313
<code class="param-name">name</code>
3314
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3319
<div class="param-description">
3320
<p>Optional. The attribute name. If not provided, the method will return the configuration for all attributes.</p>
3331
<div class="returns">
3334
<div class="returns-description">
3337
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3339
The configuration properties for the given attribute, or all attributes.
3349
<div id="method__getAttrCfgs" class="method item protected inherited">
3350
<h3 class="name"><code>_getAttrCfgs</code></h3>
3353
<span class="paren">()</span>
3357
<span class="returns-inline">
3358
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3365
<span class="flag protected">protected</span>
3378
<a href="../classes/BaseCore.html#method__getAttrCfgs">BaseCore</a>:
3382
<a href="../files/base_js_BaseCore.js.html#l293"><code>base/js/BaseCore.js:293</code></a>
3392
<div class="description">
3393
<p>Returns an aggregated set of attribute configurations, by traversing
3394
the class hierarchy.</p>
3400
<div class="returns">
3403
<div class="returns-description">
3406
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3408
The hash of attribute configurations, aggregated across classes in the hierarchy
3409
This value is cached the first time the method, or _getClasses, is invoked. Subsequent invocations return
3420
<div id="method__getAttrInitVal" class="method item private inherited">
3421
<h3 class="name"><code>_getAttrInitVal</code></h3>
3425
<span class="paren">(</span><ul class="args-list inline commas">
3441
<code>initValues</code>
3445
</ul><span class="paren">)</span>
3450
<span class="returns-inline">
3451
<span class="type">Any</span>
3458
<span class="flag private">private</span>
3470
<a href="../classes/AttributeCore.html#method__getAttrInitVal">
3478
<a href="../files/attribute_js_ComplexAttribute.js.html#l58"><code>attribute/js/ComplexAttribute.js:58</code></a>
3488
<div class="description">
3489
<p>Returns the initial value of the given attribute from
3490
either the default configuration provided, or the
3491
over-ridden value if it exists in the set of initValues
3492
provided and the attribute is not read-only.</p>
3496
<div class="params">
3497
<h4>Parameters:</h4>
3499
<ul class="params-list">
3503
<code class="param-name">attr</code>
3504
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3509
<div class="param-description">
3510
<p>The name of the attribute</p>
3518
<code class="param-name">cfg</code>
3519
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3524
<div class="param-description">
3525
<p>The attribute configuration object</p>
3533
<code class="param-name">initValues</code>
3534
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3539
<div class="param-description">
3540
<p>The object with simple and complex attribute name/value pairs returned from _normAttrVals</p>
3551
<div class="returns">
3554
<div class="returns-description">
3557
<span class="type">Any</span>:
3559
The initial value of the attribute.
3569
<div id="method__getAttrs" class="method item protected inherited">
3570
<h3 class="name"><code>_getAttrs</code></h3>
3574
<span class="paren">(</span><ul class="args-list inline commas">
3582
</ul><span class="paren">)</span>
3587
<span class="returns-inline">
3588
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3595
<span class="flag protected">protected</span>
3608
<a href="../classes/AttributeCore.html#method__getAttrs">AttributeCore</a>:
3612
<a href="../files/attribute_js_AttributeCore.js.html#l677"><code>attribute/js/AttributeCore.js:677</code></a>
3622
<div class="description">
3623
<p>Implementation behind the public getAttrs method, to get multiple attribute values.</p>
3627
<div class="params">
3628
<h4>Parameters:</h4>
3630
<ul class="params-list">
3634
<code class="param-name">attrs</code>
3635
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span>
3640
<div class="param-description">
3641
<p>Optional. An array of attribute names. If omitted, all attribute values are
3642
returned. If set to true, all attributes modified from their initial values are returned.</p>
3653
<div class="returns">
3656
<div class="returns-description">
3659
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3661
An object with attribute name/value pairs.
3671
<div id="method__getClasses" class="method item protected inherited">
3672
<h3 class="name"><code>_getClasses</code></h3>
3675
<span class="paren">()</span>
3679
<span class="returns-inline">
3680
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>
3687
<span class="flag protected">protected</span>
3700
<a href="../classes/BaseCore.html#method__getClasses">BaseCore</a>:
3704
<a href="../files/base_js_BaseCore.js.html#l277"><code>base/js/BaseCore.js:277</code></a>
3714
<div class="description">
3715
<p>Returns the class hierarchy for this object, with BaseCore being the last class in the array.</p>
3721
<div class="returns">
3724
<div class="returns-description">
3727
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>:
3729
An array of classes (constructor functions), making up the class hierarchy for this object.
3730
This value is cached the first time the method, or _getAttrCfgs, is invoked. Subsequent invocations return the
3741
<div id="method__getStateVal" class="method item private inherited">
3742
<h3 class="name"><code>_getStateVal</code></h3>
3746
<span class="paren">(</span><ul class="args-list inline commas">
3754
</ul><span class="paren">)</span>
3759
<span class="returns-inline">
3760
<span class="type">Any</span>
3767
<span class="flag private">private</span>
3780
<a href="../classes/AttributeCore.html#method__getStateVal">AttributeCore</a>:
3784
<a href="../files/attribute_js_AttributeCore.js.html#l522"><code>attribute/js/AttributeCore.js:522</code></a>
3794
<div class="description">
3795
<p>Gets the stored value for the attribute, from either the
3796
internal state object, or the state proxy if it exits</p>
3800
<div class="params">
3801
<h4>Parameters:</h4>
3803
<ul class="params-list">
3807
<code class="param-name">name</code>
3808
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3813
<div class="param-description">
3814
<p>The name of the attribute</p>
3825
<div class="returns">
3828
<div class="returns-description">
3831
<span class="type">Any</span>:
3833
The stored value of the attribute
3843
<div id="method__getType" class="method item private inherited">
3844
<h3 class="name"><code>_getType</code></h3>
3847
<span class="paren">()</span>
3855
<span class="flag private">private</span>
3868
<a href="../classes/EventTarget.html#method__getType">EventTarget</a>:
3872
<a href="../files/event-custom_js_event-target.js.html#l36"><code>event-custom/js/event-target.js:36</code></a>
3882
<div class="description">
3883
<p>If the instance has a prefix attribute and the
3884
event type is not prefixed, the instance prefix is
3885
applied to the supplied type.</p>
3896
<div id="method__initAttrHost" class="method item private inherited">
3897
<h3 class="name"><code>_initAttrHost</code></h3>
3901
<span class="paren">(</span><ul class="args-list inline commas">
3921
</ul><span class="paren">)</span>
3930
<span class="flag private">private</span>
3943
<a href="../classes/AttributeCore.html#method__initAttrHost">AttributeCore</a>:
3947
<a href="../files/attribute_js_AttributeCore.js.html#l109"><code>attribute/js/AttributeCore.js:109</code></a>
3957
<div class="description">
3958
<p>Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the
3963
<div class="params">
3964
<h4>Parameters:</h4>
3966
<ul class="params-list">
3970
<code class="param-name">attrs</code>
3971
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3976
<div class="param-description">
3977
<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>
3985
<code class="param-name">values</code>
3986
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3991
<div class="param-description">
3992
<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>
4000
<code class="param-name">lazy</code>
4001
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4006
<div class="param-description">
4007
<p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p>
4023
<div id="method__initAttribute" class="method item private inherited">
4024
<h3 class="name"><code>_initAttribute</code></h3>
4027
<span class="paren">()</span>
4035
<span class="flag private">private</span>
4047
<a href="../classes/BaseCore.html#method__initAttribute">
4055
<a href="../files/base_js_Base.js.html#l169"><code>base/js/Base.js:169</code></a>
4065
<div class="description">
4066
<p>Initializes Attribute</p>
4077
<div id="method__initAttrs" class="method item protected inherited">
4078
<h3 class="name"><code>_initAttrs</code></h3>
4082
<span class="paren">(</span><ul class="args-list inline commas">
4102
</ul><span class="paren">)</span>
4111
<span class="flag protected">protected</span>
4124
<a href="../classes/AttributeCore.html#method__initAttrs">AttributeCore</a>:
4128
<a href="../files/attribute_js_AttributeCore.js.html#l862"><code>attribute/js/AttributeCore.js:862</code></a>
4138
<div class="description">
4139
<p>Utility method to set up initial attributes defined during construction, either through the constructor.ATTRS property, or explicitly passed in.</p>
4143
<div class="params">
4144
<h4>Parameters:</h4>
4146
<ul class="params-list">
4150
<code class="param-name">attrs</code>
4151
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4156
<div class="param-description">
4157
<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>
4165
<code class="param-name">values</code>
4166
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4171
<div class="param-description">
4172
<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>
4180
<code class="param-name">lazy</code>
4181
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4186
<div class="param-description">
4187
<p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p>
4203
<div id="method__initBase" class="method item private inherited">
4204
<h3 class="name"><code>_initBase</code></h3>
4208
<span class="paren">(</span><ul class="args-list inline commas">
4216
</ul><span class="paren">)</span>
4225
<span class="flag private">private</span>
4237
<a href="../classes/BaseCore.html#method__initBase">
4245
<a href="../files/base_js_Base.js.html#l154"><code>base/js/Base.js:154</code></a>
4255
<div class="description">
4256
<p>Internal construction logic for Base.</p>
4260
<div class="params">
4261
<h4>Parameters:</h4>
4263
<ul class="params-list">
4267
<code class="param-name">config</code>
4268
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4273
<div class="param-description">
4274
<p>The constructor configuration object</p>
4290
<div id="method__initBase" class="method item private inherited">
4291
<h3 class="name"><code>_initBase</code></h3>
4295
<span class="paren">(</span><ul class="args-list inline commas">
4303
</ul><span class="paren">)</span>
4312
<span class="flag private">private</span>
4325
<a href="../classes/BaseCore.html#method__initBase">BaseCore</a>:
4329
<a href="../files/base_js_BaseCore.js.html#l174"><code>base/js/BaseCore.js:174</code></a>
4339
<div class="description">
4340
<p>Internal construction logic for BaseCore.</p>
4344
<div class="params">
4345
<h4>Parameters:</h4>
4347
<ul class="params-list">
4351
<code class="param-name">config</code>
4352
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4357
<div class="param-description">
4358
<p>The constructor configuration object</p>
4374
<div id="method__initHierarchy" class="method item private inherited">
4375
<h3 class="name"><code>_initHierarchy</code></h3>
4379
<span class="paren">(</span><ul class="args-list inline commas">
4383
<code>userVals</code>
4387
</ul><span class="paren">)</span>
4396
<span class="flag private">private</span>
4409
<a href="../classes/BaseCore.html#method__initHierarchy">BaseCore</a>:
4413
<a href="../files/base_js_BaseCore.js.html#l501"><code>base/js/BaseCore.js:501</code></a>
4423
<div class="description">
4424
<p>Initializes the class hierarchy for the instance, which includes
4425
initializing attributes for each class defined in the class's
4426
static <a href="#property_BaseCore.ATTRS">ATTRS</a> property and
4427
invoking the initializer method on the prototype of each class in the hierarchy.</p>
4431
<div class="params">
4432
<h4>Parameters:</h4>
4434
<ul class="params-list">
4438
<code class="param-name">userVals</code>
4439
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4444
<div class="param-description">
4445
<p>Object with configuration property name/value pairs</p>
4461
<div id="method__initHierarchyData" class="method item private inherited">
4462
<h3 class="name"><code>_initHierarchyData</code></h3>
4465
<span class="paren">()</span>
4473
<span class="flag private">private</span>
4486
<a href="../classes/BaseCore.html#method__initHierarchyData">BaseCore</a>:
4490
<a href="../files/base_js_BaseCore.js.html#l372"><code>base/js/BaseCore.js:372</code></a>
4500
<div class="description">
4501
<p>A helper method used by _getClasses and _getAttrCfgs, which determines both
4502
the array of classes and aggregate set of attribute configurations
4503
across the class hierarchy for the instance.</p>
4514
<div id="method__isLazyAttr" class="method item private inherited">
4515
<h3 class="name"><code>_isLazyAttr</code></h3>
4519
<span class="paren">(</span><ul class="args-list inline commas">
4527
</ul><span class="paren">)</span>
4532
<span class="returns-inline">
4533
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4540
<span class="flag private">private</span>
4553
<a href="../classes/AttributeCore.html#method__isLazyAttr">AttributeCore</a>:
4557
<a href="../files/attribute_js_AttributeCore.js.html#l299"><code>attribute/js/AttributeCore.js:299</code></a>
4567
<div class="description">
4568
<p>Checks whether or not the attribute is one which has been
4569
added lazily and still requires initialization.</p>
4573
<div class="params">
4574
<h4>Parameters:</h4>
4576
<ul class="params-list">
4580
<code class="param-name">name</code>
4581
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4586
<div class="param-description">
4587
<p>The name of the attribute</p>
4598
<div class="returns">
4601
<div class="returns-description">
4604
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
4606
true if it's a lazily added attribute, false otherwise.
4616
<div id="method__monitor" class="method item private inherited">
4617
<h3 class="name"><code>_monitor</code></h3>
4621
<span class="paren">(</span><ul class="args-list inline commas">
4641
</ul><span class="paren">)</span>
4650
<span class="flag private">private</span>
4663
<a href="../classes/EventTarget.html#method__monitor">EventTarget</a>:
4667
<a href="../files/event-custom_js_event-target.js.html#l602"><code>event-custom/js/event-target.js:602</code></a>
4677
<div class="description">
4678
<p>This is the entry point for the event monitoring system.
4679
You can monitor 'attach', 'detach', 'fire', and 'publish'.
4680
When configured, these events generate an event. click ->
4681
click<em>attach, click</em>detach, click_publish -- these can
4682
be subscribed to like other events to monitor the event
4683
system. Inividual published events can have monitoring
4684
turned on or off (publish can't be turned off before it
4685
it published) by setting the events 'monitor' config.</p>
4689
<div class="params">
4690
<h4>Parameters:</h4>
4692
<ul class="params-list">
4696
<code class="param-name">what</code>
4697
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4702
<div class="param-description">
4703
<p>'attach', 'detach', 'fire', or 'publish'</p>
4711
<code class="param-name">type</code>
4712
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4717
<div class="param-description">
4718
<p>Name of the event being monitored</p>
4726
<code class="param-name">o</code>
4727
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4732
<div class="param-description">
4733
<p>Information about the event interaction, such as
4734
fire() args, subscription category, publish config</p>
4750
<div id="method__normAttrVals" class="method item private inherited">
4751
<h3 class="name"><code>_normAttrVals</code></h3>
4755
<span class="paren">(</span><ul class="args-list inline commas">
4759
<code>valueHash</code>
4763
</ul><span class="paren">)</span>
4768
<span class="returns-inline">
4769
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4776
<span class="flag private">private</span>
4788
<a href="../classes/AttributeCore.html#method__normAttrVals">
4796
<a href="../files/attribute_js_ComplexAttribute.js.html#l15"><code>attribute/js/ComplexAttribute.js:15</code></a>
4806
<div class="description">
4807
<p>Utility method to split out simple attribute name/value pairs ("x")
4808
from complex attribute name/value pairs ("x.y.z"), so that complex
4809
attributes can be keyed by the top level attribute name.</p>
4813
<div class="params">
4814
<h4>Parameters:</h4>
4816
<ul class="params-list">
4820
<code class="param-name">valueHash</code>
4821
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4826
<div class="param-description">
4827
<p>An object with attribute name/value pairs</p>
4838
<div class="returns">
4841
<div class="returns-description">
4844
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
4846
An object literal with 2 properties - "simple" and "complex",
4847
containing simple and complex attribute values respectively keyed
4848
by the top level attribute name, or null, if valueHash is falsey.
4858
<div id="method__parseType" class="method item private inherited">
4859
<h3 class="name"><code>_parseType</code></h3>
4862
<span class="paren">()</span>
4870
<span class="flag private">private</span>
4883
<a href="../classes/EventTarget.html#method__parseType">EventTarget</a>:
4887
<a href="../files/event-custom_js_event-target.js.html#l52"><code>event-custom/js/event-target.js:52</code></a>
4897
<div class="description">
4898
<p>Returns an array with the detach key (if provided),
4899
and the prefixed event name from _getType
4900
Y.on('detachcategory| menu:click', fn)</p>
4911
<div id="method__preInitEventCfg" class="method item private inherited">
4912
<h3 class="name"><code>_preInitEventCfg</code></h3>
4916
<span class="paren">(</span><ul class="args-list inline commas">
4924
</ul><span class="paren">)</span>
4933
<span class="flag private">private</span>
4946
<a href="../classes/Base.html#method__preInitEventCfg">Base</a>:
4950
<a href="../files/base_js_Base.js.html#l233"><code>base/js/Base.js:233</code></a>
4960
<div class="description">
4961
<p>Handles the special on, after and target properties which allow the user to
4962
easily configure on and after listeners as well as bubble targets during
4963
construction, prior to init.</p>
4967
<div class="params">
4968
<h4>Parameters:</h4>
4970
<ul class="params-list">
4974
<code class="param-name">config</code>
4975
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4980
<div class="param-description">
4981
<p>The user configuration object</p>
4997
<div id="method__protectAttrs" class="method item protected inherited">
4998
<h3 class="name"><code>_protectAttrs</code></h3>
5002
<span class="paren">(</span><ul class="args-list inline commas">
5010
</ul><span class="paren">)</span>
5015
<span class="returns-inline">
5016
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5023
<span class="flag protected">protected</span>
5036
<a href="../classes/AttributeCore.html#method__protectAttrs">AttributeCore</a>:
5040
<a href="../files/attribute_js_AttributeCore.js.html#l786"><code>attribute/js/AttributeCore.js:786</code></a>
5050
<div class="description">
5051
<p>Utility method to protect an attribute configuration
5052
hash, by merging the entire object and the individual
5053
attr config objects.</p>
5057
<div class="params">
5058
<h4>Parameters:</h4>
5060
<ul class="params-list">
5064
<code class="param-name">attrs</code>
5065
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5070
<div class="param-description">
5071
<p>A hash of attribute to configuration object pairs.</p>
5082
<div class="returns">
5085
<div class="returns-description">
5088
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5090
A protected version of the attrs argument.
5100
<div id="method__set" class="method item protected inherited">
5101
<h3 class="name"><code>_set</code></h3>
5105
<span class="paren">(</span><ul class="args-list inline commas">
5125
</ul><span class="paren">)</span>
5130
<span class="returns-inline">
5131
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5138
<span class="flag protected">protected</span>
5146
<span class="flag chainable">chainable</span>
5152
<a href="../classes/AttributeCore.html#method__set">
5160
<a href="../files/attribute_js_AttributeEvents.js.html#l65"><code>attribute/js/AttributeEvents.js:65</code></a>
5170
<div class="description">
5171
<p>Allows setting of readOnly/writeOnce attributes. See <a href="#method_set">set</a> for argument details.</p>
5175
<div class="params">
5176
<h4>Parameters:</h4>
5178
<ul class="params-list">
5182
<code class="param-name">name</code>
5183
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5188
<div class="param-description">
5189
<p>The name of the attribute.</p>
5197
<code class="param-name">val</code>
5198
<span class="type">Any</span>
5203
<div class="param-description">
5204
<p>The value to set the attribute to.</p>
5212
<code class="param-name">opts</code>
5213
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5218
<div class="param-description">
5219
<p>(Optional) Optional event data to be mixed into
5220
the event facade passed to subscribers of the attribute's change event.</p>
5231
<div class="returns">
5234
<div class="returns-description">
5237
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5239
A reference to the host object.
5249
<div id="method__setAttr" class="method item protected inherited">
5250
<h3 class="name"><code>_setAttr</code></h3>
5254
<span class="paren">(</span><ul class="args-list inline commas">
5280
</ul><span class="paren">)</span>
5285
<span class="returns-inline">
5286
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5293
<span class="flag protected">protected</span>
5301
<span class="flag chainable">chainable</span>
5308
<a href="../classes/AttributeCore.html#method__setAttr">AttributeCore</a>:
5312
<a href="../files/attribute_js_AttributeCore.js.html#l361"><code>attribute/js/AttributeCore.js:361</code></a>
5322
<div class="description">
5323
<p>Provides the common implementation for the public set and protected _set methods.</p>
5325
<p>See <a href="#method_set">set</a> for argument details.</p>
5329
<div class="params">
5330
<h4>Parameters:</h4>
5332
<ul class="params-list">
5336
<code class="param-name">name</code>
5337
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5342
<div class="param-description">
5343
<p>The name of the attribute.</p>
5351
<code class="param-name">value</code>
5352
<span class="type">Any</span>
5357
<div class="param-description">
5358
<p>The value to set the attribute to.</p>
5366
<code class="param-name">opts</code>
5367
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5372
<div class="param-description">
5373
<p>(Optional) Optional event data to be mixed into
5374
the event facade passed to subscribers of the attribute's change event.
5375
This is currently a hack. There's no real need for the AttributeCore implementation
5376
to support this parameter, but breaking it out into AttributeEvents, results in
5377
additional function hops for the critical path. May change in 3.5.0 PR3.</p>
5385
<code class="param-name">force</code>
5386
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
5391
<div class="param-description">
5392
<p>If true, allows the caller to set values for
5393
readOnly or writeOnce attributes which have already been set.</p>
5404
<div class="returns">
5407
<div class="returns-description">
5410
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5412
A reference to the host object.
5422
<div id="method__setAttrs" class="method item protected inherited">
5423
<h3 class="name"><code>_setAttrs</code></h3>
5427
<span class="paren">(</span><ul class="args-list inline commas">
5435
</ul><span class="paren">)</span>
5440
<span class="returns-inline">
5441
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5448
<span class="flag protected">protected</span>
5456
<span class="flag chainable">chainable</span>
5463
<a href="../classes/AttributeCore.html#method__setAttrs">AttributeCore</a>:
5467
<a href="../files/attribute_js_AttributeCore.js.html#l647"><code>attribute/js/AttributeCore.js:647</code></a>
5477
<div class="description">
5478
<p>Implementation behind the public setAttrs method, to set multiple attribute values.</p>
5482
<div class="params">
5483
<h4>Parameters:</h4>
5485
<ul class="params-list">
5489
<code class="param-name">attrs</code>
5490
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5495
<div class="param-description">
5496
<p>An object with attributes name/value pairs.</p>
5507
<div class="returns">
5510
<div class="returns-description">
5513
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5515
A reference to the host object.
5525
<div id="method__setAttrVal" class="method item private inherited">
5526
<h3 class="name"><code>_setAttrVal</code></h3>
5530
<span class="paren">(</span><ul class="args-list inline commas">
5534
<code>attrName</code>
5540
<code>subAttrName</code>
5546
<code>prevVal</code>
5556
</ul><span class="paren">)</span>
5561
<span class="returns-inline">
5562
<span class="type">Booolean</span>
5569
<span class="flag private">private</span>
5582
<a href="../classes/AttributeCore.html#method__setAttrVal">AttributeCore</a>:
5586
<a href="../files/attribute_js_AttributeCore.js.html#l554"><code>attribute/js/AttributeCore.js:554</code></a>
5596
<div class="description">
5597
<p>Updates the stored value of the attribute in the privately held State object,
5598
if validation and setter passes.</p>
5602
<div class="params">
5603
<h4>Parameters:</h4>
5605
<ul class="params-list">
5609
<code class="param-name">attrName</code>
5610
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5615
<div class="param-description">
5616
<p>The attribute name.</p>
5624
<code class="param-name">subAttrName</code>
5625
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5630
<div class="param-description">
5631
<p>The sub-attribute name, if setting a sub-attribute property ("x.y.z").</p>
5639
<code class="param-name">prevVal</code>
5640
<span class="type">Any</span>
5645
<div class="param-description">
5646
<p>The currently stored value of the attribute.</p>
5654
<code class="param-name">newVal</code>
5655
<span class="type">Any</span>
5660
<div class="param-description">
5661
<p>The value which is going to be stored.</p>
5672
<div class="returns">
5675
<div class="returns-description">
5678
<span class="type">Booolean</span>:
5680
true if the new attribute value was stored, false if not.
5690
<div id="method__setStateVal" class="method item private inherited">
5691
<h3 class="name"><code>_setStateVal</code></h3>
5695
<span class="paren">(</span><ul class="args-list inline commas">
5709
</ul><span class="paren">)</span>
5718
<span class="flag private">private</span>
5731
<a href="../classes/AttributeCore.html#method__setStateVal">AttributeCore</a>:
5735
<a href="../files/attribute_js_AttributeCore.js.html#l536"><code>attribute/js/AttributeCore.js:536</code></a>
5745
<div class="description">
5746
<p>Sets the stored value for the attribute, in either the
5747
internal state object, or the state proxy if it exits</p>
5751
<div class="params">
5752
<h4>Parameters:</h4>
5754
<ul class="params-list">
5758
<code class="param-name">name</code>
5759
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5764
<div class="param-description">
5765
<p>The name of the attribute</p>
5773
<code class="param-name">value</code>
5774
<span class="type">Any</span>
5779
<div class="param-description">
5780
<p>The value of the attribute</p>
5796
<div id="method_addAttr" class="method item inherited">
5797
<h3 class="name"><code>addAttr</code></h3>
5801
<span class="paren">(</span><ul class="args-list inline commas">
5821
</ul><span class="paren">)</span>
5826
<span class="returns-inline">
5827
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5840
<span class="flag chainable">chainable</span>
5847
<a href="../classes/AttributeCore.html#method_addAttr">AttributeCore</a>:
5851
<a href="../files/attribute_js_AttributeCore.js.html#l124"><code>attribute/js/AttributeCore.js:124</code></a>
5861
<div class="description">
5863
Adds an attribute with the provided configuration to the host object.
5867
The config argument object supports the following properties:
5871
<dt>value <Any></dt>
5872
<dd>The initial value to set on the attribute</dd>
5874
<dt>valueFn <Function | String></dt>
5876
<p>A function, which will return the initial value to set on the attribute. This is useful
5877
for cases where the attribute configuration is defined statically, but needs to
5878
reference the host instance ("this") to obtain an initial value. If both the value and valueFn properties are defined,
5879
the value returned by the valueFn has precedence over the value property, unless it returns undefined, in which
5880
case the value property is used.</p>
5882
<p>valueFn can also be set to a string, representing the name of the instance method to be used to retrieve the value.</p>
5885
<dt>readOnly <boolean></dt>
5886
<dd>Whether or not the attribute is read only. Attributes having readOnly set to true
5887
cannot be modified by invoking the set method.</dd>
5889
<dt>writeOnce <boolean> or <string></dt>
5891
Whether or not the attribute is "write once". Attributes having writeOnce set to true,
5892
can only have their values set once, be it through the default configuration,
5893
constructor configuration arguments, or by invoking set.
5894
<p>The writeOnce attribute can also be set to the string "initOnly", in which case the attribute can only be set during initialization
5895
(when used with Base, this means it can only be set during construction)</p>
5898
<dt>setter <Function | String></dt>
5900
<p>The setter function used to massage or normalize the value passed to the set method for the attribute.
5901
The value returned by the setter will be the final stored value. Returning
5902
<a href="#property_Attribute.INVALID_VALUE">Attribute.INVALID_VALUE</a>, from the setter will prevent
5903
the value from being stored.
5906
<p>setter can also be set to a string, representing the name of the instance method to be used as the setter function.</p>
5909
<dt>getter <Function | String></dt>
5912
The getter function used to massage or normalize the value returned by the get method for the attribute.
5913
The value returned by the getter function is the value which will be returned to the user when they
5917
<p>getter can also be set to a string, representing the name of the instance method to be used as the getter function.</p>
5920
<dt>validator <Function | String></dt>
5923
The validator function invoked prior to setting the stored value. Returning
5924
false from the validator function will prevent the value from being stored.
5927
<p>validator can also be set to a string, representing the name of the instance method to be used as the validator function.</p>
5930
<dt>lazyAdd <boolean></dt>
5931
<dd>Whether or not to delay initialization of the attribute until the first call to get/set it.
5932
This flag can be used to over-ride lazy initialization on a per attribute basis, when adding multiple attributes through
5933
the <a href="#method_addAttrs">addAttrs</a> method.</dd>
5937
<p>The setter, getter and validator are invoked with the value and name passed in as the first and second arguments, and with
5938
the context ("this") set to the host object.</p>
5940
<p>Configuration properties outside of the list mentioned above are considered private properties used internally by attribute,
5941
and are not intended for public use.</p>
5945
<div class="params">
5946
<h4>Parameters:</h4>
5948
<ul class="params-list">
5952
<code class="param-name">name</code>
5953
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5958
<div class="param-description">
5959
<p>The name of the attribute.</p>
5967
<code class="param-name">config</code>
5968
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5973
<div class="param-description">
5974
<p>An object with attribute configuration property/value pairs, specifying the configuration for the attribute.</p>
5977
<strong>NOTE:</strong> The configuration object is modified when adding an attribute, so if you need
5978
to protect the original values, you will need to merge the object.
5987
<code class="param-name">lazy</code>
5988
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
5993
<div class="param-description">
5994
<p>(optional) Whether or not to add this attribute lazily (on the first call to get/set).</p>
6005
<div class="returns">
6008
<div class="returns-description">
6011
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
6013
A reference to the host object.
6023
<div id="method_addAttrs" class="method item inherited">
6024
<h3 class="name"><code>addAttrs</code></h3>
6028
<span class="paren">(</span><ul class="args-list inline commas">
6048
</ul><span class="paren">)</span>
6053
<span class="returns-inline">
6054
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6067
<span class="flag chainable">chainable</span>
6074
<a href="../classes/AttributeCore.html#method_addAttrs">AttributeCore</a>:
6078
<a href="../files/attribute_js_AttributeCore.js.html#l708"><code>attribute/js/AttributeCore.js:708</code></a>
6088
<div class="description">
6089
<p>Configures a group of attributes, and sets initial values.</p>
6092
<strong>NOTE:</strong> This method does not isolate the configuration object by merging/cloning.
6093
The caller is responsible for merging/cloning the configuration object if required.
6098
<div class="params">
6099
<h4>Parameters:</h4>
6101
<ul class="params-list">
6105
<code class="param-name">cfgs</code>
6106
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6111
<div class="param-description">
6112
<p>An object with attribute name/configuration pairs.</p>
6120
<code class="param-name">values</code>
6121
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6126
<div class="param-description">
6127
<p>An object with attribute name/value pairs, defining the initial values to apply.
6128
Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p>
6136
<code class="param-name">lazy</code>
6137
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6142
<div class="param-description">
6143
<p>Whether or not to delay the intialization of these attributes until the first call to get/set.
6144
Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration.
6145
See <a href="#method_addAttr">addAttr</a>.</p>
6156
<div class="returns">
6159
<div class="returns-description">
6162
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
6164
A reference to the host object.
6174
<div id="method_addTarget" class="method item inherited">
6175
<h3 class="name"><code>addTarget</code></h3>
6179
<span class="paren">(</span><ul class="args-list inline commas">
6187
</ul><span class="paren">)</span>
6207
<a href="../classes/EventTarget.html#method_addTarget">EventTarget</a>:
6211
<a href="../files/event-custom_js_event-facade.js.html#l382"><code>event-custom/js/event-facade.js:382</code></a>
6221
<div class="description">
6222
<p>Registers another EventTarget as a bubble target. Bubble order
6223
is determined by the order registered. Multiple targets can
6226
<p>Events can only bubble if emitFacade is true.</p>
6228
<p>Included in the event-custom-complex submodule.</p>
6232
<div class="params">
6233
<h4>Parameters:</h4>
6235
<ul class="params-list">
6239
<code class="param-name">o</code>
6240
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
6245
<div class="param-description">
6246
<p>the target to add</p>
6262
<div id="method_after" class="method item inherited">
6263
<h3 class="name"><code>after</code></h3>
6267
<span class="paren">(</span><ul class="args-list inline commas">
6283
<code class="optional">[context]</code>
6289
<code class="optional">[arg*]</code>
6293
</ul><span class="paren">)</span>
6298
<span class="returns-inline">
6299
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
6317
<a href="../classes/EventTarget.html#method_after">EventTarget</a>:
6321
<a href="../files/event-custom_js_event-target.js.html#l730"><code>event-custom/js/event-target.js:730</code></a>
6331
<div class="description">
6332
<p>Subscribe to a custom event hosted by this object. The
6333
supplied callback will execute after any listeners add
6334
via the subscribe method, and after the default function,
6335
if configured for the event, has executed.</p>
6339
<div class="params">
6340
<h4>Parameters:</h4>
6342
<ul class="params-list">
6346
<code class="param-name">type</code>
6347
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6352
<div class="param-description">
6353
<p>The name of the event</p>
6361
<code class="param-name">fn</code>
6362
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
6367
<div class="param-description">
6368
<p>The callback to execute in response to the event</p>
6376
<code class="param-name optional">[context]</code>
6377
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6378
<span class="flag optional" title="This parameter is optional.">optional</span>
6383
<div class="param-description">
6384
<p>Override <code>this</code> object in callback</p>
6392
<code class="param-name optional">[arg*]</code>
6393
<span class="type">Any</span>
6394
<span class="flag optional" title="This parameter is optional.">optional</span>
6399
<div class="param-description">
6400
<p>0..n additional arguments to supply to the subscriber</p>
6411
<div class="returns">
6414
<div class="returns-description">
6417
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
6419
A subscription handle capable of detaching the
6430
<div id="method_attrAdded" class="method item inherited">
6431
<h3 class="name"><code>attrAdded</code></h3>
6435
<span class="paren">(</span><ul class="args-list inline commas">
6443
</ul><span class="paren">)</span>
6448
<span class="returns-inline">
6449
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6467
<a href="../classes/AttributeCore.html#method_attrAdded">AttributeCore</a>:
6471
<a href="../files/attribute_js_AttributeCore.js.html#l272"><code>attribute/js/AttributeCore.js:272</code></a>
6481
<div class="description">
6482
<p>Checks if the given attribute has been added to the host</p>
6486
<div class="params">
6487
<h4>Parameters:</h4>
6489
<ul class="params-list">
6493
<code class="param-name">name</code>
6494
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6499
<div class="param-description">
6500
<p>The name of the attribute to check.</p>
6511
<div class="returns">
6514
<div class="returns-description">
6517
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
6519
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.
6529
<div id="method_before" class="method item inherited">
6530
<h3 class="name"><code>before</code></h3>
6533
<span class="paren">()</span>
6537
<span class="returns-inline">
6538
<span class="type"></span>
6556
<a href="../classes/EventTarget.html#method_before">EventTarget</a>:
6560
<a href="../files/event-custom_js_event-target.js.html#l767"><code>event-custom/js/event-target.js:767</code></a>
6570
<div class="description">
6571
<p>Executes the callback before a DOM event, custom event
6572
or method. If the first argument is a function, it
6573
is assumed the target is a method. For DOM and custom
6574
events, this is an alias for Y.on.</p>
6576
<p>For DOM and custom events:
6577
type, callback, context, 0-n arguments</p>
6580
callback, object (method host), methodName, context, 0-n arguments</p>
6586
<div class="returns">
6589
<div class="returns-description">
6602
<div id="method_bubble" class="method item inherited">
6603
<h3 class="name"><code>bubble</code></h3>
6607
<span class="paren">(</span><ul class="args-list inline commas">
6615
</ul><span class="paren">)</span>
6620
<span class="returns-inline">
6621
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6639
<a href="../classes/EventTarget.html#method_bubble">EventTarget</a>:
6643
<a href="../files/event-custom_js_event-facade.js.html#l419"><code>event-custom/js/event-facade.js:419</code></a>
6653
<div class="description">
6654
<p>Propagate an event. Requires the event-custom-complex module.</p>
6658
<div class="params">
6659
<h4>Parameters:</h4>
6661
<ul class="params-list">
6665
<code class="param-name">evt</code>
6666
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
6671
<div class="param-description">
6672
<p>the custom event to propagate</p>
6683
<div class="returns">
6686
<div class="returns-description">
6689
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
6691
the aggregated return value from Event.Custom.fire
6701
<div id="method_destroy" class="method item inherited">
6702
<h3 class="name"><code>destroy</code></h3>
6705
<span class="paren">()</span>
6709
<span class="returns-inline">
6710
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>
6723
<span class="flag chainable">chainable</span>
6729
<a href="../classes/BaseCore.html#method_destroy">
6737
<a href="../files/base_js_Base.js.html#l267"><code>base/js/Base.js:267</code></a>
6747
<div class="description">
6749
Destroy lifecycle method. Fires the destroy
6750
event, prior to invoking destructors for the
6755
Subscribers to the destroy
6756
event can invoke preventDefault on the event object, to prevent destruction
6764
<div class="returns">
6767
<div class="returns-description">
6770
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>:
6772
A reference to this object
6782
<div id="method_detach" class="method item inherited">
6783
<h3 class="name"><code>detach</code></h3>
6787
<span class="paren">(</span><ul class="args-list inline commas">
6803
<code>context</code>
6807
</ul><span class="paren">)</span>
6812
<span class="returns-inline">
6813
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
6831
<a href="../classes/EventTarget.html#method_detach">EventTarget</a>:
6835
<a href="../files/event-custom_js_event-target.js.html#l345"><code>event-custom/js/event-target.js:345</code></a>
6845
<div class="description">
6846
<p>Detach one or more listeners the from the specified event</p>
6850
<div class="params">
6851
<h4>Parameters:</h4>
6853
<ul class="params-list">
6857
<code class="param-name">type</code>
6858
<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>
6863
<div class="param-description">
6864
<p>Either the handle to the subscriber or the
6865
type of event. If the type
6866
is not specified, it will attempt to remove
6867
the listener from all hosted events.</p>
6875
<code class="param-name">fn</code>
6876
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
6881
<div class="param-description">
6882
<p>The subscribed function to unsubscribe, if not
6883
supplied, all subscribers will be removed.</p>
6891
<code class="param-name">context</code>
6892
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6897
<div class="param-description">
6898
<p>The custom object passed to subscribe. This is
6899
optional, but if supplied will be used to
6900
disambiguate multiple listeners that are the same
6901
(e.g., you subscribe many object using a function
6902
that lives on the prototype)</p>
6913
<div class="returns">
6916
<div class="returns-description">
6919
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
6931
<div id="method_detachAll" class="method item inherited">
6932
<h3 class="name"><code>detachAll</code></h3>
6936
<span class="paren">(</span><ul class="args-list inline commas">
6944
</ul><span class="paren">)</span>
6964
<a href="../classes/EventTarget.html#method_detachAll">EventTarget</a>:
6968
<a href="../files/event-custom_js_event-target.js.html#l465"><code>event-custom/js/event-target.js:465</code></a>
6978
<div class="description">
6979
<p>Removes all listeners from the specified event. If the event type
6980
is not specified, all listeners from all hosted custom events will
6985
<div class="params">
6986
<h4>Parameters:</h4>
6988
<ul class="params-list">
6992
<code class="param-name">type</code>
6993
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6998
<div class="param-description">
6999
<p>The type, or name of the event</p>
7015
<div id="method_fire" class="method item inherited">
7016
<h3 class="name"><code>fire</code></h3>
7020
<span class="paren">(</span><ul class="args-list inline commas">
7030
<code>arguments</code>
7034
</ul><span class="paren">)</span>
7039
<span class="returns-inline">
7040
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
7058
<a href="../classes/EventTarget.html#method_fire">EventTarget</a>:
7062
<a href="../files/event-custom_js_event-target.js.html#l629"><code>event-custom/js/event-target.js:629</code></a>
7072
<div class="description">
7073
<p>Fire a custom event by name. The callback functions will be executed
7074
from the context specified when the event was created, and with the
7075
following parameters.</p>
7077
<p>If the custom event object hasn't been created, then the event hasn't
7078
been published and it has no subscribers. For performance sake, we
7079
immediate exit in this case. This means the event won't bubble, so
7080
if the intention is that a bubble target be notified, the event must
7081
be published on this object first.</p>
7083
<p>The first argument is the event type, and any additional arguments are
7084
passed to the listeners as parameters. If the first of these is an
7085
object literal, and the event is configured to emit an event facade,
7086
that object is mixed into the event facade and the facade is provided
7087
in place of the original object.</p>
7091
<div class="params">
7092
<h4>Parameters:</h4>
7094
<ul class="params-list">
7098
<code class="param-name">type</code>
7099
<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>
7104
<div class="param-description">
7105
<p>The type of the event, or an object that contains
7106
a 'type' property.</p>
7114
<code class="param-name">arguments</code>
7115
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object*</a></span>
7120
<div class="param-description">
7121
<p>an arbitrary set of parameters to pass to
7122
the handler. If the first of these is an object literal and the event is
7123
configured to emit an event facade, the event facade will replace that
7124
parameter after the properties the object literal contains are copied to
7125
the event facade.</p>
7136
<div class="returns">
7139
<div class="returns-description">
7142
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
7154
<div id="method_get" class="method item inherited">
7155
<h3 class="name"><code>get</code></h3>
7159
<span class="paren">(</span><ul class="args-list inline commas">
7167
</ul><span class="paren">)</span>
7172
<span class="returns-inline">
7173
<span class="type">Any</span>
7191
<a href="../classes/AttributeCore.html#method_get">AttributeCore</a>:
7195
<a href="../files/attribute_js_AttributeCore.js.html#l283"><code>attribute/js/AttributeCore.js:283</code></a>
7205
<div class="description">
7206
<p>Returns the current value of the attribute. If the attribute
7207
has been configured with a 'getter' function, this method will delegate
7208
to the 'getter' to obtain the value of the attribute.</p>
7212
<div class="params">
7213
<h4>Parameters:</h4>
7215
<ul class="params-list">
7219
<code class="param-name">name</code>
7220
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7225
<div class="param-description">
7226
<p>The name of the attribute. If the value of the attribute is an Object,
7227
dot notation can be used to obtain the value of a property of the object (e.g. <code>get("x.y.z")</code>)</p>
7238
<div class="returns">
7241
<div class="returns-description">
7244
<span class="type">Any</span>:
7246
The value of the attribute
7256
<div id="method_getAttrs" class="method item inherited">
7257
<h3 class="name"><code>getAttrs</code></h3>
7261
<span class="paren">(</span><ul class="args-list inline commas">
7269
</ul><span class="paren">)</span>
7274
<span class="returns-inline">
7275
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7293
<a href="../classes/AttributeCore.html#method_getAttrs">AttributeCore</a>:
7297
<a href="../files/attribute_js_AttributeCore.js.html#l665"><code>attribute/js/AttributeCore.js:665</code></a>
7307
<div class="description">
7308
<p>Gets multiple attribute values.</p>
7312
<div class="params">
7313
<h4>Parameters:</h4>
7315
<ul class="params-list">
7319
<code class="param-name">attrs</code>
7320
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span>
7325
<div class="param-description">
7326
<p>Optional. An array of attribute names. If omitted, all attribute values are
7327
returned. If set to true, all attributes modified from their initial values are returned.</p>
7338
<div class="returns">
7341
<div class="returns-description">
7344
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
7346
An object with attribute name/value pairs.
7356
<div id="method_getEvent" class="method item inherited">
7357
<h3 class="name"><code>getEvent</code></h3>
7361
<span class="paren">(</span><ul class="args-list inline commas">
7371
<code>prefixed</code>
7375
</ul><span class="paren">)</span>
7380
<span class="returns-inline">
7381
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
7399
<a href="../classes/EventTarget.html#method_getEvent">EventTarget</a>:
7403
<a href="../files/event-custom_js_event-target.js.html#l712"><code>event-custom/js/event-target.js:712</code></a>
7413
<div class="description">
7414
<p>Returns the custom event of the provided type has been created, a
7415
falsy value otherwise</p>
7419
<div class="params">
7420
<h4>Parameters:</h4>
7422
<ul class="params-list">
7426
<code class="param-name">type</code>
7427
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7432
<div class="param-description">
7433
<p>the type, or name of the event</p>
7441
<code class="param-name">prefixed</code>
7442
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7447
<div class="param-description">
7448
<p>if true, the type is prefixed already</p>
7459
<div class="returns">
7462
<div class="returns-description">
7465
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
7467
the custom event or null
7477
<div id="method_getTargets" class="method item inherited">
7478
<h3 class="name"><code>getTargets</code></h3>
7481
<span class="paren">()</span>
7485
<span class="returns-inline">
7486
<span class="type"></span>
7504
<a href="../classes/EventTarget.html#method_getTargets">EventTarget</a>:
7508
<a href="../files/event-custom_js_event-facade.js.html#l400"><code>event-custom/js/event-facade.js:400</code></a>
7518
<div class="description">
7519
<p>Returns an array of bubble targets for this object.</p>
7525
<div class="returns">
7528
<div class="returns-description">
7541
<div id="method_init" class="method item inherited">
7542
<h3 class="name"><code>init</code></h3>
7546
<span class="paren">(</span><ul class="args-list inline commas">
7554
</ul><span class="paren">)</span>
7559
<span class="returns-inline">
7560
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>
7573
<span class="flag chainable">chainable</span>
7579
<a href="../classes/BaseCore.html#method_init">
7587
<a href="../files/base_js_Base.js.html#l191"><code>base/js/Base.js:191</code></a>
7597
<div class="description">
7598
<p>Init lifecycle method, invoked during construction.
7599
Fires the init event prior to setting up attributes and
7600
invoking initializers for the class hierarchy.</p>
7604
<div class="params">
7605
<h4>Parameters:</h4>
7607
<ul class="params-list">
7611
<code class="param-name">config</code>
7612
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7617
<div class="param-description">
7618
<p>Object with configuration property name/value pairs</p>
7629
<div class="returns">
7632
<div class="returns-description">
7635
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>:
7637
A reference to this object
7647
<div id="method_modifyAttr" class="method item inherited">
7648
<h3 class="name"><code>modifyAttr</code></h3>
7652
<span class="paren">(</span><ul class="args-list inline commas">
7666
</ul><span class="paren">)</span>
7686
<a href="../classes/AttributeExtras.html#method_modifyAttr">AttributeExtras</a>:
7690
<a href="../files/attribute_js_AttributeExtras.js.html#l39"><code>attribute/js/AttributeExtras.js:39</code></a>
7700
<div class="description">
7701
<p>Updates the configuration of an attribute which has already been added.</p>
7704
The properties which can be modified through this interface are limited
7705
to the following subset of attributes, which can be safely modified
7706
after a value has already been set on the attribute: readOnly, writeOnce,
7707
broadcast and getter.
7712
<div class="params">
7713
<h4>Parameters:</h4>
7715
<ul class="params-list">
7719
<code class="param-name">name</code>
7720
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7725
<div class="param-description">
7726
<p>The name of the attribute whose configuration is to be updated.</p>
7734
<code class="param-name">config</code>
7735
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7740
<div class="param-description">
7741
<p>An object with configuration property/value pairs, specifying the configuration properties to modify.</p>
7757
<div id="method_on" class="method item inherited">
7758
<h3 class="name"><code>on</code></h3>
7762
<span class="paren">(</span><ul class="args-list inline commas">
7778
<code class="optional">[context]</code>
7784
<code class="optional">[arg*]</code>
7788
</ul><span class="paren">)</span>
7793
<span class="returns-inline">
7794
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
7812
<a href="../classes/EventTarget.html#method_on">EventTarget</a>:
7816
<a href="../files/event-custom_js_event-target.js.html#l192"><code>event-custom/js/event-target.js:192</code></a>
7826
<div class="description">
7827
<p>Subscribe a callback function to a custom event fired by this object or
7828
from an object that bubbles its events to this object.</p>
7830
<p>Callback functions for events published with <code>emitFacade = true</code> will
7831
receive an <code>EventFacade</code> as the first argument (typically named "e").
7832
These callbacks can then call <code>e.preventDefault()</code> to disable the
7833
behavior published to that event's <code>defaultFn</code>. See the <code>EventFacade</code>
7834
API for all available properties and methods. Subscribers to
7835
non-<code>emitFacade</code> events will receive the arguments passed to <code>fire()</code>
7836
after the event name.</p>
7838
<p>To subscribe to multiple events at once, pass an object as the first
7839
argument, where the key:value pairs correspond to the eventName:callback,
7840
or pass an array of event names as the first argument to subscribe to
7841
all listed events with the same callback.</p>
7843
<p>Returning <code>false</code> from a callback is supported as an alternative to
7844
calling <code>e.preventDefault(); e.stopPropagation();</code>. However, it is
7845
recommended to use the event methods whenever possible.</p>
7849
<div class="params">
7850
<h4>Parameters:</h4>
7852
<ul class="params-list">
7856
<code class="param-name">type</code>
7857
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7862
<div class="param-description">
7863
<p>The name of the event</p>
7871
<code class="param-name">fn</code>
7872
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
7877
<div class="param-description">
7878
<p>The callback to execute in response to the event</p>
7886
<code class="param-name optional">[context]</code>
7887
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7888
<span class="flag optional" title="This parameter is optional.">optional</span>
7893
<div class="param-description">
7894
<p>Override <code>this</code> object in callback</p>
7902
<code class="param-name optional">[arg*]</code>
7903
<span class="type">Any</span>
7904
<span class="flag optional" title="This parameter is optional.">optional</span>
7909
<div class="param-description">
7910
<p>0..n additional arguments to supply to the subscriber</p>
7921
<div class="returns">
7924
<div class="returns-description">
7927
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
7929
A subscription handle capable of detaching that
7940
<div id="method_once" class="method item inherited">
7941
<h3 class="name"><code>once</code></h3>
7945
<span class="paren">(</span><ul class="args-list inline commas">
7961
<code class="optional">[context]</code>
7967
<code class="optional">[arg*]</code>
7971
</ul><span class="paren">)</span>
7976
<span class="returns-inline">
7977
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
7995
<a href="../classes/EventTarget.html#method_once">EventTarget</a>:
7999
<a href="../files/event-custom_js_event-target.js.html#l128"><code>event-custom/js/event-target.js:128</code></a>
8009
<div class="description">
8010
<p>Listen to a custom event hosted by this object one time.
8011
This is the equivalent to <code>on</code> except the
8012
listener is immediatelly detached when it is executed.</p>
8016
<div class="params">
8017
<h4>Parameters:</h4>
8019
<ul class="params-list">
8023
<code class="param-name">type</code>
8024
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8029
<div class="param-description">
8030
<p>The name of the event</p>
8038
<code class="param-name">fn</code>
8039
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
8044
<div class="param-description">
8045
<p>The callback to execute in response to the event</p>
8053
<code class="param-name optional">[context]</code>
8054
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8055
<span class="flag optional" title="This parameter is optional.">optional</span>
8060
<div class="param-description">
8061
<p>Override <code>this</code> object in callback</p>
8069
<code class="param-name optional">[arg*]</code>
8070
<span class="type">Any</span>
8071
<span class="flag optional" title="This parameter is optional.">optional</span>
8076
<div class="param-description">
8077
<p>0..n additional arguments to supply to the subscriber</p>
8088
<div class="returns">
8091
<div class="returns-description">
8094
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
8096
A subscription handle capable of detaching the
8107
<div id="method_onceAfter" class="method item inherited">
8108
<h3 class="name"><code>onceAfter</code></h3>
8112
<span class="paren">(</span><ul class="args-list inline commas">
8128
<code class="optional">[context]</code>
8134
<code class="optional">[arg*]</code>
8138
</ul><span class="paren">)</span>
8143
<span class="returns-inline">
8144
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
8162
<a href="../classes/EventTarget.html#method_onceAfter">EventTarget</a>:
8166
<a href="../files/event-custom_js_event-target.js.html#l150"><code>event-custom/js/event-target.js:150</code></a>
8176
<div class="description">
8177
<p>Listen to a custom event hosted by this object one time.
8178
This is the equivalent to <code>after</code> except the
8179
listener is immediatelly detached when it is executed.</p>
8183
<div class="params">
8184
<h4>Parameters:</h4>
8186
<ul class="params-list">
8190
<code class="param-name">type</code>
8191
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8196
<div class="param-description">
8197
<p>The name of the event</p>
8205
<code class="param-name">fn</code>
8206
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
8211
<div class="param-description">
8212
<p>The callback to execute in response to the event</p>
8220
<code class="param-name optional">[context]</code>
8221
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8222
<span class="flag optional" title="This parameter is optional.">optional</span>
8227
<div class="param-description">
8228
<p>Override <code>this</code> object in callback</p>
8236
<code class="param-name optional">[arg*]</code>
8237
<span class="type">Any</span>
8238
<span class="flag optional" title="This parameter is optional.">optional</span>
8243
<div class="param-description">
8244
<p>0..n additional arguments to supply to the subscriber</p>
8255
<div class="returns">
8258
<div class="returns-description">
8261
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
8263
A subscription handle capable of detaching that
8274
<div id="method_parseType" class="method item inherited">
8275
<h3 class="name"><code>parseType</code></h3>
8279
<span class="paren">(</span><ul class="args-list inline commas">
8289
<code class="optional">[pre=this._yuievt.config.prefix]</code>
8293
</ul><span class="paren">)</span>
8298
<span class="returns-inline">
8299
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
8317
<a href="../classes/EventTarget.html#method_parseType">EventTarget</a>:
8321
<a href="../files/event-custom_js_event-target.js.html#l172"><code>event-custom/js/event-target.js:172</code></a>
8329
<p>Available since 3.3.0</p>
8333
<div class="description">
8334
<p>Takes the type parameter passed to 'on' and parses out the
8335
various pieces that could be included in the type. If the
8336
event type is passed without a prefix, it will be expanded
8337
to include the prefix one is supplied or the event target
8338
is configured with a default prefix.</p>
8342
<div class="params">
8343
<h4>Parameters:</h4>
8345
<ul class="params-list">
8349
<code class="param-name">type</code>
8350
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8355
<div class="param-description">
8364
<code class="param-name optional">[pre=this._yuievt.config.prefix]</code>
8365
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8366
<span class="flag optional" title="This parameter is optional.">optional</span>
8371
<div class="param-description">
8383
<div class="returns">
8386
<div class="returns-description">
8389
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>:
8391
an array containing:
8392
* the detach category, if supplied,
8393
* the prefixed event type,
8394
* whether or not this is an after listener,
8395
* the supplied event type
8405
<div id="method_publish" class="method item inherited">
8406
<h3 class="name"><code>publish</code></h3>
8410
<span class="paren">(</span><ul class="args-list inline commas">
8424
</ul><span class="paren">)</span>
8429
<span class="returns-inline">
8430
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
8448
<a href="../classes/EventTarget.html#method_publish">EventTarget</a>:
8452
<a href="../files/event-custom_js_event-target.js.html#l489"><code>event-custom/js/event-target.js:489</code></a>
8462
<div class="description">
8463
<p>Creates a new custom event of the specified type. If a custom event
8464
by that name already exists, it will not be re-created. In either
8465
case the custom event is returned.</p>
8469
<div class="params">
8470
<h4>Parameters:</h4>
8472
<ul class="params-list">
8476
<code class="param-name">type</code>
8477
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8482
<div class="param-description">
8483
<p>the type, or name of the event</p>
8491
<code class="param-name">opts</code>
8492
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8497
<div class="param-description">
8498
<p>optional config params. Valid properties are:</p>
8502
'broadcast': whether or not the YUI instance and YUI global are notified when the event is fired (false)
8505
'bubbles': whether or not this event bubbles (true)
8506
Events can only bubble if emitFacade is true.
8509
'context': the default execution context for the listeners (this)
8512
'defaultFn': the default function to execute when this event fires if preventDefault was not called
8515
'emitFacade': whether or not this event emits a facade (false)
8518
'prefix': the prefix for this targets events, e.g., 'menu' in 'menu:click'
8521
'fireOnce': if an event is configured to fire once, new subscribers after
8522
the fire will be notified immediately.
8525
'async': fireOnce event listeners will fire synchronously if the event has already
8526
fired unless async is true.
8529
'preventable': whether or not preventDefault() has an effect (true)
8532
'preventedFn': a function that is executed when preventDefault is called
8535
'queuable': whether or not this event can be queued during bubbling (false)
8538
'silent': if silent is true, debug messages are not provided for this event.
8541
'stoppedFn': a function that is executed when stopPropagation is called
8545
'monitored': specifies whether or not this event should send notifications about
8546
when the event has been attached, detached, or published.
8549
'type': the event type (valid option if not provided as the first parameter to publish)
8562
<div class="returns">
8565
<div class="returns-description">
8568
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
8580
<div id="method_removeAttr" class="method item inherited">
8581
<h3 class="name"><code>removeAttr</code></h3>
8585
<span class="paren">(</span><ul class="args-list inline commas">
8593
</ul><span class="paren">)</span>
8613
<a href="../classes/AttributeExtras.html#method_removeAttr">AttributeExtras</a>:
8617
<a href="../files/attribute_js_AttributeExtras.js.html#l77"><code>attribute/js/AttributeExtras.js:77</code></a>
8627
<div class="description">
8628
<p>Removes an attribute from the host object</p>
8632
<div class="params">
8633
<h4>Parameters:</h4>
8635
<ul class="params-list">
8639
<code class="param-name">name</code>
8640
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8645
<div class="param-description">
8646
<p>The name of the attribute to be removed.</p>
8662
<div id="method_removeTarget" class="method item inherited">
8663
<h3 class="name"><code>removeTarget</code></h3>
8667
<span class="paren">(</span><ul class="args-list inline commas">
8675
</ul><span class="paren">)</span>
8695
<a href="../classes/EventTarget.html#method_removeTarget">EventTarget</a>:
8699
<a href="../files/event-custom_js_event-facade.js.html#l409"><code>event-custom/js/event-facade.js:409</code></a>
8709
<div class="description">
8710
<p>Removes a bubble target</p>
8714
<div class="params">
8715
<h4>Parameters:</h4>
8717
<ul class="params-list">
8721
<code class="param-name">o</code>
8722
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
8727
<div class="param-description">
8728
<p>the target to remove</p>
8744
<div id="method_reset" class="method item inherited">
8745
<h3 class="name"><code>reset</code></h3>
8749
<span class="paren">(</span><ul class="args-list inline commas">
8757
</ul><span class="paren">)</span>
8762
<span class="returns-inline">
8763
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8776
<span class="flag chainable">chainable</span>
8783
<a href="../classes/AttributeExtras.html#method_reset">AttributeExtras</a>:
8787
<a href="../files/attribute_js_AttributeExtras.js.html#l87"><code>attribute/js/AttributeExtras.js:87</code></a>
8797
<div class="description">
8798
<p>Resets the attribute (or all attributes) to its initial value, as long as
8799
the attribute is not readOnly, or writeOnce.</p>
8803
<div class="params">
8804
<h4>Parameters:</h4>
8806
<ul class="params-list">
8810
<code class="param-name">name</code>
8811
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8816
<div class="param-description">
8817
<p>Optional. The name of the attribute to reset. If omitted, all attributes are reset.</p>
8828
<div class="returns">
8831
<div class="returns-description">
8834
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
8836
A reference to the host object.
8846
<div id="method_set" class="method item inherited">
8847
<h3 class="name"><code>set</code></h3>
8851
<span class="paren">(</span><ul class="args-list inline commas">
8871
</ul><span class="paren">)</span>
8876
<span class="returns-inline">
8877
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8890
<span class="flag chainable">chainable</span>
8896
<a href="../classes/AttributeCore.html#method_set">
8904
<a href="../files/attribute_js_AttributeEvents.js.html#l41"><code>attribute/js/AttributeEvents.js:41</code></a>
8914
<div class="description">
8915
<p>Sets the value of an attribute.</p>
8919
<div class="params">
8920
<h4>Parameters:</h4>
8922
<ul class="params-list">
8926
<code class="param-name">name</code>
8927
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8932
<div class="param-description">
8933
<p>The name of the attribute. If the
8934
current value of the attribute is an Object, dot notation can be used
8935
to set the value of a property within the object (e.g. <code>set("x.y.z", 5)</code>).</p>
8943
<code class="param-name">value</code>
8944
<span class="type">Any</span>
8949
<div class="param-description">
8950
<p>The value to set the attribute to.</p>
8958
<code class="param-name">opts</code>
8959
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8964
<div class="param-description">
8965
<p>(Optional) Optional event data to be mixed into
8966
the event facade passed to subscribers of the attribute's change event. This
8967
can be used as a flexible way to identify the source of a call to set, allowing
8968
the developer to distinguish between set called internally by the host, vs.
8969
set called externally by the application developer.</p>
8980
<div class="returns">
8983
<div class="returns-description">
8986
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
8988
A reference to the host object.
8998
<div id="method_setAttrs" class="method item inherited">
8999
<h3 class="name"><code>setAttrs</code></h3>
9003
<span class="paren">(</span><ul class="args-list inline commas">
9011
</ul><span class="paren">)</span>
9016
<span class="returns-inline">
9017
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9030
<span class="flag chainable">chainable</span>
9036
<a href="../classes/AttributeCore.html#method_setAttrs">
9044
<a href="../files/attribute_js_AttributeEvents.js.html#l82"><code>attribute/js/AttributeEvents.js:82</code></a>
9054
<div class="description">
9055
<p>Sets multiple attribute values.</p>
9059
<div class="params">
9060
<h4>Parameters:</h4>
9062
<ul class="params-list">
9066
<code class="param-name">attrs</code>
9067
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9072
<div class="param-description">
9073
<p>An object with attributes name/value pairs.</p>
9084
<div class="returns">
9087
<div class="returns-description">
9090
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
9092
A reference to the host object.
9102
<div id="method_subscribe" class="method item deprecated inherited">
9103
<h3 class="name"><code>subscribe</code></h3>
9106
<span class="paren">()</span>
9112
<span class="flag deprecated" title="use on">deprecated</span>
9127
<a href="../classes/EventTarget.html#method_subscribe">EventTarget</a>:
9131
<a href="../files/event-custom_js_event-target.js.html#l335"><code>event-custom/js/event-target.js:335</code></a>
9137
<p>Deprecated: use on</p>
9143
<div class="description">
9144
<p>subscribe to an event</p>
9155
<div id="method_toString" class="method item inherited">
9156
<h3 class="name"><code>toString</code></h3>
9159
<span class="paren">()</span>
9163
<span class="returns-inline">
9164
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9182
<a href="../classes/BaseCore.html#method_toString">BaseCore</a>:
9186
<a href="../files/base_js_BaseCore.js.html#l592"><code>base/js/BaseCore.js:592</code></a>
9196
<div class="description">
9197
<p>Default toString implementation. Provides the constructor NAME
9198
and the instance guid, if set.</p>
9204
<div class="returns">
9207
<div class="returns-description">
9210
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
9212
String representation for this object
9222
<div id="method_unsubscribe" class="method item deprecated inherited">
9223
<h3 class="name"><code>unsubscribe</code></h3>
9226
<span class="paren">()</span>
9232
<span class="flag deprecated" title="use detach">deprecated</span>
9247
<a href="../classes/EventTarget.html#method_unsubscribe">EventTarget</a>:
9251
<a href="../files/event-custom_js_event-target.js.html#l455"><code>event-custom/js/event-target.js:455</code></a>
9257
<p>Deprecated: use detach</p>
9263
<div class="description">
9264
<p>detach a listener</p>
9275
<div id="method_unsubscribeAll" class="method item deprecated inherited">
9276
<h3 class="name"><code>unsubscribeAll</code></h3>
9280
<span class="paren">(</span><ul class="args-list inline commas">
9288
</ul><span class="paren">)</span>
9295
<span class="flag deprecated" title="use detachAll">deprecated</span>
9310
<a href="../classes/EventTarget.html#method_unsubscribeAll">EventTarget</a>:
9314
<a href="../files/event-custom_js_event-target.js.html#l476"><code>event-custom/js/event-target.js:476</code></a>
9320
<p>Deprecated: use detachAll</p>
9326
<div class="description">
9327
<p>Removes all listeners from the specified event. If the event type
9328
is not specified, all listeners from all hosted custom events will
9333
<div class="params">
9334
<h4>Parameters:</h4>
9336
<ul class="params-list">
9340
<code class="param-name">type</code>
9341
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9346
<div class="param-description">
9347
<p>The type, or name of the event</p>
9367
<div id="properties" class="api-class-tabpanel">
9368
<h2 class="off-left">Properties</h2>
9371
<div id="property__allowAdHocAttrs" class="property item protected inherited">
9372
<h3 class="name"><code>_allowAdHocAttrs</code></h3>
9373
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
9378
<span class="flag protected">protected</span>
9389
<a href="../classes/BaseCore.html#property__allowAdHocAttrs">BaseCore</a>:
9393
<a href="../files/base_js_BaseCore.js.html#l100"><code>base/js/BaseCore.js:100</code></a>
9402
<div class="description">
9403
<p>This property controls whether or not instances of this class should
9404
allow users to add ad-hoc attributes through the constructor configuration
9407
<p>AdHoc attributes are attributes which are not defined by the class, and are
9408
not handled by the MyClass.<em>NON</em>ATTRS_CFG</p>
9412
<p><strong>Default:</strong> undefined (false)</p>
9421
<div id="property_name" class="property item deprecated inherited">
9422
<h3 class="name"><code>name</code></h3>
9423
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9426
<span class="flag deprecated" title="Use this.constructor.NAME">deprecated</span>
9439
<a href="../classes/BaseCore.html#property_name">BaseCore</a>:
9443
<a href="../files/base_js_BaseCore.js.html#l196"><code>base/js/BaseCore.js:196</code></a>
9448
<p>Deprecated: Use this.constructor.NAME</p>
9454
<div class="description">
9455
<p>The string used to identify the class of this object.</p>
9470
<div id="attrs" class="api-class-tabpanel">
9471
<h2 class="off-left">Attributes</h2>
9474
<div id="attr_destroyed" class="attr item inherited">
9475
<a name="config_destroyed"></a>
9476
<h3 class="name"><code>destroyed</code></h3>
9477
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
9491
<a href="../classes/BaseCore.html#attr_destroyed">BaseCore</a>:
9495
<a href="../files/base_js_BaseCore.js.html#l157"><code>base/js/BaseCore.js:157</code></a>
9504
<div class="description">
9505
<p>Flag indicating whether or not this object
9506
has been through the destroy lifecycle phase.</p>
9510
<p><strong>Default:</strong> false</p>
9514
<div class="emits box">
9515
<h4>Fires event <code>destroyedChange</code></h4>
9518
Fires when the value for the configuration attribute <code>destroyed</code> is
9519
changed. You can listen for the event using the <code>on</code> method if you
9520
wish to be notified before the attribute's value has changed, or
9521
using the <code>after</code> method if you wish to be notified after the
9522
attribute's value has changed.
9525
<div class="params">
9526
<h4>Parameters:</h4>
9528
<ul class="params-list">
9530
<code class="param-name">e</code>
9531
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
9533
<div class="param-description">
9534
An Event Facade object with the following
9535
attribute-specific properties added:
9538
<ul class="params-list">
9540
<code class="param-name">prevVal</code>
9541
<span class="type">Any</span>
9542
<div class="param-description">The value of the attribute, prior to it being set.</div>
9545
<code class="param-name">newVal</code>
9546
<span class="type">Any</span>
9547
<div class="param-description">The value the attribute is to be set to.</div>
9550
<code class="param-name">attrName</code>
9551
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9552
<div class="param-description">The name of the attribute being set.</div>
9555
<code class="param-name">subAttrName</code>
9556
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9557
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
9570
<div id="attr_initialized" class="attr item inherited">
9571
<a name="config_initialized"></a>
9572
<h3 class="name"><code>initialized</code></h3>
9573
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
9587
<a href="../classes/BaseCore.html#attr_initialized">BaseCore</a>:
9591
<a href="../files/base_js_BaseCore.js.html#l143"><code>base/js/BaseCore.js:143</code></a>
9600
<div class="description">
9601
<p>Flag indicating whether or not this object
9602
has been through the init lifecycle phase.</p>
9606
<p><strong>Default:</strong> false</p>
9610
<div class="emits box">
9611
<h4>Fires event <code>initializedChange</code></h4>
9614
Fires when the value for the configuration attribute <code>initialized</code> is
9615
changed. You can listen for the event using the <code>on</code> method if you
9616
wish to be notified before the attribute's value has changed, or
9617
using the <code>after</code> method if you wish to be notified after the
9618
attribute's value has changed.
9621
<div class="params">
9622
<h4>Parameters:</h4>
9624
<ul class="params-list">
9626
<code class="param-name">e</code>
9627
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
9629
<div class="param-description">
9630
An Event Facade object with the following
9631
attribute-specific properties added:
9634
<ul class="params-list">
9636
<code class="param-name">prevVal</code>
9637
<span class="type">Any</span>
9638
<div class="param-description">The value of the attribute, prior to it being set.</div>
9641
<code class="param-name">newVal</code>
9642
<span class="type">Any</span>
9643
<div class="param-description">The value the attribute is to be set to.</div>
9646
<code class="param-name">attrName</code>
9647
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9648
<div class="param-description">The name of the attribute being set.</div>
9651
<code class="param-name">subAttrName</code>
9652
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9653
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
9670
<div id="events" class="api-class-tabpanel">
9671
<h2 class="off-left">Events</h2>
9674
<div id="event_destroy" class="events item inherited">
9675
<h3 class="name"><code>destroy</code></h3>
9676
<span class="type"></span>
9690
<a href="../classes/Base.html#event_destroy">Base</a>:
9694
<a href="../files/base_js_Base.js.html#l285"><code>base/js/Base.js:285</code></a>
9703
<div class="description">
9705
Lifecycle event for the destroy phase,
9706
fired prior to destruction. Invoking the preventDefault
9707
method on the event object provided to subscribers will
9708
prevent destruction from proceeding.
9712
Subscribers to the "after" moment of this event, will be notified
9713
after destruction is complete (and as a result cannot prevent
9719
<div class="params">
9720
<h4>Event Payload:</h4>
9722
<ul class="params-list">
9726
<code class="param-name">e</code>
9727
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
9732
<div class="param-description">
9748
<div id="event_init" class="events item inherited">
9749
<h3 class="name"><code>init</code></h3>
9750
<span class="type"></span>
9764
<a href="../classes/Base.html#event_init">Base</a>:
9768
<a href="../files/base_js_Base.js.html#l202"><code>base/js/Base.js:202</code></a>
9777
<div class="description">
9779
Lifecycle event for the init phase, fired prior to initialization.
9780
Invoking the preventDefault() method on the event object provided
9781
to subscribers will prevent initialization from occuring.
9785
Subscribers to the "after" momemt of this event, will be notified
9786
after initialization of the object is complete (and therefore
9787
cannot prevent initialization).
9792
<div class="params">
9793
<h4>Event Payload:</h4>
9795
<ul class="params-list">
9799
<code class="param-name">e</code>
9800
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
9805
<div class="param-description">
9806
<p>Event object, with a cfg property which
9807
refers to the configuration object passed to the constructor.</p>
9833
<script src="../assets/vendor/prettify/prettify-min.js"></script>
9834
<script>prettyPrint();</script>
9835
<script src="../assets/js/yui-prettify.js"></script>
9836
<script src="../assets/../api.js"></script>
9837
<script src="../assets/js/api-filter.js"></script>
9838
<script src="../assets/js/api-list.js"></script>
9839
<script src="../assets/js/api-search.js"></script>
9840
<script src="../assets/js/apidocs.js"></script>