5
<title>Sortable - YUI 3</title>
6
<link rel="stylesheet" href="http://yui.yahooapis.com/3.5.0/build/cssgrids/cssgrids-min.css">
7
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
8
<link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
9
<script src="http://yui.yahooapis.com/3.5.0/build/yui/yui-min.js"></script>
11
<body class="yui3-skin-sam">
14
<div id="hd" class="yui3-g header">
15
<div class="yui3-u-3-4">
17
<h1><img src="../assets/css/logo.png" title="YUI 3"></h1>
20
<div class="yui3-u-1-4 version">
21
<em>API Docs for: 3.5.1</em>
24
<div id="bd" class="yui3-g">
26
<div class="yui3-u-1-4">
27
<div id="docs-sidebar" class="sidebar apidocs">
29
<h2 class="off-left">APIs</h2>
30
<div id="api-tabview" class="tabview">
32
<li><a href="#api-classes">Classes</a></li>
33
<li><a href="#api-modules">Modules</a></li>
36
<div id="api-tabview-filter">
37
<input type="search" id="api-filter" placeholder="Type to filter APIs">
40
<div id="api-tabview-panel">
41
<ul id="api-classes" class="apis classes">
43
<li><a href="../classes/Anim.html">Anim</a></li>
45
<li><a href="../classes/App.html">App</a></li>
47
<li><a href="../classes/App.Base.html">App.Base</a></li>
49
<li><a href="../classes/App.Transitions.html">App.Transitions</a></li>
51
<li><a href="../classes/App.TransitionsNative.html">App.TransitionsNative</a></li>
53
<li><a href="../classes/AreaSeries.html">AreaSeries</a></li>
55
<li><a href="../classes/AreaSplineSeries.html">AreaSplineSeries</a></li>
57
<li><a href="../classes/Array.html">Array</a></li>
59
<li><a href="../classes/ArrayList.html">ArrayList</a></li>
61
<li><a href="../classes/ArraySort.html">ArraySort</a></li>
63
<li><a href="../classes/AsyncQueue.html">AsyncQueue</a></li>
65
<li><a href="../classes/Attribute.html">Attribute</a></li>
67
<li><a href="../classes/AttributeCore.html">AttributeCore</a></li>
69
<li><a href="../classes/AttributeEvents.html">AttributeEvents</a></li>
71
<li><a href="../classes/AttributeExtras.html">AttributeExtras</a></li>
73
<li><a href="../classes/AttributeLite.html">AttributeLite</a></li>
75
<li><a href="../classes/AutoComplete.html">AutoComplete</a></li>
77
<li><a href="../classes/AutoCompleteBase.html">AutoCompleteBase</a></li>
79
<li><a href="../classes/AutoCompleteFilters.html">AutoCompleteFilters</a></li>
81
<li><a href="../classes/AutoCompleteHighlighters.html">AutoCompleteHighlighters</a></li>
83
<li><a href="../classes/AutoCompleteList.html">AutoCompleteList</a></li>
85
<li><a href="../classes/Axis.html">Axis</a></li>
87
<li><a href="../classes/AxisType.html">AxisType</a></li>
89
<li><a href="../classes/BarSeries.html">BarSeries</a></li>
91
<li><a href="../classes/Base.html">Base</a></li>
93
<li><a href="../classes/BaseCore.html">BaseCore</a></li>
95
<li><a href="../classes/BottomAxisLayout.html">BottomAxisLayout</a></li>
97
<li><a href="../classes/Button.html">Button</a></li>
99
<li><a href="../classes/ButtonCore.html">ButtonCore</a></li>
101
<li><a href="../classes/ButtonGroup.html">ButtonGroup</a></li>
103
<li><a href="../classes/ButtonPlugin.html">ButtonPlugin</a></li>
105
<li><a href="../classes/Cache.html">Cache</a></li>
107
<li><a href="../classes/CacheOffline.html">CacheOffline</a></li>
109
<li><a href="../classes/Calendar.html">Calendar</a></li>
111
<li><a href="../classes/CalendarBase.html">CalendarBase</a></li>
113
<li><a href="../classes/CanvasCircle.html">CanvasCircle</a></li>
115
<li><a href="../classes/CanvasDrawing.html">CanvasDrawing</a></li>
117
<li><a href="../classes/CanvasEllipse.html">CanvasEllipse</a></li>
119
<li><a href="../classes/CanvasGraphic.html">CanvasGraphic</a></li>
121
<li><a href="../classes/CanvasPath.html">CanvasPath</a></li>
123
<li><a href="../classes/CanvasPieSlice.html">CanvasPieSlice</a></li>
125
<li><a href="../classes/CanvasRect.html">CanvasRect</a></li>
127
<li><a href="../classes/CanvasShape.html">CanvasShape</a></li>
129
<li><a href="../classes/CartesianChart.html">CartesianChart</a></li>
131
<li><a href="../classes/CartesianSeries.html">CartesianSeries</a></li>
133
<li><a href="../classes/CategoryAxis.html">CategoryAxis</a></li>
135
<li><a href="../classes/Chart.html">Chart</a></li>
137
<li><a href="../classes/ChartBase.html">ChartBase</a></li>
139
<li><a href="../classes/ChartLegend.html">ChartLegend</a></li>
141
<li><a href="../classes/Circle.html">Circle</a></li>
143
<li><a href="../classes/ClassNameManager.html">ClassNameManager</a></li>
145
<li><a href="../classes/ClickableRail.html">ClickableRail</a></li>
147
<li><a href="../classes/ColumnSeries.html">ColumnSeries</a></li>
149
<li><a href="../classes/ComboSeries.html">ComboSeries</a></li>
151
<li><a href="../classes/ComboSplineSeries.html">ComboSplineSeries</a></li>
153
<li><a href="../classes/config.html">config</a></li>
155
<li><a href="../classes/Console.html">Console</a></li>
157
<li><a href="../classes/Controller.html">Controller</a></li>
159
<li><a href="../classes/Cookie.html">Cookie</a></li>
161
<li><a href="../classes/CurveUtil.html">CurveUtil</a></li>
163
<li><a href="../classes/CustomEvent.html">CustomEvent</a></li>
165
<li><a href="../classes/DataSchema.Array.html">DataSchema.Array</a></li>
167
<li><a href="../classes/DataSchema.Base.html">DataSchema.Base</a></li>
169
<li><a href="../classes/DataSchema.JSON.html">DataSchema.JSON</a></li>
171
<li><a href="../classes/DataSchema.Text.html">DataSchema.Text</a></li>
173
<li><a href="../classes/DataSchema.XML.html">DataSchema.XML</a></li>
175
<li><a href="../classes/DataSource.Function.html">DataSource.Function</a></li>
177
<li><a href="../classes/DataSource.Get.html">DataSource.Get</a></li>
179
<li><a href="../classes/DataSource.IO.html">DataSource.IO</a></li>
181
<li><a href="../classes/DataSource.Local.html">DataSource.Local</a></li>
183
<li><a href="../classes/DataSourceArraySchema.html">DataSourceArraySchema</a></li>
185
<li><a href="../classes/DataSourceCache.html">DataSourceCache</a></li>
187
<li><a href="../classes/DataSourceCacheExtension.html">DataSourceCacheExtension</a></li>
189
<li><a href="../classes/DataSourceJSONSchema.html">DataSourceJSONSchema</a></li>
191
<li><a href="../classes/DataSourceTextSchema.html">DataSourceTextSchema</a></li>
193
<li><a href="../classes/DataSourceXMLSchema.html">DataSourceXMLSchema</a></li>
195
<li><a href="../classes/DataTable.html">DataTable</a></li>
197
<li><a href="../classes/DataTable.Base.html">DataTable.Base</a></li>
199
<li><a href="../classes/DataTable.BodyView.html">DataTable.BodyView</a></li>
201
<li><a href="../classes/DataTable.ColumnWidths.html">DataTable.ColumnWidths</a></li>
203
<li><a href="../classes/DataTable.Core.html">DataTable.Core</a></li>
205
<li><a href="../classes/DataTable.HeaderView.html">DataTable.HeaderView</a></li>
207
<li><a href="../classes/DataTable.Message.html">DataTable.Message</a></li>
209
<li><a href="../classes/DataTable.Mutable.html">DataTable.Mutable</a></li>
211
<li><a href="../classes/DataTable.Scrollable.html">DataTable.Scrollable</a></li>
213
<li><a href="../classes/DataTable.Sortable.html">DataTable.Sortable</a></li>
215
<li><a href="../classes/DataType.Date.html">DataType.Date</a></li>
217
<li><a href="../classes/DataType.Date.Locale.html">DataType.Date.Locale</a></li>
219
<li><a href="../classes/DataType.Number.html">DataType.Number</a></li>
221
<li><a href="../classes/DataType.XML.html">DataType.XML</a></li>
223
<li><a href="../classes/DD.DDM.html">DD.DDM</a></li>
225
<li><a href="../classes/DD.Delegate.html">DD.Delegate</a></li>
227
<li><a href="../classes/DD.Drag.html">DD.Drag</a></li>
229
<li><a href="../classes/DD.Drop.html">DD.Drop</a></li>
231
<li><a href="../classes/DD.Scroll.html">DD.Scroll</a></li>
233
<li><a href="../classes/Dial.html">Dial</a></li>
235
<li><a href="../classes/Do.html">Do</a></li>
237
<li><a href="../classes/Do.AlterArgs.html">Do.AlterArgs</a></li>
239
<li><a href="../classes/Do.AlterReturn.html">Do.AlterReturn</a></li>
241
<li><a href="../classes/Do.Error.html">Do.Error</a></li>
243
<li><a href="../classes/Do.Halt.html">Do.Halt</a></li>
245
<li><a href="../classes/Do.Method.html">Do.Method</a></li>
247
<li><a href="../classes/Do.Prevent.html">Do.Prevent</a></li>
249
<li><a href="../classes/DOM.html">DOM</a></li>
251
<li><a href="../classes/DOMEventFacade.html">DOMEventFacade</a></li>
253
<li><a href="../classes/Drawing.html">Drawing</a></li>
255
<li><a href="../classes/Easing.html">Easing</a></li>
257
<li><a href="../classes/EditorBase.html">EditorBase</a></li>
259
<li><a href="../classes/EditorSelection.html">EditorSelection</a></li>
261
<li><a href="../classes/Ellipse.html">Ellipse</a></li>
263
<li><a href="../classes/EllipseGroup.html">EllipseGroup</a></li>
265
<li><a href="../classes/Escape.html">Escape</a></li>
267
<li><a href="../classes/Event.html">Event</a></li>
269
<li><a href="../classes/EventFacade.html">EventFacade</a></li>
271
<li><a href="../classes/EventHandle.html">EventHandle</a></li>
273
<li><a href="../classes/EventTarget.html">EventTarget</a></li>
275
<li><a href="../classes/ExecCommand.html">ExecCommand</a></li>
277
<li><a href="../classes/Features.html">Features</a></li>
279
<li><a href="../classes/File.html">File</a></li>
281
<li><a href="../classes/FileFlash.html">FileFlash</a></li>
283
<li><a href="../classes/FileHTML5.html">FileHTML5</a></li>
285
<li><a href="../classes/Fills.html">Fills</a></li>
287
<li><a href="../classes/Frame.html">Frame</a></li>
289
<li><a href="../classes/Get.html">Get</a></li>
291
<li><a href="../classes/Get.Transaction.html">Get.Transaction</a></li>
293
<li><a href="../classes/GetNodeJS.html">GetNodeJS</a></li>
295
<li><a href="../classes/Graph.html">Graph</a></li>
297
<li><a href="../classes/Graphic.html">Graphic</a></li>
299
<li><a href="../classes/GraphicBase.html">GraphicBase</a></li>
301
<li><a href="../classes/Gridlines.html">Gridlines</a></li>
303
<li><a href="../classes/GroupCircle.html">GroupCircle</a></li>
305
<li><a href="../classes/GroupDiamond.html">GroupDiamond</a></li>
307
<li><a href="../classes/GroupRect.html">GroupRect</a></li>
309
<li><a href="../classes/Handlebars.html">Handlebars</a></li>
311
<li><a href="../classes/Highlight.html">Highlight</a></li>
313
<li><a href="../classes/Histogram.html">Histogram</a></li>
315
<li><a href="../classes/HistoryBase.html">HistoryBase</a></li>
317
<li><a href="../classes/HistoryHash.html">HistoryHash</a></li>
319
<li><a href="../classes/HistoryHTML5.html">HistoryHTML5</a></li>
321
<li><a href="../classes/HorizontalLegendLayout.html">HorizontalLegendLayout</a></li>
323
<li><a href="../classes/ImgLoadGroup.html">ImgLoadGroup</a></li>
325
<li><a href="../classes/ImgLoadImgObj.html">ImgLoadImgObj</a></li>
327
<li><a href="../classes/Intl.html">Intl</a></li>
329
<li><a href="../classes/IO.html">IO</a></li>
331
<li><a href="../classes/JSON.html">JSON</a></li>
333
<li><a href="../classes/JSONPRequest.html">JSONPRequest</a></li>
335
<li><a href="../classes/Lang.html">Lang</a></li>
337
<li><a href="../classes/LeftAxisLayout.html">LeftAxisLayout</a></li>
339
<li><a href="../classes/Lines.html">Lines</a></li>
341
<li><a href="../classes/LineSeries.html">LineSeries</a></li>
343
<li><a href="../classes/Loader.html">Loader</a></li>
345
<li><a href="../classes/MarkerSeries.html">MarkerSeries</a></li>
347
<li><a href="../classes/Matrix.html">Matrix</a></li>
349
<li><a href="../classes/Model.html">Model</a></li>
351
<li><a href="../classes/ModelList.html">ModelList</a></li>
353
<li><a href="../classes/Node.html">Node</a></li>
355
<li><a href="../classes/NodeList.html">NodeList</a></li>
357
<li><a href="../classes/NumericAxis.html">NumericAxis</a></li>
359
<li><a href="../classes/Object.html">Object</a></li>
361
<li><a href="../classes/Overlay.html">Overlay</a></li>
363
<li><a href="../classes/Panel.html">Panel</a></li>
365
<li><a href="../classes/Parallel.html">Parallel</a></li>
367
<li><a href="../classes/Path.html">Path</a></li>
369
<li><a href="../classes/PieChart.html">PieChart</a></li>
371
<li><a href="../classes/PieSeries.html">PieSeries</a></li>
373
<li><a href="../classes/Pjax.html">Pjax</a></li>
375
<li><a href="../classes/PjaxBase.html">PjaxBase</a></li>
377
<li><a href="../classes/Plots.html">Plots</a></li>
379
<li><a href="../classes/Plugin.Align.html">Plugin.Align</a></li>
381
<li><a href="../classes/Plugin.AutoComplete.html">Plugin.AutoComplete</a></li>
383
<li><a href="../classes/Plugin.Base.html">Plugin.Base</a></li>
385
<li><a href="../classes/Plugin.Cache.html">Plugin.Cache</a></li>
387
<li><a href="../classes/Plugin.CalendarNavigator.html">Plugin.CalendarNavigator</a></li>
389
<li><a href="../classes/Plugin.ConsoleFilters.html">Plugin.ConsoleFilters</a></li>
391
<li><a href="../classes/Plugin.CreateLinkBase.html">Plugin.CreateLinkBase</a></li>
393
<li><a href="../classes/Plugin.DataTableDataSource.html">Plugin.DataTableDataSource</a></li>
395
<li><a href="../classes/Plugin.DDConstrained.html">Plugin.DDConstrained</a></li>
397
<li><a href="../classes/Plugin.DDNodeScroll.html">Plugin.DDNodeScroll</a></li>
399
<li><a href="../classes/Plugin.DDProxy.html">Plugin.DDProxy</a></li>
401
<li><a href="../classes/Plugin.DDWindowScroll.html">Plugin.DDWindowScroll</a></li>
403
<li><a href="../classes/Plugin.Drag.html">Plugin.Drag</a></li>
405
<li><a href="../classes/Plugin.Drop.html">Plugin.Drop</a></li>
407
<li><a href="../classes/Plugin.EditorBidi.html">Plugin.EditorBidi</a></li>
409
<li><a href="../classes/Plugin.EditorBR.html">Plugin.EditorBR</a></li>
411
<li><a href="../classes/Plugin.EditorLists.html">Plugin.EditorLists</a></li>
413
<li><a href="../classes/Plugin.EditorPara.html">Plugin.EditorPara</a></li>
415
<li><a href="../classes/Plugin.EditorParaBase.html">Plugin.EditorParaBase</a></li>
417
<li><a href="../classes/Plugin.EditorParaIE.html">Plugin.EditorParaIE</a></li>
419
<li><a href="../classes/Plugin.EditorTab.html">Plugin.EditorTab</a></li>
421
<li><a href="../classes/Plugin.ExecCommand.html">Plugin.ExecCommand</a></li>
423
<li><a href="../classes/Plugin.Flick.html">Plugin.Flick</a></li>
425
<li><a href="../classes/Plugin.Host.html">Plugin.Host</a></li>
427
<li><a href="../classes/plugin.NodeFocusManager.html">plugin.NodeFocusManager</a></li>
429
<li><a href="../classes/Plugin.NodeFX.html">Plugin.NodeFX</a></li>
431
<li><a href="../classes/plugin.NodeMenuNav.html">plugin.NodeMenuNav</a></li>
433
<li><a href="../classes/Plugin.Pjax.html">Plugin.Pjax</a></li>
435
<li><a href="../classes/Plugin.Resize.html">Plugin.Resize</a></li>
437
<li><a href="../classes/Plugin.ResizeConstrained.html">Plugin.ResizeConstrained</a></li>
439
<li><a href="../classes/Plugin.ResizeProxy.html">Plugin.ResizeProxy</a></li>
441
<li><a href="../classes/Plugin.ScrollViewList.html">Plugin.ScrollViewList</a></li>
443
<li><a href="../classes/Plugin.ScrollViewPaginator.html">Plugin.ScrollViewPaginator</a></li>
445
<li><a href="../classes/Plugin.ScrollViewScrollbars.html">Plugin.ScrollViewScrollbars</a></li>
447
<li><a href="../classes/Plugin.Shim.html">Plugin.Shim</a></li>
449
<li><a href="../classes/Plugin.SortScroll.html">Plugin.SortScroll</a></li>
451
<li><a href="../classes/Plugin.WidgetAnim.html">Plugin.WidgetAnim</a></li>
453
<li><a href="../classes/Pollable.html">Pollable</a></li>
455
<li><a href="../classes/Profiler.html">Profiler</a></li>
457
<li><a href="../classes/QueryString.html">QueryString</a></li>
459
<li><a href="../classes/Queue.html">Queue</a></li>
461
<li><a href="../classes/Record.html">Record</a></li>
463
<li><a href="../classes/Recordset.html">Recordset</a></li>
465
<li><a href="../classes/RecordsetFilter.html">RecordsetFilter</a></li>
467
<li><a href="../classes/RecordsetIndexer.html">RecordsetIndexer</a></li>
469
<li><a href="../classes/RecordsetSort.html">RecordsetSort</a></li>
471
<li><a href="../classes/Rect.html">Rect</a></li>
473
<li><a href="../classes/Renderer.html">Renderer</a></li>
475
<li><a href="../classes/Resize.html">Resize</a></li>
477
<li><a href="../classes/RightAxisLayout.html">RightAxisLayout</a></li>
479
<li><a href="../classes/Router.html">Router</a></li>
481
<li><a href="../classes/ScrollView.html">ScrollView</a></li>
483
<li><a href="../classes/Selector.html">Selector</a></li>
485
<li><a href="../classes/Shape.html">Shape</a></li>
487
<li><a href="../classes/ShapeGroup.html">ShapeGroup</a></li>
489
<li><a href="../classes/Slider.html">Slider</a></li>
491
<li><a href="../classes/SliderBase.html">SliderBase</a></li>
493
<li><a href="../classes/SliderValueRange.html">SliderValueRange</a></li>
495
<li><a href="../classes/Sortable.html">Sortable</a></li>
497
<li><a href="../classes/SplineSeries.html">SplineSeries</a></li>
499
<li><a href="../classes/StackedAreaSeries.html">StackedAreaSeries</a></li>
501
<li><a href="../classes/StackedAreaSplineSeries.html">StackedAreaSplineSeries</a></li>
503
<li><a href="../classes/StackedAxis.html">StackedAxis</a></li>
505
<li><a href="../classes/StackedBarSeries.html">StackedBarSeries</a></li>
507
<li><a href="../classes/StackedColumnSeries.html">StackedColumnSeries</a></li>
509
<li><a href="../classes/StackedComboSeries.html">StackedComboSeries</a></li>
511
<li><a href="../classes/StackedComboSplineSeries.html">StackedComboSplineSeries</a></li>
513
<li><a href="../classes/StackedLineSeries.html">StackedLineSeries</a></li>
515
<li><a href="../classes/StackedMarkerSeries.html">StackedMarkerSeries</a></li>
517
<li><a href="../classes/StackedSplineSeries.html">StackedSplineSeries</a></li>
519
<li><a href="../classes/StackingUtil.html">StackingUtil</a></li>
521
<li><a href="../classes/State.html">State</a></li>
523
<li><a href="../classes/StyleSheet.html">StyleSheet</a></li>
525
<li><a href="../classes/Subscriber.html">Subscriber</a></li>
527
<li><a href="../classes/SVGCircle.html">SVGCircle</a></li>
529
<li><a href="../classes/SVGDrawing.html">SVGDrawing</a></li>
531
<li><a href="../classes/SVGEllipse.html">SVGEllipse</a></li>
533
<li><a href="../classes/SVGGraphic.html">SVGGraphic</a></li>
535
<li><a href="../classes/SVGPath.html">SVGPath</a></li>
537
<li><a href="../classes/SVGPieSlice.html">SVGPieSlice</a></li>
539
<li><a href="../classes/SVGRect.html">SVGRect</a></li>
541
<li><a href="../classes/SVGShape.html">SVGShape</a></li>
543
<li><a href="../classes/SWF.html">SWF</a></li>
545
<li><a href="../classes/SWFDetect.html">SWFDetect</a></li>
547
<li><a href="../classes/SyntheticEvent.html">SyntheticEvent</a></li>
549
<li><a href="../classes/SyntheticEvent.Notifier.html">SyntheticEvent.Notifier</a></li>
551
<li><a href="../classes/SynthRegistry.html">SynthRegistry</a></li>
553
<li><a href="../classes/Tab.html">Tab</a></li>
555
<li><a href="../classes/TabView.html">TabView</a></li>
557
<li><a href="../classes/Test.ArrayAssert.html">Test.ArrayAssert</a></li>
559
<li><a href="../classes/Test.Assert.html">Test.Assert</a></li>
561
<li><a href="../classes/Test.AssertionError.html">Test.AssertionError</a></li>
563
<li><a href="../classes/Test.ComparisonFailure.html">Test.ComparisonFailure</a></li>
565
<li><a href="../classes/Test.Console.html">Test.Console</a></li>
567
<li><a href="../classes/Test.CoverageFormat.html">Test.CoverageFormat</a></li>
569
<li><a href="../classes/Test.DateAssert.html">Test.DateAssert</a></li>
571
<li><a href="../classes/Test.EventTarget.html">Test.EventTarget</a></li>
573
<li><a href="../classes/Test.Mock.html">Test.Mock</a></li>
575
<li><a href="../classes/Test.Mock.Value.html">Test.Mock.Value</a></li>
577
<li><a href="../classes/Test.ObjectAssert.html">Test.ObjectAssert</a></li>
579
<li><a href="../classes/Test.Reporter.html">Test.Reporter</a></li>
581
<li><a href="../classes/Test.Results.html">Test.Results</a></li>
583
<li><a href="../classes/Test.Runner.html">Test.Runner</a></li>
585
<li><a href="../classes/Test.ShouldError.html">Test.ShouldError</a></li>
587
<li><a href="../classes/Test.ShouldFail.html">Test.ShouldFail</a></li>
589
<li><a href="../classes/Test.TestCase.html">Test.TestCase</a></li>
591
<li><a href="../classes/Test.TestFormat.html">Test.TestFormat</a></li>
593
<li><a href="../classes/Test.TestNode.html">Test.TestNode</a></li>
595
<li><a href="../classes/Test.TestRunner.html">Test.TestRunner</a></li>
597
<li><a href="../classes/Test.TestSuite.html">Test.TestSuite</a></li>
599
<li><a href="../classes/Test.UnexpectedError.html">Test.UnexpectedError</a></li>
601
<li><a href="../classes/Test.UnexpectedValue.html">Test.UnexpectedValue</a></li>
603
<li><a href="../classes/Test.Wait.html">Test.Wait</a></li>
605
<li><a href="../classes/Text.AccentFold.html">Text.AccentFold</a></li>
607
<li><a href="../classes/Text.WordBreak.html">Text.WordBreak</a></li>
609
<li><a href="../classes/TimeAxis.html">TimeAxis</a></li>
611
<li><a href="../classes/ToggleButton.html">ToggleButton</a></li>
613
<li><a href="../classes/TopAxisLayout.html">TopAxisLayout</a></li>
615
<li><a href="../classes/Transition.html">Transition</a></li>
617
<li><a href="../classes/UA.html">UA</a></li>
619
<li><a href="../classes/Uploader.html">Uploader</a></li>
621
<li><a href="../classes/Uploader.Queue.html">Uploader.Queue</a></li>
623
<li><a href="../classes/UploaderFlash.html">UploaderFlash</a></li>
625
<li><a href="../classes/UploaderHTML5.html">UploaderHTML5</a></li>
627
<li><a href="../classes/ValueChange.html">ValueChange</a></li>
629
<li><a href="../classes/VerticalLegendLayout.html">VerticalLegendLayout</a></li>
631
<li><a href="../classes/View.html">View</a></li>
633
<li><a href="../classes/View.NodeMap.html">View.NodeMap</a></li>
635
<li><a href="../classes/VMLCircle.html">VMLCircle</a></li>
637
<li><a href="../classes/VMLDrawing.html">VMLDrawing</a></li>
639
<li><a href="../classes/VMLEllipse.html">VMLEllipse</a></li>
641
<li><a href="../classes/VMLGraphic.html">VMLGraphic</a></li>
643
<li><a href="../classes/VMLPath.html">VMLPath</a></li>
645
<li><a href="../classes/VMLPieSlice.html">VMLPieSlice</a></li>
647
<li><a href="../classes/VMLRect.html">VMLRect</a></li>
649
<li><a href="../classes/VMLShape.html">VMLShape</a></li>
651
<li><a href="../classes/Widget.html">Widget</a></li>
653
<li><a href="../classes/WidgetAutohide.html">WidgetAutohide</a></li>
655
<li><a href="../classes/WidgetButtons.html">WidgetButtons</a></li>
657
<li><a href="../classes/WidgetChild.html">WidgetChild</a></li>
659
<li><a href="../classes/WidgetModality.html">WidgetModality</a></li>
661
<li><a href="../classes/WidgetParent.html">WidgetParent</a></li>
663
<li><a href="../classes/WidgetPosition.html">WidgetPosition</a></li>
665
<li><a href="../classes/WidgetPositionAlign.html">WidgetPositionAlign</a></li>
667
<li><a href="../classes/WidgetPositionConstrain.html">WidgetPositionConstrain</a></li>
669
<li><a href="../classes/WidgetStack.html">WidgetStack</a></li>
671
<li><a href="../classes/WidgetStdMod.html">WidgetStdMod</a></li>
673
<li><a href="../classes/YQL.html">YQL</a></li>
675
<li><a href="../classes/YQLRequest.html">YQLRequest</a></li>
677
<li><a href="../classes/YUI.html">YUI</a></li>
679
<li><a href="../classes/YUI~substitute.html">YUI~substitute</a></li>
683
<ul id="api-modules" class="apis modules">
685
<li><a href="../modules/align-plugin.html">align-plugin</a></li>
687
<li><a href="../modules/anim.html">anim</a></li>
689
<li><a href="../modules/anim-base.html">anim-base</a></li>
691
<li><a href="../modules/anim-color.html">anim-color</a></li>
693
<li><a href="../modules/anim-curve.html">anim-curve</a></li>
695
<li><a href="../modules/anim-easing.html">anim-easing</a></li>
697
<li><a href="../modules/anim-node-plugin.html">anim-node-plugin</a></li>
699
<li><a href="../modules/anim-scroll.html">anim-scroll</a></li>
701
<li><a href="../modules/anim-shape-transform.html">anim-shape-transform</a></li>
703
<li><a href="../modules/anim-xy.html">anim-xy</a></li>
705
<li><a href="../modules/app.html">app</a></li>
707
<li><a href="../modules/app-base.html">app-base</a></li>
709
<li><a href="../modules/app-transitions.html">app-transitions</a></li>
711
<li><a href="../modules/app-transitions-native.html">app-transitions-native</a></li>
713
<li><a href="../modules/array-extras.html">array-extras</a></li>
715
<li><a href="../modules/array-invoke.html">array-invoke</a></li>
717
<li><a href="../modules/arraylist.html">arraylist</a></li>
719
<li><a href="../modules/arraylist-add.html">arraylist-add</a></li>
721
<li><a href="../modules/arraylist-filter.html">arraylist-filter</a></li>
723
<li><a href="../modules/arraysort.html">arraysort</a></li>
725
<li><a href="../modules/async-queue.html">async-queue</a></li>
727
<li><a href="../modules/attribute.html">attribute</a></li>
729
<li><a href="../modules/attribute-base.html">attribute-base</a></li>
731
<li><a href="../modules/attribute-complex.html">attribute-complex</a></li>
733
<li><a href="../modules/attribute-core.html">attribute-core</a></li>
735
<li><a href="../modules/attribute-events.html">attribute-events</a></li>
737
<li><a href="../modules/attribute-extras.html">attribute-extras</a></li>
739
<li><a href="../modules/autocomplete.html">autocomplete</a></li>
741
<li><a href="../modules/autocomplete-base.html">autocomplete-base</a></li>
743
<li><a href="../modules/autocomplete-filters.html">autocomplete-filters</a></li>
745
<li><a href="../modules/autocomplete-filters-accentfold.html">autocomplete-filters-accentfold</a></li>
747
<li><a href="../modules/autocomplete-highlighters.html">autocomplete-highlighters</a></li>
749
<li><a href="../modules/autocomplete-highlighters-accentfold.html">autocomplete-highlighters-accentfold</a></li>
751
<li><a href="../modules/autocomplete-list.html">autocomplete-list</a></li>
753
<li><a href="../modules/autocomplete-list-keys.html">autocomplete-list-keys</a></li>
755
<li><a href="../modules/autocomplete-plugin.html">autocomplete-plugin</a></li>
757
<li><a href="../modules/autocomplete-sources.html">autocomplete-sources</a></li>
759
<li><a href="../modules/base.html">base</a></li>
761
<li><a href="../modules/base-base.html">base-base</a></li>
763
<li><a href="../modules/base-build.html">base-build</a></li>
765
<li><a href="../modules/base-core.html">base-core</a></li>
767
<li><a href="../modules/base-pluginhost.html">base-pluginhost</a></li>
769
<li><a href="../modules/button.html">button</a></li>
771
<li><a href="../modules/button-core.html">button-core</a></li>
773
<li><a href="../modules/button-group.html">button-group</a></li>
775
<li><a href="../modules/button-plugin.html">button-plugin</a></li>
777
<li><a href="../modules/cache.html">cache</a></li>
779
<li><a href="../modules/cache-base.html">cache-base</a></li>
781
<li><a href="../modules/cache-offline.html">cache-offline</a></li>
783
<li><a href="../modules/cache-plugin.html">cache-plugin</a></li>
785
<li><a href="../modules/calendar.html">calendar</a></li>
787
<li><a href="../modules/calendar-base.html">calendar-base</a></li>
789
<li><a href="../modules/calendarnavigator.html">calendarnavigator</a></li>
791
<li><a href="../modules/charts.html">charts</a></li>
793
<li><a href="../modules/charts-legend.html">charts-legend</a></li>
795
<li><a href="../modules/classnamemanager.html">classnamemanager</a></li>
797
<li><a href="../modules/clickable-rail.html">clickable-rail</a></li>
799
<li><a href="../modules/collection.html">collection</a></li>
801
<li><a href="../modules/console.html">console</a></li>
803
<li><a href="../modules/console-filters.html">console-filters</a></li>
805
<li><a href="../modules/cookie.html">cookie</a></li>
807
<li><a href="../modules/createlink-base.html">createlink-base</a></li>
809
<li><a href="../modules/dataschema.html">dataschema</a></li>
811
<li><a href="../modules/dataschema-array.html">dataschema-array</a></li>
813
<li><a href="../modules/dataschema-base.html">dataschema-base</a></li>
815
<li><a href="../modules/dataschema-json.html">dataschema-json</a></li>
817
<li><a href="../modules/dataschema-text.html">dataschema-text</a></li>
819
<li><a href="../modules/dataschema-xml.html">dataschema-xml</a></li>
821
<li><a href="../modules/datasource.html">datasource</a></li>
823
<li><a href="../modules/datasource-arrayschema.html">datasource-arrayschema</a></li>
825
<li><a href="../modules/datasource-cache.html">datasource-cache</a></li>
827
<li><a href="../modules/datasource-function.html">datasource-function</a></li>
829
<li><a href="../modules/datasource-get.html">datasource-get</a></li>
831
<li><a href="../modules/datasource-io.html">datasource-io</a></li>
833
<li><a href="../modules/datasource-jsonschema.html">datasource-jsonschema</a></li>
835
<li><a href="../modules/datasource-local.html">datasource-local</a></li>
837
<li><a href="../modules/datasource-polling.html">datasource-polling</a></li>
839
<li><a href="../modules/datasource-textschema.html">datasource-textschema</a></li>
841
<li><a href="../modules/datasource-xmlschema.html">datasource-xmlschema</a></li>
843
<li><a href="../modules/datatable.html">datatable</a></li>
845
<li><a href="../modules/datatable-base.html">datatable-base</a></li>
847
<li><a href="../modules/datatable-base-deprecated.html">datatable-base-deprecated</a></li>
849
<li><a href="../modules/datatable-body.html">datatable-body</a></li>
851
<li><a href="../modules/datatable-column-widths.html">datatable-column-widths</a></li>
853
<li><a href="../modules/datatable-core.html">datatable-core</a></li>
855
<li><a href="../modules/datatable-datasource.html">datatable-datasource</a></li>
857
<li><a href="../modules/datatable-datasource-deprecated.html">datatable-datasource-deprecated</a></li>
859
<li><a href="../modules/datatable-deprecated.html">datatable-deprecated</a></li>
861
<li><a href="../modules/datatable-head.html">datatable-head</a></li>
863
<li><a href="../modules/datatable-message.html">datatable-message</a></li>
865
<li><a href="../modules/datatable-mutable.html">datatable-mutable</a></li>
867
<li><a href="../modules/datatable-scroll.html">datatable-scroll</a></li>
869
<li><a href="../modules/datatable-scroll-deprecated.html">datatable-scroll-deprecated</a></li>
871
<li><a href="../modules/datatable-sort.html">datatable-sort</a></li>
873
<li><a href="../modules/datatable-sort-deprecated.html">datatable-sort-deprecated</a></li>
875
<li><a href="../modules/datatype.html">datatype</a></li>
877
<li><a href="../modules/datatype-date.html">datatype-date</a></li>
879
<li><a href="../modules/datatype-date-format.html">datatype-date-format</a></li>
881
<li><a href="../modules/datatype-date-math.html">datatype-date-math</a></li>
883
<li><a href="../modules/datatype-date-parse.html">datatype-date-parse</a></li>
885
<li><a href="../modules/datatype-number.html">datatype-number</a></li>
887
<li><a href="../modules/datatype-number-format.html">datatype-number-format</a></li>
889
<li><a href="../modules/datatype-number-parse.html">datatype-number-parse</a></li>
891
<li><a href="../modules/datatype-xml.html">datatype-xml</a></li>
893
<li><a href="../modules/datatype-xml-format.html">datatype-xml-format</a></li>
895
<li><a href="../modules/datatype-xml-parse.html">datatype-xml-parse</a></li>
897
<li><a href="../modules/dd.html">dd</a></li>
899
<li><a href="../modules/dd-constrain.html">dd-constrain</a></li>
901
<li><a href="../modules/dd-ddm.html">dd-ddm</a></li>
903
<li><a href="../modules/dd-ddm-base.html">dd-ddm-base</a></li>
905
<li><a href="../modules/dd-ddm-drop.html">dd-ddm-drop</a></li>
907
<li><a href="../modules/dd-delegate.html">dd-delegate</a></li>
909
<li><a href="../modules/dd-drag.html">dd-drag</a></li>
911
<li><a href="../modules/dd-drop.html">dd-drop</a></li>
913
<li><a href="../modules/dd-drop-plugin.html">dd-drop-plugin</a></li>
915
<li><a href="../modules/dd-plugin.html">dd-plugin</a></li>
917
<li><a href="../modules/dd-proxy.html">dd-proxy</a></li>
919
<li><a href="../modules/dd-scroll.html">dd-scroll</a></li>
921
<li><a href="../modules/dial.html">dial</a></li>
923
<li><a href="../modules/dom.html">dom</a></li>
925
<li><a href="../modules/dom-base.html">dom-base</a></li>
927
<li><a href="../modules/dom-screen.html">dom-screen</a></li>
929
<li><a href="../modules/dom-style.html">dom-style</a></li>
931
<li><a href="../modules/dump.html">dump</a></li>
933
<li><a href="../modules/editor.html">editor</a></li>
935
<li><a href="../modules/editor-base.html">editor-base</a></li>
937
<li><a href="../modules/editor-bidi.html">editor-bidi</a></li>
939
<li><a href="../modules/editor-br.html">editor-br</a></li>
941
<li><a href="../modules/editor-lists.html">editor-lists</a></li>
943
<li><a href="../modules/editor-para.html">editor-para</a></li>
945
<li><a href="../modules/editor-para-base.html">editor-para-base</a></li>
947
<li><a href="../modules/editor-para-ie.html">editor-para-ie</a></li>
949
<li><a href="../modules/editor-tab.html">editor-tab</a></li>
951
<li><a href="../modules/escape.html">escape</a></li>
953
<li><a href="../modules/event.html">event</a></li>
955
<li><a href="../modules/event-base.html">event-base</a></li>
957
<li><a href="../modules/event-contextmenu.html">event-contextmenu</a></li>
959
<li><a href="../modules/event-custom.html">event-custom</a></li>
961
<li><a href="../modules/event-custom-base.html">event-custom-base</a></li>
963
<li><a href="../modules/event-custom-complex.html">event-custom-complex</a></li>
965
<li><a href="../modules/event-delegate.html">event-delegate</a></li>
967
<li><a href="../modules/event-flick.html">event-flick</a></li>
969
<li><a href="../modules/event-focus.html">event-focus</a></li>
971
<li><a href="../modules/event-gestures.html">event-gestures</a></li>
973
<li><a href="../modules/event-hover.html">event-hover</a></li>
975
<li><a href="../modules/event-key.html">event-key</a></li>
977
<li><a href="../modules/event-mouseenter.html">event-mouseenter</a></li>
979
<li><a href="../modules/event-mousewheel.html">event-mousewheel</a></li>
981
<li><a href="../modules/event-move.html">event-move</a></li>
983
<li><a href="../modules/event-outside.html">event-outside</a></li>
985
<li><a href="../modules/event-resize.html">event-resize</a></li>
987
<li><a href="../modules/event-simulate.html">event-simulate</a></li>
989
<li><a href="../modules/event-synthetic.html">event-synthetic</a></li>
991
<li><a href="../modules/event-touch.html">event-touch</a></li>
993
<li><a href="../modules/event-valuechange.html">event-valuechange</a></li>
995
<li><a href="../modules/exec-command.html">exec-command</a></li>
997
<li><a href="../modules/features.html">features</a></li>
999
<li><a href="../modules/file.html">file</a></li>
1001
<li><a href="../modules/file-flash.html">file-flash</a></li>
1003
<li><a href="../modules/file-html5.html">file-html5</a></li>
1005
<li><a href="../modules/frame.html">frame</a></li>
1007
<li><a href="../modules/get.html">get</a></li>
1009
<li><a href="../modules/get-nodejs.html">get-nodejs</a></li>
1011
<li><a href="../modules/graphics.html">graphics</a></li>
1013
<li><a href="../modules/handlebars.html">handlebars</a></li>
1015
<li><a href="../modules/handlebars-base.html">handlebars-base</a></li>
1017
<li><a href="../modules/handlebars-compiler.html">handlebars-compiler</a></li>
1019
<li><a href="../modules/highlight.html">highlight</a></li>
1021
<li><a href="../modules/highlight-accentfold.html">highlight-accentfold</a></li>
1023
<li><a href="../modules/highlight-base.html">highlight-base</a></li>
1025
<li><a href="../modules/history.html">history</a></li>
1027
<li><a href="../modules/history-base.html">history-base</a></li>
1029
<li><a href="../modules/history-hash.html">history-hash</a></li>
1031
<li><a href="../modules/history-hash-ie.html">history-hash-ie</a></li>
1033
<li><a href="../modules/history-html5.html">history-html5</a></li>
1035
<li><a href="../modules/imageloader.html">imageloader</a></li>
1037
<li><a href="../modules/intl.html">intl</a></li>
1039
<li><a href="../modules/io.html">io</a></li>
1041
<li><a href="../modules/io-base.html">io-base</a></li>
1043
<li><a href="../modules/io-form.html">io-form</a></li>
1045
<li><a href="../modules/io-queue.html">io-queue</a></li>
1047
<li><a href="../modules/io-upload-iframe.html">io-upload-iframe</a></li>
1049
<li><a href="../modules/io-xdr.html">io-xdr</a></li>
1051
<li><a href="../modules/json.html">json</a></li>
1053
<li><a href="../modules/json-parse.html">json-parse</a></li>
1055
<li><a href="../modules/json-stringify.html">json-stringify</a></li>
1057
<li><a href="../modules/jsonp.html">jsonp</a></li>
1059
<li><a href="../modules/jsonp-url.html">jsonp-url</a></li>
1061
<li><a href="../modules/loader.html">loader</a></li>
1063
<li><a href="../modules/loader-base.html">loader-base</a></li>
1065
<li><a href="../modules/matrix.html">matrix</a></li>
1067
<li><a href="../modules/model.html">model</a></li>
1069
<li><a href="../modules/model-list.html">model-list</a></li>
1071
<li><a href="../modules/node.html">node</a></li>
1073
<li><a href="../modules/node-base.html">node-base</a></li>
1075
<li><a href="../modules/node-core.html">node-core</a></li>
1077
<li><a href="../modules/node-data.html">node-data</a></li>
1079
<li><a href="../modules/node-deprecated.html">node-deprecated</a></li>
1081
<li><a href="../modules/node-event-delegate.html">node-event-delegate</a></li>
1083
<li><a href="../modules/node-event-html5.html">node-event-html5</a></li>
1085
<li><a href="../modules/node-event-simulate.html">node-event-simulate</a></li>
1087
<li><a href="../modules/node-flick.html">node-flick</a></li>
1089
<li><a href="../modules/node-focusmanager.html">node-focusmanager</a></li>
1091
<li><a href="../modules/node-load.html">node-load</a></li>
1093
<li><a href="../modules/node-menunav.html">node-menunav</a></li>
1095
<li><a href="../modules/node-pluginhost.html">node-pluginhost</a></li>
1097
<li><a href="../modules/node-screen.html">node-screen</a></li>
1099
<li><a href="../modules/node-style.html">node-style</a></li>
1101
<li><a href="../modules/oop.html">oop</a></li>
1103
<li><a href="../modules/overlay.html">overlay</a></li>
1105
<li><a href="../modules/panel.html">panel</a></li>
1107
<li><a href="../modules/parallel.html">parallel</a></li>
1109
<li><a href="../modules/pjax.html">pjax</a></li>
1111
<li><a href="../modules/pjax-base.html">pjax-base</a></li>
1113
<li><a href="../modules/pjax-plugin.html">pjax-plugin</a></li>
1115
<li><a href="../modules/plugin.html">plugin</a></li>
1117
<li><a href="../modules/pluginhost.html">pluginhost</a></li>
1119
<li><a href="../modules/pluginhost-base.html">pluginhost-base</a></li>
1121
<li><a href="../modules/pluginhost-config.html">pluginhost-config</a></li>
1123
<li><a href="../modules/profiler.html">profiler</a></li>
1125
<li><a href="../modules/querystring.html">querystring</a></li>
1127
<li><a href="../modules/querystring-parse.html">querystring-parse</a></li>
1129
<li><a href="../modules/querystring-parse-simple.html">querystring-parse-simple</a></li>
1131
<li><a href="../modules/querystring-stringify.html">querystring-stringify</a></li>
1133
<li><a href="../modules/querystring-stringify-simple.html">querystring-stringify-simple</a></li>
1135
<li><a href="../modules/queue-promote.html">queue-promote</a></li>
1137
<li><a href="../modules/range-slider.html">range-slider</a></li>
1139
<li><a href="../modules/recordset.html">recordset</a></li>
1141
<li><a href="../modules/recordset-base.html">recordset-base</a></li>
1143
<li><a href="../modules/recordset-filter.html">recordset-filter</a></li>
1145
<li><a href="../modules/recordset-indexer.html">recordset-indexer</a></li>
1147
<li><a href="../modules/recordset-sort.html">recordset-sort</a></li>
1149
<li><a href="../modules/resize.html">resize</a></li>
1151
<li><a href="../modules/resize-contrain.html">resize-contrain</a></li>
1153
<li><a href="../modules/resize-plugin.html">resize-plugin</a></li>
1155
<li><a href="../modules/resize-proxy.html">resize-proxy</a></li>
1157
<li><a href="../modules/rollup.html">rollup</a></li>
1159
<li><a href="../modules/router.html">router</a></li>
1161
<li><a href="../modules/scrollview.html">scrollview</a></li>
1163
<li><a href="../modules/scrollview-base.html">scrollview-base</a></li>
1165
<li><a href="../modules/scrollview-base-ie.html">scrollview-base-ie</a></li>
1167
<li><a href="../modules/scrollview-list.html">scrollview-list</a></li>
1169
<li><a href="../modules/scrollview-paginator.html">scrollview-paginator</a></li>
1171
<li><a href="../modules/scrollview-scrollbars.html">scrollview-scrollbars</a></li>
1173
<li><a href="../modules/selection.html">selection</a></li>
1175
<li><a href="../modules/selector-css2.html">selector-css2</a></li>
1177
<li><a href="../modules/selector-css3.html">selector-css3</a></li>
1179
<li><a href="../modules/selector-native.html">selector-native</a></li>
1181
<li><a href="../modules/shim-plugin.html">shim-plugin</a></li>
1183
<li><a href="../modules/slider.html">slider</a></li>
1185
<li><a href="../modules/slider-base.html">slider-base</a></li>
1187
<li><a href="../modules/slider-value-range.html">slider-value-range</a></li>
1189
<li><a href="../modules/sortable.html">sortable</a></li>
1191
<li><a href="../modules/sortable-scroll.html">sortable-scroll</a></li>
1193
<li><a href="../modules/stylesheet.html">stylesheet</a></li>
1195
<li><a href="../modules/substitute.html">substitute</a></li>
1197
<li><a href="../modules/swf.html">swf</a></li>
1199
<li><a href="../modules/swfdetect.html">swfdetect</a></li>
1201
<li><a href="../modules/tabview.html">tabview</a></li>
1203
<li><a href="../modules/test.html">test</a></li>
1205
<li><a href="../modules/test-console.html">test-console</a></li>
1207
<li><a href="../modules/text.html">text</a></li>
1209
<li><a href="../modules/text-accentfold.html">text-accentfold</a></li>
1211
<li><a href="../modules/text-wordbreak.html">text-wordbreak</a></li>
1213
<li><a href="../modules/transition.html">transition</a></li>
1215
<li><a href="../modules/uploader.html">uploader</a></li>
1217
<li><a href="../modules/uploader-deprecated.html">uploader-deprecated</a></li>
1219
<li><a href="../modules/uploader-flash.html">uploader-flash</a></li>
1221
<li><a href="../modules/uploader-html5.html">uploader-html5</a></li>
1223
<li><a href="../modules/uploader-queue.html">uploader-queue</a></li>
1225
<li><a href="../modules/view.html">view</a></li>
1227
<li><a href="../modules/view-node-map.html">view-node-map</a></li>
1229
<li><a href="../modules/widget.html">widget</a></li>
1231
<li><a href="../modules/widget-anim.html">widget-anim</a></li>
1233
<li><a href="../modules/widget-autohide.html">widget-autohide</a></li>
1235
<li><a href="../modules/widget-base.html">widget-base</a></li>
1237
<li><a href="../modules/widget-base-ie.html">widget-base-ie</a></li>
1239
<li><a href="../modules/widget-buttons.html">widget-buttons</a></li>
1241
<li><a href="../modules/widget-child.html">widget-child</a></li>
1243
<li><a href="../modules/widget-htmlparser.html">widget-htmlparser</a></li>
1245
<li><a href="../modules/widget-locale.html">widget-locale</a></li>
1247
<li><a href="../modules/widget-modality.html">widget-modality</a></li>
1249
<li><a href="../modules/widget-parent.html">widget-parent</a></li>
1251
<li><a href="../modules/widget-position.html">widget-position</a></li>
1253
<li><a href="../modules/widget-position-align.html">widget-position-align</a></li>
1255
<li><a href="../modules/widget-position-constrain.html">widget-position-constrain</a></li>
1257
<li><a href="../modules/widget-skin.html">widget-skin</a></li>
1259
<li><a href="../modules/widget-stack.html">widget-stack</a></li>
1261
<li><a href="../modules/widget-stdmod.html">widget-stdmod</a></li>
1263
<li><a href="../modules/widget-uievents.html">widget-uievents</a></li>
1265
<li><a href="../modules/yql.html">yql</a></li>
1267
<li><a href="../modules/yui.html">yui</a></li>
1269
<li><a href="../modules/yui-base.html">yui-base</a></li>
1271
<li><a href="../modules/yui-later.html">yui-later</a></li>
1273
<li><a href="../modules/yui-log.html">yui-log</a></li>
1275
<li><a href="../modules/yui-throttle.html">yui-throttle</a></li>
1277
<li><a href="../modules/yui3.html">yui3</a></li>
1286
<div class="yui3-u-3-4">
1287
<div id="api-options">
1289
<label for="api-show-inherited">
1290
<input type="checkbox" id="api-show-inherited" checked>
1294
<label for="api-show-protected">
1295
<input type="checkbox" id="api-show-protected">
1299
<label for="api-show-private">
1300
<input type="checkbox" id="api-show-private">
1306
<div class="apidocs">
1307
<div id="docs-main">
1308
<div class="content">
1309
<h1>Sortable Class</h1>
1310
<div class="box meta">
1314
<div class="extends">
1315
Extends <a href="../classes/Base.html" class="crosslink">Base</a>
1320
<div class="foundat">
1321
Defined in: <a href="../files/sortable_js_sortable.js.html#l6"><code>sortable/js/sortable.js:6</code></a>
1327
Module: <a href="../modules/sortable.html">sortable</a>
1336
<div class="box intro">
1337
<p>The class allows you to create a Drag & Drop reordered list.</p>
1341
<div class="constructor">
1342
<h2>Constructor</h2>
1343
<div id="method_Sortable" class="method item">
1344
<h3 class="name"><code>Sortable</code></h3>
1347
<span class="paren">()</span>
1373
<a href="../files/sortable_js_sortable.js.html#l6"><code>sortable/js/sortable.js:6</code></a>
1383
<div class="description">
1397
<div id="classdocs" class="tabview">
1398
<ul class="api-class-tabs">
1399
<li class="api-class-tab index"><a href="#index">Index</a></li>
1402
<li class="api-class-tab methods"><a href="#methods">Methods</a></li>
1405
<li class="api-class-tab properties"><a href="#properties">Properties</a></li>
1408
<li class="api-class-tab attrs"><a href="#attrs">Attributes</a></li>
1411
<li class="api-class-tab events"><a href="#events">Events</a></li>
1416
<div id="index" class="api-class-tabpanel index">
1417
<h2 class="off-left">Item Index</h2>
1420
<div class="index-section methods">
1423
<ul class="index-list methods">
1425
<li class="index-item method private inherited">
1426
<a href="#method__addAttrs">_addAttrs</a>
1431
<li class="index-item method private inherited">
1432
<a href="#method__addLazyAttr">_addLazyAttr</a>
1437
<li class="index-item method private inherited">
1438
<a href="#method__aggregateAttrs">_aggregateAttrs</a>
1443
<li class="index-item method private inherited inherited">
1444
<a href="#method__attrCfgHash">_attrCfgHash</a>
1449
<li class="index-item method private inherited">
1450
<a href="#method__baseDestroy">_baseDestroy</a>
1455
<li class="index-item method private inherited">
1456
<a href="#method__baseInit">_baseInit</a>
1461
<li class="index-item method private inherited">
1462
<a href="#method__defAttrChangeFn">_defAttrChangeFn</a>
1467
<li class="index-item method protected inherited">
1468
<a href="#method__defDestroyFn">_defDestroyFn</a>
1473
<li class="index-item method protected inherited">
1474
<a href="#method__defInitFn">_defInitFn</a>
1479
<li class="index-item method private inherited">
1480
<a href="#method__destroyHierarchy">_destroyHierarchy</a>
1485
<li class="index-item method private inherited">
1486
<a href="#method__filterAdHocAttrs">_filterAdHocAttrs</a>
1491
<li class="index-item method private inherited">
1492
<a href="#method__filterAttrCfs">_filterAttrCfs</a>
1497
<li class="index-item method private inherited">
1498
<a href="#method__fireAttrChange">_fireAttrChange</a>
1503
<li class="index-item method protected inherited">
1504
<a href="#method__getAttr">_getAttr</a>
1509
<li class="index-item method protected inherited">
1510
<a href="#method__getAttrCfg">_getAttrCfg</a>
1515
<li class="index-item method protected inherited">
1516
<a href="#method__getAttrCfgs">_getAttrCfgs</a>
1521
<li class="index-item method private inherited inherited">
1522
<a href="#method__getAttrInitVal">_getAttrInitVal</a>
1527
<li class="index-item method protected inherited">
1528
<a href="#method__getAttrs">_getAttrs</a>
1533
<li class="index-item method protected inherited">
1534
<a href="#method__getClasses">_getClasses</a>
1539
<li class="index-item method private inherited">
1540
<a href="#method__getStateVal">_getStateVal</a>
1545
<li class="index-item method private inherited">
1546
<a href="#method__getType">_getType</a>
1551
<li class="index-item method private inherited">
1552
<a href="#method__initAttrHost">_initAttrHost</a>
1557
<li class="index-item method private inherited inherited">
1558
<a href="#method__initAttribute">_initAttribute</a>
1563
<li class="index-item method protected inherited">
1564
<a href="#method__initAttrs">_initAttrs</a>
1569
<li class="index-item method private inherited inherited">
1570
<a href="#method__initBase">_initBase</a>
1575
<li class="index-item method private inherited">
1576
<a href="#method__initHierarchy">_initHierarchy</a>
1581
<li class="index-item method private inherited">
1582
<a href="#method__initHierarchyData">_initHierarchyData</a>
1587
<li class="index-item method private inherited">
1588
<a href="#method__isLazyAttr">_isLazyAttr</a>
1593
<li class="index-item method private">
1594
<a href="#method__join_full">_join_full</a>
1599
<li class="index-item method private">
1600
<a href="#method__join_inner">_join_inner</a>
1605
<li class="index-item method private">
1606
<a href="#method__join_none">_join_none</a>
1611
<li class="index-item method private">
1612
<a href="#method__join_outer">_join_outer</a>
1617
<li class="index-item method private inherited">
1618
<a href="#method__monitor">_monitor</a>
1623
<li class="index-item method private inherited inherited">
1624
<a href="#method__normAttrVals">_normAttrVals</a>
1629
<li class="index-item method private">
1630
<a href="#method__onDragEnd">_onDragEnd</a>
1635
<li class="index-item method private">
1636
<a href="#method__onDragOver">_onDragOver</a>
1641
<li class="index-item method private">
1642
<a href="#method__onDragStart">_onDragStart</a>
1647
<li class="index-item method private">
1648
<a href="#method__onDropOver">_onDropOver</a>
1653
<li class="index-item method private inherited">
1654
<a href="#method__parseType">_parseType</a>
1659
<li class="index-item method private inherited">
1660
<a href="#method__preInitEventCfg">_preInitEventCfg</a>
1665
<li class="index-item method protected inherited">
1666
<a href="#method__protectAttrs">_protectAttrs</a>
1671
<li class="index-item method protected inherited inherited">
1672
<a href="#method__set">_set</a>
1677
<li class="index-item method protected inherited">
1678
<a href="#method__setAttr">_setAttr</a>
1683
<li class="index-item method protected inherited">
1684
<a href="#method__setAttrs">_setAttrs</a>
1689
<li class="index-item method private inherited">
1690
<a href="#method__setAttrVal">_setAttrVal</a>
1695
<li class="index-item method private inherited">
1696
<a href="#method__setStateVal">_setStateVal</a>
1701
<li class="index-item method">
1702
<a href="#method__test">_test</a>
1705
<span class="flag static">static</span>
1709
<li class="index-item method inherited">
1710
<a href="#method_addAttr">addAttr</a>
1715
<li class="index-item method inherited">
1716
<a href="#method_addAttrs">addAttrs</a>
1721
<li class="index-item method inherited">
1722
<a href="#method_addTarget">addTarget</a>
1727
<li class="index-item method inherited">
1728
<a href="#method_after">after</a>
1733
<li class="index-item method inherited">
1734
<a href="#method_attrAdded">attrAdded</a>
1739
<li class="index-item method inherited">
1740
<a href="#method_before">before</a>
1745
<li class="index-item method inherited">
1746
<a href="#method_bubble">bubble</a>
1751
<li class="index-item method inherited inherited">
1752
<a href="#method_destroy">destroy</a>
1757
<li class="index-item method inherited">
1758
<a href="#method_detach">detach</a>
1763
<li class="index-item method inherited">
1764
<a href="#method_detachAll">detachAll</a>
1769
<li class="index-item method inherited">
1770
<a href="#method_fire">fire</a>
1775
<li class="index-item method inherited">
1776
<a href="#method_get">get</a>
1781
<li class="index-item method inherited">
1782
<a href="#method_getAttrs">getAttrs</a>
1787
<li class="index-item method inherited">
1788
<a href="#method_getEvent">getEvent</a>
1793
<li class="index-item method">
1794
<a href="#method_getOrdering">getOrdering</a>
1799
<li class="index-item method">
1800
<a href="#method_getSortable">getSortable</a>
1803
<span class="flag static">static</span>
1807
<li class="index-item method inherited">
1808
<a href="#method_getTargets">getTargets</a>
1813
<li class="index-item method inherited inherited">
1814
<a href="#method_init">init</a>
1819
<li class="index-item method">
1820
<a href="#method_join">join</a>
1825
<li class="index-item method inherited">
1826
<a href="#method_modifyAttr">modifyAttr</a>
1831
<li class="index-item method inherited">
1832
<a href="#method_on">on</a>
1837
<li class="index-item method inherited">
1838
<a href="#method_once">once</a>
1843
<li class="index-item method inherited">
1844
<a href="#method_onceAfter">onceAfter</a>
1849
<li class="index-item method inherited">
1850
<a href="#method_parseType">parseType</a>
1855
<li class="index-item method">
1856
<a href="#method_plug">plug</a>
1861
<li class="index-item method inherited">
1862
<a href="#method_publish">publish</a>
1867
<li class="index-item method">
1868
<a href="#method_reg">reg</a>
1871
<span class="flag static">static</span>
1875
<li class="index-item method inherited">
1876
<a href="#method_removeAttr">removeAttr</a>
1881
<li class="index-item method inherited">
1882
<a href="#method_removeTarget">removeTarget</a>
1887
<li class="index-item method inherited">
1888
<a href="#method_reset">reset</a>
1893
<li class="index-item method inherited inherited">
1894
<a href="#method_set">set</a>
1899
<li class="index-item method inherited inherited">
1900
<a href="#method_setAttrs">setAttrs</a>
1905
<li class="index-item method deprecated inherited">
1906
<a href="#method_subscribe">subscribe</a>
1911
<li class="index-item method">
1912
<a href="#method_sync">sync</a>
1917
<li class="index-item method inherited">
1918
<a href="#method_toString">toString</a>
1923
<li class="index-item method">
1924
<a href="#method_unreg">unreg</a>
1927
<span class="flag static">static</span>
1931
<li class="index-item method deprecated inherited">
1932
<a href="#method_unsubscribe">unsubscribe</a>
1937
<li class="index-item method deprecated inherited">
1938
<a href="#method_unsubscribeAll">unsubscribeAll</a>
1948
<div class="index-section properties">
1951
<ul class="index-list properties">
1953
<li class="index-item property protected inherited">
1954
<a href="#property__allowAdHocAttrs">_allowAdHocAttrs</a>
1959
<li class="index-item property private">
1960
<a href="#property__sortables">_sortables</a>
1963
<span class="flag static">static</span>
1967
<li class="index-item property">
1968
<a href="#property_delegate">delegate</a>
1973
<li class="index-item property deprecated inherited">
1974
<a href="#property_name">name</a>
1984
<div class="index-section attrs">
1987
<ul class="index-list attrs">
1989
<li class="index-item attr">
1990
<a href="#attr_container">container</a>
1993
<li class="index-item attr inherited">
1994
<a href="#attr_destroyed">destroyed</a>
1997
<li class="index-item attr">
1998
<a href="#attr_handles">handles</a>
2001
<li class="index-item attr">
2002
<a href="#attr_id">id</a>
2005
<li class="index-item attr inherited">
2006
<a href="#attr_initialized">initialized</a>
2009
<li class="index-item attr">
2010
<a href="#attr_invalid">invalid</a>
2013
<li class="index-item attr">
2014
<a href="#attr_moveType">moveType</a>
2017
<li class="index-item attr">
2018
<a href="#attr_nodes">nodes</a>
2021
<li class="index-item attr">
2022
<a href="#attr_opacity">opacity</a>
2025
<li class="index-item attr">
2026
<a href="#attr_opacityNode">opacityNode</a>
2034
<div class="index-section events">
2037
<ul class="index-list events">
2039
<li class="index-item event">
2040
<a href="#event_copy">copy</a>
2045
<li class="index-item event inherited">
2046
<a href="#event_destroy">destroy</a>
2051
<li class="index-item event inherited">
2052
<a href="#event_init">init</a>
2057
<li class="index-item event">
2058
<a href="#event_insert">insert</a>
2063
<li class="index-item event">
2064
<a href="#event_move">move</a>
2069
<li class="index-item event">
2070
<a href="#event_moved">moved</a>
2075
<li class="index-item event">
2076
<a href="#event_swap">swap</a>
2087
<div id="methods" class="api-class-tabpanel">
2088
<h2 class="off-left">Methods</h2>
2091
<div id="method__addAttrs" class="method item private inherited">
2092
<h3 class="name"><code>_addAttrs</code></h3>
2096
<span class="paren">(</span><ul class="args-list inline commas">
2116
</ul><span class="paren">)</span>
2125
<span class="flag private">private</span>
2138
<a href="../classes/AttributeCore.html#method__addAttrs">AttributeCore</a>:
2142
<a href="../files/attribute_js_AttributeCore.js.html#l740"><code>attribute/js/AttributeCore.js:740</code></a>
2152
<div class="description">
2153
<p>Implementation behind the public addAttrs method. </p>
2155
<p>This method is invoked directly by get if it encounters a scenario
2156
in which an attribute's valueFn attempts to obtain the
2157
value an attribute in the same group of attributes, which has not yet
2158
been added (on demand initialization).</p>
2162
<div class="params">
2163
<h4>Parameters:</h4>
2165
<ul class="params-list">
2169
<code class="param-name">cfgs</code>
2170
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2175
<div class="param-description">
2176
<p>An object with attribute name/configuration pairs.</p>
2184
<code class="param-name">values</code>
2185
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2190
<div class="param-description">
2191
<p>An object with attribute name/value pairs, defining the initial values to apply.
2192
Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p>
2200
<code class="param-name">lazy</code>
2201
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
2206
<div class="param-description">
2207
<p>Whether or not to delay the intialization of these attributes until the first call to get/set.
2208
Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration.
2209
See <a href="#method_addAttr">addAttr</a>.</p>
2225
<div id="method__addLazyAttr" class="method item private inherited">
2226
<h3 class="name"><code>_addLazyAttr</code></h3>
2230
<span class="paren">(</span><ul class="args-list inline commas">
2238
</ul><span class="paren">)</span>
2247
<span class="flag private">private</span>
2260
<a href="../classes/AttributeCore.html#method__addLazyAttr">AttributeCore</a>:
2264
<a href="../files/attribute_js_AttributeCore.js.html#l312"><code>attribute/js/AttributeCore.js:312</code></a>
2274
<div class="description">
2275
<p>Finishes initializing an attribute which has been lazily added.</p>
2279
<div class="params">
2280
<h4>Parameters:</h4>
2282
<ul class="params-list">
2286
<code class="param-name">name</code>
2287
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2292
<div class="param-description">
2293
<p>The name of the attribute</p>
2309
<div id="method__aggregateAttrs" class="method item private inherited">
2310
<h3 class="name"><code>_aggregateAttrs</code></h3>
2314
<span class="paren">(</span><ul class="args-list inline commas">
2318
<code>allAttrs</code>
2322
</ul><span class="paren">)</span>
2327
<span class="returns-inline">
2328
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2335
<span class="flag private">private</span>
2348
<a href="../classes/BaseCore.html#method__aggregateAttrs">BaseCore</a>:
2352
<a href="../files/base_js_BaseCore.js.html#l426"><code>base/js/BaseCore.js:426</code></a>
2362
<div class="description">
2363
<p>A helper method, used by _initHierarchyData to aggregate
2364
attribute configuration across the instances class hierarchy.</p>
2366
<p>The method will protect the attribute configuration value to protect the statically defined
2367
default value in ATTRS if required (if the value is an object literal, array or the
2368
attribute configuration has cloneDefaultValue set to shallow or deep).</p>
2372
<div class="params">
2373
<h4>Parameters:</h4>
2375
<ul class="params-list">
2379
<code class="param-name">allAttrs</code>
2380
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
2385
<div class="param-description">
2386
<p>An array of ATTRS definitions across classes in the hierarchy
2387
(subclass first, Base last)</p>
2398
<div class="returns">
2401
<div class="returns-description">
2404
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
2406
The aggregate set of ATTRS definitions for the instance
2416
<div id="method__attrCfgHash" class="method item private inherited">
2417
<h3 class="name"><code>_attrCfgHash</code></h3>
2420
<span class="paren">()</span>
2428
<span class="flag private">private</span>
2440
<a href="../classes/BaseCore.html#method__attrCfgHash">
2448
<a href="../files/base_js_Base.js.html#l180"><code>base/js/Base.js:180</code></a>
2458
<div class="description">
2459
<p>Utility method to define the attribute hash used to filter/whitelist property mixes for
2471
<div id="method__baseDestroy" class="method item private inherited">
2472
<h3 class="name"><code>_baseDestroy</code></h3>
2475
<span class="paren">()</span>
2483
<span class="flag private">private</span>
2496
<a href="../classes/BaseCore.html#method__baseDestroy">BaseCore</a>:
2500
<a href="../files/base_js_BaseCore.js.html#l263"><code>base/js/BaseCore.js:263</code></a>
2510
<div class="description">
2511
<p>Internal destroy implementation for BaseCore</p>
2522
<div id="method__baseInit" class="method item private inherited">
2523
<h3 class="name"><code>_baseInit</code></h3>
2526
<span class="paren">()</span>
2534
<span class="flag private">private</span>
2547
<a href="../classes/BaseCore.html#method__baseInit">BaseCore</a>:
2551
<a href="../files/base_js_BaseCore.js.html#l235"><code>base/js/BaseCore.js:235</code></a>
2561
<div class="description">
2562
<p>Internal initialization implementation for BaseCore</p>
2573
<div id="method__defAttrChangeFn" class="method item private inherited">
2574
<h3 class="name"><code>_defAttrChangeFn</code></h3>
2578
<span class="paren">(</span><ul class="args-list inline commas">
2586
</ul><span class="paren">)</span>
2595
<span class="flag private">private</span>
2608
<a href="../classes/AttributeEvents.html#method__defAttrChangeFn">AttributeEvents</a>:
2612
<a href="../files/attribute_js_AttributeEvents.js.html#l148"><code>attribute/js/AttributeEvents.js:148</code></a>
2622
<div class="description">
2623
<p>Default function for attribute change events.</p>
2627
<div class="params">
2628
<h4>Parameters:</h4>
2630
<ul class="params-list">
2634
<code class="param-name">e</code>
2635
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2640
<div class="param-description">
2641
<p>The event object for attribute change events.</p>
2657
<div id="method__defDestroyFn" class="method item protected inherited">
2658
<h3 class="name"><code>_defDestroyFn</code></h3>
2662
<span class="paren">(</span><ul class="args-list inline commas">
2670
</ul><span class="paren">)</span>
2679
<span class="flag protected">protected</span>
2692
<a href="../classes/Base.html#method__defDestroyFn">Base</a>:
2696
<a href="../files/base_js_Base.js.html#l325"><code>base/js/Base.js:325</code></a>
2706
<div class="description">
2707
<p>Default destroy event handler</p>
2711
<div class="params">
2712
<h4>Parameters:</h4>
2714
<ul class="params-list">
2718
<code class="param-name">e</code>
2719
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2724
<div class="param-description">
2741
<div id="method__defInitFn" class="method item protected inherited">
2742
<h3 class="name"><code>_defInitFn</code></h3>
2746
<span class="paren">(</span><ul class="args-list inline commas">
2754
</ul><span class="paren">)</span>
2763
<span class="flag protected">protected</span>
2776
<a href="../classes/Base.html#method__defInitFn">Base</a>:
2780
<a href="../files/base_js_Base.js.html#l313"><code>base/js/Base.js:313</code></a>
2790
<div class="description">
2791
<p>Default init event handler</p>
2795
<div class="params">
2796
<h4>Parameters:</h4>
2798
<ul class="params-list">
2802
<code class="param-name">e</code>
2803
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2808
<div class="param-description">
2809
<p>Event object, with a cfg property which
2810
refers to the configuration object passed to the constructor.</p>
2826
<div id="method__destroyHierarchy" class="method item private inherited">
2827
<h3 class="name"><code>_destroyHierarchy</code></h3>
2830
<span class="paren">()</span>
2838
<span class="flag private">private</span>
2851
<a href="../classes/BaseCore.html#method__destroyHierarchy">BaseCore</a>:
2855
<a href="../files/base_js_BaseCore.js.html#l559"><code>base/js/BaseCore.js:559</code></a>
2865
<div class="description">
2866
<p>Destroys the class hierarchy for this instance by invoking
2867
the destructor method on the prototype of each class in the hierarchy.</p>
2878
<div id="method__filterAdHocAttrs" class="method item private inherited">
2879
<h3 class="name"><code>_filterAdHocAttrs</code></h3>
2883
<span class="paren">(</span><ul class="args-list inline commas">
2887
<code>allAttrs</code>
2893
<code>userVals</code>
2897
</ul><span class="paren">)</span>
2902
<span class="returns-inline">
2903
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2910
<span class="flag private">private</span>
2923
<a href="../classes/BaseCore.html#method__filterAdHocAttrs">BaseCore</a>:
2927
<a href="../files/base_js_BaseCore.js.html#l342"><code>base/js/BaseCore.js:342</code></a>
2937
<div class="description">
2942
<div class="params">
2943
<h4>Parameters:</h4>
2945
<ul class="params-list">
2949
<code class="param-name">allAttrs</code>
2950
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2955
<div class="param-description">
2956
<p>The set of all attribute configurations for this instance.
2957
Attributes will be removed from this set, if they belong to the filtered class, so
2958
that by the time all classes are processed, allCfgs will be empty.</p>
2966
<code class="param-name">userVals</code>
2967
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2972
<div class="param-description">
2973
<p>The config object passed in by the user, from which adhoc attrs are to be filtered.</p>
2984
<div class="returns">
2987
<div class="returns-description">
2990
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
2992
The set of adhoc attributes passed in, in the form
2993
of an object with attribute name/configuration pairs.
3003
<div id="method__filterAttrCfs" class="method item private inherited">
3004
<h3 class="name"><code>_filterAttrCfs</code></h3>
3008
<span class="paren">(</span><ul class="args-list inline commas">
3018
<code>allCfgs</code>
3022
</ul><span class="paren">)</span>
3027
<span class="returns-inline">
3028
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3035
<span class="flag private">private</span>
3048
<a href="../classes/BaseCore.html#method__filterAttrCfs">BaseCore</a>:
3052
<a href="../files/base_js_BaseCore.js.html#l310"><code>base/js/BaseCore.js:310</code></a>
3062
<div class="description">
3063
<p>A helper method used when processing ATTRS across the class hierarchy during
3064
initialization. Returns a disposable object with the attributes defined for
3065
the provided class, extracted from the set of all attributes passed in.</p>
3069
<div class="params">
3070
<h4>Parameters:</h4>
3072
<ul class="params-list">
3076
<code class="param-name">clazz</code>
3077
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
3082
<div class="param-description">
3083
<p>The class for which the desired attributes are required.</p>
3091
<code class="param-name">allCfgs</code>
3092
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3097
<div class="param-description">
3098
<p>The set of all attribute configurations for this instance.
3099
Attributes will be removed from this set, if they belong to the filtered class, so
3100
that by the time all classes are processed, allCfgs will be empty.</p>
3111
<div class="returns">
3114
<div class="returns-description">
3117
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3119
The set of attributes belonging to the class passed in, in the form
3120
of an object with attribute name/configuration pairs.
3130
<div id="method__fireAttrChange" class="method item private inherited">
3131
<h3 class="name"><code>_fireAttrChange</code></h3>
3135
<span class="paren">(</span><ul class="args-list inline commas">
3139
<code>attrName</code>
3145
<code>subAttrName</code>
3151
<code>currVal</code>
3167
</ul><span class="paren">)</span>
3176
<span class="flag private">private</span>
3189
<a href="../classes/AttributeEvents.html#method__fireAttrChange">AttributeEvents</a>:
3193
<a href="../files/attribute_js_AttributeEvents.js.html#l94"><code>attribute/js/AttributeEvents.js:94</code></a>
3203
<div class="description">
3204
<p>Utility method to help setup the event payload and fire the attribute change event.</p>
3208
<div class="params">
3209
<h4>Parameters:</h4>
3211
<ul class="params-list">
3215
<code class="param-name">attrName</code>
3216
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3221
<div class="param-description">
3222
<p>The name of the attribute</p>
3230
<code class="param-name">subAttrName</code>
3231
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3236
<div class="param-description">
3237
<p>The full path of the property being changed,
3238
if this is a sub-attribute value being change. Otherwise null.</p>
3246
<code class="param-name">currVal</code>
3247
<span class="type">Any</span>
3252
<div class="param-description">
3253
<p>The current value of the attribute</p>
3261
<code class="param-name">newVal</code>
3262
<span class="type">Any</span>
3267
<div class="param-description">
3268
<p>The new value of the attribute</p>
3276
<code class="param-name">opts</code>
3277
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3282
<div class="param-description">
3283
<p>Any additional event data to mix into the attribute change event's event facade.</p>
3299
<div id="method__getAttr" class="method item protected inherited">
3300
<h3 class="name"><code>_getAttr</code></h3>
3304
<span class="paren">(</span><ul class="args-list inline commas">
3312
</ul><span class="paren">)</span>
3317
<span class="returns-inline">
3318
<span class="type">Any</span>
3325
<span class="flag protected">protected</span>
3333
<span class="flag chainable">chainable</span>
3340
<a href="../classes/AttributeCore.html#method__getAttr">AttributeCore</a>:
3344
<a href="../files/attribute_js_AttributeCore.js.html#l468"><code>attribute/js/AttributeCore.js:468</code></a>
3354
<div class="description">
3355
<p>Provides the common implementation for the public get method,
3356
allowing Attribute hosts to over-ride either method.</p>
3358
<p>See <a href="#method_get">get</a> for argument details.</p>
3362
<div class="params">
3363
<h4>Parameters:</h4>
3365
<ul class="params-list">
3369
<code class="param-name">name</code>
3370
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3375
<div class="param-description">
3376
<p>The name of the attribute.</p>
3387
<div class="returns">
3390
<div class="returns-description">
3393
<span class="type">Any</span>:
3395
The value of the attribute.
3405
<div id="method__getAttrCfg" class="method item protected inherited">
3406
<h3 class="name"><code>_getAttrCfg</code></h3>
3410
<span class="paren">(</span><ul class="args-list inline commas">
3418
</ul><span class="paren">)</span>
3423
<span class="returns-inline">
3424
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3431
<span class="flag protected">protected</span>
3444
<a href="../classes/AttributeExtras.html#method__getAttrCfg">AttributeExtras</a>:
3448
<a href="../files/attribute_js_AttributeExtras.js.html#l112"><code>attribute/js/AttributeExtras.js:112</code></a>
3458
<div class="description">
3459
<p>Returns an object with the configuration properties (and value)
3460
for the given attribute. If attrName is not provided, returns the
3461
configuration properties for all attributes.</p>
3465
<div class="params">
3466
<h4>Parameters:</h4>
3468
<ul class="params-list">
3472
<code class="param-name">name</code>
3473
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3478
<div class="param-description">
3479
<p>Optional. The attribute name. If not provided, the method will return the configuration for all attributes.</p>
3490
<div class="returns">
3493
<div class="returns-description">
3496
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3498
The configuration properties for the given attribute, or all attributes.
3508
<div id="method__getAttrCfgs" class="method item protected inherited">
3509
<h3 class="name"><code>_getAttrCfgs</code></h3>
3512
<span class="paren">()</span>
3516
<span class="returns-inline">
3517
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3524
<span class="flag protected">protected</span>
3537
<a href="../classes/BaseCore.html#method__getAttrCfgs">BaseCore</a>:
3541
<a href="../files/base_js_BaseCore.js.html#l293"><code>base/js/BaseCore.js:293</code></a>
3551
<div class="description">
3552
<p>Returns an aggregated set of attribute configurations, by traversing
3553
the class hierarchy.</p>
3559
<div class="returns">
3562
<div class="returns-description">
3565
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3567
The hash of attribute configurations, aggregated across classes in the hierarchy
3568
This value is cached the first time the method, or _getClasses, is invoked. Subsequent invocations return
3579
<div id="method__getAttrInitVal" class="method item private inherited">
3580
<h3 class="name"><code>_getAttrInitVal</code></h3>
3584
<span class="paren">(</span><ul class="args-list inline commas">
3600
<code>initValues</code>
3604
</ul><span class="paren">)</span>
3609
<span class="returns-inline">
3610
<span class="type">Any</span>
3617
<span class="flag private">private</span>
3629
<a href="../classes/Attribute.html#method__getAttrInitVal">
3637
<a href="../files/attribute_js_AttributeCore.js.html#l823"><code>attribute/js/AttributeCore.js:823</code></a>
3647
<div class="description">
3648
<p>Returns the initial value of the given attribute from
3649
either the default configuration provided, or the
3650
over-ridden value if it exists in the set of initValues
3651
provided and the attribute is not read-only.</p>
3655
<div class="params">
3656
<h4>Parameters:</h4>
3658
<ul class="params-list">
3662
<code class="param-name">attr</code>
3663
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3668
<div class="param-description">
3669
<p>The name of the attribute</p>
3677
<code class="param-name">cfg</code>
3678
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3683
<div class="param-description">
3684
<p>The attribute configuration object</p>
3692
<code class="param-name">initValues</code>
3693
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3698
<div class="param-description">
3699
<p>The object with simple and complex attribute name/value pairs returned from _normAttrVals</p>
3710
<div class="returns">
3713
<div class="returns-description">
3716
<span class="type">Any</span>:
3718
The initial value of the attribute.
3728
<div id="method__getAttrs" class="method item protected inherited">
3729
<h3 class="name"><code>_getAttrs</code></h3>
3733
<span class="paren">(</span><ul class="args-list inline commas">
3741
</ul><span class="paren">)</span>
3746
<span class="returns-inline">
3747
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3754
<span class="flag protected">protected</span>
3767
<a href="../classes/AttributeCore.html#method__getAttrs">AttributeCore</a>:
3771
<a href="../files/attribute_js_AttributeCore.js.html#l677"><code>attribute/js/AttributeCore.js:677</code></a>
3781
<div class="description">
3782
<p>Implementation behind the public getAttrs method, to get multiple attribute values.</p>
3786
<div class="params">
3787
<h4>Parameters:</h4>
3789
<ul class="params-list">
3793
<code class="param-name">attrs</code>
3794
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span>
3799
<div class="param-description">
3800
<p>Optional. An array of attribute names. If omitted, all attribute values are
3801
returned. If set to true, all attributes modified from their initial values are returned.</p>
3812
<div class="returns">
3815
<div class="returns-description">
3818
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3820
An object with attribute name/value pairs.
3830
<div id="method__getClasses" class="method item protected inherited">
3831
<h3 class="name"><code>_getClasses</code></h3>
3834
<span class="paren">()</span>
3838
<span class="returns-inline">
3839
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>
3846
<span class="flag protected">protected</span>
3859
<a href="../classes/BaseCore.html#method__getClasses">BaseCore</a>:
3863
<a href="../files/base_js_BaseCore.js.html#l277"><code>base/js/BaseCore.js:277</code></a>
3873
<div class="description">
3874
<p>Returns the class hierarchy for this object, with BaseCore being the last class in the array.</p>
3880
<div class="returns">
3883
<div class="returns-description">
3886
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>:
3888
An array of classes (constructor functions), making up the class hierarchy for this object.
3889
This value is cached the first time the method, or _getAttrCfgs, is invoked. Subsequent invocations return the
3900
<div id="method__getStateVal" class="method item private inherited">
3901
<h3 class="name"><code>_getStateVal</code></h3>
3905
<span class="paren">(</span><ul class="args-list inline commas">
3913
</ul><span class="paren">)</span>
3918
<span class="returns-inline">
3919
<span class="type">Any</span>
3926
<span class="flag private">private</span>
3939
<a href="../classes/AttributeCore.html#method__getStateVal">AttributeCore</a>:
3943
<a href="../files/attribute_js_AttributeCore.js.html#l522"><code>attribute/js/AttributeCore.js:522</code></a>
3953
<div class="description">
3954
<p>Gets the stored value for the attribute, from either the
3955
internal state object, or the state proxy if it exits</p>
3959
<div class="params">
3960
<h4>Parameters:</h4>
3962
<ul class="params-list">
3966
<code class="param-name">name</code>
3967
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3972
<div class="param-description">
3973
<p>The name of the attribute</p>
3984
<div class="returns">
3987
<div class="returns-description">
3990
<span class="type">Any</span>:
3992
The stored value of the attribute
4002
<div id="method__getType" class="method item private inherited">
4003
<h3 class="name"><code>_getType</code></h3>
4006
<span class="paren">()</span>
4014
<span class="flag private">private</span>
4027
<a href="../classes/EventTarget.html#method__getType">EventTarget</a>:
4031
<a href="../files/event-custom_js_event-target.js.html#l36"><code>event-custom/js/event-target.js:36</code></a>
4041
<div class="description">
4042
<p>If the instance has a prefix attribute and the
4043
event type is not prefixed, the instance prefix is
4044
applied to the supplied type.</p>
4055
<div id="method__initAttrHost" class="method item private inherited">
4056
<h3 class="name"><code>_initAttrHost</code></h3>
4060
<span class="paren">(</span><ul class="args-list inline commas">
4080
</ul><span class="paren">)</span>
4089
<span class="flag private">private</span>
4102
<a href="../classes/AttributeCore.html#method__initAttrHost">AttributeCore</a>:
4106
<a href="../files/attribute_js_AttributeCore.js.html#l109"><code>attribute/js/AttributeCore.js:109</code></a>
4116
<div class="description">
4117
<p>Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the
4122
<div class="params">
4123
<h4>Parameters:</h4>
4125
<ul class="params-list">
4129
<code class="param-name">attrs</code>
4130
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4135
<div class="param-description">
4136
<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>
4144
<code class="param-name">values</code>
4145
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4150
<div class="param-description">
4151
<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>
4159
<code class="param-name">lazy</code>
4160
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4165
<div class="param-description">
4166
<p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p>
4182
<div id="method__initAttribute" class="method item private inherited">
4183
<h3 class="name"><code>_initAttribute</code></h3>
4186
<span class="paren">()</span>
4194
<span class="flag private">private</span>
4206
<a href="../classes/BaseCore.html#method__initAttribute">
4214
<a href="../files/base_js_Base.js.html#l169"><code>base/js/Base.js:169</code></a>
4224
<div class="description">
4225
<p>Initializes Attribute</p>
4236
<div id="method__initAttrs" class="method item protected inherited">
4237
<h3 class="name"><code>_initAttrs</code></h3>
4241
<span class="paren">(</span><ul class="args-list inline commas">
4261
</ul><span class="paren">)</span>
4270
<span class="flag protected">protected</span>
4283
<a href="../classes/AttributeCore.html#method__initAttrs">AttributeCore</a>:
4287
<a href="../files/attribute_js_AttributeCore.js.html#l862"><code>attribute/js/AttributeCore.js:862</code></a>
4297
<div class="description">
4298
<p>Utility method to set up initial attributes defined during construction, either through the constructor.ATTRS property, or explicitly passed in.</p>
4302
<div class="params">
4303
<h4>Parameters:</h4>
4305
<ul class="params-list">
4309
<code class="param-name">attrs</code>
4310
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4315
<div class="param-description">
4316
<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>
4324
<code class="param-name">values</code>
4325
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4330
<div class="param-description">
4331
<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>
4339
<code class="param-name">lazy</code>
4340
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4345
<div class="param-description">
4346
<p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p>
4362
<div id="method__initBase" class="method item private inherited">
4363
<h3 class="name"><code>_initBase</code></h3>
4367
<span class="paren">(</span><ul class="args-list inline commas">
4375
</ul><span class="paren">)</span>
4384
<span class="flag private">private</span>
4396
<a href="../classes/BaseCore.html#method__initBase">
4404
<a href="../files/base_js_Base.js.html#l154"><code>base/js/Base.js:154</code></a>
4414
<div class="description">
4415
<p>Internal construction logic for Base.</p>
4419
<div class="params">
4420
<h4>Parameters:</h4>
4422
<ul class="params-list">
4426
<code class="param-name">config</code>
4427
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4432
<div class="param-description">
4433
<p>The constructor configuration object</p>
4449
<div id="method__initHierarchy" class="method item private inherited">
4450
<h3 class="name"><code>_initHierarchy</code></h3>
4454
<span class="paren">(</span><ul class="args-list inline commas">
4458
<code>userVals</code>
4462
</ul><span class="paren">)</span>
4471
<span class="flag private">private</span>
4484
<a href="../classes/BaseCore.html#method__initHierarchy">BaseCore</a>:
4488
<a href="../files/base_js_BaseCore.js.html#l501"><code>base/js/BaseCore.js:501</code></a>
4498
<div class="description">
4499
<p>Initializes the class hierarchy for the instance, which includes
4500
initializing attributes for each class defined in the class's
4501
static <a href="#property_BaseCore.ATTRS">ATTRS</a> property and
4502
invoking the initializer method on the prototype of each class in the hierarchy.</p>
4506
<div class="params">
4507
<h4>Parameters:</h4>
4509
<ul class="params-list">
4513
<code class="param-name">userVals</code>
4514
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4519
<div class="param-description">
4520
<p>Object with configuration property name/value pairs</p>
4536
<div id="method__initHierarchyData" class="method item private inherited">
4537
<h3 class="name"><code>_initHierarchyData</code></h3>
4540
<span class="paren">()</span>
4548
<span class="flag private">private</span>
4561
<a href="../classes/BaseCore.html#method__initHierarchyData">BaseCore</a>:
4565
<a href="../files/base_js_BaseCore.js.html#l372"><code>base/js/BaseCore.js:372</code></a>
4575
<div class="description">
4576
<p>A helper method used by _getClasses and _getAttrCfgs, which determines both
4577
the array of classes and aggregate set of attribute configurations
4578
across the class hierarchy for the instance.</p>
4589
<div id="method__isLazyAttr" class="method item private inherited">
4590
<h3 class="name"><code>_isLazyAttr</code></h3>
4594
<span class="paren">(</span><ul class="args-list inline commas">
4602
</ul><span class="paren">)</span>
4607
<span class="returns-inline">
4608
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4615
<span class="flag private">private</span>
4628
<a href="../classes/AttributeCore.html#method__isLazyAttr">AttributeCore</a>:
4632
<a href="../files/attribute_js_AttributeCore.js.html#l299"><code>attribute/js/AttributeCore.js:299</code></a>
4642
<div class="description">
4643
<p>Checks whether or not the attribute is one which has been
4644
added lazily and still requires initialization.</p>
4648
<div class="params">
4649
<h4>Parameters:</h4>
4651
<ul class="params-list">
4655
<code class="param-name">name</code>
4656
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4661
<div class="param-description">
4662
<p>The name of the attribute</p>
4673
<div class="returns">
4676
<div class="returns-description">
4679
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
4681
true if it's a lazily added attribute, false otherwise.
4691
<div id="method__join_full" class="method item private">
4692
<h3 class="name"><code>_join_full</code></h3>
4696
<span class="paren">(</span><ul class="args-list inline commas">
4700
<code>Sortable</code>
4704
</ul><span class="paren">)</span>
4713
<span class="flag private">private</span>
4733
<a href="../files/sortable_js_sortable.js.html#l269"><code>sortable/js/sortable.js:269</code></a>
4743
<div class="description">
4744
<p>Joins both of the Sortables together.</p>
4748
<div class="params">
4749
<h4>Parameters:</h4>
4751
<ul class="params-list">
4755
<code class="param-name">Sortable</code>
4756
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4761
<div class="param-description">
4762
<p>sel The Sortable list to join with</p>
4778
<div id="method__join_inner" class="method item private">
4779
<h3 class="name"><code>_join_inner</code></h3>
4783
<span class="paren">(</span><ul class="args-list inline commas">
4787
<code>Sortable</code>
4791
</ul><span class="paren">)</span>
4800
<span class="flag private">private</span>
4820
<a href="../files/sortable_js_sortable.js.html#l288"><code>sortable/js/sortable.js:288</code></a>
4830
<div class="description">
4831
<p>Allows this Sortable to give items to the passed Sortable.</p>
4835
<div class="params">
4836
<h4>Parameters:</h4>
4838
<ul class="params-list">
4842
<code class="param-name">Sortable</code>
4843
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4848
<div class="param-description">
4849
<p>sel The Sortable list to join with</p>
4865
<div id="method__join_none" class="method item private">
4866
<h3 class="name"><code>_join_none</code></h3>
4870
<span class="paren">(</span><ul class="args-list inline commas">
4874
<code>Sortable</code>
4878
</ul><span class="paren">)</span>
4887
<span class="flag private">private</span>
4907
<a href="../files/sortable_js_sortable.js.html#l259"><code>sortable/js/sortable.js:259</code></a>
4917
<div class="description">
4918
<p>Removes the join with the passed Sortable.</p>
4922
<div class="params">
4923
<h4>Parameters:</h4>
4925
<ul class="params-list">
4929
<code class="param-name">Sortable</code>
4930
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4935
<div class="param-description">
4936
<p>sel The Sortable to remove the join from</p>
4952
<div id="method__join_outer" class="method item private">
4953
<h3 class="name"><code>_join_outer</code></h3>
4957
<span class="paren">(</span><ul class="args-list inline commas">
4961
<code>Sortable</code>
4965
</ul><span class="paren">)</span>
4974
<span class="flag private">private</span>
4994
<a href="../files/sortable_js_sortable.js.html#l279"><code>sortable/js/sortable.js:279</code></a>
5004
<div class="description">
5005
<p>Allows this Sortable to accept items from the passed Sortable.</p>
5009
<div class="params">
5010
<h4>Parameters:</h4>
5012
<ul class="params-list">
5016
<code class="param-name">Sortable</code>
5017
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5022
<div class="param-description">
5023
<p>sel The Sortable list to join with</p>
5039
<div id="method__monitor" class="method item private inherited">
5040
<h3 class="name"><code>_monitor</code></h3>
5044
<span class="paren">(</span><ul class="args-list inline commas">
5064
</ul><span class="paren">)</span>
5073
<span class="flag private">private</span>
5086
<a href="../classes/EventTarget.html#method__monitor">EventTarget</a>:
5090
<a href="../files/event-custom_js_event-target.js.html#l602"><code>event-custom/js/event-target.js:602</code></a>
5100
<div class="description">
5101
<p>This is the entry point for the event monitoring system.
5102
You can monitor 'attach', 'detach', 'fire', and 'publish'.
5103
When configured, these events generate an event. click ->
5104
click<em>attach, click</em>detach, click_publish -- these can
5105
be subscribed to like other events to monitor the event
5106
system. Inividual published events can have monitoring
5107
turned on or off (publish can't be turned off before it
5108
it published) by setting the events 'monitor' config.</p>
5112
<div class="params">
5113
<h4>Parameters:</h4>
5115
<ul class="params-list">
5119
<code class="param-name">what</code>
5120
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5125
<div class="param-description">
5126
<p>'attach', 'detach', 'fire', or 'publish'</p>
5134
<code class="param-name">type</code>
5135
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5140
<div class="param-description">
5141
<p>Name of the event being monitored</p>
5149
<code class="param-name">o</code>
5150
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5155
<div class="param-description">
5156
<p>Information about the event interaction, such as
5157
fire() args, subscription category, publish config</p>
5173
<div id="method__normAttrVals" class="method item private inherited">
5174
<h3 class="name"><code>_normAttrVals</code></h3>
5178
<span class="paren">(</span><ul class="args-list inline commas">
5182
<code>valueHash</code>
5186
</ul><span class="paren">)</span>
5191
<span class="returns-inline">
5192
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5199
<span class="flag private">private</span>
5211
<a href="../classes/Attribute.html#method__normAttrVals">
5219
<a href="../files/attribute_js_AttributeCore.js.html#l808"><code>attribute/js/AttributeCore.js:808</code></a>
5229
<div class="description">
5230
<p>Utility method to normalize attribute values. The base implementation
5231
simply merges the hash to protect the original.</p>
5235
<div class="params">
5236
<h4>Parameters:</h4>
5238
<ul class="params-list">
5242
<code class="param-name">valueHash</code>
5243
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5248
<div class="param-description">
5249
<p>An object with attribute name/value pairs</p>
5260
<div class="returns">
5263
<div class="returns-description">
5266
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5277
<div id="method__onDragEnd" class="method item private">
5278
<h3 class="name"><code>_onDragEnd</code></h3>
5282
<span class="paren">(</span><ul class="args-list inline commas">
5290
</ul><span class="paren">)</span>
5299
<span class="flag private">private</span>
5319
<a href="../files/sortable_js_sortable.js.html#l186"><code>sortable/js/sortable.js:186</code></a>
5329
<div class="description">
5330
<p>Handles the DragEnd event that cleans up the settings in the drag:start event.</p>
5334
<div class="params">
5335
<h4>Parameters:</h4>
5337
<ul class="params-list">
5341
<code class="param-name">Event</code>
5342
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5347
<div class="param-description">
5348
<p>e The Event Object</p>
5364
<div id="method__onDragOver" class="method item private">
5365
<h3 class="name"><code>_onDragOver</code></h3>
5369
<span class="paren">(</span><ul class="args-list inline commas">
5377
</ul><span class="paren">)</span>
5386
<span class="flag private">private</span>
5406
<a href="../files/sortable_js_sortable.js.html#l100"><code>sortable/js/sortable.js:100</code></a>
5416
<div class="description">
5417
<p>Handles the DragOver event that moves the object in the list or to another list.</p>
5421
<div class="params">
5422
<h4>Parameters:</h4>
5424
<ul class="params-list">
5428
<code class="param-name">Event</code>
5429
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5434
<div class="param-description">
5435
<p>e The Event Object</p>
5451
<div id="method__onDragStart" class="method item private">
5452
<h3 class="name"><code>_onDragStart</code></h3>
5456
<span class="paren">(</span><ul class="args-list inline commas">
5464
</ul><span class="paren">)</span>
5473
<span class="flag private">private</span>
5493
<a href="../files/sortable_js_sortable.js.html#l175"><code>sortable/js/sortable.js:175</code></a>
5503
<div class="description">
5504
<p>Handles the DragStart event and initializes some settings.</p>
5508
<div class="params">
5509
<h4>Parameters:</h4>
5511
<ul class="params-list">
5515
<code class="param-name">Event</code>
5516
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5521
<div class="param-description">
5522
<p>e The Event Object</p>
5538
<div id="method__onDropOver" class="method item private">
5539
<h3 class="name"><code>_onDropOver</code></h3>
5543
<span class="paren">(</span><ul class="args-list inline commas">
5551
</ul><span class="paren">)</span>
5560
<span class="flag private">private</span>
5580
<a href="../files/sortable_js_sortable.js.html#l86"><code>sortable/js/sortable.js:86</code></a>
5590
<div class="description">
5591
<p>Handles the DropOver event to append a drop node to an empty target</p>
5595
<div class="params">
5596
<h4>Parameters:</h4>
5598
<ul class="params-list">
5602
<code class="param-name">Event</code>
5603
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5608
<div class="param-description">
5609
<p>e The Event Object</p>
5625
<div id="method__parseType" class="method item private inherited">
5626
<h3 class="name"><code>_parseType</code></h3>
5629
<span class="paren">()</span>
5637
<span class="flag private">private</span>
5650
<a href="../classes/EventTarget.html#method__parseType">EventTarget</a>:
5654
<a href="../files/event-custom_js_event-target.js.html#l52"><code>event-custom/js/event-target.js:52</code></a>
5664
<div class="description">
5665
<p>Returns an array with the detach key (if provided),
5666
and the prefixed event name from _getType
5667
Y.on('detachcategory| menu:click', fn)</p>
5678
<div id="method__preInitEventCfg" class="method item private inherited">
5679
<h3 class="name"><code>_preInitEventCfg</code></h3>
5683
<span class="paren">(</span><ul class="args-list inline commas">
5691
</ul><span class="paren">)</span>
5700
<span class="flag private">private</span>
5713
<a href="../classes/Base.html#method__preInitEventCfg">Base</a>:
5717
<a href="../files/base_js_Base.js.html#l233"><code>base/js/Base.js:233</code></a>
5727
<div class="description">
5728
<p>Handles the special on, after and target properties which allow the user to
5729
easily configure on and after listeners as well as bubble targets during
5730
construction, prior to init.</p>
5734
<div class="params">
5735
<h4>Parameters:</h4>
5737
<ul class="params-list">
5741
<code class="param-name">config</code>
5742
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5747
<div class="param-description">
5748
<p>The user configuration object</p>
5764
<div id="method__protectAttrs" class="method item protected inherited">
5765
<h3 class="name"><code>_protectAttrs</code></h3>
5769
<span class="paren">(</span><ul class="args-list inline commas">
5777
</ul><span class="paren">)</span>
5782
<span class="returns-inline">
5783
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5790
<span class="flag protected">protected</span>
5803
<a href="../classes/AttributeCore.html#method__protectAttrs">AttributeCore</a>:
5807
<a href="../files/attribute_js_AttributeCore.js.html#l786"><code>attribute/js/AttributeCore.js:786</code></a>
5817
<div class="description">
5818
<p>Utility method to protect an attribute configuration
5819
hash, by merging the entire object and the individual
5820
attr config objects.</p>
5824
<div class="params">
5825
<h4>Parameters:</h4>
5827
<ul class="params-list">
5831
<code class="param-name">attrs</code>
5832
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5837
<div class="param-description">
5838
<p>A hash of attribute to configuration object pairs.</p>
5849
<div class="returns">
5852
<div class="returns-description">
5855
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5857
A protected version of the attrs argument.
5867
<div id="method__set" class="method item protected inherited">
5868
<h3 class="name"><code>_set</code></h3>
5872
<span class="paren">(</span><ul class="args-list inline commas">
5886
</ul><span class="paren">)</span>
5891
<span class="returns-inline">
5892
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5899
<span class="flag protected">protected</span>
5907
<span class="flag chainable">chainable</span>
5913
<a href="../classes/AttributeEvents.html#method__set">
5921
<a href="../files/attribute_js_AttributeCore.js.html#l346"><code>attribute/js/AttributeCore.js:346</code></a>
5931
<div class="description">
5932
<p>Allows setting of readOnly/writeOnce attributes. See <a href="#method_set">set</a> for argument details.</p>
5936
<div class="params">
5937
<h4>Parameters:</h4>
5939
<ul class="params-list">
5943
<code class="param-name">name</code>
5944
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5949
<div class="param-description">
5950
<p>The name of the attribute.</p>
5958
<code class="param-name">val</code>
5959
<span class="type">Any</span>
5964
<div class="param-description">
5965
<p>The value to set the attribute to.</p>
5976
<div class="returns">
5979
<div class="returns-description">
5982
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5984
A reference to the host object.
5994
<div id="method__setAttr" class="method item protected inherited">
5995
<h3 class="name"><code>_setAttr</code></h3>
5999
<span class="paren">(</span><ul class="args-list inline commas">
6025
</ul><span class="paren">)</span>
6030
<span class="returns-inline">
6031
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6038
<span class="flag protected">protected</span>
6046
<span class="flag chainable">chainable</span>
6053
<a href="../classes/AttributeCore.html#method__setAttr">AttributeCore</a>:
6057
<a href="../files/attribute_js_AttributeCore.js.html#l361"><code>attribute/js/AttributeCore.js:361</code></a>
6067
<div class="description">
6068
<p>Provides the common implementation for the public set and protected _set methods.</p>
6070
<p>See <a href="#method_set">set</a> for argument details.</p>
6074
<div class="params">
6075
<h4>Parameters:</h4>
6077
<ul class="params-list">
6081
<code class="param-name">name</code>
6082
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6087
<div class="param-description">
6088
<p>The name of the attribute.</p>
6096
<code class="param-name">value</code>
6097
<span class="type">Any</span>
6102
<div class="param-description">
6103
<p>The value to set the attribute to.</p>
6111
<code class="param-name">opts</code>
6112
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6117
<div class="param-description">
6118
<p>(Optional) Optional event data to be mixed into
6119
the event facade passed to subscribers of the attribute's change event.
6120
This is currently a hack. There's no real need for the AttributeCore implementation
6121
to support this parameter, but breaking it out into AttributeEvents, results in
6122
additional function hops for the critical path. May change in 3.5.0 PR3.</p>
6130
<code class="param-name">force</code>
6131
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6136
<div class="param-description">
6137
<p>If true, allows the caller to set values for
6138
readOnly or writeOnce attributes which have already been set.</p>
6149
<div class="returns">
6152
<div class="returns-description">
6155
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
6157
A reference to the host object.
6167
<div id="method__setAttrs" class="method item protected inherited">
6168
<h3 class="name"><code>_setAttrs</code></h3>
6172
<span class="paren">(</span><ul class="args-list inline commas">
6180
</ul><span class="paren">)</span>
6185
<span class="returns-inline">
6186
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6193
<span class="flag protected">protected</span>
6201
<span class="flag chainable">chainable</span>
6208
<a href="../classes/AttributeCore.html#method__setAttrs">AttributeCore</a>:
6212
<a href="../files/attribute_js_AttributeCore.js.html#l647"><code>attribute/js/AttributeCore.js:647</code></a>
6222
<div class="description">
6223
<p>Implementation behind the public setAttrs method, to set multiple attribute values.</p>
6227
<div class="params">
6228
<h4>Parameters:</h4>
6230
<ul class="params-list">
6234
<code class="param-name">attrs</code>
6235
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6240
<div class="param-description">
6241
<p>An object with attributes name/value pairs.</p>
6252
<div class="returns">
6255
<div class="returns-description">
6258
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
6260
A reference to the host object.
6270
<div id="method__setAttrVal" class="method item private inherited">
6271
<h3 class="name"><code>_setAttrVal</code></h3>
6275
<span class="paren">(</span><ul class="args-list inline commas">
6279
<code>attrName</code>
6285
<code>subAttrName</code>
6291
<code>prevVal</code>
6301
</ul><span class="paren">)</span>
6306
<span class="returns-inline">
6307
<span class="type">Booolean</span>
6314
<span class="flag private">private</span>
6327
<a href="../classes/AttributeCore.html#method__setAttrVal">AttributeCore</a>:
6331
<a href="../files/attribute_js_AttributeCore.js.html#l554"><code>attribute/js/AttributeCore.js:554</code></a>
6341
<div class="description">
6342
<p>Updates the stored value of the attribute in the privately held State object,
6343
if validation and setter passes.</p>
6347
<div class="params">
6348
<h4>Parameters:</h4>
6350
<ul class="params-list">
6354
<code class="param-name">attrName</code>
6355
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6360
<div class="param-description">
6361
<p>The attribute name.</p>
6369
<code class="param-name">subAttrName</code>
6370
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6375
<div class="param-description">
6376
<p>The sub-attribute name, if setting a sub-attribute property ("x.y.z").</p>
6384
<code class="param-name">prevVal</code>
6385
<span class="type">Any</span>
6390
<div class="param-description">
6391
<p>The currently stored value of the attribute.</p>
6399
<code class="param-name">newVal</code>
6400
<span class="type">Any</span>
6405
<div class="param-description">
6406
<p>The value which is going to be stored.</p>
6417
<div class="returns">
6420
<div class="returns-description">
6423
<span class="type">Booolean</span>:
6425
true if the new attribute value was stored, false if not.
6435
<div id="method__setStateVal" class="method item private inherited">
6436
<h3 class="name"><code>_setStateVal</code></h3>
6440
<span class="paren">(</span><ul class="args-list inline commas">
6454
</ul><span class="paren">)</span>
6463
<span class="flag private">private</span>
6476
<a href="../classes/AttributeCore.html#method__setStateVal">AttributeCore</a>:
6480
<a href="../files/attribute_js_AttributeCore.js.html#l536"><code>attribute/js/AttributeCore.js:536</code></a>
6490
<div class="description">
6491
<p>Sets the stored value for the attribute, in either the
6492
internal state object, or the state proxy if it exits</p>
6496
<div class="params">
6497
<h4>Parameters:</h4>
6499
<ul class="params-list">
6503
<code class="param-name">name</code>
6504
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6509
<div class="param-description">
6510
<p>The name of the attribute</p>
6518
<code class="param-name">value</code>
6519
<span class="type">Any</span>
6524
<div class="param-description">
6525
<p>The value of the attribute</p>
6541
<div id="method__test" class="method item">
6542
<h3 class="name"><code>_test</code></h3>
6546
<span class="paren">(</span><ul class="args-list inline commas">
6560
</ul><span class="paren">)</span>
6573
<span class="flag static">static</span>
6589
<a href="../files/sortable_js_sortable.js.html#l393"><code>sortable/js/sortable.js:393</code></a>
6599
<div class="description">
6600
<p>Test a Node or a selector for the container</p>
6604
<div class="params">
6605
<h4>Parameters:</h4>
6607
<ul class="params-list">
6611
<code class="param-name">node</code>
6612
<span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>
6617
<div class="param-description">
6618
<p>The node instance to test.</p>
6626
<code class="param-name">test</code>
6627
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="../classes/Node.html" class="crosslink">Node</a></span>
6632
<div class="param-description">
6633
<p>The node instance or selector string to test against.</p>
6649
<div id="method_addAttr" class="method item inherited">
6650
<h3 class="name"><code>addAttr</code></h3>
6654
<span class="paren">(</span><ul class="args-list inline commas">
6674
</ul><span class="paren">)</span>
6679
<span class="returns-inline">
6680
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6693
<span class="flag chainable">chainable</span>
6700
<a href="../classes/AttributeCore.html#method_addAttr">AttributeCore</a>:
6704
<a href="../files/attribute_js_AttributeCore.js.html#l124"><code>attribute/js/AttributeCore.js:124</code></a>
6714
<div class="description">
6716
Adds an attribute with the provided configuration to the host object.
6720
The config argument object supports the following properties:
6724
<dt>value <Any></dt>
6725
<dd>The initial value to set on the attribute</dd>
6727
<dt>valueFn <Function | String></dt>
6729
<p>A function, which will return the initial value to set on the attribute. This is useful
6730
for cases where the attribute configuration is defined statically, but needs to
6731
reference the host instance ("this") to obtain an initial value. If both the value and valueFn properties are defined,
6732
the value returned by the valueFn has precedence over the value property, unless it returns undefined, in which
6733
case the value property is used.</p>
6735
<p>valueFn can also be set to a string, representing the name of the instance method to be used to retrieve the value.</p>
6738
<dt>readOnly <boolean></dt>
6739
<dd>Whether or not the attribute is read only. Attributes having readOnly set to true
6740
cannot be modified by invoking the set method.</dd>
6742
<dt>writeOnce <boolean> or <string></dt>
6744
Whether or not the attribute is "write once". Attributes having writeOnce set to true,
6745
can only have their values set once, be it through the default configuration,
6746
constructor configuration arguments, or by invoking set.
6747
<p>The writeOnce attribute can also be set to the string "initOnly", in which case the attribute can only be set during initialization
6748
(when used with Base, this means it can only be set during construction)</p>
6751
<dt>setter <Function | String></dt>
6753
<p>The setter function used to massage or normalize the value passed to the set method for the attribute.
6754
The value returned by the setter will be the final stored value. Returning
6755
<a href="#property_Attribute.INVALID_VALUE">Attribute.INVALID_VALUE</a>, from the setter will prevent
6756
the value from being stored.
6759
<p>setter can also be set to a string, representing the name of the instance method to be used as the setter function.</p>
6762
<dt>getter <Function | String></dt>
6765
The getter function used to massage or normalize the value returned by the get method for the attribute.
6766
The value returned by the getter function is the value which will be returned to the user when they
6770
<p>getter can also be set to a string, representing the name of the instance method to be used as the getter function.</p>
6773
<dt>validator <Function | String></dt>
6776
The validator function invoked prior to setting the stored value. Returning
6777
false from the validator function will prevent the value from being stored.
6780
<p>validator can also be set to a string, representing the name of the instance method to be used as the validator function.</p>
6783
<dt>lazyAdd <boolean></dt>
6784
<dd>Whether or not to delay initialization of the attribute until the first call to get/set it.
6785
This flag can be used to over-ride lazy initialization on a per attribute basis, when adding multiple attributes through
6786
the <a href="#method_addAttrs">addAttrs</a> method.</dd>
6790
<p>The setter, getter and validator are invoked with the value and name passed in as the first and second arguments, and with
6791
the context ("this") set to the host object.</p>
6793
<p>Configuration properties outside of the list mentioned above are considered private properties used internally by attribute,
6794
and are not intended for public use.</p>
6798
<div class="params">
6799
<h4>Parameters:</h4>
6801
<ul class="params-list">
6805
<code class="param-name">name</code>
6806
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6811
<div class="param-description">
6812
<p>The name of the attribute.</p>
6820
<code class="param-name">config</code>
6821
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6826
<div class="param-description">
6827
<p>An object with attribute configuration property/value pairs, specifying the configuration for the attribute.</p>
6830
<strong>NOTE:</strong> The configuration object is modified when adding an attribute, so if you need
6831
to protect the original values, you will need to merge the object.
6840
<code class="param-name">lazy</code>
6841
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6846
<div class="param-description">
6847
<p>(optional) Whether or not to add this attribute lazily (on the first call to get/set).</p>
6858
<div class="returns">
6861
<div class="returns-description">
6864
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
6866
A reference to the host object.
6876
<div id="method_addAttrs" class="method item inherited">
6877
<h3 class="name"><code>addAttrs</code></h3>
6881
<span class="paren">(</span><ul class="args-list inline commas">
6901
</ul><span class="paren">)</span>
6906
<span class="returns-inline">
6907
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6920
<span class="flag chainable">chainable</span>
6927
<a href="../classes/AttributeCore.html#method_addAttrs">AttributeCore</a>:
6931
<a href="../files/attribute_js_AttributeCore.js.html#l708"><code>attribute/js/AttributeCore.js:708</code></a>
6941
<div class="description">
6942
<p>Configures a group of attributes, and sets initial values.</p>
6945
<strong>NOTE:</strong> This method does not isolate the configuration object by merging/cloning.
6946
The caller is responsible for merging/cloning the configuration object if required.
6951
<div class="params">
6952
<h4>Parameters:</h4>
6954
<ul class="params-list">
6958
<code class="param-name">cfgs</code>
6959
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6964
<div class="param-description">
6965
<p>An object with attribute name/configuration pairs.</p>
6973
<code class="param-name">values</code>
6974
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6979
<div class="param-description">
6980
<p>An object with attribute name/value pairs, defining the initial values to apply.
6981
Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p>
6989
<code class="param-name">lazy</code>
6990
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6995
<div class="param-description">
6996
<p>Whether or not to delay the intialization of these attributes until the first call to get/set.
6997
Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration.
6998
See <a href="#method_addAttr">addAttr</a>.</p>
7009
<div class="returns">
7012
<div class="returns-description">
7015
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
7017
A reference to the host object.
7027
<div id="method_addTarget" class="method item inherited">
7028
<h3 class="name"><code>addTarget</code></h3>
7032
<span class="paren">(</span><ul class="args-list inline commas">
7040
</ul><span class="paren">)</span>
7060
<a href="../classes/EventTarget.html#method_addTarget">EventTarget</a>:
7064
<a href="../files/event-custom_js_event-facade.js.html#l382"><code>event-custom/js/event-facade.js:382</code></a>
7074
<div class="description">
7075
<p>Registers another EventTarget as a bubble target. Bubble order
7076
is determined by the order registered. Multiple targets can
7079
<p>Events can only bubble if emitFacade is true.</p>
7081
<p>Included in the event-custom-complex submodule.</p>
7085
<div class="params">
7086
<h4>Parameters:</h4>
7088
<ul class="params-list">
7092
<code class="param-name">o</code>
7093
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
7098
<div class="param-description">
7099
<p>the target to add</p>
7115
<div id="method_after" class="method item inherited">
7116
<h3 class="name"><code>after</code></h3>
7120
<span class="paren">(</span><ul class="args-list inline commas">
7136
<code class="optional">[context]</code>
7142
<code class="optional">[arg*]</code>
7146
</ul><span class="paren">)</span>
7151
<span class="returns-inline">
7152
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
7170
<a href="../classes/EventTarget.html#method_after">EventTarget</a>:
7174
<a href="../files/event-custom_js_event-target.js.html#l730"><code>event-custom/js/event-target.js:730</code></a>
7184
<div class="description">
7185
<p>Subscribe to a custom event hosted by this object. The
7186
supplied callback will execute after any listeners add
7187
via the subscribe method, and after the default function,
7188
if configured for the event, has executed.</p>
7192
<div class="params">
7193
<h4>Parameters:</h4>
7195
<ul class="params-list">
7199
<code class="param-name">type</code>
7200
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7205
<div class="param-description">
7206
<p>The name of the event</p>
7214
<code class="param-name">fn</code>
7215
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
7220
<div class="param-description">
7221
<p>The callback to execute in response to the event</p>
7229
<code class="param-name optional">[context]</code>
7230
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7231
<span class="flag optional" title="This parameter is optional.">optional</span>
7236
<div class="param-description">
7237
<p>Override <code>this</code> object in callback</p>
7245
<code class="param-name optional">[arg*]</code>
7246
<span class="type">Any</span>
7247
<span class="flag optional" title="This parameter is optional.">optional</span>
7252
<div class="param-description">
7253
<p>0..n additional arguments to supply to the subscriber</p>
7264
<div class="returns">
7267
<div class="returns-description">
7270
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
7272
A subscription handle capable of detaching the
7283
<div id="method_attrAdded" class="method item inherited">
7284
<h3 class="name"><code>attrAdded</code></h3>
7288
<span class="paren">(</span><ul class="args-list inline commas">
7296
</ul><span class="paren">)</span>
7301
<span class="returns-inline">
7302
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
7320
<a href="../classes/AttributeCore.html#method_attrAdded">AttributeCore</a>:
7324
<a href="../files/attribute_js_AttributeCore.js.html#l272"><code>attribute/js/AttributeCore.js:272</code></a>
7334
<div class="description">
7335
<p>Checks if the given attribute has been added to the host</p>
7339
<div class="params">
7340
<h4>Parameters:</h4>
7342
<ul class="params-list">
7346
<code class="param-name">name</code>
7347
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7352
<div class="param-description">
7353
<p>The name of the attribute to check.</p>
7364
<div class="returns">
7367
<div class="returns-description">
7370
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
7372
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.
7382
<div id="method_before" class="method item inherited">
7383
<h3 class="name"><code>before</code></h3>
7386
<span class="paren">()</span>
7390
<span class="returns-inline">
7391
<span class="type"></span>
7409
<a href="../classes/EventTarget.html#method_before">EventTarget</a>:
7413
<a href="../files/event-custom_js_event-target.js.html#l767"><code>event-custom/js/event-target.js:767</code></a>
7423
<div class="description">
7424
<p>Executes the callback before a DOM event, custom event
7425
or method. If the first argument is a function, it
7426
is assumed the target is a method. For DOM and custom
7427
events, this is an alias for Y.on.</p>
7429
<p>For DOM and custom events:
7430
type, callback, context, 0-n arguments</p>
7433
callback, object (method host), methodName, context, 0-n arguments</p>
7439
<div class="returns">
7442
<div class="returns-description">
7455
<div id="method_bubble" class="method item inherited">
7456
<h3 class="name"><code>bubble</code></h3>
7460
<span class="paren">(</span><ul class="args-list inline commas">
7468
</ul><span class="paren">)</span>
7473
<span class="returns-inline">
7474
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
7492
<a href="../classes/EventTarget.html#method_bubble">EventTarget</a>:
7496
<a href="../files/event-custom_js_event-facade.js.html#l419"><code>event-custom/js/event-facade.js:419</code></a>
7506
<div class="description">
7507
<p>Propagate an event. Requires the event-custom-complex module.</p>
7511
<div class="params">
7512
<h4>Parameters:</h4>
7514
<ul class="params-list">
7518
<code class="param-name">evt</code>
7519
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
7524
<div class="param-description">
7525
<p>the custom event to propagate</p>
7536
<div class="returns">
7539
<div class="returns-description">
7542
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
7544
the aggregated return value from Event.Custom.fire
7554
<div id="method_destroy" class="method item inherited">
7555
<h3 class="name"><code>destroy</code></h3>
7558
<span class="paren">()</span>
7562
<span class="returns-inline">
7563
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>
7576
<span class="flag chainable">chainable</span>
7582
<a href="../classes/BaseCore.html#method_destroy">
7590
<a href="../files/base_js_Base.js.html#l267"><code>base/js/Base.js:267</code></a>
7600
<div class="description">
7602
Destroy lifecycle method. Fires the destroy
7603
event, prior to invoking destructors for the
7608
Subscribers to the destroy
7609
event can invoke preventDefault on the event object, to prevent destruction
7617
<div class="returns">
7620
<div class="returns-description">
7623
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>:
7625
A reference to this object
7635
<div id="method_detach" class="method item inherited">
7636
<h3 class="name"><code>detach</code></h3>
7640
<span class="paren">(</span><ul class="args-list inline commas">
7656
<code>context</code>
7660
</ul><span class="paren">)</span>
7665
<span class="returns-inline">
7666
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
7684
<a href="../classes/EventTarget.html#method_detach">EventTarget</a>:
7688
<a href="../files/event-custom_js_event-target.js.html#l345"><code>event-custom/js/event-target.js:345</code></a>
7698
<div class="description">
7699
<p>Detach one or more listeners the from the specified event</p>
7703
<div class="params">
7704
<h4>Parameters:</h4>
7706
<ul class="params-list">
7710
<code class="param-name">type</code>
7711
<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>
7716
<div class="param-description">
7717
<p>Either the handle to the subscriber or the
7718
type of event. If the type
7719
is not specified, it will attempt to remove
7720
the listener from all hosted events.</p>
7728
<code class="param-name">fn</code>
7729
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
7734
<div class="param-description">
7735
<p>The subscribed function to unsubscribe, if not
7736
supplied, all subscribers will be removed.</p>
7744
<code class="param-name">context</code>
7745
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7750
<div class="param-description">
7751
<p>The custom object passed to subscribe. This is
7752
optional, but if supplied will be used to
7753
disambiguate multiple listeners that are the same
7754
(e.g., you subscribe many object using a function
7755
that lives on the prototype)</p>
7766
<div class="returns">
7769
<div class="returns-description">
7772
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
7784
<div id="method_detachAll" class="method item inherited">
7785
<h3 class="name"><code>detachAll</code></h3>
7789
<span class="paren">(</span><ul class="args-list inline commas">
7797
</ul><span class="paren">)</span>
7817
<a href="../classes/EventTarget.html#method_detachAll">EventTarget</a>:
7821
<a href="../files/event-custom_js_event-target.js.html#l465"><code>event-custom/js/event-target.js:465</code></a>
7831
<div class="description">
7832
<p>Removes all listeners from the specified event. If the event type
7833
is not specified, all listeners from all hosted custom events will
7838
<div class="params">
7839
<h4>Parameters:</h4>
7841
<ul class="params-list">
7845
<code class="param-name">type</code>
7846
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7851
<div class="param-description">
7852
<p>The type, or name of the event</p>
7868
<div id="method_fire" class="method item inherited">
7869
<h3 class="name"><code>fire</code></h3>
7873
<span class="paren">(</span><ul class="args-list inline commas">
7883
<code>arguments</code>
7887
</ul><span class="paren">)</span>
7892
<span class="returns-inline">
7893
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
7911
<a href="../classes/EventTarget.html#method_fire">EventTarget</a>:
7915
<a href="../files/event-custom_js_event-target.js.html#l629"><code>event-custom/js/event-target.js:629</code></a>
7925
<div class="description">
7926
<p>Fire a custom event by name. The callback functions will be executed
7927
from the context specified when the event was created, and with the
7928
following parameters.</p>
7930
<p>If the custom event object hasn't been created, then the event hasn't
7931
been published and it has no subscribers. For performance sake, we
7932
immediate exit in this case. This means the event won't bubble, so
7933
if the intention is that a bubble target be notified, the event must
7934
be published on this object first.</p>
7936
<p>The first argument is the event type, and any additional arguments are
7937
passed to the listeners as parameters. If the first of these is an
7938
object literal, and the event is configured to emit an event facade,
7939
that object is mixed into the event facade and the facade is provided
7940
in place of the original object.</p>
7944
<div class="params">
7945
<h4>Parameters:</h4>
7947
<ul class="params-list">
7951
<code class="param-name">type</code>
7952
<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>
7957
<div class="param-description">
7958
<p>The type of the event, or an object that contains
7959
a 'type' property.</p>
7967
<code class="param-name">arguments</code>
7968
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object*</a></span>
7973
<div class="param-description">
7974
<p>an arbitrary set of parameters to pass to
7975
the handler. If the first of these is an object literal and the event is
7976
configured to emit an event facade, the event facade will replace that
7977
parameter after the properties the object literal contains are copied to
7978
the event facade.</p>
7989
<div class="returns">
7992
<div class="returns-description">
7995
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
8007
<div id="method_get" class="method item inherited">
8008
<h3 class="name"><code>get</code></h3>
8012
<span class="paren">(</span><ul class="args-list inline commas">
8020
</ul><span class="paren">)</span>
8025
<span class="returns-inline">
8026
<span class="type">Any</span>
8044
<a href="../classes/AttributeCore.html#method_get">AttributeCore</a>:
8048
<a href="../files/attribute_js_AttributeCore.js.html#l283"><code>attribute/js/AttributeCore.js:283</code></a>
8058
<div class="description">
8059
<p>Returns the current value of the attribute. If the attribute
8060
has been configured with a 'getter' function, this method will delegate
8061
to the 'getter' to obtain the value of the attribute.</p>
8065
<div class="params">
8066
<h4>Parameters:</h4>
8068
<ul class="params-list">
8072
<code class="param-name">name</code>
8073
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8078
<div class="param-description">
8079
<p>The name of the attribute. If the value of the attribute is an Object,
8080
dot notation can be used to obtain the value of a property of the object (e.g. <code>get("x.y.z")</code>)</p>
8091
<div class="returns">
8094
<div class="returns-description">
8097
<span class="type">Any</span>:
8099
The value of the attribute
8109
<div id="method_getAttrs" class="method item inherited">
8110
<h3 class="name"><code>getAttrs</code></h3>
8114
<span class="paren">(</span><ul class="args-list inline commas">
8122
</ul><span class="paren">)</span>
8127
<span class="returns-inline">
8128
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8146
<a href="../classes/AttributeCore.html#method_getAttrs">AttributeCore</a>:
8150
<a href="../files/attribute_js_AttributeCore.js.html#l665"><code>attribute/js/AttributeCore.js:665</code></a>
8160
<div class="description">
8161
<p>Gets multiple attribute values.</p>
8165
<div class="params">
8166
<h4>Parameters:</h4>
8168
<ul class="params-list">
8172
<code class="param-name">attrs</code>
8173
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span>
8178
<div class="param-description">
8179
<p>Optional. An array of attribute names. If omitted, all attribute values are
8180
returned. If set to true, all attributes modified from their initial values are returned.</p>
8191
<div class="returns">
8194
<div class="returns-description">
8197
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
8199
An object with attribute name/value pairs.
8209
<div id="method_getEvent" class="method item inherited">
8210
<h3 class="name"><code>getEvent</code></h3>
8214
<span class="paren">(</span><ul class="args-list inline commas">
8224
<code>prefixed</code>
8228
</ul><span class="paren">)</span>
8233
<span class="returns-inline">
8234
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
8252
<a href="../classes/EventTarget.html#method_getEvent">EventTarget</a>:
8256
<a href="../files/event-custom_js_event-target.js.html#l712"><code>event-custom/js/event-target.js:712</code></a>
8266
<div class="description">
8267
<p>Returns the custom event of the provided type has been created, a
8268
falsy value otherwise</p>
8272
<div class="params">
8273
<h4>Parameters:</h4>
8275
<ul class="params-list">
8279
<code class="param-name">type</code>
8280
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8285
<div class="param-description">
8286
<p>the type, or name of the event</p>
8294
<code class="param-name">prefixed</code>
8295
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8300
<div class="param-description">
8301
<p>if true, the type is prefixed already</p>
8312
<div class="returns">
8315
<div class="returns-description">
8318
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
8320
the custom event or null
8330
<div id="method_getOrdering" class="method item">
8331
<h3 class="name"><code>getOrdering</code></h3>
8335
<span class="paren">(</span><ul class="args-list inline commas">
8339
<code>Function</code>
8343
</ul><span class="paren">)</span>
8348
<span class="returns-inline">
8349
<span class="type"></span>
8374
<a href="../files/sortable_js_sortable.js.html#l297"><code>sortable/js/sortable.js:297</code></a>
8384
<div class="description">
8385
<p>A custom callback to allow a user to extract some sort of id or any other data from the node to use in the "ordering list" and then that data should be returned from the callback.</p>
8389
<div class="params">
8390
<h4>Parameters:</h4>
8392
<ul class="params-list">
8396
<code class="param-name">Function</code>
8397
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8402
<div class="param-description">
8414
<div class="returns">
8417
<div class="returns-description">
8430
<div id="method_getSortable" class="method item">
8431
<h3 class="name"><code>getSortable</code></h3>
8435
<span class="paren">(</span><ul class="args-list inline commas">
8443
</ul><span class="paren">)</span>
8456
<span class="flag static">static</span>
8472
<a href="../files/sortable_js_sortable.js.html#l407"><code>sortable/js/sortable.js:407</code></a>
8482
<div class="description">
8483
<p>Get a Sortable instance back from a node reference or a selector string.</p>
8487
<div class="params">
8488
<h4>Parameters:</h4>
8490
<ul class="params-list">
8494
<code class="param-name">node</code>
8495
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="../classes/Node.html" class="crosslink">Node</a></span>
8500
<div class="param-description">
8501
<p>The node instance or selector string to use to find a Sortable instance.</p>
8517
<div id="method_getTargets" class="method item inherited">
8518
<h3 class="name"><code>getTargets</code></h3>
8521
<span class="paren">()</span>
8525
<span class="returns-inline">
8526
<span class="type"></span>
8544
<a href="../classes/EventTarget.html#method_getTargets">EventTarget</a>:
8548
<a href="../files/event-custom_js_event-facade.js.html#l400"><code>event-custom/js/event-facade.js:400</code></a>
8558
<div class="description">
8559
<p>Returns an array of bubble targets for this object.</p>
8565
<div class="returns">
8568
<div class="returns-description">
8581
<div id="method_init" class="method item inherited">
8582
<h3 class="name"><code>init</code></h3>
8586
<span class="paren">(</span><ul class="args-list inline commas">
8594
</ul><span class="paren">)</span>
8599
<span class="returns-inline">
8600
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>
8613
<span class="flag chainable">chainable</span>
8619
<a href="../classes/BaseCore.html#method_init">
8627
<a href="../files/base_js_Base.js.html#l191"><code>base/js/Base.js:191</code></a>
8637
<div class="description">
8638
<p>Init lifecycle method, invoked during construction.
8639
Fires the init event prior to setting up attributes and
8640
invoking initializers for the class hierarchy.</p>
8644
<div class="params">
8645
<h4>Parameters:</h4>
8647
<ul class="params-list">
8651
<code class="param-name">config</code>
8652
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8657
<div class="param-description">
8658
<p>Object with configuration property name/value pairs</p>
8669
<div class="returns">
8672
<div class="returns-description">
8675
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>:
8677
A reference to this object
8687
<div id="method_join" class="method item">
8688
<h3 class="name"><code>join</code></h3>
8692
<span class="paren">(</span><ul class="args-list inline commas">
8696
<code>Sortable</code>
8706
</ul><span class="paren">)</span>
8721
<span class="flag chainable">chainable</span>
8735
<a href="../files/sortable_js_sortable.js.html#l229"><code>sortable/js/sortable.js:229</code></a>
8745
<div class="description">
8746
<p>Join this Sortable with another Sortable instance.</p>
8749
<li>full: Exchange nodes with both lists.</li>
8750
<li>inner: Items can go into this list from the joined list.</li>
8751
<li>outer: Items can go out of the joined list into this list.</li>
8752
<li>none: Removes the join.</li>
8757
<div class="params">
8758
<h4>Parameters:</h4>
8760
<ul class="params-list">
8764
<code class="param-name">Sortable</code>
8765
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8770
<div class="param-description">
8771
<p>sel The Sortable list to join with</p>
8779
<code class="param-name">String</code>
8780
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8785
<div class="param-description">
8786
<p>type The type of join to do: full, inner, outer, none. Default: full</p>
8802
<div id="method_modifyAttr" class="method item inherited">
8803
<h3 class="name"><code>modifyAttr</code></h3>
8807
<span class="paren">(</span><ul class="args-list inline commas">
8821
</ul><span class="paren">)</span>
8841
<a href="../classes/AttributeExtras.html#method_modifyAttr">AttributeExtras</a>:
8845
<a href="../files/attribute_js_AttributeExtras.js.html#l39"><code>attribute/js/AttributeExtras.js:39</code></a>
8855
<div class="description">
8856
<p>Updates the configuration of an attribute which has already been added.</p>
8859
The properties which can be modified through this interface are limited
8860
to the following subset of attributes, which can be safely modified
8861
after a value has already been set on the attribute: readOnly, writeOnce,
8862
broadcast and getter.
8867
<div class="params">
8868
<h4>Parameters:</h4>
8870
<ul class="params-list">
8874
<code class="param-name">name</code>
8875
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8880
<div class="param-description">
8881
<p>The name of the attribute whose configuration is to be updated.</p>
8889
<code class="param-name">config</code>
8890
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8895
<div class="param-description">
8896
<p>An object with configuration property/value pairs, specifying the configuration properties to modify.</p>
8912
<div id="method_on" class="method item inherited">
8913
<h3 class="name"><code>on</code></h3>
8917
<span class="paren">(</span><ul class="args-list inline commas">
8933
<code class="optional">[context]</code>
8939
<code class="optional">[arg*]</code>
8943
</ul><span class="paren">)</span>
8948
<span class="returns-inline">
8949
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
8967
<a href="../classes/EventTarget.html#method_on">EventTarget</a>:
8971
<a href="../files/event-custom_js_event-target.js.html#l192"><code>event-custom/js/event-target.js:192</code></a>
8981
<div class="description">
8982
<p>Subscribe a callback function to a custom event fired by this object or
8983
from an object that bubbles its events to this object.</p>
8985
<p>Callback functions for events published with <code>emitFacade = true</code> will
8986
receive an <code>EventFacade</code> as the first argument (typically named "e").
8987
These callbacks can then call <code>e.preventDefault()</code> to disable the
8988
behavior published to that event's <code>defaultFn</code>. See the <code>EventFacade</code>
8989
API for all available properties and methods. Subscribers to
8990
non-<code>emitFacade</code> events will receive the arguments passed to <code>fire()</code>
8991
after the event name.</p>
8993
<p>To subscribe to multiple events at once, pass an object as the first
8994
argument, where the key:value pairs correspond to the eventName:callback,
8995
or pass an array of event names as the first argument to subscribe to
8996
all listed events with the same callback.</p>
8998
<p>Returning <code>false</code> from a callback is supported as an alternative to
8999
calling <code>e.preventDefault(); e.stopPropagation();</code>. However, it is
9000
recommended to use the event methods whenever possible.</p>
9004
<div class="params">
9005
<h4>Parameters:</h4>
9007
<ul class="params-list">
9011
<code class="param-name">type</code>
9012
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9017
<div class="param-description">
9018
<p>The name of the event</p>
9026
<code class="param-name">fn</code>
9027
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
9032
<div class="param-description">
9033
<p>The callback to execute in response to the event</p>
9041
<code class="param-name optional">[context]</code>
9042
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9043
<span class="flag optional" title="This parameter is optional.">optional</span>
9048
<div class="param-description">
9049
<p>Override <code>this</code> object in callback</p>
9057
<code class="param-name optional">[arg*]</code>
9058
<span class="type">Any</span>
9059
<span class="flag optional" title="This parameter is optional.">optional</span>
9064
<div class="param-description">
9065
<p>0..n additional arguments to supply to the subscriber</p>
9076
<div class="returns">
9079
<div class="returns-description">
9082
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
9084
A subscription handle capable of detaching that
9095
<div id="method_once" class="method item inherited">
9096
<h3 class="name"><code>once</code></h3>
9100
<span class="paren">(</span><ul class="args-list inline commas">
9116
<code class="optional">[context]</code>
9122
<code class="optional">[arg*]</code>
9126
</ul><span class="paren">)</span>
9131
<span class="returns-inline">
9132
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
9150
<a href="../classes/EventTarget.html#method_once">EventTarget</a>:
9154
<a href="../files/event-custom_js_event-target.js.html#l128"><code>event-custom/js/event-target.js:128</code></a>
9164
<div class="description">
9165
<p>Listen to a custom event hosted by this object one time.
9166
This is the equivalent to <code>on</code> except the
9167
listener is immediatelly detached when it is executed.</p>
9171
<div class="params">
9172
<h4>Parameters:</h4>
9174
<ul class="params-list">
9178
<code class="param-name">type</code>
9179
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9184
<div class="param-description">
9185
<p>The name of the event</p>
9193
<code class="param-name">fn</code>
9194
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
9199
<div class="param-description">
9200
<p>The callback to execute in response to the event</p>
9208
<code class="param-name optional">[context]</code>
9209
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9210
<span class="flag optional" title="This parameter is optional.">optional</span>
9215
<div class="param-description">
9216
<p>Override <code>this</code> object in callback</p>
9224
<code class="param-name optional">[arg*]</code>
9225
<span class="type">Any</span>
9226
<span class="flag optional" title="This parameter is optional.">optional</span>
9231
<div class="param-description">
9232
<p>0..n additional arguments to supply to the subscriber</p>
9243
<div class="returns">
9246
<div class="returns-description">
9249
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
9251
A subscription handle capable of detaching the
9262
<div id="method_onceAfter" class="method item inherited">
9263
<h3 class="name"><code>onceAfter</code></h3>
9267
<span class="paren">(</span><ul class="args-list inline commas">
9283
<code class="optional">[context]</code>
9289
<code class="optional">[arg*]</code>
9293
</ul><span class="paren">)</span>
9298
<span class="returns-inline">
9299
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
9317
<a href="../classes/EventTarget.html#method_onceAfter">EventTarget</a>:
9321
<a href="../files/event-custom_js_event-target.js.html#l150"><code>event-custom/js/event-target.js:150</code></a>
9331
<div class="description">
9332
<p>Listen to a custom event hosted by this object one time.
9333
This is the equivalent to <code>after</code> except the
9334
listener is immediatelly detached when it is executed.</p>
9338
<div class="params">
9339
<h4>Parameters:</h4>
9341
<ul class="params-list">
9345
<code class="param-name">type</code>
9346
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9351
<div class="param-description">
9352
<p>The name of the event</p>
9360
<code class="param-name">fn</code>
9361
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
9366
<div class="param-description">
9367
<p>The callback to execute in response to the event</p>
9375
<code class="param-name optional">[context]</code>
9376
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9377
<span class="flag optional" title="This parameter is optional.">optional</span>
9382
<div class="param-description">
9383
<p>Override <code>this</code> object in callback</p>
9391
<code class="param-name optional">[arg*]</code>
9392
<span class="type">Any</span>
9393
<span class="flag optional" title="This parameter is optional.">optional</span>
9398
<div class="param-description">
9399
<p>0..n additional arguments to supply to the subscriber</p>
9410
<div class="returns">
9413
<div class="returns-description">
9416
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
9418
A subscription handle capable of detaching that
9429
<div id="method_parseType" class="method item inherited">
9430
<h3 class="name"><code>parseType</code></h3>
9434
<span class="paren">(</span><ul class="args-list inline commas">
9444
<code class="optional">[pre=this._yuievt.config.prefix]</code>
9448
</ul><span class="paren">)</span>
9453
<span class="returns-inline">
9454
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
9472
<a href="../classes/EventTarget.html#method_parseType">EventTarget</a>:
9476
<a href="../files/event-custom_js_event-target.js.html#l172"><code>event-custom/js/event-target.js:172</code></a>
9484
<p>Available since 3.3.0</p>
9488
<div class="description">
9489
<p>Takes the type parameter passed to 'on' and parses out the
9490
various pieces that could be included in the type. If the
9491
event type is passed without a prefix, it will be expanded
9492
to include the prefix one is supplied or the event target
9493
is configured with a default prefix.</p>
9497
<div class="params">
9498
<h4>Parameters:</h4>
9500
<ul class="params-list">
9504
<code class="param-name">type</code>
9505
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9510
<div class="param-description">
9519
<code class="param-name optional">[pre=this._yuievt.config.prefix]</code>
9520
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9521
<span class="flag optional" title="This parameter is optional.">optional</span>
9526
<div class="param-description">
9538
<div class="returns">
9541
<div class="returns-description">
9544
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>:
9546
an array containing:
9547
* the detach category, if supplied,
9548
* the prefixed event type,
9549
* whether or not this is an after listener,
9550
* the supplied event type
9560
<div id="method_plug" class="method item">
9561
<h3 class="name"><code>plug</code></h3>
9565
<span class="paren">(</span><ul class="args-list inline commas">
9579
</ul><span class="paren">)</span>
9594
<span class="flag chainable">chainable</span>
9608
<a href="../files/sortable_js_sortable.js.html#l200"><code>sortable/js/sortable.js:200</code></a>
9618
<div class="description">
9619
<p>Passthrough to the DD.Delegate.ddplug method</p>
9623
<div class="params">
9624
<h4>Parameters:</h4>
9626
<ul class="params-list">
9630
<code class="param-name">Class</code>
9631
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9636
<div class="param-description">
9637
<p>cls The class to plug</p>
9645
<code class="param-name">Object</code>
9646
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9651
<div class="param-description">
9652
<p>config The class config</p>
9668
<div id="method_publish" class="method item inherited">
9669
<h3 class="name"><code>publish</code></h3>
9673
<span class="paren">(</span><ul class="args-list inline commas">
9687
</ul><span class="paren">)</span>
9692
<span class="returns-inline">
9693
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
9711
<a href="../classes/EventTarget.html#method_publish">EventTarget</a>:
9715
<a href="../files/event-custom_js_event-target.js.html#l489"><code>event-custom/js/event-target.js:489</code></a>
9725
<div class="description">
9726
<p>Creates a new custom event of the specified type. If a custom event
9727
by that name already exists, it will not be re-created. In either
9728
case the custom event is returned.</p>
9732
<div class="params">
9733
<h4>Parameters:</h4>
9735
<ul class="params-list">
9739
<code class="param-name">type</code>
9740
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9745
<div class="param-description">
9746
<p>the type, or name of the event</p>
9754
<code class="param-name">opts</code>
9755
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9760
<div class="param-description">
9761
<p>optional config params. Valid properties are:</p>
9765
'broadcast': whether or not the YUI instance and YUI global are notified when the event is fired (false)
9768
'bubbles': whether or not this event bubbles (true)
9769
Events can only bubble if emitFacade is true.
9772
'context': the default execution context for the listeners (this)
9775
'defaultFn': the default function to execute when this event fires if preventDefault was not called
9778
'emitFacade': whether or not this event emits a facade (false)
9781
'prefix': the prefix for this targets events, e.g., 'menu' in 'menu:click'
9784
'fireOnce': if an event is configured to fire once, new subscribers after
9785
the fire will be notified immediately.
9788
'async': fireOnce event listeners will fire synchronously if the event has already
9789
fired unless async is true.
9792
'preventable': whether or not preventDefault() has an effect (true)
9795
'preventedFn': a function that is executed when preventDefault is called
9798
'queuable': whether or not this event can be queued during bubbling (false)
9801
'silent': if silent is true, debug messages are not provided for this event.
9804
'stoppedFn': a function that is executed when stopPropagation is called
9808
'monitored': specifies whether or not this event should send notifications about
9809
when the event has been attached, detached, or published.
9812
'type': the event type (valid option if not provided as the first parameter to publish)
9825
<div class="returns">
9828
<div class="returns-description">
9831
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
9843
<div id="method_reg" class="method item">
9844
<h3 class="name"><code>reg</code></h3>
9848
<span class="paren">(</span><ul class="args-list inline commas">
9852
<code>Sortable</code>
9856
</ul><span class="paren">)</span>
9869
<span class="flag static">static</span>
9885
<a href="../files/sortable_js_sortable.js.html#l423"><code>sortable/js/sortable.js:423</code></a>
9895
<div class="description">
9896
<p>Register a Sortable instance with the singleton to allow lookups later.</p>
9900
<div class="params">
9901
<h4>Parameters:</h4>
9903
<ul class="params-list">
9907
<code class="param-name">Sortable</code>
9908
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9913
<div class="param-description">
9914
<p>s A Sortable instance.</p>
9930
<div id="method_removeAttr" class="method item inherited">
9931
<h3 class="name"><code>removeAttr</code></h3>
9935
<span class="paren">(</span><ul class="args-list inline commas">
9943
</ul><span class="paren">)</span>
9963
<a href="../classes/AttributeExtras.html#method_removeAttr">AttributeExtras</a>:
9967
<a href="../files/attribute_js_AttributeExtras.js.html#l77"><code>attribute/js/AttributeExtras.js:77</code></a>
9977
<div class="description">
9978
<p>Removes an attribute from the host object</p>
9982
<div class="params">
9983
<h4>Parameters:</h4>
9985
<ul class="params-list">
9989
<code class="param-name">name</code>
9990
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9995
<div class="param-description">
9996
<p>The name of the attribute to be removed.</p>
10012
<div id="method_removeTarget" class="method item inherited">
10013
<h3 class="name"><code>removeTarget</code></h3>
10017
<span class="paren">(</span><ul class="args-list inline commas">
10025
</ul><span class="paren">)</span>
10045
<a href="../classes/EventTarget.html#method_removeTarget">EventTarget</a>:
10049
<a href="../files/event-custom_js_event-facade.js.html#l409"><code>event-custom/js/event-facade.js:409</code></a>
10059
<div class="description">
10060
<p>Removes a bubble target</p>
10064
<div class="params">
10065
<h4>Parameters:</h4>
10067
<ul class="params-list">
10071
<code class="param-name">o</code>
10072
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
10077
<div class="param-description">
10078
<p>the target to remove</p>
10094
<div id="method_reset" class="method item inherited">
10095
<h3 class="name"><code>reset</code></h3>
10099
<span class="paren">(</span><ul class="args-list inline commas">
10107
</ul><span class="paren">)</span>
10112
<span class="returns-inline">
10113
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10126
<span class="flag chainable">chainable</span>
10133
<a href="../classes/AttributeExtras.html#method_reset">AttributeExtras</a>:
10137
<a href="../files/attribute_js_AttributeExtras.js.html#l87"><code>attribute/js/AttributeExtras.js:87</code></a>
10147
<div class="description">
10148
<p>Resets the attribute (or all attributes) to its initial value, as long as
10149
the attribute is not readOnly, or writeOnce.</p>
10153
<div class="params">
10154
<h4>Parameters:</h4>
10156
<ul class="params-list">
10160
<code class="param-name">name</code>
10161
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10166
<div class="param-description">
10167
<p>Optional. The name of the attribute to reset. If omitted, all attributes are reset.</p>
10178
<div class="returns">
10181
<div class="returns-description">
10184
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
10186
A reference to the host object.
10196
<div id="method_set" class="method item inherited">
10197
<h3 class="name"><code>set</code></h3>
10201
<span class="paren">(</span><ul class="args-list inline commas">
10215
</ul><span class="paren">)</span>
10220
<span class="returns-inline">
10221
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10234
<span class="flag chainable">chainable</span>
10240
<a href="../classes/AttributeEvents.html#method_set">
10248
<a href="../files/attribute_js_AttributeCore.js.html#l328"><code>attribute/js/AttributeCore.js:328</code></a>
10258
<div class="description">
10259
<p>Sets the value of an attribute.</p>
10263
<div class="params">
10264
<h4>Parameters:</h4>
10266
<ul class="params-list">
10270
<code class="param-name">name</code>
10271
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10276
<div class="param-description">
10277
<p>The name of the attribute. If the
10278
current value of the attribute is an Object, dot notation can be used
10279
to set the value of a property within the object (e.g. <code>set("x.y.z", 5)</code>).</p>
10287
<code class="param-name">value</code>
10288
<span class="type">Any</span>
10293
<div class="param-description">
10294
<p>The value to set the attribute to.</p>
10305
<div class="returns">
10308
<div class="returns-description">
10311
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
10313
A reference to the host object.
10323
<div id="method_setAttrs" class="method item inherited">
10324
<h3 class="name"><code>setAttrs</code></h3>
10328
<span class="paren">(</span><ul class="args-list inline commas">
10336
</ul><span class="paren">)</span>
10341
<span class="returns-inline">
10342
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10355
<span class="flag chainable">chainable</span>
10361
<a href="../classes/AttributeEvents.html#method_setAttrs">
10369
<a href="../files/attribute_js_AttributeCore.js.html#l635"><code>attribute/js/AttributeCore.js:635</code></a>
10379
<div class="description">
10380
<p>Sets multiple attribute values.</p>
10384
<div class="params">
10385
<h4>Parameters:</h4>
10387
<ul class="params-list">
10391
<code class="param-name">attrs</code>
10392
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10397
<div class="param-description">
10398
<p>An object with attributes name/value pairs.</p>
10409
<div class="returns">
10412
<div class="returns-description">
10415
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
10417
A reference to the host object.
10427
<div id="method_subscribe" class="method item deprecated inherited">
10428
<h3 class="name"><code>subscribe</code></h3>
10431
<span class="paren">()</span>
10437
<span class="flag deprecated" title="use on">deprecated</span>
10452
<a href="../classes/EventTarget.html#method_subscribe">EventTarget</a>:
10456
<a href="../files/event-custom_js_event-target.js.html#l335"><code>event-custom/js/event-target.js:335</code></a>
10462
<p>Deprecated: use on</p>
10468
<div class="description">
10469
<p>subscribe to an event</p>
10480
<div id="method_sync" class="method item">
10481
<h3 class="name"><code>sync</code></h3>
10484
<span class="paren">()</span>
10498
<span class="flag chainable">chainable</span>
10512
<a href="../files/sortable_js_sortable.js.html#l216"><code>sortable/js/sortable.js:216</code></a>
10522
<div class="description">
10523
<p>Passthrough to the DD.Delegate syncTargets method.</p>
10534
<div id="method_toString" class="method item inherited">
10535
<h3 class="name"><code>toString</code></h3>
10538
<span class="paren">()</span>
10542
<span class="returns-inline">
10543
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10561
<a href="../classes/BaseCore.html#method_toString">BaseCore</a>:
10565
<a href="../files/base_js_BaseCore.js.html#l592"><code>base/js/BaseCore.js:592</code></a>
10575
<div class="description">
10576
<p>Default toString implementation. Provides the constructor NAME
10577
and the instance guid, if set.</p>
10583
<div class="returns">
10586
<div class="returns-description">
10589
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
10591
String representation for this object
10601
<div id="method_unreg" class="method item">
10602
<h3 class="name"><code>unreg</code></h3>
10606
<span class="paren">(</span><ul class="args-list inline commas">
10610
<code>Sortable</code>
10614
</ul><span class="paren">)</span>
10627
<span class="flag static">static</span>
10643
<a href="../files/sortable_js_sortable.js.html#l432"><code>sortable/js/sortable.js:432</code></a>
10653
<div class="description">
10654
<p>Unregister a Sortable instance with the singleton.</p>
10658
<div class="params">
10659
<h4>Parameters:</h4>
10661
<ul class="params-list">
10665
<code class="param-name">Sortable</code>
10666
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10671
<div class="param-description">
10672
<p>s A Sortable instance.</p>
10688
<div id="method_unsubscribe" class="method item deprecated inherited">
10689
<h3 class="name"><code>unsubscribe</code></h3>
10692
<span class="paren">()</span>
10698
<span class="flag deprecated" title="use detach">deprecated</span>
10713
<a href="../classes/EventTarget.html#method_unsubscribe">EventTarget</a>:
10717
<a href="../files/event-custom_js_event-target.js.html#l455"><code>event-custom/js/event-target.js:455</code></a>
10723
<p>Deprecated: use detach</p>
10729
<div class="description">
10730
<p>detach a listener</p>
10741
<div id="method_unsubscribeAll" class="method item deprecated inherited">
10742
<h3 class="name"><code>unsubscribeAll</code></h3>
10746
<span class="paren">(</span><ul class="args-list inline commas">
10754
</ul><span class="paren">)</span>
10761
<span class="flag deprecated" title="use detachAll">deprecated</span>
10776
<a href="../classes/EventTarget.html#method_unsubscribeAll">EventTarget</a>:
10780
<a href="../files/event-custom_js_event-target.js.html#l476"><code>event-custom/js/event-target.js:476</code></a>
10786
<p>Deprecated: use detachAll</p>
10792
<div class="description">
10793
<p>Removes all listeners from the specified event. If the event type
10794
is not specified, all listeners from all hosted custom events will
10799
<div class="params">
10800
<h4>Parameters:</h4>
10802
<ul class="params-list">
10806
<code class="param-name">type</code>
10807
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10812
<div class="param-description">
10813
<p>The type, or name of the event</p>
10833
<div id="properties" class="api-class-tabpanel">
10834
<h2 class="off-left">Properties</h2>
10837
<div id="property__allowAdHocAttrs" class="property item protected inherited">
10838
<h3 class="name"><code>_allowAdHocAttrs</code></h3>
10839
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
10844
<span class="flag protected">protected</span>
10855
<a href="../classes/BaseCore.html#property__allowAdHocAttrs">BaseCore</a>:
10859
<a href="../files/base_js_BaseCore.js.html#l100"><code>base/js/BaseCore.js:100</code></a>
10868
<div class="description">
10869
<p>This property controls whether or not instances of this class should
10870
allow users to add ad-hoc attributes through the constructor configuration
10873
<p>AdHoc attributes are attributes which are not defined by the class, and are
10874
not handled by the MyClass.<em>NON</em>ATTRS_CFG</p>
10878
<p><strong>Default:</strong> undefined (false)</p>
10887
<div id="property__sortables" class="property item private">
10888
<h3 class="name"><code>_sortables</code></h3>
10889
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
10894
<span class="flag private">private</span>
10900
<span class="flag static">static</span>
10914
<a href="../files/sortable_js_sortable.js.html#l385"><code>sortable/js/sortable.js:385</code></a>
10923
<div class="description">
10924
<p>Hash map of all Sortables on the page.</p>
10935
<div id="property_delegate" class="property item">
10936
<h3 class="name"><code>delegate</code></h3>
10937
<span class="type"><a href="../classes/DD.Delegate.html" class="crosslink">DD.Delegate</a></span>
10958
<a href="../files/sortable_js_sortable.js.html#l29"><code>sortable/js/sortable.js:29</code></a>
10967
<div class="description">
10968
<p>A reference to the DD.Delegate instance.</p>
10979
<div id="property_name" class="property item deprecated inherited">
10980
<h3 class="name"><code>name</code></h3>
10981
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10984
<span class="flag deprecated" title="Use this.constructor.NAME">deprecated</span>
10997
<a href="../classes/BaseCore.html#property_name">BaseCore</a>:
11001
<a href="../files/base_js_BaseCore.js.html#l196"><code>base/js/BaseCore.js:196</code></a>
11006
<p>Deprecated: Use this.constructor.NAME</p>
11012
<div class="description">
11013
<p>The string used to identify the class of this object.</p>
11028
<div id="attrs" class="api-class-tabpanel">
11029
<h2 class="off-left">Attributes</h2>
11032
<div id="attr_container" class="attr item">
11033
<a name="config_container"></a>
11034
<h3 class="name"><code>container</code></h3>
11035
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11056
<a href="../files/sortable_js_sortable.js.html#l328"><code>sortable/js/sortable.js:328</code></a>
11065
<div class="description">
11066
<p>A selector query to get the container to listen for mousedown events on. All "nodes" should be a child of this container.</p>
11072
<div class="emits box">
11073
<h4>Fires event <code>containerChange</code></h4>
11076
Fires when the value for the configuration attribute <code>container</code> is
11077
changed. You can listen for the event using the <code>on</code> method if you
11078
wish to be notified before the attribute's value has changed, or
11079
using the <code>after</code> method if you wish to be notified after the
11080
attribute's value has changed.
11083
<div class="params">
11084
<h4>Parameters:</h4>
11086
<ul class="params-list">
11088
<code class="param-name">e</code>
11089
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
11091
<div class="param-description">
11092
An Event Facade object with the following
11093
attribute-specific properties added:
11096
<ul class="params-list">
11098
<code class="param-name">prevVal</code>
11099
<span class="type">Any</span>
11100
<div class="param-description">The value of the attribute, prior to it being set.</div>
11103
<code class="param-name">newVal</code>
11104
<span class="type">Any</span>
11105
<div class="param-description">The value the attribute is to be set to.</div>
11108
<code class="param-name">attrName</code>
11109
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11110
<div class="param-description">The name of the attribute being set.</div>
11113
<code class="param-name">subAttrName</code>
11114
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11115
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
11128
<div id="attr_destroyed" class="attr item inherited">
11129
<a name="config_destroyed"></a>
11130
<h3 class="name"><code>destroyed</code></h3>
11131
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
11145
<a href="../classes/BaseCore.html#attr_destroyed">BaseCore</a>:
11149
<a href="../files/base_js_BaseCore.js.html#l157"><code>base/js/BaseCore.js:157</code></a>
11158
<div class="description">
11159
<p>Flag indicating whether or not this object
11160
has been through the destroy lifecycle phase.</p>
11164
<p><strong>Default:</strong> false</p>
11168
<div class="emits box">
11169
<h4>Fires event <code>destroyedChange</code></h4>
11172
Fires when the value for the configuration attribute <code>destroyed</code> is
11173
changed. You can listen for the event using the <code>on</code> method if you
11174
wish to be notified before the attribute's value has changed, or
11175
using the <code>after</code> method if you wish to be notified after the
11176
attribute's value has changed.
11179
<div class="params">
11180
<h4>Parameters:</h4>
11182
<ul class="params-list">
11184
<code class="param-name">e</code>
11185
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
11187
<div class="param-description">
11188
An Event Facade object with the following
11189
attribute-specific properties added:
11192
<ul class="params-list">
11194
<code class="param-name">prevVal</code>
11195
<span class="type">Any</span>
11196
<div class="param-description">The value of the attribute, prior to it being set.</div>
11199
<code class="param-name">newVal</code>
11200
<span class="type">Any</span>
11201
<div class="param-description">The value the attribute is to be set to.</div>
11204
<code class="param-name">attrName</code>
11205
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11206
<div class="param-description">The name of the attribute being set.</div>
11209
<code class="param-name">subAttrName</code>
11210
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11211
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
11224
<div id="attr_handles" class="attr item">
11225
<a name="config_handles"></a>
11226
<h3 class="name"><code>handles</code></h3>
11227
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
11248
<a href="../files/sortable_js_sortable.js.html#l320"><code>sortable/js/sortable.js:320</code></a>
11257
<div class="description">
11258
<p>Drag handles to pass on to the internal DD.Delegate instance.</p>
11264
<div class="emits box">
11265
<h4>Fires event <code>handlesChange</code></h4>
11268
Fires when the value for the configuration attribute <code>handles</code> is
11269
changed. You can listen for the event using the <code>on</code> method if you
11270
wish to be notified before the attribute's value has changed, or
11271
using the <code>after</code> method if you wish to be notified after the
11272
attribute's value has changed.
11275
<div class="params">
11276
<h4>Parameters:</h4>
11278
<ul class="params-list">
11280
<code class="param-name">e</code>
11281
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
11283
<div class="param-description">
11284
An Event Facade object with the following
11285
attribute-specific properties added:
11288
<ul class="params-list">
11290
<code class="param-name">prevVal</code>
11291
<span class="type">Any</span>
11292
<div class="param-description">The value of the attribute, prior to it being set.</div>
11295
<code class="param-name">newVal</code>
11296
<span class="type">Any</span>
11297
<div class="param-description">The value the attribute is to be set to.</div>
11300
<code class="param-name">attrName</code>
11301
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11302
<div class="param-description">The name of the attribute being set.</div>
11305
<code class="param-name">subAttrName</code>
11306
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11307
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
11320
<div id="attr_id" class="attr item">
11321
<a name="config_id"></a>
11322
<h3 class="name"><code>id</code></h3>
11323
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11344
<a href="../files/sortable_js_sortable.js.html#l360"><code>sortable/js/sortable.js:360</code></a>
11353
<div class="description">
11354
<p>The id of this Sortable, used to get a reference to this Sortable list from another list.</p>
11360
<div class="emits box">
11361
<h4>Fires event <code>idChange</code></h4>
11364
Fires when the value for the configuration attribute <code>id</code> is
11365
changed. You can listen for the event using the <code>on</code> method if you
11366
wish to be notified before the attribute's value has changed, or
11367
using the <code>after</code> method if you wish to be notified after the
11368
attribute's value has changed.
11371
<div class="params">
11372
<h4>Parameters:</h4>
11374
<ul class="params-list">
11376
<code class="param-name">e</code>
11377
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
11379
<div class="param-description">
11380
An Event Facade object with the following
11381
attribute-specific properties added:
11384
<ul class="params-list">
11386
<code class="param-name">prevVal</code>
11387
<span class="type">Any</span>
11388
<div class="param-description">The value of the attribute, prior to it being set.</div>
11391
<code class="param-name">newVal</code>
11392
<span class="type">Any</span>
11393
<div class="param-description">The value the attribute is to be set to.</div>
11396
<code class="param-name">attrName</code>
11397
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11398
<div class="param-description">The name of the attribute being set.</div>
11401
<code class="param-name">subAttrName</code>
11402
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11403
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
11416
<div id="attr_initialized" class="attr item inherited">
11417
<a name="config_initialized"></a>
11418
<h3 class="name"><code>initialized</code></h3>
11419
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
11433
<a href="../classes/BaseCore.html#attr_initialized">BaseCore</a>:
11437
<a href="../files/base_js_BaseCore.js.html#l143"><code>base/js/BaseCore.js:143</code></a>
11446
<div class="description">
11447
<p>Flag indicating whether or not this object
11448
has been through the init lifecycle phase.</p>
11452
<p><strong>Default:</strong> false</p>
11456
<div class="emits box">
11457
<h4>Fires event <code>initializedChange</code></h4>
11460
Fires when the value for the configuration attribute <code>initialized</code> is
11461
changed. You can listen for the event using the <code>on</code> method if you
11462
wish to be notified before the attribute's value has changed, or
11463
using the <code>after</code> method if you wish to be notified after the
11464
attribute's value has changed.
11467
<div class="params">
11468
<h4>Parameters:</h4>
11470
<ul class="params-list">
11472
<code class="param-name">e</code>
11473
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
11475
<div class="param-description">
11476
An Event Facade object with the following
11477
attribute-specific properties added:
11480
<ul class="params-list">
11482
<code class="param-name">prevVal</code>
11483
<span class="type">Any</span>
11484
<div class="param-description">The value of the attribute, prior to it being set.</div>
11487
<code class="param-name">newVal</code>
11488
<span class="type">Any</span>
11489
<div class="param-description">The value the attribute is to be set to.</div>
11492
<code class="param-name">attrName</code>
11493
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11494
<div class="param-description">The name of the attribute being set.</div>
11497
<code class="param-name">subAttrName</code>
11498
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11499
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
11512
<div id="attr_invalid" class="attr item">
11513
<a name="config_invalid"></a>
11514
<h3 class="name"><code>invalid</code></h3>
11515
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11536
<a href="../files/sortable_js_sortable.js.html#l376"><code>sortable/js/sortable.js:376</code></a>
11545
<div class="description">
11546
<p>A selector string to test if a list item is invalid and not sortable</p>
11552
<div class="emits box">
11553
<h4>Fires event <code>invalidChange</code></h4>
11556
Fires when the value for the configuration attribute <code>invalid</code> is
11557
changed. You can listen for the event using the <code>on</code> method if you
11558
wish to be notified before the attribute's value has changed, or
11559
using the <code>after</code> method if you wish to be notified after the
11560
attribute's value has changed.
11563
<div class="params">
11564
<h4>Parameters:</h4>
11566
<ul class="params-list">
11568
<code class="param-name">e</code>
11569
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
11571
<div class="param-description">
11572
An Event Facade object with the following
11573
attribute-specific properties added:
11576
<ul class="params-list">
11578
<code class="param-name">prevVal</code>
11579
<span class="type">Any</span>
11580
<div class="param-description">The value of the attribute, prior to it being set.</div>
11583
<code class="param-name">newVal</code>
11584
<span class="type">Any</span>
11585
<div class="param-description">The value the attribute is to be set to.</div>
11588
<code class="param-name">attrName</code>
11589
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11590
<div class="param-description">The name of the attribute being set.</div>
11593
<code class="param-name">subAttrName</code>
11594
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11595
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
11608
<div id="attr_moveType" class="attr item">
11609
<a name="config_moveType"></a>
11610
<h3 class="name"><code>moveType</code></h3>
11611
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11632
<a href="../files/sortable_js_sortable.js.html#l368"><code>sortable/js/sortable.js:368</code></a>
11641
<div class="description">
11642
<p>How should an item move to another list: insert, swap, move, copy. Default: insert</p>
11648
<div class="emits box">
11649
<h4>Fires event <code>moveTypeChange</code></h4>
11652
Fires when the value for the configuration attribute <code>moveType</code> is
11653
changed. You can listen for the event using the <code>on</code> method if you
11654
wish to be notified before the attribute's value has changed, or
11655
using the <code>after</code> method if you wish to be notified after the
11656
attribute's value has changed.
11659
<div class="params">
11660
<h4>Parameters:</h4>
11662
<ul class="params-list">
11664
<code class="param-name">e</code>
11665
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
11667
<div class="param-description">
11668
An Event Facade object with the following
11669
attribute-specific properties added:
11672
<ul class="params-list">
11674
<code class="param-name">prevVal</code>
11675
<span class="type">Any</span>
11676
<div class="param-description">The value of the attribute, prior to it being set.</div>
11679
<code class="param-name">newVal</code>
11680
<span class="type">Any</span>
11681
<div class="param-description">The value the attribute is to be set to.</div>
11684
<code class="param-name">attrName</code>
11685
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11686
<div class="param-description">The name of the attribute being set.</div>
11689
<code class="param-name">subAttrName</code>
11690
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11691
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
11704
<div id="attr_nodes" class="attr item">
11705
<a name="config_nodes"></a>
11706
<h3 class="name"><code>nodes</code></h3>
11707
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11728
<a href="../files/sortable_js_sortable.js.html#l336"><code>sortable/js/sortable.js:336</code></a>
11737
<div class="description">
11738
<p>A selector query to get the children of the "container" to make draggable elements from.</p>
11744
<div class="emits box">
11745
<h4>Fires event <code>nodesChange</code></h4>
11748
Fires when the value for the configuration attribute <code>nodes</code> is
11749
changed. You can listen for the event using the <code>on</code> method if you
11750
wish to be notified before the attribute's value has changed, or
11751
using the <code>after</code> method if you wish to be notified after the
11752
attribute's value has changed.
11755
<div class="params">
11756
<h4>Parameters:</h4>
11758
<ul class="params-list">
11760
<code class="param-name">e</code>
11761
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
11763
<div class="param-description">
11764
An Event Facade object with the following
11765
attribute-specific properties added:
11768
<ul class="params-list">
11770
<code class="param-name">prevVal</code>
11771
<span class="type">Any</span>
11772
<div class="param-description">The value of the attribute, prior to it being set.</div>
11775
<code class="param-name">newVal</code>
11776
<span class="type">Any</span>
11777
<div class="param-description">The value the attribute is to be set to.</div>
11780
<code class="param-name">attrName</code>
11781
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11782
<div class="param-description">The name of the attribute being set.</div>
11785
<code class="param-name">subAttrName</code>
11786
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11787
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
11800
<div id="attr_opacity" class="attr item">
11801
<a name="config_opacity"></a>
11802
<h3 class="name"><code>opacity</code></h3>
11803
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11824
<a href="../files/sortable_js_sortable.js.html#l344"><code>sortable/js/sortable.js:344</code></a>
11833
<div class="description">
11834
<p>The opacity to change the proxy item to when dragging.</p>
11840
<div class="emits box">
11841
<h4>Fires event <code>opacityChange</code></h4>
11844
Fires when the value for the configuration attribute <code>opacity</code> is
11845
changed. You can listen for the event using the <code>on</code> method if you
11846
wish to be notified before the attribute's value has changed, or
11847
using the <code>after</code> method if you wish to be notified after the
11848
attribute's value has changed.
11851
<div class="params">
11852
<h4>Parameters:</h4>
11854
<ul class="params-list">
11856
<code class="param-name">e</code>
11857
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
11859
<div class="param-description">
11860
An Event Facade object with the following
11861
attribute-specific properties added:
11864
<ul class="params-list">
11866
<code class="param-name">prevVal</code>
11867
<span class="type">Any</span>
11868
<div class="param-description">The value of the attribute, prior to it being set.</div>
11871
<code class="param-name">newVal</code>
11872
<span class="type">Any</span>
11873
<div class="param-description">The value the attribute is to be set to.</div>
11876
<code class="param-name">attrName</code>
11877
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11878
<div class="param-description">The name of the attribute being set.</div>
11881
<code class="param-name">subAttrName</code>
11882
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11883
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
11896
<div id="attr_opacityNode" class="attr item">
11897
<a name="config_opacityNode"></a>
11898
<h3 class="name"><code>opacityNode</code></h3>
11899
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11920
<a href="../files/sortable_js_sortable.js.html#l352"><code>sortable/js/sortable.js:352</code></a>
11929
<div class="description">
11930
<p>The node to set opacity on when dragging (dragNode or currentNode). Default: currentNode.</p>
11936
<div class="emits box">
11937
<h4>Fires event <code>opacityNodeChange</code></h4>
11940
Fires when the value for the configuration attribute <code>opacityNode</code> is
11941
changed. You can listen for the event using the <code>on</code> method if you
11942
wish to be notified before the attribute's value has changed, or
11943
using the <code>after</code> method if you wish to be notified after the
11944
attribute's value has changed.
11947
<div class="params">
11948
<h4>Parameters:</h4>
11950
<ul class="params-list">
11952
<code class="param-name">e</code>
11953
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
11955
<div class="param-description">
11956
An Event Facade object with the following
11957
attribute-specific properties added:
11960
<ul class="params-list">
11962
<code class="param-name">prevVal</code>
11963
<span class="type">Any</span>
11964
<div class="param-description">The value of the attribute, prior to it being set.</div>
11967
<code class="param-name">newVal</code>
11968
<span class="type">Any</span>
11969
<div class="param-description">The value the attribute is to be set to.</div>
11972
<code class="param-name">attrName</code>
11973
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11974
<div class="param-description">The name of the attribute being set.</div>
11977
<code class="param-name">subAttrName</code>
11978
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11979
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
11996
<div id="events" class="api-class-tabpanel">
11997
<h2 class="off-left">Events</h2>
12000
<div id="event_copy" class="events item">
12001
<h3 class="name"><code>copy</code></h3>
12002
<span class="type">Event.Custom</span>
12023
<a href="../files/sortable_js_sortable.js.html#l450"><code>sortable/js/sortable.js:450</code></a>
12032
<div class="description">
12033
<p>A Sortable node was moved with a copy.</p>
12037
<div class="params">
12038
<h4>Event Payload:</h4>
12040
<ul class="params-list">
12044
<code class="param-name">event</code>
12045
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
12050
<div class="param-description">
12051
<p>An Event Facade object</p>
12055
<ul class="params-list">
12058
<code class="param-name">same</code>
12059
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
12061
<div class="param-description">
12062
<p>Moved to the same list.</p>
12069
<code class="param-name">drag</code>
12070
<span class="type"><a href="../classes/DD.Drag.html" class="crosslink">DD.Drag</a></span>
12072
<div class="param-description">
12073
<p>The drag instance.</p>
12080
<code class="param-name">drop</code>
12081
<span class="type"><a href="../classes/DD.Drop.html" class="crosslink">DD.Drop</a></span>
12083
<div class="param-description">
12084
<p>The drop instance.</p>
12103
<div id="event_destroy" class="events item inherited">
12104
<h3 class="name"><code>destroy</code></h3>
12105
<span class="type"></span>
12119
<a href="../classes/Base.html#event_destroy">Base</a>:
12123
<a href="../files/base_js_Base.js.html#l285"><code>base/js/Base.js:285</code></a>
12132
<div class="description">
12134
Lifecycle event for the destroy phase,
12135
fired prior to destruction. Invoking the preventDefault
12136
method on the event object provided to subscribers will
12137
prevent destruction from proceeding.
12141
Subscribers to the "after" moment of this event, will be notified
12142
after destruction is complete (and as a result cannot prevent
12148
<div class="params">
12149
<h4>Event Payload:</h4>
12151
<ul class="params-list">
12155
<code class="param-name">e</code>
12156
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
12161
<div class="param-description">
12162
<p>Event object</p>
12177
<div id="event_init" class="events item inherited">
12178
<h3 class="name"><code>init</code></h3>
12179
<span class="type"></span>
12193
<a href="../classes/Base.html#event_init">Base</a>:
12197
<a href="../files/base_js_Base.js.html#l202"><code>base/js/Base.js:202</code></a>
12206
<div class="description">
12208
Lifecycle event for the init phase, fired prior to initialization.
12209
Invoking the preventDefault() method on the event object provided
12210
to subscribers will prevent initialization from occuring.
12214
Subscribers to the "after" momemt of this event, will be notified
12215
after initialization of the object is complete (and therefore
12216
cannot prevent initialization).
12221
<div class="params">
12222
<h4>Event Payload:</h4>
12224
<ul class="params-list">
12228
<code class="param-name">e</code>
12229
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
12234
<div class="param-description">
12235
<p>Event object, with a cfg property which
12236
refers to the configuration object passed to the constructor.</p>
12251
<div id="event_insert" class="events item">
12252
<h3 class="name"><code>insert</code></h3>
12253
<span class="type">Event.Custom</span>
12274
<a href="../files/sortable_js_sortable.js.html#l468"><code>sortable/js/sortable.js:468</code></a>
12283
<div class="description">
12284
<p>A Sortable node was moved with an insert.</p>
12288
<div class="params">
12289
<h4>Event Payload:</h4>
12291
<ul class="params-list">
12295
<code class="param-name">event</code>
12296
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
12301
<div class="param-description">
12302
<p>An Event Facade object with the following specific property added:</p>
12306
<ul class="params-list">
12309
<code class="param-name">same</code>
12310
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
12312
<div class="param-description">
12313
<p>Moved to the same list.</p>
12320
<code class="param-name">drag</code>
12321
<span class="type"><a href="../classes/DD.Drag.html" class="crosslink">DD.Drag</a></span>
12323
<div class="param-description">
12324
<p>The drag instance.</p>
12331
<code class="param-name">drop</code>
12332
<span class="type"><a href="../classes/DD.Drop.html" class="crosslink">DD.Drop</a></span>
12334
<div class="param-description">
12335
<p>The drop instance.</p>
12354
<div id="event_move" class="events item">
12355
<h3 class="name"><code>move</code></h3>
12356
<span class="type">Event.Custom</span>
12377
<a href="../files/sortable_js_sortable.js.html#l459"><code>sortable/js/sortable.js:459</code></a>
12386
<div class="description">
12387
<p>A Sortable node was moved with a move.</p>
12391
<div class="params">
12392
<h4>Event Payload:</h4>
12394
<ul class="params-list">
12398
<code class="param-name">event</code>
12399
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
12404
<div class="param-description">
12405
<p>An Event Facade object with the following specific property added:</p>
12409
<ul class="params-list">
12412
<code class="param-name">same</code>
12413
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
12415
<div class="param-description">
12416
<p>Moved to the same list.</p>
12423
<code class="param-name">drag</code>
12424
<span class="type"><a href="../classes/DD.Drag.html" class="crosslink">DD.Drag</a></span>
12426
<div class="param-description">
12427
<p>The drag instance.</p>
12434
<code class="param-name">drop</code>
12435
<span class="type"><a href="../classes/DD.Drop.html" class="crosslink">DD.Drop</a></span>
12437
<div class="param-description">
12438
<p>The drop instance.</p>
12457
<div id="event_moved" class="events item">
12458
<h3 class="name"><code>moved</code></h3>
12459
<span class="type">Event.Custom</span>
12480
<a href="../files/sortable_js_sortable.js.html#l486"><code>sortable/js/sortable.js:486</code></a>
12489
<div class="description">
12490
<p>A Sortable node was moved.</p>
12494
<div class="params">
12495
<h4>Event Payload:</h4>
12497
<ul class="params-list">
12501
<code class="param-name">event</code>
12502
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
12507
<div class="param-description">
12508
<p>An Event Facade object with the following specific property added:</p>
12512
<ul class="params-list">
12515
<code class="param-name">same</code>
12516
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
12518
<div class="param-description">
12519
<p>Moved to the same list.</p>
12526
<code class="param-name">drag</code>
12527
<span class="type"><a href="../classes/DD.Drag.html" class="crosslink">DD.Drag</a></span>
12529
<div class="param-description">
12530
<p>The drag instance.</p>
12537
<code class="param-name">drop</code>
12538
<span class="type"><a href="../classes/DD.Drop.html" class="crosslink">DD.Drop</a></span>
12540
<div class="param-description">
12541
<p>The drop instance.</p>
12560
<div id="event_swap" class="events item">
12561
<h3 class="name"><code>swap</code></h3>
12562
<span class="type">Event.Custom</span>
12583
<a href="../files/sortable_js_sortable.js.html#l477"><code>sortable/js/sortable.js:477</code></a>
12592
<div class="description">
12593
<p>A Sortable node was moved with a swap.</p>
12597
<div class="params">
12598
<h4>Event Payload:</h4>
12600
<ul class="params-list">
12604
<code class="param-name">event</code>
12605
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span>
12610
<div class="param-description">
12611
<p>An Event Facade object with the following specific property added:</p>
12615
<ul class="params-list">
12618
<code class="param-name">same</code>
12619
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
12621
<div class="param-description">
12622
<p>Moved to the same list.</p>
12629
<code class="param-name">drag</code>
12630
<span class="type"><a href="../classes/DD.Drag.html" class="crosslink">DD.Drag</a></span>
12632
<div class="param-description">
12633
<p>The drag instance.</p>
12640
<code class="param-name">drop</code>
12641
<span class="type"><a href="../classes/DD.Drop.html" class="crosslink">DD.Drop</a></span>
12643
<div class="param-description">
12644
<p>The drop instance.</p>
12674
<script src="../assets/vendor/prettify/prettify-min.js"></script>
12675
<script>prettyPrint();</script>
12676
<script src="../assets/js/yui-prettify.js"></script>
12677
<script src="../assets/../api.js"></script>
12678
<script src="../assets/js/api-filter.js"></script>
12679
<script src="../assets/js/api-list.js"></script>
12680
<script src="../assets/js/api-search.js"></script>
12681
<script src="../assets/js/apidocs.js"></script>