5
<title>Plugin.Cache - 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>Plugin.Cache Class</h1>
1310
<div class="box meta">
1314
<ul class="inline commas">
1316
<li><a href="Plugin.Base.html">Plugin.Base</a></li>
1323
<div class="extends">
1324
Extends <a href="../classes/Cache.html" class="crosslink">Cache</a>
1329
<div class="foundat">
1330
Defined in: <a href="../files/cache_js_cache-plugin.js.html#l8"><code>cache/js/cache-plugin.js:8</code></a>
1336
Module: <a href="../modules/cache-plugin.html">cache-plugin</a><br>
1337
Parent Module: <a href="../modules/cache.html">cache</a>
1346
<div class="box intro">
1347
<p>Plugin.Cache adds pluginizability to Cache.</p>
1352
<div id="classdocs" class="tabview">
1353
<ul class="api-class-tabs">
1354
<li class="api-class-tab index"><a href="#index">Index</a></li>
1357
<li class="api-class-tab methods"><a href="#methods">Methods</a></li>
1360
<li class="api-class-tab properties"><a href="#properties">Properties</a></li>
1363
<li class="api-class-tab attrs"><a href="#attrs">Attributes</a></li>
1366
<li class="api-class-tab events"><a href="#events">Events</a></li>
1371
<div id="index" class="api-class-tabpanel index">
1372
<h2 class="off-left">Item Index</h2>
1375
<div class="index-section methods">
1378
<ul class="index-list methods">
1380
<li class="index-item method private inherited">
1381
<a href="#method__addAttrs">_addAttrs</a>
1386
<li class="index-item method private inherited">
1387
<a href="#method__addLazyAttr">_addLazyAttr</a>
1392
<li class="index-item method private inherited">
1393
<a href="#method__aggregateAttrs">_aggregateAttrs</a>
1398
<li class="index-item method private inherited inherited">
1399
<a href="#method__attrCfgHash">_attrCfgHash</a>
1404
<li class="index-item method private inherited">
1405
<a href="#method__baseDestroy">_baseDestroy</a>
1410
<li class="index-item method private inherited">
1411
<a href="#method__baseInit">_baseInit</a>
1416
<li class="index-item method protected inherited">
1417
<a href="#method__defAddFn">_defAddFn</a>
1422
<li class="index-item method private inherited">
1423
<a href="#method__defAttrChangeFn">_defAttrChangeFn</a>
1428
<li class="index-item method protected inherited">
1429
<a href="#method__defDestroyFn">_defDestroyFn</a>
1434
<li class="index-item method protected inherited">
1435
<a href="#method__defFlushFn">_defFlushFn</a>
1440
<li class="index-item method protected inherited">
1441
<a href="#method__defInitFn">_defInitFn</a>
1446
<li class="index-item method private inherited">
1447
<a href="#method__destroyHierarchy">_destroyHierarchy</a>
1452
<li class="index-item method private inherited">
1453
<a href="#method__filterAdHocAttrs">_filterAdHocAttrs</a>
1458
<li class="index-item method private inherited">
1459
<a href="#method__filterAttrCfs">_filterAttrCfs</a>
1464
<li class="index-item method private inherited">
1465
<a href="#method__fireAttrChange">_fireAttrChange</a>
1470
<li class="index-item method protected inherited">
1471
<a href="#method__getAttr">_getAttr</a>
1476
<li class="index-item method protected inherited">
1477
<a href="#method__getAttrCfg">_getAttrCfg</a>
1482
<li class="index-item method protected inherited">
1483
<a href="#method__getAttrCfgs">_getAttrCfgs</a>
1488
<li class="index-item method private inherited inherited">
1489
<a href="#method__getAttrInitVal">_getAttrInitVal</a>
1494
<li class="index-item method protected inherited">
1495
<a href="#method__getAttrs">_getAttrs</a>
1500
<li class="index-item method protected inherited">
1501
<a href="#method__getClasses">_getClasses</a>
1506
<li class="index-item method protected inherited">
1507
<a href="#method__getEntries">_getEntries</a>
1512
<li class="index-item method protected inherited">
1513
<a href="#method__getSize">_getSize</a>
1518
<li class="index-item method private inherited">
1519
<a href="#method__getStateVal">_getStateVal</a>
1524
<li class="index-item method private inherited">
1525
<a href="#method__getType">_getType</a>
1530
<li class="index-item method private inherited">
1531
<a href="#method__initAttrHost">_initAttrHost</a>
1536
<li class="index-item method private inherited inherited">
1537
<a href="#method__initAttribute">_initAttribute</a>
1542
<li class="index-item method protected inherited">
1543
<a href="#method__initAttrs">_initAttrs</a>
1548
<li class="index-item method private inherited inherited">
1549
<a href="#method__initBase">_initBase</a>
1554
<li class="index-item method private inherited">
1555
<a href="#method__initHierarchy">_initHierarchy</a>
1560
<li class="index-item method private inherited">
1561
<a href="#method__initHierarchyData">_initHierarchyData</a>
1566
<li class="index-item method private inherited">
1567
<a href="#method__isLazyAttr">_isLazyAttr</a>
1572
<li class="index-item method protected inherited">
1573
<a href="#method__isMatch">_isMatch</a>
1578
<li class="index-item method private inherited">
1579
<a href="#method__monitor">_monitor</a>
1584
<li class="index-item method private inherited inherited">
1585
<a href="#method__normAttrVals">_normAttrVals</a>
1590
<li class="index-item method private inherited">
1591
<a href="#method__parseType">_parseType</a>
1596
<li class="index-item method protected inherited">
1597
<a href="#method__position">_position</a>
1602
<li class="index-item method private inherited">
1603
<a href="#method__preInitEventCfg">_preInitEventCfg</a>
1608
<li class="index-item method protected inherited">
1609
<a href="#method__protectAttrs">_protectAttrs</a>
1614
<li class="index-item method protected inherited inherited">
1615
<a href="#method__set">_set</a>
1620
<li class="index-item method protected inherited">
1621
<a href="#method__setAttr">_setAttr</a>
1626
<li class="index-item method protected inherited">
1627
<a href="#method__setAttrs">_setAttrs</a>
1632
<li class="index-item method private inherited">
1633
<a href="#method__setAttrVal">_setAttrVal</a>
1638
<li class="index-item method protected inherited">
1639
<a href="#method__setMax">_setMax</a>
1644
<li class="index-item method private inherited">
1645
<a href="#method__setStateVal">_setStateVal</a>
1650
<li class="index-item method inherited">
1651
<a href="#method_add">add</a>
1656
<li class="index-item method inherited">
1657
<a href="#method_addAttr">addAttr</a>
1662
<li class="index-item method inherited">
1663
<a href="#method_addAttrs">addAttrs</a>
1668
<li class="index-item method inherited">
1669
<a href="#method_addTarget">addTarget</a>
1674
<li class="index-item method inherited">
1675
<a href="#method_after">after</a>
1680
<li class="index-item method inherited">
1681
<a href="#method_afterHostEvent">afterHostEvent</a>
1686
<li class="index-item method inherited">
1687
<a href="#method_afterHostMethod">afterHostMethod</a>
1692
<li class="index-item method inherited">
1693
<a href="#method_attrAdded">attrAdded</a>
1698
<li class="index-item method inherited">
1699
<a href="#method_before">before</a>
1704
<li class="index-item method inherited">
1705
<a href="#method_beforeHostMethod">beforeHostMethod</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 inherited">
1723
<a href="#method_destructor">destructor</a>
1728
<li class="index-item method inherited">
1729
<a href="#method_detach">detach</a>
1734
<li class="index-item method inherited">
1735
<a href="#method_detachAll">detachAll</a>
1740
<li class="index-item method inherited">
1741
<a href="#method_doAfter">doAfter</a>
1746
<li class="index-item method inherited">
1747
<a href="#method_doBefore">doBefore</a>
1752
<li class="index-item method inherited">
1753
<a href="#method_fire">fire</a>
1758
<li class="index-item method inherited">
1759
<a href="#method_flush">flush</a>
1764
<li class="index-item method inherited">
1765
<a href="#method_get">get</a>
1770
<li class="index-item method inherited">
1771
<a href="#method_getAttrs">getAttrs</a>
1776
<li class="index-item method inherited">
1777
<a href="#method_getEvent">getEvent</a>
1782
<li class="index-item method inherited">
1783
<a href="#method_getTargets">getTargets</a>
1788
<li class="index-item method inherited inherited">
1789
<a href="#method_init">init</a>
1794
<li class="index-item method inherited inherited">
1795
<a href="#method_initializer">initializer</a>
1800
<li class="index-item method inherited">
1801
<a href="#method_modifyAttr">modifyAttr</a>
1806
<li class="index-item method inherited">
1807
<a href="#method_on">on</a>
1812
<li class="index-item method inherited">
1813
<a href="#method_once">once</a>
1818
<li class="index-item method inherited">
1819
<a href="#method_onceAfter">onceAfter</a>
1824
<li class="index-item method inherited">
1825
<a href="#method_onHostEvent">onHostEvent</a>
1830
<li class="index-item method inherited">
1831
<a href="#method_parseType">parseType</a>
1836
<li class="index-item method inherited">
1837
<a href="#method_publish">publish</a>
1842
<li class="index-item method inherited">
1843
<a href="#method_removeAttr">removeAttr</a>
1848
<li class="index-item method inherited">
1849
<a href="#method_removeTarget">removeTarget</a>
1854
<li class="index-item method inherited">
1855
<a href="#method_reset">reset</a>
1860
<li class="index-item method inherited">
1861
<a href="#method_retrieve">retrieve</a>
1866
<li class="index-item method inherited inherited">
1867
<a href="#method_set">set</a>
1872
<li class="index-item method inherited inherited">
1873
<a href="#method_setAttrs">setAttrs</a>
1878
<li class="index-item method deprecated inherited">
1879
<a href="#method_subscribe">subscribe</a>
1884
<li class="index-item method inherited">
1885
<a href="#method_toString">toString</a>
1890
<li class="index-item method deprecated inherited">
1891
<a href="#method_unsubscribe">unsubscribe</a>
1896
<li class="index-item method deprecated inherited">
1897
<a href="#method_unsubscribeAll">unsubscribeAll</a>
1907
<div class="index-section properties">
1910
<ul class="index-list properties">
1912
<li class="index-item property protected inherited">
1913
<a href="#property__allowAdHocAttrs">_allowAdHocAttrs</a>
1918
<li class="index-item property private inherited">
1919
<a href="#property__entries">_entries</a>
1924
<li class="index-item property private inherited">
1925
<a href="#property__handles">_handles</a>
1930
<li class="index-item property">
1931
<a href="#property_NAME">NAME</a>
1934
<span class="flag static">static</span>
1938
<li class="index-item property deprecated inherited">
1939
<a href="#property_name">name</a>
1944
<li class="index-item property">
1945
<a href="#property_NS">NS</a>
1948
<span class="flag static">static</span>
1957
<div class="index-section attrs">
1960
<ul class="index-list attrs">
1962
<li class="index-item attr inherited">
1963
<a href="#attr_destroyed">destroyed</a>
1966
<li class="index-item attr inherited">
1967
<a href="#attr_entries">entries</a>
1970
<li class="index-item attr inherited">
1971
<a href="#attr_expires">expires</a>
1974
<li class="index-item attr inherited">
1975
<a href="#attr_host">host</a>
1978
<li class="index-item attr inherited">
1979
<a href="#attr_initialized">initialized</a>
1982
<li class="index-item attr inherited">
1983
<a href="#attr_max">max</a>
1986
<li class="index-item attr inherited">
1987
<a href="#attr_size">size</a>
1990
<li class="index-item attr inherited">
1991
<a href="#attr_uniqueKeys">uniqueKeys</a>
1999
<div class="index-section events">
2002
<ul class="index-list events">
2004
<li class="index-item event inherited">
2005
<a href="#event_add">add</a>
2010
<li class="index-item event inherited">
2011
<a href="#event_destroy">destroy</a>
2016
<li class="index-item event inherited">
2017
<a href="#event_flush">flush</a>
2022
<li class="index-item event inherited">
2023
<a href="#event_init">init</a>
2028
<li class="index-item event inherited">
2029
<a href="#event_request">request</a>
2034
<li class="index-item event inherited">
2035
<a href="#event_retrieve">retrieve</a>
2046
<div id="methods" class="api-class-tabpanel">
2047
<h2 class="off-left">Methods</h2>
2050
<div id="method__addAttrs" class="method item private inherited">
2051
<h3 class="name"><code>_addAttrs</code></h3>
2055
<span class="paren">(</span><ul class="args-list inline commas">
2075
</ul><span class="paren">)</span>
2084
<span class="flag private">private</span>
2097
<a href="../classes/AttributeCore.html#method__addAttrs">AttributeCore</a>:
2101
<a href="../files/attribute_js_AttributeCore.js.html#l740"><code>attribute/js/AttributeCore.js:740</code></a>
2111
<div class="description">
2112
<p>Implementation behind the public addAttrs method. </p>
2114
<p>This method is invoked directly by get if it encounters a scenario
2115
in which an attribute's valueFn attempts to obtain the
2116
value an attribute in the same group of attributes, which has not yet
2117
been added (on demand initialization).</p>
2121
<div class="params">
2122
<h4>Parameters:</h4>
2124
<ul class="params-list">
2128
<code class="param-name">cfgs</code>
2129
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2134
<div class="param-description">
2135
<p>An object with attribute name/configuration pairs.</p>
2143
<code class="param-name">values</code>
2144
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2149
<div class="param-description">
2150
<p>An object with attribute name/value pairs, defining the initial values to apply.
2151
Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p>
2159
<code class="param-name">lazy</code>
2160
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
2165
<div class="param-description">
2166
<p>Whether or not to delay the intialization of these attributes until the first call to get/set.
2167
Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration.
2168
See <a href="#method_addAttr">addAttr</a>.</p>
2184
<div id="method__addLazyAttr" class="method item private inherited">
2185
<h3 class="name"><code>_addLazyAttr</code></h3>
2189
<span class="paren">(</span><ul class="args-list inline commas">
2197
</ul><span class="paren">)</span>
2206
<span class="flag private">private</span>
2219
<a href="../classes/AttributeCore.html#method__addLazyAttr">AttributeCore</a>:
2223
<a href="../files/attribute_js_AttributeCore.js.html#l312"><code>attribute/js/AttributeCore.js:312</code></a>
2233
<div class="description">
2234
<p>Finishes initializing an attribute which has been lazily added.</p>
2238
<div class="params">
2239
<h4>Parameters:</h4>
2241
<ul class="params-list">
2245
<code class="param-name">name</code>
2246
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2251
<div class="param-description">
2252
<p>The name of the attribute</p>
2268
<div id="method__aggregateAttrs" class="method item private inherited">
2269
<h3 class="name"><code>_aggregateAttrs</code></h3>
2273
<span class="paren">(</span><ul class="args-list inline commas">
2277
<code>allAttrs</code>
2281
</ul><span class="paren">)</span>
2286
<span class="returns-inline">
2287
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2294
<span class="flag private">private</span>
2307
<a href="../classes/BaseCore.html#method__aggregateAttrs">BaseCore</a>:
2311
<a href="../files/base_js_BaseCore.js.html#l426"><code>base/js/BaseCore.js:426</code></a>
2321
<div class="description">
2322
<p>A helper method, used by _initHierarchyData to aggregate
2323
attribute configuration across the instances class hierarchy.</p>
2325
<p>The method will protect the attribute configuration value to protect the statically defined
2326
default value in ATTRS if required (if the value is an object literal, array or the
2327
attribute configuration has cloneDefaultValue set to shallow or deep).</p>
2331
<div class="params">
2332
<h4>Parameters:</h4>
2334
<ul class="params-list">
2338
<code class="param-name">allAttrs</code>
2339
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
2344
<div class="param-description">
2345
<p>An array of ATTRS definitions across classes in the hierarchy
2346
(subclass first, Base last)</p>
2357
<div class="returns">
2360
<div class="returns-description">
2363
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
2365
The aggregate set of ATTRS definitions for the instance
2375
<div id="method__attrCfgHash" class="method item private inherited">
2376
<h3 class="name"><code>_attrCfgHash</code></h3>
2379
<span class="paren">()</span>
2387
<span class="flag private">private</span>
2399
<a href="../classes/BaseCore.html#method__attrCfgHash">
2407
<a href="../files/base_js_Base.js.html#l180"><code>base/js/Base.js:180</code></a>
2417
<div class="description">
2418
<p>Utility method to define the attribute hash used to filter/whitelist property mixes for
2430
<div id="method__baseDestroy" class="method item private inherited">
2431
<h3 class="name"><code>_baseDestroy</code></h3>
2434
<span class="paren">()</span>
2442
<span class="flag private">private</span>
2455
<a href="../classes/BaseCore.html#method__baseDestroy">BaseCore</a>:
2459
<a href="../files/base_js_BaseCore.js.html#l263"><code>base/js/BaseCore.js:263</code></a>
2469
<div class="description">
2470
<p>Internal destroy implementation for BaseCore</p>
2481
<div id="method__baseInit" class="method item private inherited">
2482
<h3 class="name"><code>_baseInit</code></h3>
2485
<span class="paren">()</span>
2493
<span class="flag private">private</span>
2506
<a href="../classes/BaseCore.html#method__baseInit">BaseCore</a>:
2510
<a href="../files/base_js_BaseCore.js.html#l235"><code>base/js/BaseCore.js:235</code></a>
2520
<div class="description">
2521
<p>Internal initialization implementation for BaseCore</p>
2532
<div id="method__defAddFn" class="method item protected inherited">
2533
<h3 class="name"><code>_defAddFn</code></h3>
2537
<span class="paren">(</span><ul class="args-list inline commas">
2545
</ul><span class="paren">)</span>
2554
<span class="flag protected">protected</span>
2567
<a href="../classes/Cache.html#method__defAddFn">Cache</a>:
2571
<a href="../files/cache_js_cache-base.js.html#l242"><code>cache/js/cache-base.js:242</code></a>
2581
<div class="description">
2582
<p>Adds entry to cache.</p>
2586
<div class="params">
2587
<h4>Parameters:</h4>
2589
<ul class="params-list">
2593
<code class="param-name">e</code>
2594
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
2599
<div class="param-description">
2600
<p>Event Facade with the following properties:</p>
2603
<dt>entry (Object)</dt> <dd>The cached entry.</dd>
2620
<div id="method__defAttrChangeFn" class="method item private inherited">
2621
<h3 class="name"><code>_defAttrChangeFn</code></h3>
2625
<span class="paren">(</span><ul class="args-list inline commas">
2633
</ul><span class="paren">)</span>
2642
<span class="flag private">private</span>
2655
<a href="../classes/AttributeEvents.html#method__defAttrChangeFn">AttributeEvents</a>:
2659
<a href="../files/attribute_js_AttributeEvents.js.html#l148"><code>attribute/js/AttributeEvents.js:148</code></a>
2669
<div class="description">
2670
<p>Default function for attribute change events.</p>
2674
<div class="params">
2675
<h4>Parameters:</h4>
2677
<ul class="params-list">
2681
<code class="param-name">e</code>
2682
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2687
<div class="param-description">
2688
<p>The event object for attribute change events.</p>
2704
<div id="method__defDestroyFn" class="method item protected inherited">
2705
<h3 class="name"><code>_defDestroyFn</code></h3>
2709
<span class="paren">(</span><ul class="args-list inline commas">
2717
</ul><span class="paren">)</span>
2726
<span class="flag protected">protected</span>
2739
<a href="../classes/Base.html#method__defDestroyFn">Base</a>:
2743
<a href="../files/base_js_Base.js.html#l325"><code>base/js/Base.js:325</code></a>
2753
<div class="description">
2754
<p>Default destroy event handler</p>
2758
<div class="params">
2759
<h4>Parameters:</h4>
2761
<ul class="params-list">
2765
<code class="param-name">e</code>
2766
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2771
<div class="param-description">
2788
<div id="method__defFlushFn" class="method item protected inherited">
2789
<h3 class="name"><code>_defFlushFn</code></h3>
2793
<span class="paren">(</span><ul class="args-list inline commas">
2801
</ul><span class="paren">)</span>
2810
<span class="flag protected">protected</span>
2823
<a href="../classes/Cache.html#method__defFlushFn">Cache</a>:
2827
<a href="../files/cache_js_cache-base.js.html#l277"><code>cache/js/cache-base.js:277</code></a>
2837
<div class="description">
2838
<p>Flushes cache.</p>
2842
<div class="params">
2843
<h4>Parameters:</h4>
2845
<ul class="params-list">
2849
<code class="param-name">e</code>
2850
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
2855
<div class="param-description">
2856
<p>Event Facade object.</p>
2872
<div id="method__defInitFn" class="method item protected inherited">
2873
<h3 class="name"><code>_defInitFn</code></h3>
2877
<span class="paren">(</span><ul class="args-list inline commas">
2885
</ul><span class="paren">)</span>
2894
<span class="flag protected">protected</span>
2907
<a href="../classes/Base.html#method__defInitFn">Base</a>:
2911
<a href="../files/base_js_Base.js.html#l313"><code>base/js/Base.js:313</code></a>
2921
<div class="description">
2922
<p>Default init event handler</p>
2926
<div class="params">
2927
<h4>Parameters:</h4>
2929
<ul class="params-list">
2933
<code class="param-name">e</code>
2934
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2939
<div class="param-description">
2940
<p>Event object, with a cfg property which
2941
refers to the configuration object passed to the constructor.</p>
2957
<div id="method__destroyHierarchy" class="method item private inherited">
2958
<h3 class="name"><code>_destroyHierarchy</code></h3>
2961
<span class="paren">()</span>
2969
<span class="flag private">private</span>
2982
<a href="../classes/BaseCore.html#method__destroyHierarchy">BaseCore</a>:
2986
<a href="../files/base_js_BaseCore.js.html#l559"><code>base/js/BaseCore.js:559</code></a>
2996
<div class="description">
2997
<p>Destroys the class hierarchy for this instance by invoking
2998
the destructor method on the prototype of each class in the hierarchy.</p>
3009
<div id="method__filterAdHocAttrs" class="method item private inherited">
3010
<h3 class="name"><code>_filterAdHocAttrs</code></h3>
3014
<span class="paren">(</span><ul class="args-list inline commas">
3018
<code>allAttrs</code>
3024
<code>userVals</code>
3028
</ul><span class="paren">)</span>
3033
<span class="returns-inline">
3034
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3041
<span class="flag private">private</span>
3054
<a href="../classes/BaseCore.html#method__filterAdHocAttrs">BaseCore</a>:
3058
<a href="../files/base_js_BaseCore.js.html#l342"><code>base/js/BaseCore.js:342</code></a>
3068
<div class="description">
3073
<div class="params">
3074
<h4>Parameters:</h4>
3076
<ul class="params-list">
3080
<code class="param-name">allAttrs</code>
3081
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3086
<div class="param-description">
3087
<p>The set of all attribute configurations for this instance.
3088
Attributes will be removed from this set, if they belong to the filtered class, so
3089
that by the time all classes are processed, allCfgs will be empty.</p>
3097
<code class="param-name">userVals</code>
3098
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3103
<div class="param-description">
3104
<p>The config object passed in by the user, from which adhoc attrs are to be filtered.</p>
3115
<div class="returns">
3118
<div class="returns-description">
3121
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3123
The set of adhoc attributes passed in, in the form
3124
of an object with attribute name/configuration pairs.
3134
<div id="method__filterAttrCfs" class="method item private inherited">
3135
<h3 class="name"><code>_filterAttrCfs</code></h3>
3139
<span class="paren">(</span><ul class="args-list inline commas">
3149
<code>allCfgs</code>
3153
</ul><span class="paren">)</span>
3158
<span class="returns-inline">
3159
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3166
<span class="flag private">private</span>
3179
<a href="../classes/BaseCore.html#method__filterAttrCfs">BaseCore</a>:
3183
<a href="../files/base_js_BaseCore.js.html#l310"><code>base/js/BaseCore.js:310</code></a>
3193
<div class="description">
3194
<p>A helper method used when processing ATTRS across the class hierarchy during
3195
initialization. Returns a disposable object with the attributes defined for
3196
the provided class, extracted from the set of all attributes passed in.</p>
3200
<div class="params">
3201
<h4>Parameters:</h4>
3203
<ul class="params-list">
3207
<code class="param-name">clazz</code>
3208
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
3213
<div class="param-description">
3214
<p>The class for which the desired attributes are required.</p>
3222
<code class="param-name">allCfgs</code>
3223
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3228
<div class="param-description">
3229
<p>The set of all attribute configurations for this instance.
3230
Attributes will be removed from this set, if they belong to the filtered class, so
3231
that by the time all classes are processed, allCfgs will be empty.</p>
3242
<div class="returns">
3245
<div class="returns-description">
3248
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3250
The set of attributes belonging to the class passed in, in the form
3251
of an object with attribute name/configuration pairs.
3261
<div id="method__fireAttrChange" class="method item private inherited">
3262
<h3 class="name"><code>_fireAttrChange</code></h3>
3266
<span class="paren">(</span><ul class="args-list inline commas">
3270
<code>attrName</code>
3276
<code>subAttrName</code>
3282
<code>currVal</code>
3298
</ul><span class="paren">)</span>
3307
<span class="flag private">private</span>
3320
<a href="../classes/AttributeEvents.html#method__fireAttrChange">AttributeEvents</a>:
3324
<a href="../files/attribute_js_AttributeEvents.js.html#l94"><code>attribute/js/AttributeEvents.js:94</code></a>
3334
<div class="description">
3335
<p>Utility method to help setup the event payload and fire the attribute change event.</p>
3339
<div class="params">
3340
<h4>Parameters:</h4>
3342
<ul class="params-list">
3346
<code class="param-name">attrName</code>
3347
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3352
<div class="param-description">
3353
<p>The name of the attribute</p>
3361
<code class="param-name">subAttrName</code>
3362
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3367
<div class="param-description">
3368
<p>The full path of the property being changed,
3369
if this is a sub-attribute value being change. Otherwise null.</p>
3377
<code class="param-name">currVal</code>
3378
<span class="type">Any</span>
3383
<div class="param-description">
3384
<p>The current value of the attribute</p>
3392
<code class="param-name">newVal</code>
3393
<span class="type">Any</span>
3398
<div class="param-description">
3399
<p>The new value of the attribute</p>
3407
<code class="param-name">opts</code>
3408
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3413
<div class="param-description">
3414
<p>Any additional event data to mix into the attribute change event's event facade.</p>
3430
<div id="method__getAttr" class="method item protected inherited">
3431
<h3 class="name"><code>_getAttr</code></h3>
3435
<span class="paren">(</span><ul class="args-list inline commas">
3443
</ul><span class="paren">)</span>
3448
<span class="returns-inline">
3449
<span class="type">Any</span>
3456
<span class="flag protected">protected</span>
3464
<span class="flag chainable">chainable</span>
3471
<a href="../classes/AttributeCore.html#method__getAttr">AttributeCore</a>:
3475
<a href="../files/attribute_js_AttributeCore.js.html#l468"><code>attribute/js/AttributeCore.js:468</code></a>
3485
<div class="description">
3486
<p>Provides the common implementation for the public get method,
3487
allowing Attribute hosts to over-ride either method.</p>
3489
<p>See <a href="#method_get">get</a> for argument details.</p>
3493
<div class="params">
3494
<h4>Parameters:</h4>
3496
<ul class="params-list">
3500
<code class="param-name">name</code>
3501
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3506
<div class="param-description">
3507
<p>The name of the attribute.</p>
3518
<div class="returns">
3521
<div class="returns-description">
3524
<span class="type">Any</span>:
3526
The value of the attribute.
3536
<div id="method__getAttrCfg" class="method item protected inherited">
3537
<h3 class="name"><code>_getAttrCfg</code></h3>
3541
<span class="paren">(</span><ul class="args-list inline commas">
3549
</ul><span class="paren">)</span>
3554
<span class="returns-inline">
3555
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3562
<span class="flag protected">protected</span>
3575
<a href="../classes/AttributeExtras.html#method__getAttrCfg">AttributeExtras</a>:
3579
<a href="../files/attribute_js_AttributeExtras.js.html#l112"><code>attribute/js/AttributeExtras.js:112</code></a>
3589
<div class="description">
3590
<p>Returns an object with the configuration properties (and value)
3591
for the given attribute. If attrName is not provided, returns the
3592
configuration properties for all attributes.</p>
3596
<div class="params">
3597
<h4>Parameters:</h4>
3599
<ul class="params-list">
3603
<code class="param-name">name</code>
3604
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3609
<div class="param-description">
3610
<p>Optional. The attribute name. If not provided, the method will return the configuration for all attributes.</p>
3621
<div class="returns">
3624
<div class="returns-description">
3627
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3629
The configuration properties for the given attribute, or all attributes.
3639
<div id="method__getAttrCfgs" class="method item protected inherited">
3640
<h3 class="name"><code>_getAttrCfgs</code></h3>
3643
<span class="paren">()</span>
3647
<span class="returns-inline">
3648
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3655
<span class="flag protected">protected</span>
3668
<a href="../classes/BaseCore.html#method__getAttrCfgs">BaseCore</a>:
3672
<a href="../files/base_js_BaseCore.js.html#l293"><code>base/js/BaseCore.js:293</code></a>
3682
<div class="description">
3683
<p>Returns an aggregated set of attribute configurations, by traversing
3684
the class hierarchy.</p>
3690
<div class="returns">
3693
<div class="returns-description">
3696
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3698
The hash of attribute configurations, aggregated across classes in the hierarchy
3699
This value is cached the first time the method, or _getClasses, is invoked. Subsequent invocations return
3710
<div id="method__getAttrInitVal" class="method item private inherited">
3711
<h3 class="name"><code>_getAttrInitVal</code></h3>
3715
<span class="paren">(</span><ul class="args-list inline commas">
3731
<code>initValues</code>
3735
</ul><span class="paren">)</span>
3740
<span class="returns-inline">
3741
<span class="type">Any</span>
3748
<span class="flag private">private</span>
3760
<a href="../classes/AttributeCore.html#method__getAttrInitVal">
3768
<a href="../files/attribute_js_ComplexAttribute.js.html#l58"><code>attribute/js/ComplexAttribute.js:58</code></a>
3778
<div class="description">
3779
<p>Returns the initial value of the given attribute from
3780
either the default configuration provided, or the
3781
over-ridden value if it exists in the set of initValues
3782
provided and the attribute is not read-only.</p>
3786
<div class="params">
3787
<h4>Parameters:</h4>
3789
<ul class="params-list">
3793
<code class="param-name">attr</code>
3794
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3799
<div class="param-description">
3800
<p>The name of the attribute</p>
3808
<code class="param-name">cfg</code>
3809
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3814
<div class="param-description">
3815
<p>The attribute configuration object</p>
3823
<code class="param-name">initValues</code>
3824
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3829
<div class="param-description">
3830
<p>The object with simple and complex attribute name/value pairs returned from _normAttrVals</p>
3841
<div class="returns">
3844
<div class="returns-description">
3847
<span class="type">Any</span>:
3849
The initial value of the attribute.
3859
<div id="method__getAttrs" class="method item protected inherited">
3860
<h3 class="name"><code>_getAttrs</code></h3>
3864
<span class="paren">(</span><ul class="args-list inline commas">
3872
</ul><span class="paren">)</span>
3877
<span class="returns-inline">
3878
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3885
<span class="flag protected">protected</span>
3898
<a href="../classes/AttributeCore.html#method__getAttrs">AttributeCore</a>:
3902
<a href="../files/attribute_js_AttributeCore.js.html#l677"><code>attribute/js/AttributeCore.js:677</code></a>
3912
<div class="description">
3913
<p>Implementation behind the public getAttrs method, to get multiple attribute values.</p>
3917
<div class="params">
3918
<h4>Parameters:</h4>
3920
<ul class="params-list">
3924
<code class="param-name">attrs</code>
3925
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span>
3930
<div class="param-description">
3931
<p>Optional. An array of attribute names. If omitted, all attribute values are
3932
returned. If set to true, all attributes modified from their initial values are returned.</p>
3943
<div class="returns">
3946
<div class="returns-description">
3949
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3951
An object with attribute name/value pairs.
3961
<div id="method__getClasses" class="method item protected inherited">
3962
<h3 class="name"><code>_getClasses</code></h3>
3965
<span class="paren">()</span>
3969
<span class="returns-inline">
3970
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>
3977
<span class="flag protected">protected</span>
3990
<a href="../classes/BaseCore.html#method__getClasses">BaseCore</a>:
3994
<a href="../files/base_js_BaseCore.js.html#l277"><code>base/js/BaseCore.js:277</code></a>
4004
<div class="description">
4005
<p>Returns the class hierarchy for this object, with BaseCore being the last class in the array.</p>
4011
<div class="returns">
4014
<div class="returns-description">
4017
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>:
4019
An array of classes (constructor functions), making up the class hierarchy for this object.
4020
This value is cached the first time the method, or _getAttrCfgs, is invoked. Subsequent invocations return the
4031
<div id="method__getEntries" class="method item protected inherited">
4032
<h3 class="name"><code>_getEntries</code></h3>
4035
<span class="paren">()</span>
4043
<span class="flag protected">protected</span>
4056
<a href="../classes/Cache.html#method__getEntries">Cache</a>:
4060
<a href="../files/cache_js_cache-base.js.html#l231"><code>cache/js/cache-base.js:231</code></a>
4070
<div class="description">
4071
<p>Gets all entries.</p>
4082
<div id="method__getSize" class="method item protected inherited">
4083
<h3 class="name"><code>_getSize</code></h3>
4086
<span class="paren">()</span>
4094
<span class="flag protected">protected</span>
4107
<a href="../classes/Cache.html#method__getSize">Cache</a>:
4111
<a href="../files/cache_js_cache-base.js.html#l221"><code>cache/js/cache-base.js:221</code></a>
4121
<div class="description">
4133
<div id="method__getStateVal" class="method item private inherited">
4134
<h3 class="name"><code>_getStateVal</code></h3>
4138
<span class="paren">(</span><ul class="args-list inline commas">
4146
</ul><span class="paren">)</span>
4151
<span class="returns-inline">
4152
<span class="type">Any</span>
4159
<span class="flag private">private</span>
4172
<a href="../classes/AttributeCore.html#method__getStateVal">AttributeCore</a>:
4176
<a href="../files/attribute_js_AttributeCore.js.html#l522"><code>attribute/js/AttributeCore.js:522</code></a>
4186
<div class="description">
4187
<p>Gets the stored value for the attribute, from either the
4188
internal state object, or the state proxy if it exits</p>
4192
<div class="params">
4193
<h4>Parameters:</h4>
4195
<ul class="params-list">
4199
<code class="param-name">name</code>
4200
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4205
<div class="param-description">
4206
<p>The name of the attribute</p>
4217
<div class="returns">
4220
<div class="returns-description">
4223
<span class="type">Any</span>:
4225
The stored value of the attribute
4235
<div id="method__getType" class="method item private inherited">
4236
<h3 class="name"><code>_getType</code></h3>
4239
<span class="paren">()</span>
4247
<span class="flag private">private</span>
4260
<a href="../classes/EventTarget.html#method__getType">EventTarget</a>:
4264
<a href="../files/event-custom_js_event-target.js.html#l36"><code>event-custom/js/event-target.js:36</code></a>
4274
<div class="description">
4275
<p>If the instance has a prefix attribute and the
4276
event type is not prefixed, the instance prefix is
4277
applied to the supplied type.</p>
4288
<div id="method__initAttrHost" class="method item private inherited">
4289
<h3 class="name"><code>_initAttrHost</code></h3>
4293
<span class="paren">(</span><ul class="args-list inline commas">
4313
</ul><span class="paren">)</span>
4322
<span class="flag private">private</span>
4335
<a href="../classes/AttributeCore.html#method__initAttrHost">AttributeCore</a>:
4339
<a href="../files/attribute_js_AttributeCore.js.html#l109"><code>attribute/js/AttributeCore.js:109</code></a>
4349
<div class="description">
4350
<p>Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the
4355
<div class="params">
4356
<h4>Parameters:</h4>
4358
<ul class="params-list">
4362
<code class="param-name">attrs</code>
4363
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4368
<div class="param-description">
4369
<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>
4377
<code class="param-name">values</code>
4378
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4383
<div class="param-description">
4384
<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>
4392
<code class="param-name">lazy</code>
4393
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4398
<div class="param-description">
4399
<p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p>
4415
<div id="method__initAttribute" class="method item private inherited">
4416
<h3 class="name"><code>_initAttribute</code></h3>
4419
<span class="paren">()</span>
4427
<span class="flag private">private</span>
4439
<a href="../classes/BaseCore.html#method__initAttribute">
4447
<a href="../files/base_js_Base.js.html#l169"><code>base/js/Base.js:169</code></a>
4457
<div class="description">
4458
<p>Initializes Attribute</p>
4469
<div id="method__initAttrs" class="method item protected inherited">
4470
<h3 class="name"><code>_initAttrs</code></h3>
4474
<span class="paren">(</span><ul class="args-list inline commas">
4494
</ul><span class="paren">)</span>
4503
<span class="flag protected">protected</span>
4516
<a href="../classes/AttributeCore.html#method__initAttrs">AttributeCore</a>:
4520
<a href="../files/attribute_js_AttributeCore.js.html#l862"><code>attribute/js/AttributeCore.js:862</code></a>
4530
<div class="description">
4531
<p>Utility method to set up initial attributes defined during construction, either through the constructor.ATTRS property, or explicitly passed in.</p>
4535
<div class="params">
4536
<h4>Parameters:</h4>
4538
<ul class="params-list">
4542
<code class="param-name">attrs</code>
4543
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4548
<div class="param-description">
4549
<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>
4557
<code class="param-name">values</code>
4558
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4563
<div class="param-description">
4564
<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>
4572
<code class="param-name">lazy</code>
4573
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4578
<div class="param-description">
4579
<p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p>
4595
<div id="method__initBase" class="method item private inherited">
4596
<h3 class="name"><code>_initBase</code></h3>
4600
<span class="paren">(</span><ul class="args-list inline commas">
4608
</ul><span class="paren">)</span>
4617
<span class="flag private">private</span>
4629
<a href="../classes/BaseCore.html#method__initBase">
4637
<a href="../files/base_js_Base.js.html#l154"><code>base/js/Base.js:154</code></a>
4647
<div class="description">
4648
<p>Internal construction logic for Base.</p>
4652
<div class="params">
4653
<h4>Parameters:</h4>
4655
<ul class="params-list">
4659
<code class="param-name">config</code>
4660
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4665
<div class="param-description">
4666
<p>The constructor configuration object</p>
4682
<div id="method__initHierarchy" class="method item private inherited">
4683
<h3 class="name"><code>_initHierarchy</code></h3>
4687
<span class="paren">(</span><ul class="args-list inline commas">
4691
<code>userVals</code>
4695
</ul><span class="paren">)</span>
4704
<span class="flag private">private</span>
4717
<a href="../classes/BaseCore.html#method__initHierarchy">BaseCore</a>:
4721
<a href="../files/base_js_BaseCore.js.html#l501"><code>base/js/BaseCore.js:501</code></a>
4731
<div class="description">
4732
<p>Initializes the class hierarchy for the instance, which includes
4733
initializing attributes for each class defined in the class's
4734
static <a href="#property_BaseCore.ATTRS">ATTRS</a> property and
4735
invoking the initializer method on the prototype of each class in the hierarchy.</p>
4739
<div class="params">
4740
<h4>Parameters:</h4>
4742
<ul class="params-list">
4746
<code class="param-name">userVals</code>
4747
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4752
<div class="param-description">
4753
<p>Object with configuration property name/value pairs</p>
4769
<div id="method__initHierarchyData" class="method item private inherited">
4770
<h3 class="name"><code>_initHierarchyData</code></h3>
4773
<span class="paren">()</span>
4781
<span class="flag private">private</span>
4794
<a href="../classes/BaseCore.html#method__initHierarchyData">BaseCore</a>:
4798
<a href="../files/base_js_BaseCore.js.html#l372"><code>base/js/BaseCore.js:372</code></a>
4808
<div class="description">
4809
<p>A helper method used by _getClasses and _getAttrCfgs, which determines both
4810
the array of classes and aggregate set of attribute configurations
4811
across the class hierarchy for the instance.</p>
4822
<div id="method__isLazyAttr" class="method item private inherited">
4823
<h3 class="name"><code>_isLazyAttr</code></h3>
4827
<span class="paren">(</span><ul class="args-list inline commas">
4835
</ul><span class="paren">)</span>
4840
<span class="returns-inline">
4841
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4848
<span class="flag private">private</span>
4861
<a href="../classes/AttributeCore.html#method__isLazyAttr">AttributeCore</a>:
4865
<a href="../files/attribute_js_AttributeCore.js.html#l299"><code>attribute/js/AttributeCore.js:299</code></a>
4875
<div class="description">
4876
<p>Checks whether or not the attribute is one which has been
4877
added lazily and still requires initialization.</p>
4881
<div class="params">
4882
<h4>Parameters:</h4>
4884
<ul class="params-list">
4888
<code class="param-name">name</code>
4889
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4894
<div class="param-description">
4895
<p>The name of the attribute</p>
4906
<div class="returns">
4909
<div class="returns-description">
4912
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
4914
true if it's a lazily added attribute, false otherwise.
4924
<div id="method__isMatch" class="method item protected inherited">
4925
<h3 class="name"><code>_isMatch</code></h3>
4929
<span class="paren">(</span><ul class="args-list inline commas">
4933
<code>request</code>
4943
</ul><span class="paren">)</span>
4948
<span class="returns-inline">
4949
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4956
<span class="flag protected">protected</span>
4969
<a href="../classes/Cache.html#method__isMatch">Cache</a>:
4973
<a href="../files/cache_js_cache-base.js.html#l306"><code>cache/js/cache-base.js:306</code></a>
4983
<div class="description">
4984
<p>Default overridable method compares current request with given cache entry.
4985
Returns true if current request matches the cached request, otherwise
4986
false. Implementers should override this method to customize the
4987
cache-matching algorithm.</p>
4991
<div class="params">
4992
<h4>Parameters:</h4>
4994
<ul class="params-list">
4998
<code class="param-name">request</code>
4999
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5004
<div class="param-description">
5005
<p>Request object.</p>
5013
<code class="param-name">entry</code>
5014
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5019
<div class="param-description">
5020
<p>Cached entry.</p>
5031
<div class="returns">
5034
<div class="returns-description">
5037
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
5039
True if current request matches given cached request, false otherwise.
5049
<div id="method__monitor" class="method item private inherited">
5050
<h3 class="name"><code>_monitor</code></h3>
5054
<span class="paren">(</span><ul class="args-list inline commas">
5074
</ul><span class="paren">)</span>
5083
<span class="flag private">private</span>
5096
<a href="../classes/EventTarget.html#method__monitor">EventTarget</a>:
5100
<a href="../files/event-custom_js_event-target.js.html#l602"><code>event-custom/js/event-target.js:602</code></a>
5110
<div class="description">
5111
<p>This is the entry point for the event monitoring system.
5112
You can monitor 'attach', 'detach', 'fire', and 'publish'.
5113
When configured, these events generate an event. click ->
5114
click<em>attach, click</em>detach, click_publish -- these can
5115
be subscribed to like other events to monitor the event
5116
system. Inividual published events can have monitoring
5117
turned on or off (publish can't be turned off before it
5118
it published) by setting the events 'monitor' config.</p>
5122
<div class="params">
5123
<h4>Parameters:</h4>
5125
<ul class="params-list">
5129
<code class="param-name">what</code>
5130
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5135
<div class="param-description">
5136
<p>'attach', 'detach', 'fire', or 'publish'</p>
5144
<code class="param-name">type</code>
5145
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5150
<div class="param-description">
5151
<p>Name of the event being monitored</p>
5159
<code class="param-name">o</code>
5160
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5165
<div class="param-description">
5166
<p>Information about the event interaction, such as
5167
fire() args, subscription category, publish config</p>
5183
<div id="method__normAttrVals" class="method item private inherited">
5184
<h3 class="name"><code>_normAttrVals</code></h3>
5188
<span class="paren">(</span><ul class="args-list inline commas">
5192
<code>valueHash</code>
5196
</ul><span class="paren">)</span>
5201
<span class="returns-inline">
5202
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5209
<span class="flag private">private</span>
5221
<a href="../classes/AttributeCore.html#method__normAttrVals">
5229
<a href="../files/attribute_js_ComplexAttribute.js.html#l15"><code>attribute/js/ComplexAttribute.js:15</code></a>
5239
<div class="description">
5240
<p>Utility method to split out simple attribute name/value pairs ("x")
5241
from complex attribute name/value pairs ("x.y.z"), so that complex
5242
attributes can be keyed by the top level attribute name.</p>
5246
<div class="params">
5247
<h4>Parameters:</h4>
5249
<ul class="params-list">
5253
<code class="param-name">valueHash</code>
5254
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5259
<div class="param-description">
5260
<p>An object with attribute name/value pairs</p>
5271
<div class="returns">
5274
<div class="returns-description">
5277
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5279
An object literal with 2 properties - "simple" and "complex",
5280
containing simple and complex attribute values respectively keyed
5281
by the top level attribute name, or null, if valueHash is falsey.
5291
<div id="method__parseType" class="method item private inherited">
5292
<h3 class="name"><code>_parseType</code></h3>
5295
<span class="paren">()</span>
5303
<span class="flag private">private</span>
5316
<a href="../classes/EventTarget.html#method__parseType">EventTarget</a>:
5320
<a href="../files/event-custom_js_event-target.js.html#l52"><code>event-custom/js/event-target.js:52</code></a>
5330
<div class="description">
5331
<p>Returns an array with the detach key (if provided),
5332
and the prefixed event name from _getType
5333
Y.on('detachcategory| menu:click', fn)</p>
5344
<div id="method__position" class="method item protected inherited">
5345
<h3 class="name"><code>_position</code></h3>
5349
<span class="paren">(</span><ul class="args-list inline commas">
5353
<code>request</code>
5357
</ul><span class="paren">)</span>
5362
<span class="returns-inline">
5363
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
5370
<span class="flag protected">protected</span>
5383
<a href="../classes/Cache.html#method__position">Cache</a>:
5387
<a href="../files/cache_js_cache-base.js.html#l325"><code>cache/js/cache-base.js:325</code></a>
5397
<div class="description">
5398
<p>Returns position of a request in the entries array, otherwise null.</p>
5402
<div class="params">
5403
<h4>Parameters:</h4>
5405
<ul class="params-list">
5409
<code class="param-name">request</code>
5410
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5415
<div class="param-description">
5416
<p>Request object.</p>
5427
<div class="returns">
5430
<div class="returns-description">
5433
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>:
5435
Array position if found, null otherwise.
5445
<div id="method__preInitEventCfg" class="method item private inherited">
5446
<h3 class="name"><code>_preInitEventCfg</code></h3>
5450
<span class="paren">(</span><ul class="args-list inline commas">
5458
</ul><span class="paren">)</span>
5467
<span class="flag private">private</span>
5480
<a href="../classes/Base.html#method__preInitEventCfg">Base</a>:
5484
<a href="../files/base_js_Base.js.html#l233"><code>base/js/Base.js:233</code></a>
5494
<div class="description">
5495
<p>Handles the special on, after and target properties which allow the user to
5496
easily configure on and after listeners as well as bubble targets during
5497
construction, prior to init.</p>
5501
<div class="params">
5502
<h4>Parameters:</h4>
5504
<ul class="params-list">
5508
<code class="param-name">config</code>
5509
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5514
<div class="param-description">
5515
<p>The user configuration object</p>
5531
<div id="method__protectAttrs" class="method item protected inherited">
5532
<h3 class="name"><code>_protectAttrs</code></h3>
5536
<span class="paren">(</span><ul class="args-list inline commas">
5544
</ul><span class="paren">)</span>
5549
<span class="returns-inline">
5550
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5557
<span class="flag protected">protected</span>
5570
<a href="../classes/AttributeCore.html#method__protectAttrs">AttributeCore</a>:
5574
<a href="../files/attribute_js_AttributeCore.js.html#l786"><code>attribute/js/AttributeCore.js:786</code></a>
5584
<div class="description">
5585
<p>Utility method to protect an attribute configuration
5586
hash, by merging the entire object and the individual
5587
attr config objects.</p>
5591
<div class="params">
5592
<h4>Parameters:</h4>
5594
<ul class="params-list">
5598
<code class="param-name">attrs</code>
5599
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5604
<div class="param-description">
5605
<p>A hash of attribute to configuration object pairs.</p>
5616
<div class="returns">
5619
<div class="returns-description">
5622
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5624
A protected version of the attrs argument.
5634
<div id="method__set" class="method item protected inherited">
5635
<h3 class="name"><code>_set</code></h3>
5639
<span class="paren">(</span><ul class="args-list inline commas">
5659
</ul><span class="paren">)</span>
5664
<span class="returns-inline">
5665
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5672
<span class="flag protected">protected</span>
5680
<span class="flag chainable">chainable</span>
5686
<a href="../classes/AttributeCore.html#method__set">
5694
<a href="../files/attribute_js_AttributeEvents.js.html#l65"><code>attribute/js/AttributeEvents.js:65</code></a>
5704
<div class="description">
5705
<p>Allows setting of readOnly/writeOnce attributes. See <a href="#method_set">set</a> for argument details.</p>
5709
<div class="params">
5710
<h4>Parameters:</h4>
5712
<ul class="params-list">
5716
<code class="param-name">name</code>
5717
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5722
<div class="param-description">
5723
<p>The name of the attribute.</p>
5731
<code class="param-name">val</code>
5732
<span class="type">Any</span>
5737
<div class="param-description">
5738
<p>The value to set the attribute to.</p>
5746
<code class="param-name">opts</code>
5747
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5752
<div class="param-description">
5753
<p>(Optional) Optional event data to be mixed into
5754
the event facade passed to subscribers of the attribute's change event.</p>
5765
<div class="returns">
5768
<div class="returns-description">
5771
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5773
A reference to the host object.
5783
<div id="method__setAttr" class="method item protected inherited">
5784
<h3 class="name"><code>_setAttr</code></h3>
5788
<span class="paren">(</span><ul class="args-list inline commas">
5814
</ul><span class="paren">)</span>
5819
<span class="returns-inline">
5820
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5827
<span class="flag protected">protected</span>
5835
<span class="flag chainable">chainable</span>
5842
<a href="../classes/AttributeCore.html#method__setAttr">AttributeCore</a>:
5846
<a href="../files/attribute_js_AttributeCore.js.html#l361"><code>attribute/js/AttributeCore.js:361</code></a>
5856
<div class="description">
5857
<p>Provides the common implementation for the public set and protected _set methods.</p>
5859
<p>See <a href="#method_set">set</a> for argument details.</p>
5863
<div class="params">
5864
<h4>Parameters:</h4>
5866
<ul class="params-list">
5870
<code class="param-name">name</code>
5871
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5876
<div class="param-description">
5877
<p>The name of the attribute.</p>
5885
<code class="param-name">value</code>
5886
<span class="type">Any</span>
5891
<div class="param-description">
5892
<p>The value to set the attribute to.</p>
5900
<code class="param-name">opts</code>
5901
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5906
<div class="param-description">
5907
<p>(Optional) Optional event data to be mixed into
5908
the event facade passed to subscribers of the attribute's change event.
5909
This is currently a hack. There's no real need for the AttributeCore implementation
5910
to support this parameter, but breaking it out into AttributeEvents, results in
5911
additional function hops for the critical path. May change in 3.5.0 PR3.</p>
5919
<code class="param-name">force</code>
5920
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
5925
<div class="param-description">
5926
<p>If true, allows the caller to set values for
5927
readOnly or writeOnce attributes which have already been set.</p>
5938
<div class="returns">
5941
<div class="returns-description">
5944
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5946
A reference to the host object.
5956
<div id="method__setAttrs" class="method item protected inherited">
5957
<h3 class="name"><code>_setAttrs</code></h3>
5961
<span class="paren">(</span><ul class="args-list inline commas">
5969
</ul><span class="paren">)</span>
5974
<span class="returns-inline">
5975
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5982
<span class="flag protected">protected</span>
5990
<span class="flag chainable">chainable</span>
5997
<a href="../classes/AttributeCore.html#method__setAttrs">AttributeCore</a>:
6001
<a href="../files/attribute_js_AttributeCore.js.html#l647"><code>attribute/js/AttributeCore.js:647</code></a>
6011
<div class="description">
6012
<p>Implementation behind the public setAttrs method, to set multiple attribute values.</p>
6016
<div class="params">
6017
<h4>Parameters:</h4>
6019
<ul class="params-list">
6023
<code class="param-name">attrs</code>
6024
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6029
<div class="param-description">
6030
<p>An object with attributes name/value pairs.</p>
6041
<div class="returns">
6044
<div class="returns-description">
6047
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
6049
A reference to the host object.
6059
<div id="method__setAttrVal" class="method item private inherited">
6060
<h3 class="name"><code>_setAttrVal</code></h3>
6064
<span class="paren">(</span><ul class="args-list inline commas">
6068
<code>attrName</code>
6074
<code>subAttrName</code>
6080
<code>prevVal</code>
6090
</ul><span class="paren">)</span>
6095
<span class="returns-inline">
6096
<span class="type">Booolean</span>
6103
<span class="flag private">private</span>
6116
<a href="../classes/AttributeCore.html#method__setAttrVal">AttributeCore</a>:
6120
<a href="../files/attribute_js_AttributeCore.js.html#l554"><code>attribute/js/AttributeCore.js:554</code></a>
6130
<div class="description">
6131
<p>Updates the stored value of the attribute in the privately held State object,
6132
if validation and setter passes.</p>
6136
<div class="params">
6137
<h4>Parameters:</h4>
6139
<ul class="params-list">
6143
<code class="param-name">attrName</code>
6144
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6149
<div class="param-description">
6150
<p>The attribute name.</p>
6158
<code class="param-name">subAttrName</code>
6159
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6164
<div class="param-description">
6165
<p>The sub-attribute name, if setting a sub-attribute property ("x.y.z").</p>
6173
<code class="param-name">prevVal</code>
6174
<span class="type">Any</span>
6179
<div class="param-description">
6180
<p>The currently stored value of the attribute.</p>
6188
<code class="param-name">newVal</code>
6189
<span class="type">Any</span>
6194
<div class="param-description">
6195
<p>The value which is going to be stored.</p>
6206
<div class="returns">
6209
<div class="returns-description">
6212
<span class="type">Booolean</span>:
6214
true if the new attribute value was stored, false if not.
6224
<div id="method__setMax" class="method item protected inherited">
6225
<h3 class="name"><code>_setMax</code></h3>
6228
<span class="paren">()</span>
6236
<span class="flag protected">protected</span>
6249
<a href="../classes/Cache.html#method__setMax">Cache</a>:
6253
<a href="../files/cache_js_cache-base.js.html#l198"><code>cache/js/cache-base.js:198</code></a>
6263
<div class="description">
6275
<div id="method__setStateVal" class="method item private inherited">
6276
<h3 class="name"><code>_setStateVal</code></h3>
6280
<span class="paren">(</span><ul class="args-list inline commas">
6294
</ul><span class="paren">)</span>
6303
<span class="flag private">private</span>
6316
<a href="../classes/AttributeCore.html#method__setStateVal">AttributeCore</a>:
6320
<a href="../files/attribute_js_AttributeCore.js.html#l536"><code>attribute/js/AttributeCore.js:536</code></a>
6330
<div class="description">
6331
<p>Sets the stored value for the attribute, in either the
6332
internal state object, or the state proxy if it exits</p>
6336
<div class="params">
6337
<h4>Parameters:</h4>
6339
<ul class="params-list">
6343
<code class="param-name">name</code>
6344
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6349
<div class="param-description">
6350
<p>The name of the attribute</p>
6358
<code class="param-name">value</code>
6359
<span class="type">Any</span>
6364
<div class="param-description">
6365
<p>The value of the attribute</p>
6381
<div id="method_add" class="method item inherited">
6382
<h3 class="name"><code>add</code></h3>
6386
<span class="paren">(</span><ul class="args-list inline commas">
6390
<code>request</code>
6396
<code>response</code>
6400
</ul><span class="paren">)</span>
6420
<a href="../classes/Cache.html#method_add">Cache</a>:
6424
<a href="../files/cache_js_cache-base.js.html#l358"><code>cache/js/cache-base.js:358</code></a>
6434
<div class="description">
6435
<p>Adds a new entry to the cache of the format
6436
{request:request, response:response, cached:cached, expires:expires}.
6437
If cache is full, evicts the stalest entry before adding the new one.</p>
6441
<div class="params">
6442
<h4>Parameters:</h4>
6444
<ul class="params-list">
6448
<code class="param-name">request</code>
6449
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6454
<div class="param-description">
6455
<p>Request value.</p>
6463
<code class="param-name">response</code>
6464
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6469
<div class="param-description">
6470
<p>Response value.</p>
6486
<div id="method_addAttr" class="method item inherited">
6487
<h3 class="name"><code>addAttr</code></h3>
6491
<span class="paren">(</span><ul class="args-list inline commas">
6511
</ul><span class="paren">)</span>
6516
<span class="returns-inline">
6517
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6530
<span class="flag chainable">chainable</span>
6537
<a href="../classes/AttributeCore.html#method_addAttr">AttributeCore</a>:
6541
<a href="../files/attribute_js_AttributeCore.js.html#l124"><code>attribute/js/AttributeCore.js:124</code></a>
6551
<div class="description">
6553
Adds an attribute with the provided configuration to the host object.
6557
The config argument object supports the following properties:
6561
<dt>value <Any></dt>
6562
<dd>The initial value to set on the attribute</dd>
6564
<dt>valueFn <Function | String></dt>
6566
<p>A function, which will return the initial value to set on the attribute. This is useful
6567
for cases where the attribute configuration is defined statically, but needs to
6568
reference the host instance ("this") to obtain an initial value. If both the value and valueFn properties are defined,
6569
the value returned by the valueFn has precedence over the value property, unless it returns undefined, in which
6570
case the value property is used.</p>
6572
<p>valueFn can also be set to a string, representing the name of the instance method to be used to retrieve the value.</p>
6575
<dt>readOnly <boolean></dt>
6576
<dd>Whether or not the attribute is read only. Attributes having readOnly set to true
6577
cannot be modified by invoking the set method.</dd>
6579
<dt>writeOnce <boolean> or <string></dt>
6581
Whether or not the attribute is "write once". Attributes having writeOnce set to true,
6582
can only have their values set once, be it through the default configuration,
6583
constructor configuration arguments, or by invoking set.
6584
<p>The writeOnce attribute can also be set to the string "initOnly", in which case the attribute can only be set during initialization
6585
(when used with Base, this means it can only be set during construction)</p>
6588
<dt>setter <Function | String></dt>
6590
<p>The setter function used to massage or normalize the value passed to the set method for the attribute.
6591
The value returned by the setter will be the final stored value. Returning
6592
<a href="#property_Attribute.INVALID_VALUE">Attribute.INVALID_VALUE</a>, from the setter will prevent
6593
the value from being stored.
6596
<p>setter can also be set to a string, representing the name of the instance method to be used as the setter function.</p>
6599
<dt>getter <Function | String></dt>
6602
The getter function used to massage or normalize the value returned by the get method for the attribute.
6603
The value returned by the getter function is the value which will be returned to the user when they
6607
<p>getter can also be set to a string, representing the name of the instance method to be used as the getter function.</p>
6610
<dt>validator <Function | String></dt>
6613
The validator function invoked prior to setting the stored value. Returning
6614
false from the validator function will prevent the value from being stored.
6617
<p>validator can also be set to a string, representing the name of the instance method to be used as the validator function.</p>
6620
<dt>lazyAdd <boolean></dt>
6621
<dd>Whether or not to delay initialization of the attribute until the first call to get/set it.
6622
This flag can be used to over-ride lazy initialization on a per attribute basis, when adding multiple attributes through
6623
the <a href="#method_addAttrs">addAttrs</a> method.</dd>
6627
<p>The setter, getter and validator are invoked with the value and name passed in as the first and second arguments, and with
6628
the context ("this") set to the host object.</p>
6630
<p>Configuration properties outside of the list mentioned above are considered private properties used internally by attribute,
6631
and are not intended for public use.</p>
6635
<div class="params">
6636
<h4>Parameters:</h4>
6638
<ul class="params-list">
6642
<code class="param-name">name</code>
6643
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6648
<div class="param-description">
6649
<p>The name of the attribute.</p>
6657
<code class="param-name">config</code>
6658
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6663
<div class="param-description">
6664
<p>An object with attribute configuration property/value pairs, specifying the configuration for the attribute.</p>
6667
<strong>NOTE:</strong> The configuration object is modified when adding an attribute, so if you need
6668
to protect the original values, you will need to merge the object.
6677
<code class="param-name">lazy</code>
6678
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6683
<div class="param-description">
6684
<p>(optional) Whether or not to add this attribute lazily (on the first call to get/set).</p>
6695
<div class="returns">
6698
<div class="returns-description">
6701
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
6703
A reference to the host object.
6713
<div id="method_addAttrs" class="method item inherited">
6714
<h3 class="name"><code>addAttrs</code></h3>
6718
<span class="paren">(</span><ul class="args-list inline commas">
6738
</ul><span class="paren">)</span>
6743
<span class="returns-inline">
6744
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6757
<span class="flag chainable">chainable</span>
6764
<a href="../classes/AttributeCore.html#method_addAttrs">AttributeCore</a>:
6768
<a href="../files/attribute_js_AttributeCore.js.html#l708"><code>attribute/js/AttributeCore.js:708</code></a>
6778
<div class="description">
6779
<p>Configures a group of attributes, and sets initial values.</p>
6782
<strong>NOTE:</strong> This method does not isolate the configuration object by merging/cloning.
6783
The caller is responsible for merging/cloning the configuration object if required.
6788
<div class="params">
6789
<h4>Parameters:</h4>
6791
<ul class="params-list">
6795
<code class="param-name">cfgs</code>
6796
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6801
<div class="param-description">
6802
<p>An object with attribute name/configuration pairs.</p>
6810
<code class="param-name">values</code>
6811
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6816
<div class="param-description">
6817
<p>An object with attribute name/value pairs, defining the initial values to apply.
6818
Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p>
6826
<code class="param-name">lazy</code>
6827
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6832
<div class="param-description">
6833
<p>Whether or not to delay the intialization of these attributes until the first call to get/set.
6834
Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration.
6835
See <a href="#method_addAttr">addAttr</a>.</p>
6846
<div class="returns">
6849
<div class="returns-description">
6852
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
6854
A reference to the host object.
6864
<div id="method_addTarget" class="method item inherited">
6865
<h3 class="name"><code>addTarget</code></h3>
6869
<span class="paren">(</span><ul class="args-list inline commas">
6877
</ul><span class="paren">)</span>
6897
<a href="../classes/EventTarget.html#method_addTarget">EventTarget</a>:
6901
<a href="../files/event-custom_js_event-facade.js.html#l382"><code>event-custom/js/event-facade.js:382</code></a>
6911
<div class="description">
6912
<p>Registers another EventTarget as a bubble target. Bubble order
6913
is determined by the order registered. Multiple targets can
6916
<p>Events can only bubble if emitFacade is true.</p>
6918
<p>Included in the event-custom-complex submodule.</p>
6922
<div class="params">
6923
<h4>Parameters:</h4>
6925
<ul class="params-list">
6929
<code class="param-name">o</code>
6930
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
6935
<div class="param-description">
6936
<p>the target to add</p>
6952
<div id="method_after" class="method item inherited">
6953
<h3 class="name"><code>after</code></h3>
6957
<span class="paren">(</span><ul class="args-list inline commas">
6973
<code class="optional">[context]</code>
6979
<code class="optional">[arg*]</code>
6983
</ul><span class="paren">)</span>
6988
<span class="returns-inline">
6989
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
7007
<a href="../classes/EventTarget.html#method_after">EventTarget</a>:
7011
<a href="../files/event-custom_js_event-target.js.html#l730"><code>event-custom/js/event-target.js:730</code></a>
7021
<div class="description">
7022
<p>Subscribe to a custom event hosted by this object. The
7023
supplied callback will execute after any listeners add
7024
via the subscribe method, and after the default function,
7025
if configured for the event, has executed.</p>
7029
<div class="params">
7030
<h4>Parameters:</h4>
7032
<ul class="params-list">
7036
<code class="param-name">type</code>
7037
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7042
<div class="param-description">
7043
<p>The name of the event</p>
7051
<code class="param-name">fn</code>
7052
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
7057
<div class="param-description">
7058
<p>The callback to execute in response to the event</p>
7066
<code class="param-name optional">[context]</code>
7067
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7068
<span class="flag optional" title="This parameter is optional.">optional</span>
7073
<div class="param-description">
7074
<p>Override <code>this</code> object in callback</p>
7082
<code class="param-name optional">[arg*]</code>
7083
<span class="type">Any</span>
7084
<span class="flag optional" title="This parameter is optional.">optional</span>
7089
<div class="param-description">
7090
<p>0..n additional arguments to supply to the subscriber</p>
7101
<div class="returns">
7104
<div class="returns-description">
7107
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
7109
A subscription handle capable of detaching the
7120
<div id="method_afterHostEvent" class="method item inherited">
7121
<h3 class="name"><code>afterHostEvent</code></h3>
7125
<span class="paren">(</span><ul class="args-list inline commas">
7141
<code>context</code>
7145
</ul><span class="paren">)</span>
7150
<span class="returns-inline">
7151
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
7169
<a href="../classes/Plugin.Base.html#method_afterHostEvent">Plugin.Base</a>:
7173
<a href="../files/plugin_js_plugin.js.html#l168"><code>plugin/js/plugin.js:168</code></a>
7183
<div class="description">
7184
<p>Listens for the "after" moment of events fired by the host object.</p>
7186
<p>Listeners attached through this method will be detached when the plugin is unplugged.</p>
7190
<div class="params">
7191
<h4>Parameters:</h4>
7193
<ul class="params-list">
7197
<code class="param-name">type</code>
7198
<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>
7203
<div class="param-description">
7204
<p>The event type.</p>
7212
<code class="param-name">fn</code>
7213
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
7218
<div class="param-description">
7219
<p>The listener.</p>
7227
<code class="param-name">context</code>
7228
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7233
<div class="param-description">
7234
<p>The execution context. Defaults to the plugin instance.</p>
7245
<div class="returns">
7248
<div class="returns-description">
7251
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
7253
handle The detach handle for the listener.
7263
<div id="method_afterHostMethod" class="method item inherited">
7264
<h3 class="name"><code>afterHostMethod</code></h3>
7268
<span class="paren">(</span><ul class="args-list inline commas">
7284
<code>context</code>
7288
</ul><span class="paren">)</span>
7293
<span class="returns-inline">
7294
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
7312
<a href="../classes/Plugin.Base.html#method_afterHostMethod">Plugin.Base</a>:
7316
<a href="../files/plugin_js_plugin.js.html#l202"><code>plugin/js/plugin.js:202</code></a>
7326
<div class="description">
7327
<p>Injects a function to be executed after a given method on host object.</p>
7329
<p>The function will be detached when the plugin is unplugged.</p>
7333
<div class="params">
7334
<h4>Parameters:</h4>
7336
<ul class="params-list">
7340
<code class="param-name">method</code>
7341
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7346
<div class="param-description">
7347
<p>The name of the method to inject the function after.</p>
7355
<code class="param-name">fn</code>
7356
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
7361
<div class="param-description">
7362
<p>The function to inject.</p>
7370
<code class="param-name">context</code>
7371
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7376
<div class="param-description">
7377
<p>The execution context. Defaults to the plugin instance.</p>
7388
<div class="returns">
7391
<div class="returns-description">
7394
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
7396
handle The detach handle for the injected function.
7406
<div id="method_attrAdded" class="method item inherited">
7407
<h3 class="name"><code>attrAdded</code></h3>
7411
<span class="paren">(</span><ul class="args-list inline commas">
7419
</ul><span class="paren">)</span>
7424
<span class="returns-inline">
7425
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
7443
<a href="../classes/AttributeCore.html#method_attrAdded">AttributeCore</a>:
7447
<a href="../files/attribute_js_AttributeCore.js.html#l272"><code>attribute/js/AttributeCore.js:272</code></a>
7457
<div class="description">
7458
<p>Checks if the given attribute has been added to the host</p>
7462
<div class="params">
7463
<h4>Parameters:</h4>
7465
<ul class="params-list">
7469
<code class="param-name">name</code>
7470
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7475
<div class="param-description">
7476
<p>The name of the attribute to check.</p>
7487
<div class="returns">
7490
<div class="returns-description">
7493
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
7495
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.
7505
<div id="method_before" class="method item inherited">
7506
<h3 class="name"><code>before</code></h3>
7509
<span class="paren">()</span>
7513
<span class="returns-inline">
7514
<span class="type"></span>
7532
<a href="../classes/EventTarget.html#method_before">EventTarget</a>:
7536
<a href="../files/event-custom_js_event-target.js.html#l767"><code>event-custom/js/event-target.js:767</code></a>
7546
<div class="description">
7547
<p>Executes the callback before a DOM event, custom event
7548
or method. If the first argument is a function, it
7549
is assumed the target is a method. For DOM and custom
7550
events, this is an alias for Y.on.</p>
7552
<p>For DOM and custom events:
7553
type, callback, context, 0-n arguments</p>
7556
callback, object (method host), methodName, context, 0-n arguments</p>
7562
<div class="returns">
7565
<div class="returns-description">
7578
<div id="method_beforeHostMethod" class="method item inherited">
7579
<h3 class="name"><code>beforeHostMethod</code></h3>
7583
<span class="paren">(</span><ul class="args-list inline commas">
7599
<code>context</code>
7603
</ul><span class="paren">)</span>
7608
<span class="returns-inline">
7609
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
7627
<a href="../classes/Plugin.Base.html#method_beforeHostMethod">Plugin.Base</a>:
7631
<a href="../files/plugin_js_plugin.js.html#l185"><code>plugin/js/plugin.js:185</code></a>
7641
<div class="description">
7642
<p>Injects a function to be executed before a given method on host object.</p>
7644
<p>The function will be detached when the plugin is unplugged.</p>
7648
<div class="params">
7649
<h4>Parameters:</h4>
7651
<ul class="params-list">
7655
<code class="param-name">method</code>
7656
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7661
<div class="param-description">
7662
<p>The name of the method to inject the function before.</p>
7670
<code class="param-name">fn</code>
7671
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
7676
<div class="param-description">
7677
<p>The function to inject.</p>
7685
<code class="param-name">context</code>
7686
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7691
<div class="param-description">
7692
<p>The execution context. Defaults to the plugin instance.</p>
7703
<div class="returns">
7706
<div class="returns-description">
7709
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
7711
handle The detach handle for the injected function.
7721
<div id="method_bubble" class="method item inherited">
7722
<h3 class="name"><code>bubble</code></h3>
7726
<span class="paren">(</span><ul class="args-list inline commas">
7734
</ul><span class="paren">)</span>
7739
<span class="returns-inline">
7740
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
7758
<a href="../classes/EventTarget.html#method_bubble">EventTarget</a>:
7762
<a href="../files/event-custom_js_event-facade.js.html#l419"><code>event-custom/js/event-facade.js:419</code></a>
7772
<div class="description">
7773
<p>Propagate an event. Requires the event-custom-complex module.</p>
7777
<div class="params">
7778
<h4>Parameters:</h4>
7780
<ul class="params-list">
7784
<code class="param-name">evt</code>
7785
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
7790
<div class="param-description">
7791
<p>the custom event to propagate</p>
7802
<div class="returns">
7805
<div class="returns-description">
7808
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
7810
the aggregated return value from Event.Custom.fire
7820
<div id="method_destroy" class="method item inherited">
7821
<h3 class="name"><code>destroy</code></h3>
7824
<span class="paren">()</span>
7828
<span class="returns-inline">
7829
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>
7842
<span class="flag chainable">chainable</span>
7848
<a href="../classes/BaseCore.html#method_destroy">
7856
<a href="../files/base_js_Base.js.html#l267"><code>base/js/Base.js:267</code></a>
7866
<div class="description">
7868
Destroy lifecycle method. Fires the destroy
7869
event, prior to invoking destructors for the
7874
Subscribers to the destroy
7875
event can invoke preventDefault on the event object, to prevent destruction
7883
<div class="returns">
7886
<div class="returns-description">
7889
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>:
7891
A reference to this object
7901
<div id="method_destructor" class="method item inherited">
7902
<h3 class="name"><code>destructor</code></h3>
7905
<span class="paren">()</span>
7923
<a href="../classes/Cache.html#method_destructor">
7931
<a href="../files/plugin_js_plugin.js.html#l89"><code>plugin/js/plugin.js:89</code></a>
7941
<div class="description">
7942
<p>Destructor lifecycle implementation.</p>
7944
<p>Removes any event listeners or injected methods applied by the Plugin</p>
7955
<div id="method_detach" class="method item inherited">
7956
<h3 class="name"><code>detach</code></h3>
7960
<span class="paren">(</span><ul class="args-list inline commas">
7976
<code>context</code>
7980
</ul><span class="paren">)</span>
7985
<span class="returns-inline">
7986
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
8004
<a href="../classes/EventTarget.html#method_detach">EventTarget</a>:
8008
<a href="../files/event-custom_js_event-target.js.html#l345"><code>event-custom/js/event-target.js:345</code></a>
8018
<div class="description">
8019
<p>Detach one or more listeners the from the specified event</p>
8023
<div class="params">
8024
<h4>Parameters:</h4>
8026
<ul class="params-list">
8030
<code class="param-name">type</code>
8031
<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>
8036
<div class="param-description">
8037
<p>Either the handle to the subscriber or the
8038
type of event. If the type
8039
is not specified, it will attempt to remove
8040
the listener from all hosted events.</p>
8048
<code class="param-name">fn</code>
8049
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
8054
<div class="param-description">
8055
<p>The subscribed function to unsubscribe, if not
8056
supplied, all subscribers will be removed.</p>
8064
<code class="param-name">context</code>
8065
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8070
<div class="param-description">
8071
<p>The custom object passed to subscribe. This is
8072
optional, but if supplied will be used to
8073
disambiguate multiple listeners that are the same
8074
(e.g., you subscribe many object using a function
8075
that lives on the prototype)</p>
8086
<div class="returns">
8089
<div class="returns-description">
8092
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
8104
<div id="method_detachAll" class="method item inherited">
8105
<h3 class="name"><code>detachAll</code></h3>
8109
<span class="paren">(</span><ul class="args-list inline commas">
8117
</ul><span class="paren">)</span>
8137
<a href="../classes/EventTarget.html#method_detachAll">EventTarget</a>:
8141
<a href="../files/event-custom_js_event-target.js.html#l465"><code>event-custom/js/event-target.js:465</code></a>
8151
<div class="description">
8152
<p>Removes all listeners from the specified event. If the event type
8153
is not specified, all listeners from all hosted custom events will
8158
<div class="params">
8159
<h4>Parameters:</h4>
8161
<ul class="params-list">
8165
<code class="param-name">type</code>
8166
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8171
<div class="param-description">
8172
<p>The type, or name of the event</p>
8188
<div id="method_doAfter" class="method item inherited">
8189
<h3 class="name"><code>doAfter</code></h3>
8193
<span class="paren">(</span><ul class="args-list inline commas">
8197
<code>strMethod</code>
8209
<code>context</code>
8213
</ul><span class="paren">)</span>
8218
<span class="returns-inline">
8219
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
8237
<a href="../classes/Plugin.Base.html#method_doAfter">Plugin.Base</a>:
8241
<a href="../files/plugin_js_plugin.js.html#l128"><code>plugin/js/plugin.js:128</code></a>
8251
<div class="description">
8252
<p>Listens for the "after" moment of events fired by the host,
8253
or injects code "after" a given method on the host.</p>
8257
<div class="params">
8258
<h4>Parameters:</h4>
8260
<ul class="params-list">
8264
<code class="param-name">strMethod</code>
8265
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8270
<div class="param-description">
8271
<p>The event to listen for, or method to inject logic after.</p>
8279
<code class="param-name">fn</code>
8280
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
8285
<div class="param-description">
8286
<p>The handler function. For events, the "after" moment listener. For methods, the function to execute after the given method is executed.</p>
8294
<code class="param-name">context</code>
8295
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8300
<div class="param-description">
8301
<p>An optional context to call the handler with. The default context is the plugin instance.</p>
8312
<div class="returns">
8315
<div class="returns-description">
8318
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
8320
handle The detach handle for the listener.
8330
<div id="method_doBefore" class="method item inherited">
8331
<h3 class="name"><code>doBefore</code></h3>
8335
<span class="paren">(</span><ul class="args-list inline commas">
8339
<code>strMethod</code>
8351
<code>context</code>
8355
</ul><span class="paren">)</span>
8360
<span class="returns-inline">
8361
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
8379
<a href="../classes/Plugin.Base.html#method_doBefore">Plugin.Base</a>:
8383
<a href="../files/plugin_js_plugin.js.html#l105"><code>plugin/js/plugin.js:105</code></a>
8393
<div class="description">
8394
<p>Listens for the "on" moment of events fired by the host,
8395
or injects code "before" a given method on the host.</p>
8399
<div class="params">
8400
<h4>Parameters:</h4>
8402
<ul class="params-list">
8406
<code class="param-name">strMethod</code>
8407
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8412
<div class="param-description">
8413
<p>The event to listen for, or method to inject logic before.</p>
8421
<code class="param-name">fn</code>
8422
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
8427
<div class="param-description">
8428
<p>The handler function. For events, the "on" moment listener. For methods, the function to execute before the given method is executed.</p>
8436
<code class="param-name">context</code>
8437
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8442
<div class="param-description">
8443
<p>An optional context to call the handler with. The default context is the plugin instance.</p>
8454
<div class="returns">
8457
<div class="returns-description">
8460
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
8462
handle The detach handle for the handler.
8472
<div id="method_fire" class="method item inherited">
8473
<h3 class="name"><code>fire</code></h3>
8477
<span class="paren">(</span><ul class="args-list inline commas">
8487
<code>arguments</code>
8491
</ul><span class="paren">)</span>
8496
<span class="returns-inline">
8497
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
8515
<a href="../classes/EventTarget.html#method_fire">EventTarget</a>:
8519
<a href="../files/event-custom_js_event-target.js.html#l629"><code>event-custom/js/event-target.js:629</code></a>
8529
<div class="description">
8530
<p>Fire a custom event by name. The callback functions will be executed
8531
from the context specified when the event was created, and with the
8532
following parameters.</p>
8534
<p>If the custom event object hasn't been created, then the event hasn't
8535
been published and it has no subscribers. For performance sake, we
8536
immediate exit in this case. This means the event won't bubble, so
8537
if the intention is that a bubble target be notified, the event must
8538
be published on this object first.</p>
8540
<p>The first argument is the event type, and any additional arguments are
8541
passed to the listeners as parameters. If the first of these is an
8542
object literal, and the event is configured to emit an event facade,
8543
that object is mixed into the event facade and the facade is provided
8544
in place of the original object.</p>
8548
<div class="params">
8549
<h4>Parameters:</h4>
8551
<ul class="params-list">
8555
<code class="param-name">type</code>
8556
<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>
8561
<div class="param-description">
8562
<p>The type of the event, or an object that contains
8563
a 'type' property.</p>
8571
<code class="param-name">arguments</code>
8572
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object*</a></span>
8577
<div class="param-description">
8578
<p>an arbitrary set of parameters to pass to
8579
the handler. If the first of these is an object literal and the event is
8580
configured to emit an event facade, the event facade will replace that
8581
parameter after the properties the object literal contains are copied to
8582
the event facade.</p>
8593
<div class="returns">
8596
<div class="returns-description">
8599
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
8611
<div id="method_flush" class="method item inherited">
8612
<h3 class="name"><code>flush</code></h3>
8615
<span class="paren">()</span>
8634
<a href="../classes/Cache.html#method_flush">Cache</a>:
8638
<a href="../files/cache_js_cache-base.js.html#l384"><code>cache/js/cache-base.js:384</code></a>
8648
<div class="description">
8649
<p>Flushes cache.</p>
8660
<div id="method_get" class="method item inherited">
8661
<h3 class="name"><code>get</code></h3>
8665
<span class="paren">(</span><ul class="args-list inline commas">
8673
</ul><span class="paren">)</span>
8678
<span class="returns-inline">
8679
<span class="type">Any</span>
8697
<a href="../classes/AttributeCore.html#method_get">AttributeCore</a>:
8701
<a href="../files/attribute_js_AttributeCore.js.html#l283"><code>attribute/js/AttributeCore.js:283</code></a>
8711
<div class="description">
8712
<p>Returns the current value of the attribute. If the attribute
8713
has been configured with a 'getter' function, this method will delegate
8714
to the 'getter' to obtain the value of the attribute.</p>
8718
<div class="params">
8719
<h4>Parameters:</h4>
8721
<ul class="params-list">
8725
<code class="param-name">name</code>
8726
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8731
<div class="param-description">
8732
<p>The name of the attribute. If the value of the attribute is an Object,
8733
dot notation can be used to obtain the value of a property of the object (e.g. <code>get("x.y.z")</code>)</p>
8744
<div class="returns">
8747
<div class="returns-description">
8750
<span class="type">Any</span>:
8752
The value of the attribute
8762
<div id="method_getAttrs" class="method item inherited">
8763
<h3 class="name"><code>getAttrs</code></h3>
8767
<span class="paren">(</span><ul class="args-list inline commas">
8775
</ul><span class="paren">)</span>
8780
<span class="returns-inline">
8781
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8799
<a href="../classes/AttributeCore.html#method_getAttrs">AttributeCore</a>:
8803
<a href="../files/attribute_js_AttributeCore.js.html#l665"><code>attribute/js/AttributeCore.js:665</code></a>
8813
<div class="description">
8814
<p>Gets multiple attribute values.</p>
8818
<div class="params">
8819
<h4>Parameters:</h4>
8821
<ul class="params-list">
8825
<code class="param-name">attrs</code>
8826
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span>
8831
<div class="param-description">
8832
<p>Optional. An array of attribute names. If omitted, all attribute values are
8833
returned. If set to true, all attributes modified from their initial values are returned.</p>
8844
<div class="returns">
8847
<div class="returns-description">
8850
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
8852
An object with attribute name/value pairs.
8862
<div id="method_getEvent" class="method item inherited">
8863
<h3 class="name"><code>getEvent</code></h3>
8867
<span class="paren">(</span><ul class="args-list inline commas">
8877
<code>prefixed</code>
8881
</ul><span class="paren">)</span>
8886
<span class="returns-inline">
8887
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
8905
<a href="../classes/EventTarget.html#method_getEvent">EventTarget</a>:
8909
<a href="../files/event-custom_js_event-target.js.html#l712"><code>event-custom/js/event-target.js:712</code></a>
8919
<div class="description">
8920
<p>Returns the custom event of the provided type has been created, a
8921
falsy value otherwise</p>
8925
<div class="params">
8926
<h4>Parameters:</h4>
8928
<ul class="params-list">
8932
<code class="param-name">type</code>
8933
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8938
<div class="param-description">
8939
<p>the type, or name of the event</p>
8947
<code class="param-name">prefixed</code>
8948
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8953
<div class="param-description">
8954
<p>if true, the type is prefixed already</p>
8965
<div class="returns">
8968
<div class="returns-description">
8971
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
8973
the custom event or null
8983
<div id="method_getTargets" class="method item inherited">
8984
<h3 class="name"><code>getTargets</code></h3>
8987
<span class="paren">()</span>
8991
<span class="returns-inline">
8992
<span class="type"></span>
9010
<a href="../classes/EventTarget.html#method_getTargets">EventTarget</a>:
9014
<a href="../files/event-custom_js_event-facade.js.html#l400"><code>event-custom/js/event-facade.js:400</code></a>
9024
<div class="description">
9025
<p>Returns an array of bubble targets for this object.</p>
9031
<div class="returns">
9034
<div class="returns-description">
9047
<div id="method_init" class="method item inherited">
9048
<h3 class="name"><code>init</code></h3>
9052
<span class="paren">(</span><ul class="args-list inline commas">
9060
</ul><span class="paren">)</span>
9065
<span class="returns-inline">
9066
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>
9079
<span class="flag chainable">chainable</span>
9085
<a href="../classes/BaseCore.html#method_init">
9093
<a href="../files/base_js_Base.js.html#l191"><code>base/js/Base.js:191</code></a>
9103
<div class="description">
9104
<p>Init lifecycle method, invoked during construction.
9105
Fires the init event prior to setting up attributes and
9106
invoking initializers for the class hierarchy.</p>
9110
<div class="params">
9111
<h4>Parameters:</h4>
9113
<ul class="params-list">
9117
<code class="param-name">config</code>
9118
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9123
<div class="param-description">
9124
<p>Object with configuration property name/value pairs</p>
9135
<div class="returns">
9138
<div class="returns-description">
9141
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>:
9143
A reference to this object
9153
<div id="method_initializer" class="method item inherited">
9154
<h3 class="name"><code>initializer</code></h3>
9158
<span class="paren">(</span><ul class="args-list inline commas">
9166
</ul><span class="paren">)</span>
9185
<a href="../classes/Cache.html#method_initializer">
9193
<a href="../files/plugin_js_plugin.js.html#l77"><code>plugin/js/plugin.js:77</code></a>
9203
<div class="description">
9204
<p>Initializer lifecycle implementation.</p>
9208
<div class="params">
9209
<h4>Parameters:</h4>
9211
<ul class="params-list">
9215
<code class="param-name">config</code>
9216
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9221
<div class="param-description">
9222
<p>Configuration object with property name/value pairs.</p>
9238
<div id="method_modifyAttr" class="method item inherited">
9239
<h3 class="name"><code>modifyAttr</code></h3>
9243
<span class="paren">(</span><ul class="args-list inline commas">
9257
</ul><span class="paren">)</span>
9277
<a href="../classes/AttributeExtras.html#method_modifyAttr">AttributeExtras</a>:
9281
<a href="../files/attribute_js_AttributeExtras.js.html#l39"><code>attribute/js/AttributeExtras.js:39</code></a>
9291
<div class="description">
9292
<p>Updates the configuration of an attribute which has already been added.</p>
9295
The properties which can be modified through this interface are limited
9296
to the following subset of attributes, which can be safely modified
9297
after a value has already been set on the attribute: readOnly, writeOnce,
9298
broadcast and getter.
9303
<div class="params">
9304
<h4>Parameters:</h4>
9306
<ul class="params-list">
9310
<code class="param-name">name</code>
9311
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9316
<div class="param-description">
9317
<p>The name of the attribute whose configuration is to be updated.</p>
9325
<code class="param-name">config</code>
9326
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9331
<div class="param-description">
9332
<p>An object with configuration property/value pairs, specifying the configuration properties to modify.</p>
9348
<div id="method_on" class="method item inherited">
9349
<h3 class="name"><code>on</code></h3>
9353
<span class="paren">(</span><ul class="args-list inline commas">
9369
<code class="optional">[context]</code>
9375
<code class="optional">[arg*]</code>
9379
</ul><span class="paren">)</span>
9384
<span class="returns-inline">
9385
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
9403
<a href="../classes/EventTarget.html#method_on">EventTarget</a>:
9407
<a href="../files/event-custom_js_event-target.js.html#l192"><code>event-custom/js/event-target.js:192</code></a>
9417
<div class="description">
9418
<p>Subscribe a callback function to a custom event fired by this object or
9419
from an object that bubbles its events to this object.</p>
9421
<p>Callback functions for events published with <code>emitFacade = true</code> will
9422
receive an <code>EventFacade</code> as the first argument (typically named "e").
9423
These callbacks can then call <code>e.preventDefault()</code> to disable the
9424
behavior published to that event's <code>defaultFn</code>. See the <code>EventFacade</code>
9425
API for all available properties and methods. Subscribers to
9426
non-<code>emitFacade</code> events will receive the arguments passed to <code>fire()</code>
9427
after the event name.</p>
9429
<p>To subscribe to multiple events at once, pass an object as the first
9430
argument, where the key:value pairs correspond to the eventName:callback,
9431
or pass an array of event names as the first argument to subscribe to
9432
all listed events with the same callback.</p>
9434
<p>Returning <code>false</code> from a callback is supported as an alternative to
9435
calling <code>e.preventDefault(); e.stopPropagation();</code>. However, it is
9436
recommended to use the event methods whenever possible.</p>
9440
<div class="params">
9441
<h4>Parameters:</h4>
9443
<ul class="params-list">
9447
<code class="param-name">type</code>
9448
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9453
<div class="param-description">
9454
<p>The name of the event</p>
9462
<code class="param-name">fn</code>
9463
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
9468
<div class="param-description">
9469
<p>The callback to execute in response to the event</p>
9477
<code class="param-name optional">[context]</code>
9478
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9479
<span class="flag optional" title="This parameter is optional.">optional</span>
9484
<div class="param-description">
9485
<p>Override <code>this</code> object in callback</p>
9493
<code class="param-name optional">[arg*]</code>
9494
<span class="type">Any</span>
9495
<span class="flag optional" title="This parameter is optional.">optional</span>
9500
<div class="param-description">
9501
<p>0..n additional arguments to supply to the subscriber</p>
9512
<div class="returns">
9515
<div class="returns-description">
9518
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
9520
A subscription handle capable of detaching that
9531
<div id="method_once" class="method item inherited">
9532
<h3 class="name"><code>once</code></h3>
9536
<span class="paren">(</span><ul class="args-list inline commas">
9552
<code class="optional">[context]</code>
9558
<code class="optional">[arg*]</code>
9562
</ul><span class="paren">)</span>
9567
<span class="returns-inline">
9568
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
9586
<a href="../classes/EventTarget.html#method_once">EventTarget</a>:
9590
<a href="../files/event-custom_js_event-target.js.html#l128"><code>event-custom/js/event-target.js:128</code></a>
9600
<div class="description">
9601
<p>Listen to a custom event hosted by this object one time.
9602
This is the equivalent to <code>on</code> except the
9603
listener is immediatelly detached when it is executed.</p>
9607
<div class="params">
9608
<h4>Parameters:</h4>
9610
<ul class="params-list">
9614
<code class="param-name">type</code>
9615
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9620
<div class="param-description">
9621
<p>The name of the event</p>
9629
<code class="param-name">fn</code>
9630
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
9635
<div class="param-description">
9636
<p>The callback to execute in response to the event</p>
9644
<code class="param-name optional">[context]</code>
9645
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9646
<span class="flag optional" title="This parameter is optional.">optional</span>
9651
<div class="param-description">
9652
<p>Override <code>this</code> object in callback</p>
9660
<code class="param-name optional">[arg*]</code>
9661
<span class="type">Any</span>
9662
<span class="flag optional" title="This parameter is optional.">optional</span>
9667
<div class="param-description">
9668
<p>0..n additional arguments to supply to the subscriber</p>
9679
<div class="returns">
9682
<div class="returns-description">
9685
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
9687
A subscription handle capable of detaching the
9698
<div id="method_onceAfter" class="method item inherited">
9699
<h3 class="name"><code>onceAfter</code></h3>
9703
<span class="paren">(</span><ul class="args-list inline commas">
9719
<code class="optional">[context]</code>
9725
<code class="optional">[arg*]</code>
9729
</ul><span class="paren">)</span>
9734
<span class="returns-inline">
9735
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
9753
<a href="../classes/EventTarget.html#method_onceAfter">EventTarget</a>:
9757
<a href="../files/event-custom_js_event-target.js.html#l150"><code>event-custom/js/event-target.js:150</code></a>
9767
<div class="description">
9768
<p>Listen to a custom event hosted by this object one time.
9769
This is the equivalent to <code>after</code> except the
9770
listener is immediatelly detached when it is executed.</p>
9774
<div class="params">
9775
<h4>Parameters:</h4>
9777
<ul class="params-list">
9781
<code class="param-name">type</code>
9782
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9787
<div class="param-description">
9788
<p>The name of the event</p>
9796
<code class="param-name">fn</code>
9797
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
9802
<div class="param-description">
9803
<p>The callback to execute in response to the event</p>
9811
<code class="param-name optional">[context]</code>
9812
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9813
<span class="flag optional" title="This parameter is optional.">optional</span>
9818
<div class="param-description">
9819
<p>Override <code>this</code> object in callback</p>
9827
<code class="param-name optional">[arg*]</code>
9828
<span class="type">Any</span>
9829
<span class="flag optional" title="This parameter is optional.">optional</span>
9834
<div class="param-description">
9835
<p>0..n additional arguments to supply to the subscriber</p>
9846
<div class="returns">
9849
<div class="returns-description">
9852
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
9854
A subscription handle capable of detaching that
9865
<div id="method_onHostEvent" class="method item inherited">
9866
<h3 class="name"><code>onHostEvent</code></h3>
9870
<span class="paren">(</span><ul class="args-list inline commas">
9886
<code>context</code>
9890
</ul><span class="paren">)</span>
9895
<span class="returns-inline">
9896
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
9914
<a href="../classes/Plugin.Base.html#method_onHostEvent">Plugin.Base</a>:
9918
<a href="../files/plugin_js_plugin.js.html#l151"><code>plugin/js/plugin.js:151</code></a>
9928
<div class="description">
9929
<p>Listens for the "on" moment of events fired by the host object.</p>
9931
<p>Listeners attached through this method will be detached when the plugin is unplugged.</p>
9935
<div class="params">
9936
<h4>Parameters:</h4>
9938
<ul class="params-list">
9942
<code class="param-name">type</code>
9943
<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>
9948
<div class="param-description">
9949
<p>The event type.</p>
9957
<code class="param-name">fn</code>
9958
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
9963
<div class="param-description">
9964
<p>The listener.</p>
9972
<code class="param-name">context</code>
9973
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9978
<div class="param-description">
9979
<p>The execution context. Defaults to the plugin instance.</p>
9990
<div class="returns">
9993
<div class="returns-description">
9996
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
9998
handle The detach handle for the listener.
10008
<div id="method_parseType" class="method item inherited">
10009
<h3 class="name"><code>parseType</code></h3>
10013
<span class="paren">(</span><ul class="args-list inline commas">
10023
<code class="optional">[pre=this._yuievt.config.prefix]</code>
10027
</ul><span class="paren">)</span>
10032
<span class="returns-inline">
10033
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
10051
<a href="../classes/EventTarget.html#method_parseType">EventTarget</a>:
10055
<a href="../files/event-custom_js_event-target.js.html#l172"><code>event-custom/js/event-target.js:172</code></a>
10063
<p>Available since 3.3.0</p>
10067
<div class="description">
10068
<p>Takes the type parameter passed to 'on' and parses out the
10069
various pieces that could be included in the type. If the
10070
event type is passed without a prefix, it will be expanded
10071
to include the prefix one is supplied or the event target
10072
is configured with a default prefix.</p>
10076
<div class="params">
10077
<h4>Parameters:</h4>
10079
<ul class="params-list">
10083
<code class="param-name">type</code>
10084
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10089
<div class="param-description">
10098
<code class="param-name optional">[pre=this._yuievt.config.prefix]</code>
10099
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10100
<span class="flag optional" title="This parameter is optional.">optional</span>
10105
<div class="param-description">
10117
<div class="returns">
10120
<div class="returns-description">
10123
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>:
10125
an array containing:
10126
* the detach category, if supplied,
10127
* the prefixed event type,
10128
* whether or not this is an after listener,
10129
* the supplied event type
10139
<div id="method_publish" class="method item inherited">
10140
<h3 class="name"><code>publish</code></h3>
10144
<span class="paren">(</span><ul class="args-list inline commas">
10158
</ul><span class="paren">)</span>
10163
<span class="returns-inline">
10164
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
10182
<a href="../classes/EventTarget.html#method_publish">EventTarget</a>:
10186
<a href="../files/event-custom_js_event-target.js.html#l489"><code>event-custom/js/event-target.js:489</code></a>
10196
<div class="description">
10197
<p>Creates a new custom event of the specified type. If a custom event
10198
by that name already exists, it will not be re-created. In either
10199
case the custom event is returned.</p>
10203
<div class="params">
10204
<h4>Parameters:</h4>
10206
<ul class="params-list">
10210
<code class="param-name">type</code>
10211
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10216
<div class="param-description">
10217
<p>the type, or name of the event</p>
10225
<code class="param-name">opts</code>
10226
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10231
<div class="param-description">
10232
<p>optional config params. Valid properties are:</p>
10236
'broadcast': whether or not the YUI instance and YUI global are notified when the event is fired (false)
10239
'bubbles': whether or not this event bubbles (true)
10240
Events can only bubble if emitFacade is true.
10243
'context': the default execution context for the listeners (this)
10246
'defaultFn': the default function to execute when this event fires if preventDefault was not called
10249
'emitFacade': whether or not this event emits a facade (false)
10252
'prefix': the prefix for this targets events, e.g., 'menu' in 'menu:click'
10255
'fireOnce': if an event is configured to fire once, new subscribers after
10256
the fire will be notified immediately.
10259
'async': fireOnce event listeners will fire synchronously if the event has already
10260
fired unless async is true.
10263
'preventable': whether or not preventDefault() has an effect (true)
10266
'preventedFn': a function that is executed when preventDefault is called
10269
'queuable': whether or not this event can be queued during bubbling (false)
10272
'silent': if silent is true, debug messages are not provided for this event.
10275
'stoppedFn': a function that is executed when stopPropagation is called
10279
'monitored': specifies whether or not this event should send notifications about
10280
when the event has been attached, detached, or published.
10283
'type': the event type (valid option if not provided as the first parameter to publish)
10296
<div class="returns">
10299
<div class="returns-description">
10302
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
10314
<div id="method_removeAttr" class="method item inherited">
10315
<h3 class="name"><code>removeAttr</code></h3>
10319
<span class="paren">(</span><ul class="args-list inline commas">
10327
</ul><span class="paren">)</span>
10347
<a href="../classes/AttributeExtras.html#method_removeAttr">AttributeExtras</a>:
10351
<a href="../files/attribute_js_AttributeExtras.js.html#l77"><code>attribute/js/AttributeExtras.js:77</code></a>
10361
<div class="description">
10362
<p>Removes an attribute from the host object</p>
10366
<div class="params">
10367
<h4>Parameters:</h4>
10369
<ul class="params-list">
10373
<code class="param-name">name</code>
10374
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10379
<div class="param-description">
10380
<p>The name of the attribute to be removed.</p>
10396
<div id="method_removeTarget" class="method item inherited">
10397
<h3 class="name"><code>removeTarget</code></h3>
10401
<span class="paren">(</span><ul class="args-list inline commas">
10409
</ul><span class="paren">)</span>
10429
<a href="../classes/EventTarget.html#method_removeTarget">EventTarget</a>:
10433
<a href="../files/event-custom_js_event-facade.js.html#l409"><code>event-custom/js/event-facade.js:409</code></a>
10443
<div class="description">
10444
<p>Removes a bubble target</p>
10448
<div class="params">
10449
<h4>Parameters:</h4>
10451
<ul class="params-list">
10455
<code class="param-name">o</code>
10456
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
10461
<div class="param-description">
10462
<p>the target to remove</p>
10478
<div id="method_reset" class="method item inherited">
10479
<h3 class="name"><code>reset</code></h3>
10483
<span class="paren">(</span><ul class="args-list inline commas">
10491
</ul><span class="paren">)</span>
10496
<span class="returns-inline">
10497
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10510
<span class="flag chainable">chainable</span>
10517
<a href="../classes/AttributeExtras.html#method_reset">AttributeExtras</a>:
10521
<a href="../files/attribute_js_AttributeExtras.js.html#l87"><code>attribute/js/AttributeExtras.js:87</code></a>
10531
<div class="description">
10532
<p>Resets the attribute (or all attributes) to its initial value, as long as
10533
the attribute is not readOnly, or writeOnce.</p>
10537
<div class="params">
10538
<h4>Parameters:</h4>
10540
<ul class="params-list">
10544
<code class="param-name">name</code>
10545
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10550
<div class="param-description">
10551
<p>Optional. The name of the attribute to reset. If omitted, all attributes are reset.</p>
10562
<div class="returns">
10565
<div class="returns-description">
10568
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
10570
A reference to the host object.
10580
<div id="method_retrieve" class="method item inherited">
10581
<h3 class="name"><code>retrieve</code></h3>
10585
<span class="paren">(</span><ul class="args-list inline commas">
10589
<code>request</code>
10593
</ul><span class="paren">)</span>
10598
<span class="returns-inline">
10599
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10617
<a href="../classes/Cache.html#method_retrieve">Cache</a>:
10621
<a href="../files/cache_js_cache-base.js.html#l393"><code>cache/js/cache-base.js:393</code></a>
10631
<div class="description">
10632
<p>Retrieves cached object for given request, if available, and refreshes
10633
entry in the cache. Returns null if there is no cache match.</p>
10637
<div class="params">
10638
<h4>Parameters:</h4>
10640
<ul class="params-list">
10644
<code class="param-name">request</code>
10645
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10650
<div class="param-description">
10651
<p>Request object.</p>
10662
<div class="returns">
10665
<div class="returns-description">
10668
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
10670
Cached object with the properties request and response, or null.
10680
<div id="method_set" class="method item inherited">
10681
<h3 class="name"><code>set</code></h3>
10685
<span class="paren">(</span><ul class="args-list inline commas">
10705
</ul><span class="paren">)</span>
10710
<span class="returns-inline">
10711
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10724
<span class="flag chainable">chainable</span>
10730
<a href="../classes/AttributeCore.html#method_set">
10738
<a href="../files/attribute_js_AttributeEvents.js.html#l41"><code>attribute/js/AttributeEvents.js:41</code></a>
10748
<div class="description">
10749
<p>Sets the value of an attribute.</p>
10753
<div class="params">
10754
<h4>Parameters:</h4>
10756
<ul class="params-list">
10760
<code class="param-name">name</code>
10761
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10766
<div class="param-description">
10767
<p>The name of the attribute. If the
10768
current value of the attribute is an Object, dot notation can be used
10769
to set the value of a property within the object (e.g. <code>set("x.y.z", 5)</code>).</p>
10777
<code class="param-name">value</code>
10778
<span class="type">Any</span>
10783
<div class="param-description">
10784
<p>The value to set the attribute to.</p>
10792
<code class="param-name">opts</code>
10793
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10798
<div class="param-description">
10799
<p>(Optional) Optional event data to be mixed into
10800
the event facade passed to subscribers of the attribute's change event. This
10801
can be used as a flexible way to identify the source of a call to set, allowing
10802
the developer to distinguish between set called internally by the host, vs.
10803
set called externally by the application developer.</p>
10814
<div class="returns">
10817
<div class="returns-description">
10820
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
10822
A reference to the host object.
10832
<div id="method_setAttrs" class="method item inherited">
10833
<h3 class="name"><code>setAttrs</code></h3>
10837
<span class="paren">(</span><ul class="args-list inline commas">
10845
</ul><span class="paren">)</span>
10850
<span class="returns-inline">
10851
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10864
<span class="flag chainable">chainable</span>
10870
<a href="../classes/AttributeCore.html#method_setAttrs">
10878
<a href="../files/attribute_js_AttributeEvents.js.html#l82"><code>attribute/js/AttributeEvents.js:82</code></a>
10888
<div class="description">
10889
<p>Sets multiple attribute values.</p>
10893
<div class="params">
10894
<h4>Parameters:</h4>
10896
<ul class="params-list">
10900
<code class="param-name">attrs</code>
10901
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10906
<div class="param-description">
10907
<p>An object with attributes name/value pairs.</p>
10918
<div class="returns">
10921
<div class="returns-description">
10924
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
10926
A reference to the host object.
10936
<div id="method_subscribe" class="method item deprecated inherited">
10937
<h3 class="name"><code>subscribe</code></h3>
10940
<span class="paren">()</span>
10946
<span class="flag deprecated" title="use on">deprecated</span>
10961
<a href="../classes/EventTarget.html#method_subscribe">EventTarget</a>:
10965
<a href="../files/event-custom_js_event-target.js.html#l335"><code>event-custom/js/event-target.js:335</code></a>
10971
<p>Deprecated: use on</p>
10977
<div class="description">
10978
<p>subscribe to an event</p>
10989
<div id="method_toString" class="method item inherited">
10990
<h3 class="name"><code>toString</code></h3>
10993
<span class="paren">()</span>
10997
<span class="returns-inline">
10998
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11016
<a href="../classes/BaseCore.html#method_toString">BaseCore</a>:
11020
<a href="../files/base_js_BaseCore.js.html#l592"><code>base/js/BaseCore.js:592</code></a>
11030
<div class="description">
11031
<p>Default toString implementation. Provides the constructor NAME
11032
and the instance guid, if set.</p>
11038
<div class="returns">
11041
<div class="returns-description">
11044
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
11046
String representation for this object
11056
<div id="method_unsubscribe" class="method item deprecated inherited">
11057
<h3 class="name"><code>unsubscribe</code></h3>
11060
<span class="paren">()</span>
11066
<span class="flag deprecated" title="use detach">deprecated</span>
11081
<a href="../classes/EventTarget.html#method_unsubscribe">EventTarget</a>:
11085
<a href="../files/event-custom_js_event-target.js.html#l455"><code>event-custom/js/event-target.js:455</code></a>
11091
<p>Deprecated: use detach</p>
11097
<div class="description">
11098
<p>detach a listener</p>
11109
<div id="method_unsubscribeAll" class="method item deprecated inherited">
11110
<h3 class="name"><code>unsubscribeAll</code></h3>
11114
<span class="paren">(</span><ul class="args-list inline commas">
11122
</ul><span class="paren">)</span>
11129
<span class="flag deprecated" title="use detachAll">deprecated</span>
11144
<a href="../classes/EventTarget.html#method_unsubscribeAll">EventTarget</a>:
11148
<a href="../files/event-custom_js_event-target.js.html#l476"><code>event-custom/js/event-target.js:476</code></a>
11154
<p>Deprecated: use detachAll</p>
11160
<div class="description">
11161
<p>Removes all listeners from the specified event. If the event type
11162
is not specified, all listeners from all hosted custom events will
11167
<div class="params">
11168
<h4>Parameters:</h4>
11170
<ul class="params-list">
11174
<code class="param-name">type</code>
11175
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11180
<div class="param-description">
11181
<p>The type, or name of the event</p>
11201
<div id="properties" class="api-class-tabpanel">
11202
<h2 class="off-left">Properties</h2>
11205
<div id="property__allowAdHocAttrs" class="property item protected inherited">
11206
<h3 class="name"><code>_allowAdHocAttrs</code></h3>
11207
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
11212
<span class="flag protected">protected</span>
11223
<a href="../classes/BaseCore.html#property__allowAdHocAttrs">BaseCore</a>:
11227
<a href="../files/base_js_BaseCore.js.html#l100"><code>base/js/BaseCore.js:100</code></a>
11236
<div class="description">
11237
<p>This property controls whether or not instances of this class should
11238
allow users to add ad-hoc attributes through the constructor configuration
11241
<p>AdHoc attributes are attributes which are not defined by the class, and are
11242
not handled by the MyClass.<em>NON</em>ATTRS_CFG</p>
11246
<p><strong>Default:</strong> undefined (false)</p>
11255
<div id="property__entries" class="property item private inherited">
11256
<h3 class="name"><code>_entries</code></h3>
11257
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>
11262
<span class="flag private">private</span>
11273
<a href="../classes/Cache.html#property__entries">Cache</a>:
11277
<a href="../files/cache_js_cache-base.js.html#l117"><code>cache/js/cache-base.js:117</code></a>
11286
<div class="description">
11287
<p>Array of request/response objects indexed chronologically.</p>
11298
<div id="property__handles" class="property item private inherited">
11299
<h3 class="name"><code>_handles</code></h3>
11300
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
11305
<span class="flag private">private</span>
11316
<a href="../classes/Plugin.Base.html#property__handles">Plugin.Base</a>:
11320
<a href="../files/plugin_js_plugin.js.html#l66"><code>plugin/js/plugin.js:66</code></a>
11329
<div class="description">
11330
<p>The list of event handles for event listeners or AOP injected methods
11331
applied by the plugin to the host object.</p>
11342
<div id="property_NAME" class="property item">
11343
<h3 class="name"><code>NAME</code></h3>
11344
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11351
<span class="flag final">final</span>
11355
<span class="flag static">static</span>
11369
<a href="../files/cache_js_cache-plugin.js.html#l35"><code>cache/js/cache-plugin.js:35</code></a>
11378
<div class="description">
11390
<div id="property_name" class="property item deprecated inherited">
11391
<h3 class="name"><code>name</code></h3>
11392
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11395
<span class="flag deprecated" title="Use this.constructor.NAME">deprecated</span>
11408
<a href="../classes/BaseCore.html#property_name">BaseCore</a>:
11412
<a href="../files/base_js_BaseCore.js.html#l196"><code>base/js/BaseCore.js:196</code></a>
11417
<p>Deprecated: Use this.constructor.NAME</p>
11423
<div class="description">
11424
<p>The string used to identify the class of this object.</p>
11435
<div id="property_NS" class="property item">
11436
<h3 class="name"><code>NS</code></h3>
11437
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11444
<span class="flag final">final</span>
11448
<span class="flag static">static</span>
11462
<a href="../files/cache_js_cache-plugin.js.html#l23"><code>cache/js/cache-plugin.js:23</code></a>
11471
<div class="description">
11472
<p>The namespace for the plugin. This will be the property on the host which
11473
references the plugin instance.</p>
11488
<div id="attrs" class="api-class-tabpanel">
11489
<h2 class="off-left">Attributes</h2>
11492
<div id="attr_destroyed" class="attr item inherited">
11493
<a name="config_destroyed"></a>
11494
<h3 class="name"><code>destroyed</code></h3>
11495
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
11509
<a href="../classes/BaseCore.html#attr_destroyed">BaseCore</a>:
11513
<a href="../files/base_js_BaseCore.js.html#l157"><code>base/js/BaseCore.js:157</code></a>
11522
<div class="description">
11523
<p>Flag indicating whether or not this object
11524
has been through the destroy lifecycle phase.</p>
11528
<p><strong>Default:</strong> false</p>
11532
<div class="emits box">
11533
<h4>Fires event <code>destroyedChange</code></h4>
11536
Fires when the value for the configuration attribute <code>destroyed</code> is
11537
changed. You can listen for the event using the <code>on</code> method if you
11538
wish to be notified before the attribute's value has changed, or
11539
using the <code>after</code> method if you wish to be notified after the
11540
attribute's value has changed.
11543
<div class="params">
11544
<h4>Parameters:</h4>
11546
<ul class="params-list">
11548
<code class="param-name">e</code>
11549
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
11551
<div class="param-description">
11552
An Event Facade object with the following
11553
attribute-specific properties added:
11556
<ul class="params-list">
11558
<code class="param-name">prevVal</code>
11559
<span class="type">Any</span>
11560
<div class="param-description">The value of the attribute, prior to it being set.</div>
11563
<code class="param-name">newVal</code>
11564
<span class="type">Any</span>
11565
<div class="param-description">The value the attribute is to be set to.</div>
11568
<code class="param-name">attrName</code>
11569
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11570
<div class="param-description">The name of the attribute being set.</div>
11573
<code class="param-name">subAttrName</code>
11574
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11575
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
11588
<div id="attr_entries" class="attr item inherited">
11589
<a name="config_entries"></a>
11590
<h3 class="name"><code>entries</code></h3>
11591
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
11605
<a href="../classes/Cache.html#attr_entries">Cache</a>:
11609
<a href="../files/cache_js_cache-base.js.html#l98"><code>cache/js/cache-base.js:98</code></a>
11618
<div class="description">
11619
<p>Cached entries.</p>
11625
<div class="emits box">
11626
<h4>Fires event <code>entriesChange</code></h4>
11629
Fires when the value for the configuration attribute <code>entries</code> is
11630
changed. You can listen for the event using the <code>on</code> method if you
11631
wish to be notified before the attribute's value has changed, or
11632
using the <code>after</code> method if you wish to be notified after the
11633
attribute's value has changed.
11636
<div class="params">
11637
<h4>Parameters:</h4>
11639
<ul class="params-list">
11641
<code class="param-name">e</code>
11642
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
11644
<div class="param-description">
11645
An Event Facade object with the following
11646
attribute-specific properties added:
11649
<ul class="params-list">
11651
<code class="param-name">prevVal</code>
11652
<span class="type">Any</span>
11653
<div class="param-description">The value of the attribute, prior to it being set.</div>
11656
<code class="param-name">newVal</code>
11657
<span class="type">Any</span>
11658
<div class="param-description">The value the attribute is to be set to.</div>
11661
<code class="param-name">attrName</code>
11662
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11663
<div class="param-description">The name of the attribute being set.</div>
11666
<code class="param-name">subAttrName</code>
11667
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11668
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
11681
<div id="attr_expires" class="attr item inherited">
11682
<a name="config_expires"></a>
11683
<h3 class="name"><code>expires</code></h3>
11684
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date" class="crosslink external" target="_blank">Date</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
11698
<a href="../classes/Cache.html#attr_expires">Cache</a>:
11702
<a href="../files/cache_js_cache-base.js.html#l84"><code>cache/js/cache-base.js:84</code></a>
11711
<div class="description">
11712
<p>Absolute Date when data expires or
11713
relative number of milliseconds. Zero disables expiration.</p>
11717
<p><strong>Default:</strong> 0</p>
11721
<div class="emits box">
11722
<h4>Fires event <code>expiresChange</code></h4>
11725
Fires when the value for the configuration attribute <code>expires</code> is
11726
changed. You can listen for the event using the <code>on</code> method if you
11727
wish to be notified before the attribute's value has changed, or
11728
using the <code>after</code> method if you wish to be notified after the
11729
attribute's value has changed.
11732
<div class="params">
11733
<h4>Parameters:</h4>
11735
<ul class="params-list">
11737
<code class="param-name">e</code>
11738
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
11740
<div class="param-description">
11741
An Event Facade object with the following
11742
attribute-specific properties added:
11745
<ul class="params-list">
11747
<code class="param-name">prevVal</code>
11748
<span class="type">Any</span>
11749
<div class="param-description">The value of the attribute, prior to it being set.</div>
11752
<code class="param-name">newVal</code>
11753
<span class="type">Any</span>
11754
<div class="param-description">The value the attribute is to be set to.</div>
11757
<code class="param-name">attrName</code>
11758
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11759
<div class="param-description">The name of the attribute being set.</div>
11762
<code class="param-name">subAttrName</code>
11763
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11764
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
11777
<div id="attr_host" class="attr item inherited">
11778
<a name="config_host"></a>
11779
<h3 class="name"><code>host</code></h3>
11780
<span class="type"><a href="../classes/Plugin.Host.html" class="crosslink">Plugin.Host</a></span>
11794
<a href="../classes/Plugin.Base.html#attr_host">Plugin.Base</a>:
11798
<a href="../files/plugin_js_plugin.js.html#l31"><code>plugin/js/plugin.js:31</code></a>
11807
<div class="description">
11808
<p>The plugin's host object.</p>
11814
<div class="emits box">
11815
<h4>Fires event <code>hostChange</code></h4>
11818
Fires when the value for the configuration attribute <code>host</code> is
11819
changed. You can listen for the event using the <code>on</code> method if you
11820
wish to be notified before the attribute's value has changed, or
11821
using the <code>after</code> method if you wish to be notified after the
11822
attribute's value has changed.
11825
<div class="params">
11826
<h4>Parameters:</h4>
11828
<ul class="params-list">
11830
<code class="param-name">e</code>
11831
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
11833
<div class="param-description">
11834
An Event Facade object with the following
11835
attribute-specific properties added:
11838
<ul class="params-list">
11840
<code class="param-name">prevVal</code>
11841
<span class="type">Any</span>
11842
<div class="param-description">The value of the attribute, prior to it being set.</div>
11845
<code class="param-name">newVal</code>
11846
<span class="type">Any</span>
11847
<div class="param-description">The value the attribute is to be set to.</div>
11850
<code class="param-name">attrName</code>
11851
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11852
<div class="param-description">The name of the attribute being set.</div>
11855
<code class="param-name">subAttrName</code>
11856
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11857
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
11870
<div id="attr_initialized" class="attr item inherited">
11871
<a name="config_initialized"></a>
11872
<h3 class="name"><code>initialized</code></h3>
11873
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
11887
<a href="../classes/BaseCore.html#attr_initialized">BaseCore</a>:
11891
<a href="../files/base_js_BaseCore.js.html#l143"><code>base/js/BaseCore.js:143</code></a>
11900
<div class="description">
11901
<p>Flag indicating whether or not this object
11902
has been through the init lifecycle phase.</p>
11906
<p><strong>Default:</strong> false</p>
11910
<div class="emits box">
11911
<h4>Fires event <code>initializedChange</code></h4>
11914
Fires when the value for the configuration attribute <code>initialized</code> is
11915
changed. You can listen for the event using the <code>on</code> method if you
11916
wish to be notified before the attribute's value has changed, or
11917
using the <code>after</code> method if you wish to be notified after the
11918
attribute's value has changed.
11921
<div class="params">
11922
<h4>Parameters:</h4>
11924
<ul class="params-list">
11926
<code class="param-name">e</code>
11927
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
11929
<div class="param-description">
11930
An Event Facade object with the following
11931
attribute-specific properties added:
11934
<ul class="params-list">
11936
<code class="param-name">prevVal</code>
11937
<span class="type">Any</span>
11938
<div class="param-description">The value of the attribute, prior to it being set.</div>
11941
<code class="param-name">newVal</code>
11942
<span class="type">Any</span>
11943
<div class="param-description">The value the attribute is to be set to.</div>
11946
<code class="param-name">attrName</code>
11947
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11948
<div class="param-description">The name of the attribute being set.</div>
11951
<code class="param-name">subAttrName</code>
11952
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11953
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
11966
<div id="attr_max" class="attr item inherited">
11967
<a name="config_max"></a>
11968
<h3 class="name"><code>max</code></h3>
11969
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
11983
<a href="../classes/Cache.html#attr_max">Cache</a>:
11987
<a href="../files/cache_js_cache-base.js.html#l52"><code>cache/js/cache-base.js:52</code></a>
11996
<div class="description">
11997
<p>Maximum number of entries the Cache can hold.
11998
Set to 0 to turn off caching.</p>
12002
<p><strong>Default:</strong> 0</p>
12006
<div class="emits box">
12007
<h4>Fires event <code>maxChange</code></h4>
12010
Fires when the value for the configuration attribute <code>max</code> is
12011
changed. You can listen for the event using the <code>on</code> method if you
12012
wish to be notified before the attribute's value has changed, or
12013
using the <code>after</code> method if you wish to be notified after the
12014
attribute's value has changed.
12017
<div class="params">
12018
<h4>Parameters:</h4>
12020
<ul class="params-list">
12022
<code class="param-name">e</code>
12023
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
12025
<div class="param-description">
12026
An Event Facade object with the following
12027
attribute-specific properties added:
12030
<ul class="params-list">
12032
<code class="param-name">prevVal</code>
12033
<span class="type">Any</span>
12034
<div class="param-description">The value of the attribute, prior to it being set.</div>
12037
<code class="param-name">newVal</code>
12038
<span class="type">Any</span>
12039
<div class="param-description">The value the attribute is to be set to.</div>
12042
<code class="param-name">attrName</code>
12043
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12044
<div class="param-description">The name of the attribute being set.</div>
12047
<code class="param-name">subAttrName</code>
12048
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12049
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
12062
<div id="attr_size" class="attr item inherited">
12063
<a name="config_size"></a>
12064
<h3 class="name"><code>size</code></h3>
12065
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
12079
<a href="../classes/Cache.html#attr_size">Cache</a>:
12083
<a href="../files/cache_js_cache-base.js.html#l64"><code>cache/js/cache-base.js:64</code></a>
12092
<div class="description">
12093
<p>Number of entries currently cached.</p>
12099
<div class="emits box">
12100
<h4>Fires event <code>sizeChange</code></h4>
12103
Fires when the value for the configuration attribute <code>size</code> is
12104
changed. You can listen for the event using the <code>on</code> method if you
12105
wish to be notified before the attribute's value has changed, or
12106
using the <code>after</code> method if you wish to be notified after the
12107
attribute's value has changed.
12110
<div class="params">
12111
<h4>Parameters:</h4>
12113
<ul class="params-list">
12115
<code class="param-name">e</code>
12116
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
12118
<div class="param-description">
12119
An Event Facade object with the following
12120
attribute-specific properties added:
12123
<ul class="params-list">
12125
<code class="param-name">prevVal</code>
12126
<span class="type">Any</span>
12127
<div class="param-description">The value of the attribute, prior to it being set.</div>
12130
<code class="param-name">newVal</code>
12131
<span class="type">Any</span>
12132
<div class="param-description">The value the attribute is to be set to.</div>
12135
<code class="param-name">attrName</code>
12136
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12137
<div class="param-description">The name of the attribute being set.</div>
12140
<code class="param-name">subAttrName</code>
12141
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12142
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
12155
<div id="attr_uniqueKeys" class="attr item inherited">
12156
<a name="config_uniqueKeys"></a>
12157
<h3 class="name"><code>uniqueKeys</code></h3>
12158
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
12172
<a href="../classes/Cache.html#attr_uniqueKeys">Cache</a>:
12176
<a href="../files/cache_js_cache-base.js.html#l74"><code>cache/js/cache-base.js:74</code></a>
12185
<div class="description">
12186
<p>Validate uniqueness of stored keys. Default is false and
12187
is more performant.</p>
12193
<div class="emits box">
12194
<h4>Fires event <code>uniqueKeysChange</code></h4>
12197
Fires when the value for the configuration attribute <code>uniqueKeys</code> is
12198
changed. You can listen for the event using the <code>on</code> method if you
12199
wish to be notified before the attribute's value has changed, or
12200
using the <code>after</code> method if you wish to be notified after the
12201
attribute's value has changed.
12204
<div class="params">
12205
<h4>Parameters:</h4>
12207
<ul class="params-list">
12209
<code class="param-name">e</code>
12210
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
12212
<div class="param-description">
12213
An Event Facade object with the following
12214
attribute-specific properties added:
12217
<ul class="params-list">
12219
<code class="param-name">prevVal</code>
12220
<span class="type">Any</span>
12221
<div class="param-description">The value of the attribute, prior to it being set.</div>
12224
<code class="param-name">newVal</code>
12225
<span class="type">Any</span>
12226
<div class="param-description">The value the attribute is to be set to.</div>
12229
<code class="param-name">attrName</code>
12230
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12231
<div class="param-description">The name of the attribute being set.</div>
12234
<code class="param-name">subAttrName</code>
12235
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12236
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
12253
<div id="events" class="api-class-tabpanel">
12254
<h2 class="off-left">Events</h2>
12257
<div id="event_add" class="events item inherited">
12258
<h3 class="name"><code>add</code></h3>
12259
<span class="type"></span>
12273
<a href="../classes/Cache.html#event_add">Cache</a>:
12277
<a href="../files/cache_js_cache-base.js.html#l140"><code>cache/js/cache-base.js:140</code></a>
12286
<div class="description">
12287
<p>Fired when an entry is added.</p>
12291
<div class="params">
12292
<h4>Event Payload:</h4>
12294
<ul class="params-list">
12298
<code class="param-name">e</code>
12299
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
12304
<div class="param-description">
12305
<p>Event Facade with the following properties:</p>
12308
<dt>entry (Object)</dt> <dd>The cached entry.</dd>
12324
<div id="event_destroy" class="events item inherited">
12325
<h3 class="name"><code>destroy</code></h3>
12326
<span class="type"></span>
12340
<a href="../classes/Base.html#event_destroy">Base</a>:
12344
<a href="../files/base_js_Base.js.html#l285"><code>base/js/Base.js:285</code></a>
12353
<div class="description">
12355
Lifecycle event for the destroy phase,
12356
fired prior to destruction. Invoking the preventDefault
12357
method on the event object provided to subscribers will
12358
prevent destruction from proceeding.
12362
Subscribers to the "after" moment of this event, will be notified
12363
after destruction is complete (and as a result cannot prevent
12369
<div class="params">
12370
<h4>Event Payload:</h4>
12372
<ul class="params-list">
12376
<code class="param-name">e</code>
12377
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
12382
<div class="param-description">
12383
<p>Event object</p>
12398
<div id="event_flush" class="events item inherited">
12399
<h3 class="name"><code>flush</code></h3>
12400
<span class="type"></span>
12414
<a href="../classes/Cache.html#event_flush">Cache</a>:
12418
<a href="../files/cache_js_cache-base.js.html#l151"><code>cache/js/cache-base.js:151</code></a>
12427
<div class="description">
12428
<p>Fired when the cache is flushed.</p>
12432
<div class="params">
12433
<h4>Event Payload:</h4>
12435
<ul class="params-list">
12439
<code class="param-name">e</code>
12440
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
12445
<div class="param-description">
12446
<p>Event Facade object.</p>
12461
<div id="event_init" class="events item inherited">
12462
<h3 class="name"><code>init</code></h3>
12463
<span class="type"></span>
12477
<a href="../classes/Base.html#event_init">Base</a>:
12481
<a href="../files/base_js_Base.js.html#l202"><code>base/js/Base.js:202</code></a>
12490
<div class="description">
12492
Lifecycle event for the init phase, fired prior to initialization.
12493
Invoking the preventDefault() method on the event object provided
12494
to subscribers will prevent initialization from occuring.
12498
Subscribers to the "after" momemt of this event, will be notified
12499
after initialization of the object is complete (and therefore
12500
cannot prevent initialization).
12505
<div class="params">
12506
<h4>Event Payload:</h4>
12508
<ul class="params-list">
12512
<code class="param-name">e</code>
12513
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
12518
<div class="param-description">
12519
<p>Event object, with a cfg property which
12520
refers to the configuration object passed to the constructor.</p>
12535
<div id="event_request" class="events item inherited">
12536
<h3 class="name"><code>request</code></h3>
12537
<span class="type"></span>
12551
<a href="../classes/Cache.html#event_request">Cache</a>:
12555
<a href="../files/cache_js_cache-base.js.html#l159"><code>cache/js/cache-base.js:159</code></a>
12564
<div class="description">
12565
<p>Fired when an entry is requested from the cache.</p>
12569
<div class="params">
12570
<h4>Event Payload:</h4>
12572
<ul class="params-list">
12576
<code class="param-name">e</code>
12577
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
12582
<div class="param-description">
12583
<p>Event Facade with the following properties:</p>
12586
<dt>request (Object)</dt> <dd>The request object.</dd>
12602
<div id="event_retrieve" class="events item inherited">
12603
<h3 class="name"><code>retrieve</code></h3>
12604
<span class="type"></span>
12618
<a href="../classes/Cache.html#event_retrieve">Cache</a>:
12622
<a href="../files/cache_js_cache-base.js.html#l168"><code>cache/js/cache-base.js:168</code></a>
12631
<div class="description">
12632
<p>Fired when an entry is retrieved from the cache.</p>
12636
<div class="params">
12637
<h4>Event Payload:</h4>
12639
<ul class="params-list">
12643
<code class="param-name">e</code>
12644
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
12649
<div class="param-description">
12650
<p>Event Facade with the following properties:</p>
12653
<dt>entry (Object)</dt> <dd>The retrieved entry.</dd>
12680
<script src="../assets/vendor/prettify/prettify-min.js"></script>
12681
<script>prettyPrint();</script>
12682
<script src="../assets/js/yui-prettify.js"></script>
12683
<script src="../assets/../api.js"></script>
12684
<script src="../assets/js/api-filter.js"></script>
12685
<script src="../assets/js/api-list.js"></script>
12686
<script src="../assets/js/api-search.js"></script>
12687
<script src="../assets/js/apidocs.js"></script>