|
1 <!DOCTYPE html> |
|
2 <html lang="en"> |
|
3 <head> |
|
4 <meta charset="utf-8"> |
|
5 <title>Plugin.Drag - YUI 3</title> |
|
6 <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/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 <link rel="shortcut icon" type="image/png" href="../assets/favicon.png"> |
|
10 <script src="http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"></script> |
|
11 </head> |
|
12 <body class="yui3-skin-sam"> |
|
13 |
|
14 <div id="doc"> |
|
15 <div id="hd" class="yui3-g header"> |
|
16 <div class="yui3-u-3-4"> |
|
17 |
|
18 <h1><img src="../assets/css/logo.png" title="YUI 3"></h1> |
|
19 |
|
20 </div> |
|
21 <div class="yui3-u-1-4 version"> |
|
22 <em>API Docs for: 3.10.3</em> |
|
23 </div> |
|
24 </div> |
|
25 <div id="bd" class="yui3-g"> |
|
26 |
|
27 <div class="yui3-u-1-4"> |
|
28 <div id="docs-sidebar" class="sidebar apidocs"> |
|
29 <div id="api-list"> |
|
30 <h2 class="off-left">APIs</h2> |
|
31 <div id="api-tabview" class="tabview"> |
|
32 <ul class="tabs"> |
|
33 <li><a href="#api-classes">Classes</a></li> |
|
34 <li><a href="#api-modules">Modules</a></li> |
|
35 </ul> |
|
36 |
|
37 <div id="api-tabview-filter"> |
|
38 <input type="search" id="api-filter" placeholder="Type to filter APIs"> |
|
39 </div> |
|
40 |
|
41 <div id="api-tabview-panel"> |
|
42 <ul id="api-classes" class="apis classes"> |
|
43 |
|
44 <li><a href="../classes/Anim.html">Anim</a></li> |
|
45 |
|
46 <li><a href="../classes/App.html">App</a></li> |
|
47 |
|
48 <li><a href="../classes/App.Base.html">App.Base</a></li> |
|
49 |
|
50 <li><a href="../classes/App.Content.html">App.Content</a></li> |
|
51 |
|
52 <li><a href="../classes/App.Transitions.html">App.Transitions</a></li> |
|
53 |
|
54 <li><a href="../classes/App.TransitionsNative.html">App.TransitionsNative</a></li> |
|
55 |
|
56 <li><a href="../classes/AreaSeries.html">AreaSeries</a></li> |
|
57 |
|
58 <li><a href="../classes/AreaSplineSeries.html">AreaSplineSeries</a></li> |
|
59 |
|
60 <li><a href="../classes/Array.html">Array</a></li> |
|
61 |
|
62 <li><a href="../classes/ArrayList.html">ArrayList</a></li> |
|
63 |
|
64 <li><a href="../classes/ArraySort.html">ArraySort</a></li> |
|
65 |
|
66 <li><a href="../classes/AsyncQueue.html">AsyncQueue</a></li> |
|
67 |
|
68 <li><a href="../classes/Attribute.html">Attribute</a></li> |
|
69 |
|
70 <li><a href="../classes/AttributeCore.html">AttributeCore</a></li> |
|
71 |
|
72 <li><a href="../classes/AttributeEvents.html">AttributeEvents</a></li> |
|
73 |
|
74 <li><a href="../classes/AttributeExtras.html">AttributeExtras</a></li> |
|
75 |
|
76 <li><a href="../classes/AttributeLite.html">AttributeLite</a></li> |
|
77 |
|
78 <li><a href="../classes/AttributeObservable.html">AttributeObservable</a></li> |
|
79 |
|
80 <li><a href="../classes/AutoComplete.html">AutoComplete</a></li> |
|
81 |
|
82 <li><a href="../classes/AutoCompleteBase.html">AutoCompleteBase</a></li> |
|
83 |
|
84 <li><a href="../classes/AutoCompleteFilters.html">AutoCompleteFilters</a></li> |
|
85 |
|
86 <li><a href="../classes/AutoCompleteHighlighters.html">AutoCompleteHighlighters</a></li> |
|
87 |
|
88 <li><a href="../classes/AutoCompleteList.html">AutoCompleteList</a></li> |
|
89 |
|
90 <li><a href="../classes/Axis.html">Axis</a></li> |
|
91 |
|
92 <li><a href="../classes/AxisBase.html">AxisBase</a></li> |
|
93 |
|
94 <li><a href="../classes/BarSeries.html">BarSeries</a></li> |
|
95 |
|
96 <li><a href="../classes/Base.html">Base</a></li> |
|
97 |
|
98 <li><a href="../classes/BaseCore.html">BaseCore</a></li> |
|
99 |
|
100 <li><a href="../classes/BaseObservable.html">BaseObservable</a></li> |
|
101 |
|
102 <li><a href="../classes/BottomAxisLayout.html">BottomAxisLayout</a></li> |
|
103 |
|
104 <li><a href="../classes/Button.html">Button</a></li> |
|
105 |
|
106 <li><a href="../classes/ButtonCore.html">ButtonCore</a></li> |
|
107 |
|
108 <li><a href="../classes/ButtonGroup.html">ButtonGroup</a></li> |
|
109 |
|
110 <li><a href="../classes/Cache.html">Cache</a></li> |
|
111 |
|
112 <li><a href="../classes/CacheOffline.html">CacheOffline</a></li> |
|
113 |
|
114 <li><a href="../classes/Calendar.html">Calendar</a></li> |
|
115 |
|
116 <li><a href="../classes/CalendarBase.html">CalendarBase</a></li> |
|
117 |
|
118 <li><a href="../classes/CandlestickSeries.html">CandlestickSeries</a></li> |
|
119 |
|
120 <li><a href="../classes/CanvasCircle.html">CanvasCircle</a></li> |
|
121 |
|
122 <li><a href="../classes/CanvasDrawing.html">CanvasDrawing</a></li> |
|
123 |
|
124 <li><a href="../classes/CanvasEllipse.html">CanvasEllipse</a></li> |
|
125 |
|
126 <li><a href="../classes/CanvasGraphic.html">CanvasGraphic</a></li> |
|
127 |
|
128 <li><a href="../classes/CanvasPath.html">CanvasPath</a></li> |
|
129 |
|
130 <li><a href="../classes/CanvasPieSlice.html">CanvasPieSlice</a></li> |
|
131 |
|
132 <li><a href="../classes/CanvasRect.html">CanvasRect</a></li> |
|
133 |
|
134 <li><a href="../classes/CanvasShape.html">CanvasShape</a></li> |
|
135 |
|
136 <li><a href="../classes/CartesianChart.html">CartesianChart</a></li> |
|
137 |
|
138 <li><a href="../classes/CartesianSeries.html">CartesianSeries</a></li> |
|
139 |
|
140 <li><a href="../classes/CategoryAxis.html">CategoryAxis</a></li> |
|
141 |
|
142 <li><a href="../classes/CategoryAxisBase.html">CategoryAxisBase</a></li> |
|
143 |
|
144 <li><a href="../classes/CategoryImpl.html">CategoryImpl</a></li> |
|
145 |
|
146 <li><a href="../classes/Chart.html">Chart</a></li> |
|
147 |
|
148 <li><a href="../classes/ChartBase.html">ChartBase</a></li> |
|
149 |
|
150 <li><a href="../classes/ChartLegend.html">ChartLegend</a></li> |
|
151 |
|
152 <li><a href="../classes/Circle.html">Circle</a></li> |
|
153 |
|
154 <li><a href="../classes/CircleGroup.html">CircleGroup</a></li> |
|
155 |
|
156 <li><a href="../classes/ClassNameManager.html">ClassNameManager</a></li> |
|
157 |
|
158 <li><a href="../classes/ClickableRail.html">ClickableRail</a></li> |
|
159 |
|
160 <li><a href="../classes/Color.html">Color</a></li> |
|
161 |
|
162 <li><a href="../classes/Color.Harmony.html">Color.Harmony</a></li> |
|
163 |
|
164 <li><a href="../classes/Color.HSL.html">Color.HSL</a></li> |
|
165 |
|
166 <li><a href="../classes/Color.HSV.html">Color.HSV</a></li> |
|
167 |
|
168 <li><a href="../classes/ColumnSeries.html">ColumnSeries</a></li> |
|
169 |
|
170 <li><a href="../classes/ComboSeries.html">ComboSeries</a></li> |
|
171 |
|
172 <li><a href="../classes/ComboSplineSeries.html">ComboSplineSeries</a></li> |
|
173 |
|
174 <li><a href="../classes/config.html">config</a></li> |
|
175 |
|
176 <li><a href="../classes/Console.html">Console</a></li> |
|
177 |
|
178 <li><a href="../classes/Controller.html">Controller</a></li> |
|
179 |
|
180 <li><a href="../classes/Cookie.html">Cookie</a></li> |
|
181 |
|
182 <li><a href="../classes/CurveUtil.html">CurveUtil</a></li> |
|
183 |
|
184 <li><a href="../classes/CustomEvent.html">CustomEvent</a></li> |
|
185 |
|
186 <li><a href="../classes/DataSchema.Array.html">DataSchema.Array</a></li> |
|
187 |
|
188 <li><a href="../classes/DataSchema.Base.html">DataSchema.Base</a></li> |
|
189 |
|
190 <li><a href="../classes/DataSchema.JSON.html">DataSchema.JSON</a></li> |
|
191 |
|
192 <li><a href="../classes/DataSchema.Text.html">DataSchema.Text</a></li> |
|
193 |
|
194 <li><a href="../classes/DataSchema.XML.html">DataSchema.XML</a></li> |
|
195 |
|
196 <li><a href="../classes/DataSource.Function.html">DataSource.Function</a></li> |
|
197 |
|
198 <li><a href="../classes/DataSource.Get.html">DataSource.Get</a></li> |
|
199 |
|
200 <li><a href="../classes/DataSource.IO.html">DataSource.IO</a></li> |
|
201 |
|
202 <li><a href="../classes/DataSource.Local.html">DataSource.Local</a></li> |
|
203 |
|
204 <li><a href="../classes/DataSourceArraySchema.html">DataSourceArraySchema</a></li> |
|
205 |
|
206 <li><a href="../classes/DataSourceCache.html">DataSourceCache</a></li> |
|
207 |
|
208 <li><a href="../classes/DataSourceCacheExtension.html">DataSourceCacheExtension</a></li> |
|
209 |
|
210 <li><a href="../classes/DataSourceJSONSchema.html">DataSourceJSONSchema</a></li> |
|
211 |
|
212 <li><a href="../classes/DataSourceTextSchema.html">DataSourceTextSchema</a></li> |
|
213 |
|
214 <li><a href="../classes/DataSourceXMLSchema.html">DataSourceXMLSchema</a></li> |
|
215 |
|
216 <li><a href="../classes/DataTable.html">DataTable</a></li> |
|
217 |
|
218 <li><a href="../classes/DataTable.Base.html">DataTable.Base</a></li> |
|
219 |
|
220 <li><a href="../classes/DataTable.BodyView.html">DataTable.BodyView</a></li> |
|
221 |
|
222 <li><a href="../classes/DataTable.BodyView.Formatters.html">DataTable.BodyView.Formatters</a></li> |
|
223 |
|
224 <li><a href="../classes/DataTable.ColumnWidths.html">DataTable.ColumnWidths</a></li> |
|
225 |
|
226 <li><a href="../classes/DataTable.Core.html">DataTable.Core</a></li> |
|
227 |
|
228 <li><a href="../classes/DataTable.HeaderView.html">DataTable.HeaderView</a></li> |
|
229 |
|
230 <li><a href="../classes/DataTable.Message.html">DataTable.Message</a></li> |
|
231 |
|
232 <li><a href="../classes/DataTable.Mutable.html">DataTable.Mutable</a></li> |
|
233 |
|
234 <li><a href="../classes/DataTable.Scrollable.html">DataTable.Scrollable</a></li> |
|
235 |
|
236 <li><a href="../classes/DataTable.Sortable.html">DataTable.Sortable</a></li> |
|
237 |
|
238 <li><a href="../classes/DataTable.TableView.html">DataTable.TableView</a></li> |
|
239 |
|
240 <li><a href="../classes/Date.html">Date</a></li> |
|
241 |
|
242 <li><a href="../classes/DD.DDM.html">DD.DDM</a></li> |
|
243 |
|
244 <li><a href="../classes/DD.Delegate.html">DD.Delegate</a></li> |
|
245 |
|
246 <li><a href="../classes/DD.Drag.html">DD.Drag</a></li> |
|
247 |
|
248 <li><a href="../classes/DD.Drop.html">DD.Drop</a></li> |
|
249 |
|
250 <li><a href="../classes/DD.Scroll.html">DD.Scroll</a></li> |
|
251 |
|
252 <li><a href="../classes/Dial.html">Dial</a></li> |
|
253 |
|
254 <li><a href="../classes/Do.html">Do</a></li> |
|
255 |
|
256 <li><a href="../classes/Do.AlterArgs.html">Do.AlterArgs</a></li> |
|
257 |
|
258 <li><a href="../classes/Do.AlterReturn.html">Do.AlterReturn</a></li> |
|
259 |
|
260 <li><a href="../classes/Do.Error.html">Do.Error</a></li> |
|
261 |
|
262 <li><a href="../classes/Do.Halt.html">Do.Halt</a></li> |
|
263 |
|
264 <li><a href="../classes/Do.Method.html">Do.Method</a></li> |
|
265 |
|
266 <li><a href="../classes/Do.Prevent.html">Do.Prevent</a></li> |
|
267 |
|
268 <li><a href="../classes/DOM.html">DOM</a></li> |
|
269 |
|
270 <li><a href="../classes/DOMEventFacade.html">DOMEventFacade</a></li> |
|
271 |
|
272 <li><a href="../classes/Drawing.html">Drawing</a></li> |
|
273 |
|
274 <li><a href="../classes/Easing.html">Easing</a></li> |
|
275 |
|
276 <li><a href="../classes/EditorBase.html">EditorBase</a></li> |
|
277 |
|
278 <li><a href="../classes/EditorSelection.html">EditorSelection</a></li> |
|
279 |
|
280 <li><a href="../classes/Ellipse.html">Ellipse</a></li> |
|
281 |
|
282 <li><a href="../classes/EllipseGroup.html">EllipseGroup</a></li> |
|
283 |
|
284 <li><a href="../classes/Escape.html">Escape</a></li> |
|
285 |
|
286 <li><a href="../classes/Event.html">Event</a></li> |
|
287 |
|
288 <li><a href="../classes/EventFacade.html">EventFacade</a></li> |
|
289 |
|
290 <li><a href="../classes/EventHandle.html">EventHandle</a></li> |
|
291 |
|
292 <li><a href="../classes/EventTarget.html">EventTarget</a></li> |
|
293 |
|
294 <li><a href="../classes/ExecCommand.html">ExecCommand</a></li> |
|
295 |
|
296 <li><a href="../classes/Features.html">Features</a></li> |
|
297 |
|
298 <li><a href="../classes/File.html">File</a></li> |
|
299 |
|
300 <li><a href="../classes/FileFlash.html">FileFlash</a></li> |
|
301 |
|
302 <li><a href="../classes/FileHTML5.html">FileHTML5</a></li> |
|
303 |
|
304 <li><a href="../classes/Fills.html">Fills</a></li> |
|
305 |
|
306 <li><a href="../classes/Frame.html">Frame</a></li> |
|
307 |
|
308 <li><a href="../classes/Get.html">Get</a></li> |
|
309 |
|
310 <li><a href="../classes/Get.Transaction.html">Get.Transaction</a></li> |
|
311 |
|
312 <li><a href="../classes/GetNodeJS.html">GetNodeJS</a></li> |
|
313 |
|
314 <li><a href="../classes/Graph.html">Graph</a></li> |
|
315 |
|
316 <li><a href="../classes/Graphic.html">Graphic</a></li> |
|
317 |
|
318 <li><a href="../classes/GraphicBase.html">GraphicBase</a></li> |
|
319 |
|
320 <li><a href="../classes/Gridlines.html">Gridlines</a></li> |
|
321 |
|
322 <li><a href="../classes/GroupDiamond.html">GroupDiamond</a></li> |
|
323 |
|
324 <li><a href="../classes/GroupRect.html">GroupRect</a></li> |
|
325 |
|
326 <li><a href="../classes/Handlebars.html">Handlebars</a></li> |
|
327 |
|
328 <li><a href="../classes/Highlight.html">Highlight</a></li> |
|
329 |
|
330 <li><a href="../classes/Histogram.html">Histogram</a></li> |
|
331 |
|
332 <li><a href="../classes/HistoryBase.html">HistoryBase</a></li> |
|
333 |
|
334 <li><a href="../classes/HistoryHash.html">HistoryHash</a></li> |
|
335 |
|
336 <li><a href="../classes/HistoryHTML5.html">HistoryHTML5</a></li> |
|
337 |
|
338 <li><a href="../classes/HorizontalLegendLayout.html">HorizontalLegendLayout</a></li> |
|
339 |
|
340 <li><a href="../classes/ImgLoadGroup.html">ImgLoadGroup</a></li> |
|
341 |
|
342 <li><a href="../classes/ImgLoadImgObj.html">ImgLoadImgObj</a></li> |
|
343 |
|
344 <li><a href="../classes/Intl.html">Intl</a></li> |
|
345 |
|
346 <li><a href="../classes/IO.html">IO</a></li> |
|
347 |
|
348 <li><a href="../classes/JSON.html">JSON</a></li> |
|
349 |
|
350 <li><a href="../classes/JSONPRequest.html">JSONPRequest</a></li> |
|
351 |
|
352 <li><a href="../classes/Lang.html">Lang</a></li> |
|
353 |
|
354 <li><a href="../classes/LazyModelList.html">LazyModelList</a></li> |
|
355 |
|
356 <li><a href="../classes/LeftAxisLayout.html">LeftAxisLayout</a></li> |
|
357 |
|
358 <li><a href="../classes/Lines.html">Lines</a></li> |
|
359 |
|
360 <li><a href="../classes/LineSeries.html">LineSeries</a></li> |
|
361 |
|
362 <li><a href="../classes/Loader.html">Loader</a></li> |
|
363 |
|
364 <li><a href="../classes/MarkerSeries.html">MarkerSeries</a></li> |
|
365 |
|
366 <li><a href="../classes/Matrix.html">Matrix</a></li> |
|
367 |
|
368 <li><a href="../classes/MatrixUtil.html">MatrixUtil</a></li> |
|
369 |
|
370 <li><a href="../classes/Model.html">Model</a></li> |
|
371 |
|
372 <li><a href="../classes/ModelList.html">ModelList</a></li> |
|
373 |
|
374 <li><a href="../classes/ModelSync.REST.html">ModelSync.REST</a></li> |
|
375 |
|
376 <li><a href="../classes/Node.html">Node</a></li> |
|
377 |
|
378 <li><a href="../classes/NodeList.html">NodeList</a></li> |
|
379 |
|
380 <li><a href="../classes/Number.html">Number</a></li> |
|
381 |
|
382 <li><a href="../classes/NumericAxis.html">NumericAxis</a></li> |
|
383 |
|
384 <li><a href="../classes/NumericAxisBase.html">NumericAxisBase</a></li> |
|
385 |
|
386 <li><a href="../classes/NumericImpl.html">NumericImpl</a></li> |
|
387 |
|
388 <li><a href="../classes/Object.html">Object</a></li> |
|
389 |
|
390 <li><a href="../classes/OHLCSeries.html">OHLCSeries</a></li> |
|
391 |
|
392 <li><a href="../classes/Overlay.html">Overlay</a></li> |
|
393 |
|
394 <li><a href="../classes/Panel.html">Panel</a></li> |
|
395 |
|
396 <li><a href="../classes/Parallel.html">Parallel</a></li> |
|
397 |
|
398 <li><a href="../classes/Path.html">Path</a></li> |
|
399 |
|
400 <li><a href="../classes/PieChart.html">PieChart</a></li> |
|
401 |
|
402 <li><a href="../classes/PieSeries.html">PieSeries</a></li> |
|
403 |
|
404 <li><a href="../classes/Pjax.html">Pjax</a></li> |
|
405 |
|
406 <li><a href="../classes/PjaxBase.html">PjaxBase</a></li> |
|
407 |
|
408 <li><a href="../classes/PjaxContent.html">PjaxContent</a></li> |
|
409 |
|
410 <li><a href="../classes/Plots.html">Plots</a></li> |
|
411 |
|
412 <li><a href="../classes/Plugin.Align.html">Plugin.Align</a></li> |
|
413 |
|
414 <li><a href="../classes/Plugin.AutoComplete.html">Plugin.AutoComplete</a></li> |
|
415 |
|
416 <li><a href="../classes/Plugin.Base.html">Plugin.Base</a></li> |
|
417 |
|
418 <li><a href="../classes/Plugin.Button.html">Plugin.Button</a></li> |
|
419 |
|
420 <li><a href="../classes/Plugin.Cache.html">Plugin.Cache</a></li> |
|
421 |
|
422 <li><a href="../classes/Plugin.CalendarNavigator.html">Plugin.CalendarNavigator</a></li> |
|
423 |
|
424 <li><a href="../classes/Plugin.ConsoleFilters.html">Plugin.ConsoleFilters</a></li> |
|
425 |
|
426 <li><a href="../classes/Plugin.CreateLinkBase.html">Plugin.CreateLinkBase</a></li> |
|
427 |
|
428 <li><a href="../classes/Plugin.DataTableDataSource.html">Plugin.DataTableDataSource</a></li> |
|
429 |
|
430 <li><a href="../classes/Plugin.DDConstrained.html">Plugin.DDConstrained</a></li> |
|
431 |
|
432 <li><a href="../classes/Plugin.DDNodeScroll.html">Plugin.DDNodeScroll</a></li> |
|
433 |
|
434 <li><a href="../classes/Plugin.DDProxy.html">Plugin.DDProxy</a></li> |
|
435 |
|
436 <li><a href="../classes/Plugin.DDWindowScroll.html">Plugin.DDWindowScroll</a></li> |
|
437 |
|
438 <li><a href="../classes/Plugin.Drag.html">Plugin.Drag</a></li> |
|
439 |
|
440 <li><a href="../classes/Plugin.Drop.html">Plugin.Drop</a></li> |
|
441 |
|
442 <li><a href="../classes/Plugin.EditorBidi.html">Plugin.EditorBidi</a></li> |
|
443 |
|
444 <li><a href="../classes/Plugin.EditorBR.html">Plugin.EditorBR</a></li> |
|
445 |
|
446 <li><a href="../classes/Plugin.EditorLists.html">Plugin.EditorLists</a></li> |
|
447 |
|
448 <li><a href="../classes/Plugin.EditorPara.html">Plugin.EditorPara</a></li> |
|
449 |
|
450 <li><a href="../classes/Plugin.EditorParaBase.html">Plugin.EditorParaBase</a></li> |
|
451 |
|
452 <li><a href="../classes/Plugin.EditorParaIE.html">Plugin.EditorParaIE</a></li> |
|
453 |
|
454 <li><a href="../classes/Plugin.EditorTab.html">Plugin.EditorTab</a></li> |
|
455 |
|
456 <li><a href="../classes/Plugin.ExecCommand.html">Plugin.ExecCommand</a></li> |
|
457 |
|
458 <li><a href="../classes/Plugin.Flick.html">Plugin.Flick</a></li> |
|
459 |
|
460 <li><a href="../classes/Plugin.Host.html">Plugin.Host</a></li> |
|
461 |
|
462 <li><a href="../classes/plugin.NodeFocusManager.html">plugin.NodeFocusManager</a></li> |
|
463 |
|
464 <li><a href="../classes/Plugin.NodeFX.html">Plugin.NodeFX</a></li> |
|
465 |
|
466 <li><a href="../classes/plugin.NodeMenuNav.html">plugin.NodeMenuNav</a></li> |
|
467 |
|
468 <li><a href="../classes/Plugin.Pjax.html">Plugin.Pjax</a></li> |
|
469 |
|
470 <li><a href="../classes/Plugin.Resize.html">Plugin.Resize</a></li> |
|
471 |
|
472 <li><a href="../classes/Plugin.ResizeConstrained.html">Plugin.ResizeConstrained</a></li> |
|
473 |
|
474 <li><a href="../classes/Plugin.ResizeProxy.html">Plugin.ResizeProxy</a></li> |
|
475 |
|
476 <li><a href="../classes/Plugin.ScrollInfo.html">Plugin.ScrollInfo</a></li> |
|
477 |
|
478 <li><a href="../classes/Plugin.ScrollViewList.html">Plugin.ScrollViewList</a></li> |
|
479 |
|
480 <li><a href="../classes/Plugin.ScrollViewPaginator.html">Plugin.ScrollViewPaginator</a></li> |
|
481 |
|
482 <li><a href="../classes/Plugin.ScrollViewScrollbars.html">Plugin.ScrollViewScrollbars</a></li> |
|
483 |
|
484 <li><a href="../classes/Plugin.Shim.html">Plugin.Shim</a></li> |
|
485 |
|
486 <li><a href="../classes/Plugin.SortScroll.html">Plugin.SortScroll</a></li> |
|
487 |
|
488 <li><a href="../classes/Plugin.Tree.Lazy.html">Plugin.Tree.Lazy</a></li> |
|
489 |
|
490 <li><a href="../classes/Plugin.WidgetAnim.html">Plugin.WidgetAnim</a></li> |
|
491 |
|
492 <li><a href="../classes/Pollable.html">Pollable</a></li> |
|
493 |
|
494 <li><a href="../classes/Promise.html">Promise</a></li> |
|
495 |
|
496 <li><a href="../classes/Promise.Resolver.html">Promise.Resolver</a></li> |
|
497 |
|
498 <li><a href="../classes/QueryString.html">QueryString</a></li> |
|
499 |
|
500 <li><a href="../classes/Queue.html">Queue</a></li> |
|
501 |
|
502 <li><a href="../classes/RangeSeries.html">RangeSeries</a></li> |
|
503 |
|
504 <li><a href="../classes/Record.html">Record</a></li> |
|
505 |
|
506 <li><a href="../classes/Recordset.html">Recordset</a></li> |
|
507 |
|
508 <li><a href="../classes/RecordsetFilter.html">RecordsetFilter</a></li> |
|
509 |
|
510 <li><a href="../classes/RecordsetIndexer.html">RecordsetIndexer</a></li> |
|
511 |
|
512 <li><a href="../classes/RecordsetSort.html">RecordsetSort</a></li> |
|
513 |
|
514 <li><a href="../classes/Rect.html">Rect</a></li> |
|
515 |
|
516 <li><a href="../classes/Renderer.html">Renderer</a></li> |
|
517 |
|
518 <li><a href="../classes/Resize.html">Resize</a></li> |
|
519 |
|
520 <li><a href="../classes/RightAxisLayout.html">RightAxisLayout</a></li> |
|
521 |
|
522 <li><a href="../classes/Router.html">Router</a></li> |
|
523 |
|
524 <li><a href="../classes/ScrollView.html">ScrollView</a></li> |
|
525 |
|
526 <li><a href="../classes/Selector.html">Selector</a></li> |
|
527 |
|
528 <li><a href="../classes/SeriesBase.html">SeriesBase</a></li> |
|
529 |
|
530 <li><a href="../classes/Shape.html">Shape</a></li> |
|
531 |
|
532 <li><a href="../classes/ShapeGroup.html">ShapeGroup</a></li> |
|
533 |
|
534 <li><a href="../classes/Slider.html">Slider</a></li> |
|
535 |
|
536 <li><a href="../classes/SliderBase.html">SliderBase</a></li> |
|
537 |
|
538 <li><a href="../classes/SliderValueRange.html">SliderValueRange</a></li> |
|
539 |
|
540 <li><a href="../classes/soon.html">soon</a></li> |
|
541 |
|
542 <li><a href="../classes/Sortable.html">Sortable</a></li> |
|
543 |
|
544 <li><a href="../classes/SplineSeries.html">SplineSeries</a></li> |
|
545 |
|
546 <li><a href="../classes/StackedAreaSeries.html">StackedAreaSeries</a></li> |
|
547 |
|
548 <li><a href="../classes/StackedAreaSplineSeries.html">StackedAreaSplineSeries</a></li> |
|
549 |
|
550 <li><a href="../classes/StackedAxis.html">StackedAxis</a></li> |
|
551 |
|
552 <li><a href="../classes/StackedAxisBase.html">StackedAxisBase</a></li> |
|
553 |
|
554 <li><a href="../classes/StackedBarSeries.html">StackedBarSeries</a></li> |
|
555 |
|
556 <li><a href="../classes/StackedColumnSeries.html">StackedColumnSeries</a></li> |
|
557 |
|
558 <li><a href="../classes/StackedComboSeries.html">StackedComboSeries</a></li> |
|
559 |
|
560 <li><a href="../classes/StackedComboSplineSeries.html">StackedComboSplineSeries</a></li> |
|
561 |
|
562 <li><a href="../classes/StackedImpl.html">StackedImpl</a></li> |
|
563 |
|
564 <li><a href="../classes/StackedLineSeries.html">StackedLineSeries</a></li> |
|
565 |
|
566 <li><a href="../classes/StackedMarkerSeries.html">StackedMarkerSeries</a></li> |
|
567 |
|
568 <li><a href="../classes/StackedSplineSeries.html">StackedSplineSeries</a></li> |
|
569 |
|
570 <li><a href="../classes/StackingUtil.html">StackingUtil</a></li> |
|
571 |
|
572 <li><a href="../classes/State.html">State</a></li> |
|
573 |
|
574 <li><a href="../classes/StyleSheet.html">StyleSheet</a></li> |
|
575 |
|
576 <li><a href="../classes/Subscriber.html">Subscriber</a></li> |
|
577 |
|
578 <li><a href="../classes/SVGCircle.html">SVGCircle</a></li> |
|
579 |
|
580 <li><a href="../classes/SVGDrawing.html">SVGDrawing</a></li> |
|
581 |
|
582 <li><a href="../classes/SVGEllipse.html">SVGEllipse</a></li> |
|
583 |
|
584 <li><a href="../classes/SVGGraphic.html">SVGGraphic</a></li> |
|
585 |
|
586 <li><a href="../classes/SVGPath.html">SVGPath</a></li> |
|
587 |
|
588 <li><a href="../classes/SVGPieSlice.html">SVGPieSlice</a></li> |
|
589 |
|
590 <li><a href="../classes/SVGRect.html">SVGRect</a></li> |
|
591 |
|
592 <li><a href="../classes/SVGShape.html">SVGShape</a></li> |
|
593 |
|
594 <li><a href="../classes/SWF.html">SWF</a></li> |
|
595 |
|
596 <li><a href="../classes/SWFDetect.html">SWFDetect</a></li> |
|
597 |
|
598 <li><a href="../classes/SyntheticEvent.html">SyntheticEvent</a></li> |
|
599 |
|
600 <li><a href="../classes/SyntheticEvent.Notifier.html">SyntheticEvent.Notifier</a></li> |
|
601 |
|
602 <li><a href="../classes/SynthRegistry.html">SynthRegistry</a></li> |
|
603 |
|
604 <li><a href="../classes/Tab.html">Tab</a></li> |
|
605 |
|
606 <li><a href="../classes/TabView.html">TabView</a></li> |
|
607 |
|
608 <li><a href="../classes/Template.html">Template</a></li> |
|
609 |
|
610 <li><a href="../classes/Template.Micro.html">Template.Micro</a></li> |
|
611 |
|
612 <li><a href="../classes/Test.ArrayAssert.html">Test.ArrayAssert</a></li> |
|
613 |
|
614 <li><a href="../classes/Test.Assert.html">Test.Assert</a></li> |
|
615 |
|
616 <li><a href="../classes/Test.AssertionError.html">Test.AssertionError</a></li> |
|
617 |
|
618 <li><a href="../classes/Test.ComparisonFailure.html">Test.ComparisonFailure</a></li> |
|
619 |
|
620 <li><a href="../classes/Test.Console.html">Test.Console</a></li> |
|
621 |
|
622 <li><a href="../classes/Test.CoverageFormat.html">Test.CoverageFormat</a></li> |
|
623 |
|
624 <li><a href="../classes/Test.DateAssert.html">Test.DateAssert</a></li> |
|
625 |
|
626 <li><a href="../classes/Test.EventTarget.html">Test.EventTarget</a></li> |
|
627 |
|
628 <li><a href="../classes/Test.Mock.html">Test.Mock</a></li> |
|
629 |
|
630 <li><a href="../classes/Test.Mock.Value.html">Test.Mock.Value</a></li> |
|
631 |
|
632 <li><a href="../classes/Test.ObjectAssert.html">Test.ObjectAssert</a></li> |
|
633 |
|
634 <li><a href="../classes/Test.Reporter.html">Test.Reporter</a></li> |
|
635 |
|
636 <li><a href="../classes/Test.Results.html">Test.Results</a></li> |
|
637 |
|
638 <li><a href="../classes/Test.Runner.html">Test.Runner</a></li> |
|
639 |
|
640 <li><a href="../classes/Test.ShouldError.html">Test.ShouldError</a></li> |
|
641 |
|
642 <li><a href="../classes/Test.ShouldFail.html">Test.ShouldFail</a></li> |
|
643 |
|
644 <li><a href="../classes/Test.TestCase.html">Test.TestCase</a></li> |
|
645 |
|
646 <li><a href="../classes/Test.TestFormat.html">Test.TestFormat</a></li> |
|
647 |
|
648 <li><a href="../classes/Test.TestNode.html">Test.TestNode</a></li> |
|
649 |
|
650 <li><a href="../classes/Test.TestRunner.html">Test.TestRunner</a></li> |
|
651 |
|
652 <li><a href="../classes/Test.TestSuite.html">Test.TestSuite</a></li> |
|
653 |
|
654 <li><a href="../classes/Test.UnexpectedError.html">Test.UnexpectedError</a></li> |
|
655 |
|
656 <li><a href="../classes/Test.UnexpectedValue.html">Test.UnexpectedValue</a></li> |
|
657 |
|
658 <li><a href="../classes/Test.Wait.html">Test.Wait</a></li> |
|
659 |
|
660 <li><a href="../classes/Text.AccentFold.html">Text.AccentFold</a></li> |
|
661 |
|
662 <li><a href="../classes/Text.WordBreak.html">Text.WordBreak</a></li> |
|
663 |
|
664 <li><a href="../classes/TimeAxis.html">TimeAxis</a></li> |
|
665 |
|
666 <li><a href="../classes/TimeAxisBase.html">TimeAxisBase</a></li> |
|
667 |
|
668 <li><a href="../classes/TimeImpl.html">TimeImpl</a></li> |
|
669 |
|
670 <li><a href="../classes/ToggleButton.html">ToggleButton</a></li> |
|
671 |
|
672 <li><a href="../classes/TopAxisLayout.html">TopAxisLayout</a></li> |
|
673 |
|
674 <li><a href="../classes/Transition.html">Transition</a></li> |
|
675 |
|
676 <li><a href="../classes/Tree.html">Tree</a></li> |
|
677 |
|
678 <li><a href="../classes/Tree.Labelable.html">Tree.Labelable</a></li> |
|
679 |
|
680 <li><a href="../classes/Tree.Node.html">Tree.Node</a></li> |
|
681 |
|
682 <li><a href="../classes/Tree.Node.Labelable.html">Tree.Node.Labelable</a></li> |
|
683 |
|
684 <li><a href="../classes/Tree.Node.Openable.html">Tree.Node.Openable</a></li> |
|
685 |
|
686 <li><a href="../classes/Tree.Node.Selectable.html">Tree.Node.Selectable</a></li> |
|
687 |
|
688 <li><a href="../classes/Tree.Node.Sortable.html">Tree.Node.Sortable</a></li> |
|
689 |
|
690 <li><a href="../classes/Tree.Openable.html">Tree.Openable</a></li> |
|
691 |
|
692 <li><a href="../classes/Tree.Selectable.html">Tree.Selectable</a></li> |
|
693 |
|
694 <li><a href="../classes/Tree.Sortable.html">Tree.Sortable</a></li> |
|
695 |
|
696 <li><a href="../classes/UA.html">UA</a></li> |
|
697 |
|
698 <li><a href="../classes/Uploader.html">Uploader</a></li> |
|
699 |
|
700 <li><a href="../classes/Uploader.Queue.html">Uploader.Queue</a></li> |
|
701 |
|
702 <li><a href="../classes/UploaderFlash.html">UploaderFlash</a></li> |
|
703 |
|
704 <li><a href="../classes/UploaderHTML5.html">UploaderHTML5</a></li> |
|
705 |
|
706 <li><a href="../classes/ValueChange.html">ValueChange</a></li> |
|
707 |
|
708 <li><a href="../classes/VerticalLegendLayout.html">VerticalLegendLayout</a></li> |
|
709 |
|
710 <li><a href="../classes/View.html">View</a></li> |
|
711 |
|
712 <li><a href="../classes/View.NodeMap.html">View.NodeMap</a></li> |
|
713 |
|
714 <li><a href="../classes/VMLCircle.html">VMLCircle</a></li> |
|
715 |
|
716 <li><a href="../classes/VMLDrawing.html">VMLDrawing</a></li> |
|
717 |
|
718 <li><a href="../classes/VMLEllipse.html">VMLEllipse</a></li> |
|
719 |
|
720 <li><a href="../classes/VMLGraphic.html">VMLGraphic</a></li> |
|
721 |
|
722 <li><a href="../classes/VMLPath.html">VMLPath</a></li> |
|
723 |
|
724 <li><a href="../classes/VMLPieSlice.html">VMLPieSlice</a></li> |
|
725 |
|
726 <li><a href="../classes/VMLRect.html">VMLRect</a></li> |
|
727 |
|
728 <li><a href="../classes/VMLShape.html">VMLShape</a></li> |
|
729 |
|
730 <li><a href="../classes/Widget.html">Widget</a></li> |
|
731 |
|
732 <li><a href="../classes/WidgetAutohide.html">WidgetAutohide</a></li> |
|
733 |
|
734 <li><a href="../classes/WidgetButtons.html">WidgetButtons</a></li> |
|
735 |
|
736 <li><a href="../classes/WidgetChild.html">WidgetChild</a></li> |
|
737 |
|
738 <li><a href="../classes/WidgetModality.html">WidgetModality</a></li> |
|
739 |
|
740 <li><a href="../classes/WidgetParent.html">WidgetParent</a></li> |
|
741 |
|
742 <li><a href="../classes/WidgetPosition.html">WidgetPosition</a></li> |
|
743 |
|
744 <li><a href="../classes/WidgetPositionAlign.html">WidgetPositionAlign</a></li> |
|
745 |
|
746 <li><a href="../classes/WidgetPositionConstrain.html">WidgetPositionConstrain</a></li> |
|
747 |
|
748 <li><a href="../classes/WidgetStack.html">WidgetStack</a></li> |
|
749 |
|
750 <li><a href="../classes/WidgetStdMod.html">WidgetStdMod</a></li> |
|
751 |
|
752 <li><a href="../classes/XML.html">XML</a></li> |
|
753 |
|
754 <li><a href="../classes/YQL.html">YQL</a></li> |
|
755 |
|
756 <li><a href="../classes/YQLRequest.html">YQLRequest</a></li> |
|
757 |
|
758 <li><a href="../classes/YUI.html">YUI</a></li> |
|
759 |
|
760 <li><a href="../classes/YUI~substitute.html">YUI~substitute</a></li> |
|
761 |
|
762 </ul> |
|
763 |
|
764 <ul id="api-modules" class="apis modules"> |
|
765 |
|
766 <li><a href="../modules/align-plugin.html">align-plugin</a></li> |
|
767 |
|
768 <li><a href="../modules/anim.html">anim</a></li> |
|
769 |
|
770 <li><a href="../modules/anim-base.html">anim-base</a></li> |
|
771 |
|
772 <li><a href="../modules/anim-color.html">anim-color</a></li> |
|
773 |
|
774 <li><a href="../modules/anim-curve.html">anim-curve</a></li> |
|
775 |
|
776 <li><a href="../modules/anim-easing.html">anim-easing</a></li> |
|
777 |
|
778 <li><a href="../modules/anim-node-plugin.html">anim-node-plugin</a></li> |
|
779 |
|
780 <li><a href="../modules/anim-scroll.html">anim-scroll</a></li> |
|
781 |
|
782 <li><a href="../modules/anim-shape.html">anim-shape</a></li> |
|
783 |
|
784 <li><a href="../modules/anim-shape-transform.html">anim-shape-transform</a></li> |
|
785 |
|
786 <li><a href="../modules/anim-xy.html">anim-xy</a></li> |
|
787 |
|
788 <li><a href="../modules/app.html">app</a></li> |
|
789 |
|
790 <li><a href="../modules/app-base.html">app-base</a></li> |
|
791 |
|
792 <li><a href="../modules/app-content.html">app-content</a></li> |
|
793 |
|
794 <li><a href="../modules/app-transitions.html">app-transitions</a></li> |
|
795 |
|
796 <li><a href="../modules/app-transitions-native.html">app-transitions-native</a></li> |
|
797 |
|
798 <li><a href="../modules/array-extras.html">array-extras</a></li> |
|
799 |
|
800 <li><a href="../modules/array-invoke.html">array-invoke</a></li> |
|
801 |
|
802 <li><a href="../modules/arraylist.html">arraylist</a></li> |
|
803 |
|
804 <li><a href="../modules/arraylist-add.html">arraylist-add</a></li> |
|
805 |
|
806 <li><a href="../modules/arraylist-filter.html">arraylist-filter</a></li> |
|
807 |
|
808 <li><a href="../modules/arraysort.html">arraysort</a></li> |
|
809 |
|
810 <li><a href="../modules/async-queue.html">async-queue</a></li> |
|
811 |
|
812 <li><a href="../modules/attribute.html">attribute</a></li> |
|
813 |
|
814 <li><a href="../modules/attribute-base.html">attribute-base</a></li> |
|
815 |
|
816 <li><a href="../modules/attribute-complex.html">attribute-complex</a></li> |
|
817 |
|
818 <li><a href="../modules/attribute-core.html">attribute-core</a></li> |
|
819 |
|
820 <li><a href="../modules/attribute-extras.html">attribute-extras</a></li> |
|
821 |
|
822 <li><a href="../modules/attribute-observable.html">attribute-observable</a></li> |
|
823 |
|
824 <li><a href="../modules/autocomplete.html">autocomplete</a></li> |
|
825 |
|
826 <li><a href="../modules/autocomplete-base.html">autocomplete-base</a></li> |
|
827 |
|
828 <li><a href="../modules/autocomplete-filters.html">autocomplete-filters</a></li> |
|
829 |
|
830 <li><a href="../modules/autocomplete-filters-accentfold.html">autocomplete-filters-accentfold</a></li> |
|
831 |
|
832 <li><a href="../modules/autocomplete-highlighters.html">autocomplete-highlighters</a></li> |
|
833 |
|
834 <li><a href="../modules/autocomplete-highlighters-accentfold.html">autocomplete-highlighters-accentfold</a></li> |
|
835 |
|
836 <li><a href="../modules/autocomplete-list.html">autocomplete-list</a></li> |
|
837 |
|
838 <li><a href="../modules/autocomplete-list-keys.html">autocomplete-list-keys</a></li> |
|
839 |
|
840 <li><a href="../modules/autocomplete-plugin.html">autocomplete-plugin</a></li> |
|
841 |
|
842 <li><a href="../modules/autocomplete-sources.html">autocomplete-sources</a></li> |
|
843 |
|
844 <li><a href="../modules/axis.html">axis</a></li> |
|
845 |
|
846 <li><a href="../modules/axis-base.html">axis-base</a></li> |
|
847 |
|
848 <li><a href="../modules/axis-category.html">axis-category</a></li> |
|
849 |
|
850 <li><a href="../modules/axis-category-base.html">axis-category-base</a></li> |
|
851 |
|
852 <li><a href="../modules/axis-numeric.html">axis-numeric</a></li> |
|
853 |
|
854 <li><a href="../modules/axis-numeric-base.html">axis-numeric-base</a></li> |
|
855 |
|
856 <li><a href="../modules/axis-stacked.html">axis-stacked</a></li> |
|
857 |
|
858 <li><a href="../modules/axis-stacked-base.html">axis-stacked-base</a></li> |
|
859 |
|
860 <li><a href="../modules/axis-time.html">axis-time</a></li> |
|
861 |
|
862 <li><a href="../modules/axis-time-base.html">axis-time-base</a></li> |
|
863 |
|
864 <li><a href="../modules/base.html">base</a></li> |
|
865 |
|
866 <li><a href="../modules/base-base.html">base-base</a></li> |
|
867 |
|
868 <li><a href="../modules/base-build.html">base-build</a></li> |
|
869 |
|
870 <li><a href="../modules/base-core.html">base-core</a></li> |
|
871 |
|
872 <li><a href="../modules/base-observable.html">base-observable</a></li> |
|
873 |
|
874 <li><a href="../modules/base-pluginhost.html">base-pluginhost</a></li> |
|
875 |
|
876 <li><a href="../modules/button.html">button</a></li> |
|
877 |
|
878 <li><a href="../modules/button-core.html">button-core</a></li> |
|
879 |
|
880 <li><a href="../modules/button-group.html">button-group</a></li> |
|
881 |
|
882 <li><a href="../modules/button-plugin.html">button-plugin</a></li> |
|
883 |
|
884 <li><a href="../modules/cache.html">cache</a></li> |
|
885 |
|
886 <li><a href="../modules/cache-base.html">cache-base</a></li> |
|
887 |
|
888 <li><a href="../modules/cache-offline.html">cache-offline</a></li> |
|
889 |
|
890 <li><a href="../modules/cache-plugin.html">cache-plugin</a></li> |
|
891 |
|
892 <li><a href="../modules/calendar.html">calendar</a></li> |
|
893 |
|
894 <li><a href="../modules/calendar-base.html">calendar-base</a></li> |
|
895 |
|
896 <li><a href="../modules/calendarnavigator.html">calendarnavigator</a></li> |
|
897 |
|
898 <li><a href="../modules/charts.html">charts</a></li> |
|
899 |
|
900 <li><a href="../modules/charts-base.html">charts-base</a></li> |
|
901 |
|
902 <li><a href="../modules/charts-legend.html">charts-legend</a></li> |
|
903 |
|
904 <li><a href="../modules/classnamemanager.html">classnamemanager</a></li> |
|
905 |
|
906 <li><a href="../modules/clickable-rail.html">clickable-rail</a></li> |
|
907 |
|
908 <li><a href="../modules/collection.html">collection</a></li> |
|
909 |
|
910 <li><a href="../modules/color.html">color</a></li> |
|
911 |
|
912 <li><a href="../modules/color-base.html">color-base</a></li> |
|
913 |
|
914 <li><a href="../modules/color-harmony.html">color-harmony</a></li> |
|
915 |
|
916 <li><a href="../modules/color-hsl.html">color-hsl</a></li> |
|
917 |
|
918 <li><a href="../modules/color-hsv.html">color-hsv</a></li> |
|
919 |
|
920 <li><a href="../modules/console.html">console</a></li> |
|
921 |
|
922 <li><a href="../modules/console-filters.html">console-filters</a></li> |
|
923 |
|
924 <li><a href="../modules/cookie.html">cookie</a></li> |
|
925 |
|
926 <li><a href="../modules/createlink-base.html">createlink-base</a></li> |
|
927 |
|
928 <li><a href="../modules/dataschema.html">dataschema</a></li> |
|
929 |
|
930 <li><a href="../modules/dataschema-array.html">dataschema-array</a></li> |
|
931 |
|
932 <li><a href="../modules/dataschema-base.html">dataschema-base</a></li> |
|
933 |
|
934 <li><a href="../modules/dataschema-json.html">dataschema-json</a></li> |
|
935 |
|
936 <li><a href="../modules/dataschema-text.html">dataschema-text</a></li> |
|
937 |
|
938 <li><a href="../modules/dataschema-xml.html">dataschema-xml</a></li> |
|
939 |
|
940 <li><a href="../modules/datasource.html">datasource</a></li> |
|
941 |
|
942 <li><a href="../modules/datasource-arrayschema.html">datasource-arrayschema</a></li> |
|
943 |
|
944 <li><a href="../modules/datasource-cache.html">datasource-cache</a></li> |
|
945 |
|
946 <li><a href="../modules/datasource-function.html">datasource-function</a></li> |
|
947 |
|
948 <li><a href="../modules/datasource-get.html">datasource-get</a></li> |
|
949 |
|
950 <li><a href="../modules/datasource-io.html">datasource-io</a></li> |
|
951 |
|
952 <li><a href="../modules/datasource-jsonschema.html">datasource-jsonschema</a></li> |
|
953 |
|
954 <li><a href="../modules/datasource-local.html">datasource-local</a></li> |
|
955 |
|
956 <li><a href="../modules/datasource-polling.html">datasource-polling</a></li> |
|
957 |
|
958 <li><a href="../modules/datasource-textschema.html">datasource-textschema</a></li> |
|
959 |
|
960 <li><a href="../modules/datasource-xmlschema.html">datasource-xmlschema</a></li> |
|
961 |
|
962 <li><a href="../modules/datatable.html">datatable</a></li> |
|
963 |
|
964 <li><a href="../modules/datatable-base.html">datatable-base</a></li> |
|
965 |
|
966 <li><a href="../modules/datatable-body.html">datatable-body</a></li> |
|
967 |
|
968 <li><a href="../modules/datatable-column-widths.html">datatable-column-widths</a></li> |
|
969 |
|
970 <li><a href="../modules/datatable-core.html">datatable-core</a></li> |
|
971 |
|
972 <li><a href="../modules/datatable-datasource.html">datatable-datasource</a></li> |
|
973 |
|
974 <li><a href="../modules/datatable-formatters.html">datatable-formatters</a></li> |
|
975 |
|
976 <li><a href="../modules/datatable-head.html">datatable-head</a></li> |
|
977 |
|
978 <li><a href="../modules/datatable-message.html">datatable-message</a></li> |
|
979 |
|
980 <li><a href="../modules/datatable-mutable.html">datatable-mutable</a></li> |
|
981 |
|
982 <li><a href="../modules/datatable-scroll.html">datatable-scroll</a></li> |
|
983 |
|
984 <li><a href="../modules/datatable-sort.html">datatable-sort</a></li> |
|
985 |
|
986 <li><a href="../modules/datatable-table.html">datatable-table</a></li> |
|
987 |
|
988 <li><a href="../modules/datatype.html">datatype</a></li> |
|
989 |
|
990 <li><a href="../modules/datatype-date.html">datatype-date</a></li> |
|
991 |
|
992 <li><a href="../modules/datatype-date-format.html">datatype-date-format</a></li> |
|
993 |
|
994 <li><a href="../modules/datatype-date-math.html">datatype-date-math</a></li> |
|
995 |
|
996 <li><a href="../modules/datatype-date-parse.html">datatype-date-parse</a></li> |
|
997 |
|
998 <li><a href="../modules/datatype-number.html">datatype-number</a></li> |
|
999 |
|
1000 <li><a href="../modules/datatype-number-format.html">datatype-number-format</a></li> |
|
1001 |
|
1002 <li><a href="../modules/datatype-number-parse.html">datatype-number-parse</a></li> |
|
1003 |
|
1004 <li><a href="../modules/datatype-xml.html">datatype-xml</a></li> |
|
1005 |
|
1006 <li><a href="../modules/datatype-xml-format.html">datatype-xml-format</a></li> |
|
1007 |
|
1008 <li><a href="../modules/datatype-xml-parse.html">datatype-xml-parse</a></li> |
|
1009 |
|
1010 <li><a href="../modules/dd.html">dd</a></li> |
|
1011 |
|
1012 <li><a href="../modules/dd-constrain.html">dd-constrain</a></li> |
|
1013 |
|
1014 <li><a href="../modules/dd-ddm.html">dd-ddm</a></li> |
|
1015 |
|
1016 <li><a href="../modules/dd-ddm-base.html">dd-ddm-base</a></li> |
|
1017 |
|
1018 <li><a href="../modules/dd-ddm-drop.html">dd-ddm-drop</a></li> |
|
1019 |
|
1020 <li><a href="../modules/dd-delegate.html">dd-delegate</a></li> |
|
1021 |
|
1022 <li><a href="../modules/dd-drag.html">dd-drag</a></li> |
|
1023 |
|
1024 <li><a href="../modules/dd-drop.html">dd-drop</a></li> |
|
1025 |
|
1026 <li><a href="../modules/dd-drop-plugin.html">dd-drop-plugin</a></li> |
|
1027 |
|
1028 <li><a href="../modules/dd-gestures.html">dd-gestures</a></li> |
|
1029 |
|
1030 <li><a href="../modules/dd-plugin.html">dd-plugin</a></li> |
|
1031 |
|
1032 <li><a href="../modules/dd-proxy.html">dd-proxy</a></li> |
|
1033 |
|
1034 <li><a href="../modules/dd-scroll.html">dd-scroll</a></li> |
|
1035 |
|
1036 <li><a href="../modules/dial.html">dial</a></li> |
|
1037 |
|
1038 <li><a href="../modules/dom.html">dom</a></li> |
|
1039 |
|
1040 <li><a href="../modules/dom-base.html">dom-base</a></li> |
|
1041 |
|
1042 <li><a href="../modules/dom-screen.html">dom-screen</a></li> |
|
1043 |
|
1044 <li><a href="../modules/dom-style.html">dom-style</a></li> |
|
1045 |
|
1046 <li><a href="../modules/dump.html">dump</a></li> |
|
1047 |
|
1048 <li><a href="../modules/editor.html">editor</a></li> |
|
1049 |
|
1050 <li><a href="../modules/editor-base.html">editor-base</a></li> |
|
1051 |
|
1052 <li><a href="../modules/editor-bidi.html">editor-bidi</a></li> |
|
1053 |
|
1054 <li><a href="../modules/editor-br.html">editor-br</a></li> |
|
1055 |
|
1056 <li><a href="../modules/editor-lists.html">editor-lists</a></li> |
|
1057 |
|
1058 <li><a href="../modules/editor-para.html">editor-para</a></li> |
|
1059 |
|
1060 <li><a href="../modules/editor-para-base.html">editor-para-base</a></li> |
|
1061 |
|
1062 <li><a href="../modules/editor-para-ie.html">editor-para-ie</a></li> |
|
1063 |
|
1064 <li><a href="../modules/editor-tab.html">editor-tab</a></li> |
|
1065 |
|
1066 <li><a href="../modules/escape.html">escape</a></li> |
|
1067 |
|
1068 <li><a href="../modules/event.html">event</a></li> |
|
1069 |
|
1070 <li><a href="../modules/event-base.html">event-base</a></li> |
|
1071 |
|
1072 <li><a href="../modules/event-contextmenu.html">event-contextmenu</a></li> |
|
1073 |
|
1074 <li><a href="../modules/event-custom.html">event-custom</a></li> |
|
1075 |
|
1076 <li><a href="../modules/event-custom-base.html">event-custom-base</a></li> |
|
1077 |
|
1078 <li><a href="../modules/event-custom-complex.html">event-custom-complex</a></li> |
|
1079 |
|
1080 <li><a href="../modules/event-delegate.html">event-delegate</a></li> |
|
1081 |
|
1082 <li><a href="../modules/event-flick.html">event-flick</a></li> |
|
1083 |
|
1084 <li><a href="../modules/event-focus.html">event-focus</a></li> |
|
1085 |
|
1086 <li><a href="../modules/event-gestures.html">event-gestures</a></li> |
|
1087 |
|
1088 <li><a href="../modules/event-hover.html">event-hover</a></li> |
|
1089 |
|
1090 <li><a href="../modules/event-key.html">event-key</a></li> |
|
1091 |
|
1092 <li><a href="../modules/event-mouseenter.html">event-mouseenter</a></li> |
|
1093 |
|
1094 <li><a href="../modules/event-mousewheel.html">event-mousewheel</a></li> |
|
1095 |
|
1096 <li><a href="../modules/event-move.html">event-move</a></li> |
|
1097 |
|
1098 <li><a href="../modules/event-outside.html">event-outside</a></li> |
|
1099 |
|
1100 <li><a href="../modules/event-resize.html">event-resize</a></li> |
|
1101 |
|
1102 <li><a href="../modules/event-simulate.html">event-simulate</a></li> |
|
1103 |
|
1104 <li><a href="../modules/event-synthetic.html">event-synthetic</a></li> |
|
1105 |
|
1106 <li><a href="../modules/event-tap.html">event-tap</a></li> |
|
1107 |
|
1108 <li><a href="../modules/event-touch.html">event-touch</a></li> |
|
1109 |
|
1110 <li><a href="../modules/event-valuechange.html">event-valuechange</a></li> |
|
1111 |
|
1112 <li><a href="../modules/exec-command.html">exec-command</a></li> |
|
1113 |
|
1114 <li><a href="../modules/features.html">features</a></li> |
|
1115 |
|
1116 <li><a href="../modules/file.html">file</a></li> |
|
1117 |
|
1118 <li><a href="../modules/file-flash.html">file-flash</a></li> |
|
1119 |
|
1120 <li><a href="../modules/file-html5.html">file-html5</a></li> |
|
1121 |
|
1122 <li><a href="../modules/frame.html">frame</a></li> |
|
1123 |
|
1124 <li><a href="../modules/gesture-simulate.html">gesture-simulate</a></li> |
|
1125 |
|
1126 <li><a href="../modules/get.html">get</a></li> |
|
1127 |
|
1128 <li><a href="../modules/get-nodejs.html">get-nodejs</a></li> |
|
1129 |
|
1130 <li><a href="../modules/graphics.html">graphics</a></li> |
|
1131 |
|
1132 <li><a href="../modules/graphics-group.html">graphics-group</a></li> |
|
1133 |
|
1134 <li><a href="../modules/handlebars.html">handlebars</a></li> |
|
1135 |
|
1136 <li><a href="../modules/handlebars-base.html">handlebars-base</a></li> |
|
1137 |
|
1138 <li><a href="../modules/handlebars-compiler.html">handlebars-compiler</a></li> |
|
1139 |
|
1140 <li><a href="../modules/highlight.html">highlight</a></li> |
|
1141 |
|
1142 <li><a href="../modules/highlight-accentfold.html">highlight-accentfold</a></li> |
|
1143 |
|
1144 <li><a href="../modules/highlight-base.html">highlight-base</a></li> |
|
1145 |
|
1146 <li><a href="../modules/history.html">history</a></li> |
|
1147 |
|
1148 <li><a href="../modules/history-base.html">history-base</a></li> |
|
1149 |
|
1150 <li><a href="../modules/history-hash.html">history-hash</a></li> |
|
1151 |
|
1152 <li><a href="../modules/history-hash-ie.html">history-hash-ie</a></li> |
|
1153 |
|
1154 <li><a href="../modules/history-html5.html">history-html5</a></li> |
|
1155 |
|
1156 <li><a href="../modules/imageloader.html">imageloader</a></li> |
|
1157 |
|
1158 <li><a href="../modules/intl.html">intl</a></li> |
|
1159 |
|
1160 <li><a href="../modules/io.html">io</a></li> |
|
1161 |
|
1162 <li><a href="../modules/io-base.html">io-base</a></li> |
|
1163 |
|
1164 <li><a href="../modules/io-form.html">io-form</a></li> |
|
1165 |
|
1166 <li><a href="../modules/io-nodejs.html">io-nodejs</a></li> |
|
1167 |
|
1168 <li><a href="../modules/io-queue.html">io-queue</a></li> |
|
1169 |
|
1170 <li><a href="../modules/io-upload-iframe.html">io-upload-iframe</a></li> |
|
1171 |
|
1172 <li><a href="../modules/io-xdr.html">io-xdr</a></li> |
|
1173 |
|
1174 <li><a href="../modules/json.html">json</a></li> |
|
1175 |
|
1176 <li><a href="../modules/json-parse.html">json-parse</a></li> |
|
1177 |
|
1178 <li><a href="../modules/json-stringify.html">json-stringify</a></li> |
|
1179 |
|
1180 <li><a href="../modules/jsonp.html">jsonp</a></li> |
|
1181 |
|
1182 <li><a href="../modules/jsonp-url.html">jsonp-url</a></li> |
|
1183 |
|
1184 <li><a href="../modules/lazy-model-list.html">lazy-model-list</a></li> |
|
1185 |
|
1186 <li><a href="../modules/loader.html">loader</a></li> |
|
1187 |
|
1188 <li><a href="../modules/loader-base.html">loader-base</a></li> |
|
1189 |
|
1190 <li><a href="../modules/loader-yui3.html">loader-yui3</a></li> |
|
1191 |
|
1192 <li><a href="../modules/matrix.html">matrix</a></li> |
|
1193 |
|
1194 <li><a href="../modules/model.html">model</a></li> |
|
1195 |
|
1196 <li><a href="../modules/model-list.html">model-list</a></li> |
|
1197 |
|
1198 <li><a href="../modules/model-sync-rest.html">model-sync-rest</a></li> |
|
1199 |
|
1200 <li><a href="../modules/node.html">node</a></li> |
|
1201 |
|
1202 <li><a href="../modules/node-base.html">node-base</a></li> |
|
1203 |
|
1204 <li><a href="../modules/node-core.html">node-core</a></li> |
|
1205 |
|
1206 <li><a href="../modules/node-data.html">node-data</a></li> |
|
1207 |
|
1208 <li><a href="../modules/node-event-delegate.html">node-event-delegate</a></li> |
|
1209 |
|
1210 <li><a href="../modules/node-event-html5.html">node-event-html5</a></li> |
|
1211 |
|
1212 <li><a href="../modules/node-event-simulate.html">node-event-simulate</a></li> |
|
1213 |
|
1214 <li><a href="../modules/node-flick.html">node-flick</a></li> |
|
1215 |
|
1216 <li><a href="../modules/node-focusmanager.html">node-focusmanager</a></li> |
|
1217 |
|
1218 <li><a href="../modules/node-load.html">node-load</a></li> |
|
1219 |
|
1220 <li><a href="../modules/node-menunav.html">node-menunav</a></li> |
|
1221 |
|
1222 <li><a href="../modules/node-pluginhost.html">node-pluginhost</a></li> |
|
1223 |
|
1224 <li><a href="../modules/node-screen.html">node-screen</a></li> |
|
1225 |
|
1226 <li><a href="../modules/node-scroll-info.html">node-scroll-info</a></li> |
|
1227 |
|
1228 <li><a href="../modules/node-style.html">node-style</a></li> |
|
1229 |
|
1230 <li><a href="../modules/oop.html">oop</a></li> |
|
1231 |
|
1232 <li><a href="../modules/overlay.html">overlay</a></li> |
|
1233 |
|
1234 <li><a href="../modules/panel.html">panel</a></li> |
|
1235 |
|
1236 <li><a href="../modules/parallel.html">parallel</a></li> |
|
1237 |
|
1238 <li><a href="../modules/pjax.html">pjax</a></li> |
|
1239 |
|
1240 <li><a href="../modules/pjax-base.html">pjax-base</a></li> |
|
1241 |
|
1242 <li><a href="../modules/pjax-content.html">pjax-content</a></li> |
|
1243 |
|
1244 <li><a href="../modules/pjax-plugin.html">pjax-plugin</a></li> |
|
1245 |
|
1246 <li><a href="../modules/plugin.html">plugin</a></li> |
|
1247 |
|
1248 <li><a href="../modules/pluginhost.html">pluginhost</a></li> |
|
1249 |
|
1250 <li><a href="../modules/pluginhost-base.html">pluginhost-base</a></li> |
|
1251 |
|
1252 <li><a href="../modules/pluginhost-config.html">pluginhost-config</a></li> |
|
1253 |
|
1254 <li><a href="../modules/promise.html">promise</a></li> |
|
1255 |
|
1256 <li><a href="../modules/querystring.html">querystring</a></li> |
|
1257 |
|
1258 <li><a href="../modules/querystring-parse.html">querystring-parse</a></li> |
|
1259 |
|
1260 <li><a href="../modules/querystring-parse-simple.html">querystring-parse-simple</a></li> |
|
1261 |
|
1262 <li><a href="../modules/querystring-stringify.html">querystring-stringify</a></li> |
|
1263 |
|
1264 <li><a href="../modules/querystring-stringify-simple.html">querystring-stringify-simple</a></li> |
|
1265 |
|
1266 <li><a href="../modules/queue-promote.html">queue-promote</a></li> |
|
1267 |
|
1268 <li><a href="../modules/range-slider.html">range-slider</a></li> |
|
1269 |
|
1270 <li><a href="../modules/recordset.html">recordset</a></li> |
|
1271 |
|
1272 <li><a href="../modules/recordset-base.html">recordset-base</a></li> |
|
1273 |
|
1274 <li><a href="../modules/recordset-filter.html">recordset-filter</a></li> |
|
1275 |
|
1276 <li><a href="../modules/recordset-indexer.html">recordset-indexer</a></li> |
|
1277 |
|
1278 <li><a href="../modules/recordset-sort.html">recordset-sort</a></li> |
|
1279 |
|
1280 <li><a href="../modules/resize.html">resize</a></li> |
|
1281 |
|
1282 <li><a href="../modules/resize-contrain.html">resize-contrain</a></li> |
|
1283 |
|
1284 <li><a href="../modules/resize-plugin.html">resize-plugin</a></li> |
|
1285 |
|
1286 <li><a href="../modules/resize-proxy.html">resize-proxy</a></li> |
|
1287 |
|
1288 <li><a href="../modules/rollup.html">rollup</a></li> |
|
1289 |
|
1290 <li><a href="../modules/router.html">router</a></li> |
|
1291 |
|
1292 <li><a href="../modules/scrollview.html">scrollview</a></li> |
|
1293 |
|
1294 <li><a href="../modules/scrollview-base.html">scrollview-base</a></li> |
|
1295 |
|
1296 <li><a href="../modules/scrollview-base-ie.html">scrollview-base-ie</a></li> |
|
1297 |
|
1298 <li><a href="../modules/scrollview-list.html">scrollview-list</a></li> |
|
1299 |
|
1300 <li><a href="../modules/scrollview-paginator.html">scrollview-paginator</a></li> |
|
1301 |
|
1302 <li><a href="../modules/scrollview-scrollbars.html">scrollview-scrollbars</a></li> |
|
1303 |
|
1304 <li><a href="../modules/selection.html">selection</a></li> |
|
1305 |
|
1306 <li><a href="../modules/selector-css2.html">selector-css2</a></li> |
|
1307 |
|
1308 <li><a href="../modules/selector-css3.html">selector-css3</a></li> |
|
1309 |
|
1310 <li><a href="../modules/selector-native.html">selector-native</a></li> |
|
1311 |
|
1312 <li><a href="../modules/series-area.html">series-area</a></li> |
|
1313 |
|
1314 <li><a href="../modules/series-area-stacked.html">series-area-stacked</a></li> |
|
1315 |
|
1316 <li><a href="../modules/series-areaspline.html">series-areaspline</a></li> |
|
1317 |
|
1318 <li><a href="../modules/series-areaspline-stacked.html">series-areaspline-stacked</a></li> |
|
1319 |
|
1320 <li><a href="../modules/series-bar.html">series-bar</a></li> |
|
1321 |
|
1322 <li><a href="../modules/series-bar-stacked.html">series-bar-stacked</a></li> |
|
1323 |
|
1324 <li><a href="../modules/series-base.html">series-base</a></li> |
|
1325 |
|
1326 <li><a href="../modules/series-candlestick.html">series-candlestick</a></li> |
|
1327 |
|
1328 <li><a href="../modules/series-cartesian.html">series-cartesian</a></li> |
|
1329 |
|
1330 <li><a href="../modules/series-column.html">series-column</a></li> |
|
1331 |
|
1332 <li><a href="../modules/series-column-stacked.html">series-column-stacked</a></li> |
|
1333 |
|
1334 <li><a href="../modules/series-combo.html">series-combo</a></li> |
|
1335 |
|
1336 <li><a href="../modules/series-combo-stacked.html">series-combo-stacked</a></li> |
|
1337 |
|
1338 <li><a href="../modules/series-combospline.html">series-combospline</a></li> |
|
1339 |
|
1340 <li><a href="../modules/series-combospline-stacked.html">series-combospline-stacked</a></li> |
|
1341 |
|
1342 <li><a href="../modules/series-curve-util.html">series-curve-util</a></li> |
|
1343 |
|
1344 <li><a href="../modules/series-fill-util.html">series-fill-util</a></li> |
|
1345 |
|
1346 <li><a href="../modules/series-histogram.html">series-histogram</a></li> |
|
1347 |
|
1348 <li><a href="../modules/series-line.html">series-line</a></li> |
|
1349 |
|
1350 <li><a href="../modules/series-line-stacked.html">series-line-stacked</a></li> |
|
1351 |
|
1352 <li><a href="../modules/series-line-util.html">series-line-util</a></li> |
|
1353 |
|
1354 <li><a href="../modules/series-marker.html">series-marker</a></li> |
|
1355 |
|
1356 <li><a href="../modules/series-marker-stacked.html">series-marker-stacked</a></li> |
|
1357 |
|
1358 <li><a href="../modules/series-ohlc.html">series-ohlc</a></li> |
|
1359 |
|
1360 <li><a href="../modules/series-pie.html">series-pie</a></li> |
|
1361 |
|
1362 <li><a href="../modules/series-plot-util.html">series-plot-util</a></li> |
|
1363 |
|
1364 <li><a href="../modules/series-range.html">series-range</a></li> |
|
1365 |
|
1366 <li><a href="../modules/series-spline.html">series-spline</a></li> |
|
1367 |
|
1368 <li><a href="../modules/series-spline-stacked.html">series-spline-stacked</a></li> |
|
1369 |
|
1370 <li><a href="../modules/series-stacked.html">series-stacked</a></li> |
|
1371 |
|
1372 <li><a href="../modules/shim-plugin.html">shim-plugin</a></li> |
|
1373 |
|
1374 <li><a href="../modules/slider.html">slider</a></li> |
|
1375 |
|
1376 <li><a href="../modules/slider-base.html">slider-base</a></li> |
|
1377 |
|
1378 <li><a href="../modules/slider-value-range.html">slider-value-range</a></li> |
|
1379 |
|
1380 <li><a href="../modules/sortable.html">sortable</a></li> |
|
1381 |
|
1382 <li><a href="../modules/sortable-scroll.html">sortable-scroll</a></li> |
|
1383 |
|
1384 <li><a href="../modules/stylesheet.html">stylesheet</a></li> |
|
1385 |
|
1386 <li><a href="../modules/substitute.html">substitute</a></li> |
|
1387 |
|
1388 <li><a href="../modules/swf.html">swf</a></li> |
|
1389 |
|
1390 <li><a href="../modules/swfdetect.html">swfdetect</a></li> |
|
1391 |
|
1392 <li><a href="../modules/tabview.html">tabview</a></li> |
|
1393 |
|
1394 <li><a href="../modules/template.html">template</a></li> |
|
1395 |
|
1396 <li><a href="../modules/template-base.html">template-base</a></li> |
|
1397 |
|
1398 <li><a href="../modules/template-micro.html">template-micro</a></li> |
|
1399 |
|
1400 <li><a href="../modules/test.html">test</a></li> |
|
1401 |
|
1402 <li><a href="../modules/test-console.html">test-console</a></li> |
|
1403 |
|
1404 <li><a href="../modules/text.html">text</a></li> |
|
1405 |
|
1406 <li><a href="../modules/text-accentfold.html">text-accentfold</a></li> |
|
1407 |
|
1408 <li><a href="../modules/text-wordbreak.html">text-wordbreak</a></li> |
|
1409 |
|
1410 <li><a href="../modules/timers.html">timers</a></li> |
|
1411 |
|
1412 <li><a href="../modules/transition.html">transition</a></li> |
|
1413 |
|
1414 <li><a href="../modules/transition-timer.html">transition-timer</a></li> |
|
1415 |
|
1416 <li><a href="../modules/tree.html">tree</a></li> |
|
1417 |
|
1418 <li><a href="../modules/tree-labelable.html">tree-labelable</a></li> |
|
1419 |
|
1420 <li><a href="../modules/tree-lazy.html">tree-lazy</a></li> |
|
1421 |
|
1422 <li><a href="../modules/tree-node.html">tree-node</a></li> |
|
1423 |
|
1424 <li><a href="../modules/tree-openable.html">tree-openable</a></li> |
|
1425 |
|
1426 <li><a href="../modules/tree-selectable.html">tree-selectable</a></li> |
|
1427 |
|
1428 <li><a href="../modules/tree-sortable.html">tree-sortable</a></li> |
|
1429 |
|
1430 <li><a href="../modules/uploader.html">uploader</a></li> |
|
1431 |
|
1432 <li><a href="../modules/uploader-flash.html">uploader-flash</a></li> |
|
1433 |
|
1434 <li><a href="../modules/uploader-html5.html">uploader-html5</a></li> |
|
1435 |
|
1436 <li><a href="../modules/uploader-queue.html">uploader-queue</a></li> |
|
1437 |
|
1438 <li><a href="../modules/view.html">view</a></li> |
|
1439 |
|
1440 <li><a href="../modules/view-node-map.html">view-node-map</a></li> |
|
1441 |
|
1442 <li><a href="../modules/widget.html">widget</a></li> |
|
1443 |
|
1444 <li><a href="../modules/widget-anim.html">widget-anim</a></li> |
|
1445 |
|
1446 <li><a href="../modules/widget-autohide.html">widget-autohide</a></li> |
|
1447 |
|
1448 <li><a href="../modules/widget-base.html">widget-base</a></li> |
|
1449 |
|
1450 <li><a href="../modules/widget-base-ie.html">widget-base-ie</a></li> |
|
1451 |
|
1452 <li><a href="../modules/widget-buttons.html">widget-buttons</a></li> |
|
1453 |
|
1454 <li><a href="../modules/widget-child.html">widget-child</a></li> |
|
1455 |
|
1456 <li><a href="../modules/widget-htmlparser.html">widget-htmlparser</a></li> |
|
1457 |
|
1458 <li><a href="../modules/widget-locale.html">widget-locale</a></li> |
|
1459 |
|
1460 <li><a href="../modules/widget-modality.html">widget-modality</a></li> |
|
1461 |
|
1462 <li><a href="../modules/widget-parent.html">widget-parent</a></li> |
|
1463 |
|
1464 <li><a href="../modules/widget-position.html">widget-position</a></li> |
|
1465 |
|
1466 <li><a href="../modules/widget-position-align.html">widget-position-align</a></li> |
|
1467 |
|
1468 <li><a href="../modules/widget-position-constrain.html">widget-position-constrain</a></li> |
|
1469 |
|
1470 <li><a href="../modules/widget-skin.html">widget-skin</a></li> |
|
1471 |
|
1472 <li><a href="../modules/widget-stack.html">widget-stack</a></li> |
|
1473 |
|
1474 <li><a href="../modules/widget-stdmod.html">widget-stdmod</a></li> |
|
1475 |
|
1476 <li><a href="../modules/widget-uievents.html">widget-uievents</a></li> |
|
1477 |
|
1478 <li><a href="../modules/yql.html">yql</a></li> |
|
1479 |
|
1480 <li><a href="../modules/yql-jsonp.html">yql-jsonp</a></li> |
|
1481 |
|
1482 <li><a href="../modules/yql-nodejs.html">yql-nodejs</a></li> |
|
1483 |
|
1484 <li><a href="../modules/yql-winjs.html">yql-winjs</a></li> |
|
1485 |
|
1486 <li><a href="../modules/yui.html">yui</a></li> |
|
1487 |
|
1488 <li><a href="../modules/yui-base.html">yui-base</a></li> |
|
1489 |
|
1490 <li><a href="../modules/yui-later.html">yui-later</a></li> |
|
1491 |
|
1492 <li><a href="../modules/yui-log.html">yui-log</a></li> |
|
1493 |
|
1494 <li><a href="../modules/yui-throttle.html">yui-throttle</a></li> |
|
1495 |
|
1496 </ul> |
|
1497 </div> |
|
1498 </div> |
|
1499 </div> |
|
1500 |
|
1501 </div> |
|
1502 </div> |
|
1503 <div class="yui3-u-3-4"> |
|
1504 <div id="api-options"> |
|
1505 Show: |
|
1506 <label for="api-show-inherited"> |
|
1507 <input type="checkbox" id="api-show-inherited" checked> |
|
1508 Inherited |
|
1509 </label> |
|
1510 |
|
1511 <label for="api-show-protected"> |
|
1512 <input type="checkbox" id="api-show-protected"> |
|
1513 Protected |
|
1514 </label> |
|
1515 |
|
1516 <label for="api-show-private"> |
|
1517 <input type="checkbox" id="api-show-private"> |
|
1518 Private |
|
1519 </label> |
|
1520 <label for="api-show-deprecated"> |
|
1521 <input type="checkbox" id="api-show-deprecated"> |
|
1522 Deprecated |
|
1523 </label> |
|
1524 |
|
1525 </div> |
|
1526 |
|
1527 |
|
1528 <div class="apidocs"> |
|
1529 <div id="docs-main"> |
|
1530 <div class="content"> |
|
1531 <h1>Plugin.Drag Class</h1> |
|
1532 <div class="box meta"> |
|
1533 |
|
1534 |
|
1535 |
|
1536 <div class="extends"> |
|
1537 Extends <a href="../classes/DD.Drag.html" class="crosslink">DD.Drag</a> |
|
1538 </div> |
|
1539 |
|
1540 |
|
1541 |
|
1542 <div class="foundat"> |
|
1543 Defined in: <a href="../files/dd_js_dd-plugin.js.html#l8"><code>dd/js/dd-plugin.js:8</code></a> |
|
1544 </div> |
|
1545 |
|
1546 |
|
1547 |
|
1548 |
|
1549 Module: <a href="../modules/dd-plugin.html">dd-plugin</a><br> |
|
1550 Parent Module: <a href="../modules/dd.html">dd</a> |
|
1551 |
|
1552 |
|
1553 |
|
1554 |
|
1555 </div> |
|
1556 |
|
1557 |
|
1558 |
|
1559 <div class="box intro"> |
|
1560 <p>Simple Drag plugin that can be attached to a Node or Widget via the plug method.</p> |
|
1561 </div> |
|
1562 |
|
1563 |
|
1564 <div class="constructor"> |
|
1565 <h2>Constructor</h2> |
|
1566 <div id="method_Plugin.Drag" class="method item"> |
|
1567 <h3 class="name"><code>Plugin.Drag</code></h3> |
|
1568 |
|
1569 |
|
1570 <span class="paren">()</span> |
|
1571 |
|
1572 |
|
1573 |
|
1574 |
|
1575 |
|
1576 |
|
1577 |
|
1578 |
|
1579 |
|
1580 |
|
1581 |
|
1582 |
|
1583 |
|
1584 |
|
1585 |
|
1586 |
|
1587 <div class="meta"> |
|
1588 |
|
1589 |
|
1590 |
|
1591 <p> |
|
1592 |
|
1593 Defined in |
|
1594 |
|
1595 |
|
1596 |
|
1597 |
|
1598 <a href="../files/dd_js_dd-plugin.js.html#l8"><code>dd/js/dd-plugin.js:8</code></a> |
|
1599 |
|
1600 </p> |
|
1601 |
|
1602 |
|
1603 |
|
1604 |
|
1605 |
|
1606 </div> |
|
1607 |
|
1608 <div class="description"> |
|
1609 |
|
1610 </div> |
|
1611 |
|
1612 |
|
1613 |
|
1614 |
|
1615 |
|
1616 |
|
1617 </div> |
|
1618 |
|
1619 </div> |
|
1620 |
|
1621 |
|
1622 <div id="classdocs" class="tabview"> |
|
1623 <ul class="api-class-tabs"> |
|
1624 <li class="api-class-tab index"><a href="#index">Index</a></li> |
|
1625 |
|
1626 |
|
1627 <li class="api-class-tab methods"><a href="#methods">Methods</a></li> |
|
1628 |
|
1629 |
|
1630 <li class="api-class-tab properties"><a href="#properties">Properties</a></li> |
|
1631 |
|
1632 |
|
1633 <li class="api-class-tab attrs"><a href="#attrs">Attributes</a></li> |
|
1634 |
|
1635 |
|
1636 <li class="api-class-tab events"><a href="#events">Events</a></li> |
|
1637 |
|
1638 </ul> |
|
1639 |
|
1640 <div> |
|
1641 <div id="index" class="api-class-tabpanel index"> |
|
1642 <h2 class="off-left">Item Index</h2> |
|
1643 |
|
1644 |
|
1645 <div class="index-section methods"> |
|
1646 <h3>Methods</h3> |
|
1647 |
|
1648 <ul class="index-list methods extends"> |
|
1649 |
|
1650 <li class="index-item method private inherited"> |
|
1651 <a href="#method__addAttrs">_addAttrs</a> |
|
1652 |
|
1653 |
|
1654 |
|
1655 </li> |
|
1656 |
|
1657 <li class="index-item method private inherited"> |
|
1658 <a href="#method__addLazyAttr">_addLazyAttr</a> |
|
1659 |
|
1660 |
|
1661 |
|
1662 </li> |
|
1663 |
|
1664 <li class="index-item method private inherited"> |
|
1665 <a href="#method__aggregateAttrs">_aggregateAttrs</a> |
|
1666 |
|
1667 |
|
1668 |
|
1669 </li> |
|
1670 |
|
1671 <li class="index-item method private inherited"> |
|
1672 <a href="#method__align">_align</a> |
|
1673 |
|
1674 |
|
1675 |
|
1676 </li> |
|
1677 |
|
1678 <li class="index-item method private inherited"> |
|
1679 <a href="#method__alignNode">_alignNode</a> |
|
1680 |
|
1681 |
|
1682 |
|
1683 </li> |
|
1684 |
|
1685 <li class="index-item method private"> |
|
1686 <a href="#method__attachWidgetListeners">_attachWidgetListeners</a> |
|
1687 |
|
1688 |
|
1689 |
|
1690 </li> |
|
1691 |
|
1692 <li class="index-item method private inherited"> |
|
1693 <a href="#method__attrCfgHash">_attrCfgHash</a> |
|
1694 |
|
1695 |
|
1696 |
|
1697 </li> |
|
1698 |
|
1699 <li class="index-item method private inherited"> |
|
1700 <a href="#method__baseDestroy">_baseDestroy</a> |
|
1701 |
|
1702 |
|
1703 |
|
1704 </li> |
|
1705 |
|
1706 <li class="index-item method private inherited"> |
|
1707 <a href="#method__baseInit">_baseInit</a> |
|
1708 |
|
1709 |
|
1710 |
|
1711 </li> |
|
1712 |
|
1713 <li class="index-item method private inherited"> |
|
1714 <a href="#method__canDrag">_canDrag</a> |
|
1715 |
|
1716 |
|
1717 |
|
1718 </li> |
|
1719 |
|
1720 <li class="index-item method private"> |
|
1721 <a href="#method__checkEvents">_checkEvents</a> |
|
1722 |
|
1723 |
|
1724 |
|
1725 </li> |
|
1726 |
|
1727 <li class="index-item method private inherited"> |
|
1728 <a href="#method__cloneDefaultValue">_cloneDefaultValue</a> |
|
1729 |
|
1730 |
|
1731 |
|
1732 </li> |
|
1733 |
|
1734 <li class="index-item method private inherited"> |
|
1735 <a href="#method__createEvents">_createEvents</a> |
|
1736 |
|
1737 |
|
1738 |
|
1739 </li> |
|
1740 |
|
1741 <li class="index-item method private inherited"> |
|
1742 <a href="#method__defAlignFn">_defAlignFn</a> |
|
1743 |
|
1744 |
|
1745 |
|
1746 </li> |
|
1747 |
|
1748 <li class="index-item method private inherited"> |
|
1749 <a href="#method__defAttrChangeFn">_defAttrChangeFn</a> |
|
1750 |
|
1751 |
|
1752 |
|
1753 </li> |
|
1754 |
|
1755 <li class="index-item method protected inherited"> |
|
1756 <a href="#method__defDestroyFn">_defDestroyFn</a> |
|
1757 |
|
1758 |
|
1759 |
|
1760 </li> |
|
1761 |
|
1762 <li class="index-item method private inherited"> |
|
1763 <a href="#method__defDragFn">_defDragFn</a> |
|
1764 |
|
1765 |
|
1766 |
|
1767 </li> |
|
1768 |
|
1769 <li class="index-item method private inherited"> |
|
1770 <a href="#method__defEndFn">_defEndFn</a> |
|
1771 |
|
1772 |
|
1773 |
|
1774 </li> |
|
1775 |
|
1776 <li class="index-item method protected inherited"> |
|
1777 <a href="#method__defInitFn">_defInitFn</a> |
|
1778 |
|
1779 |
|
1780 |
|
1781 </li> |
|
1782 |
|
1783 <li class="index-item method private inherited"> |
|
1784 <a href="#method__defMouseDownFn">_defMouseDownFn</a> |
|
1785 |
|
1786 |
|
1787 |
|
1788 </li> |
|
1789 |
|
1790 <li class="index-item method private inherited"> |
|
1791 <a href="#method__destroyHierarchy">_destroyHierarchy</a> |
|
1792 |
|
1793 |
|
1794 |
|
1795 </li> |
|
1796 |
|
1797 <li class="index-item method private inherited"> |
|
1798 <a href="#method__filterAdHocAttrs">_filterAdHocAttrs</a> |
|
1799 |
|
1800 |
|
1801 |
|
1802 </li> |
|
1803 |
|
1804 <li class="index-item method private inherited"> |
|
1805 <a href="#method__filterAttrCfgs">_filterAttrCfgs</a> |
|
1806 |
|
1807 |
|
1808 |
|
1809 </li> |
|
1810 |
|
1811 <li class="index-item method private inherited"> |
|
1812 <a href="#method__fireAttrChange">_fireAttrChange</a> |
|
1813 |
|
1814 |
|
1815 |
|
1816 </li> |
|
1817 |
|
1818 <li class="index-item method private inherited"> |
|
1819 <a href="#method__fixDragStart">_fixDragStart</a> |
|
1820 |
|
1821 |
|
1822 |
|
1823 </li> |
|
1824 |
|
1825 <li class="index-item method private inherited"> |
|
1826 <a href="#method__fixIEMouseDown">_fixIEMouseDown</a> |
|
1827 |
|
1828 |
|
1829 |
|
1830 </li> |
|
1831 |
|
1832 <li class="index-item method private inherited"> |
|
1833 <a href="#method__fixIEMouseUp">_fixIEMouseUp</a> |
|
1834 |
|
1835 |
|
1836 |
|
1837 </li> |
|
1838 |
|
1839 <li class="index-item method protected inherited"> |
|
1840 <a href="#method__getAttr">_getAttr</a> |
|
1841 |
|
1842 |
|
1843 |
|
1844 </li> |
|
1845 |
|
1846 <li class="index-item method protected inherited"> |
|
1847 <a href="#method__getAttrCfg">_getAttrCfg</a> |
|
1848 |
|
1849 |
|
1850 |
|
1851 </li> |
|
1852 |
|
1853 <li class="index-item method protected inherited"> |
|
1854 <a href="#method__getAttrCfgs">_getAttrCfgs</a> |
|
1855 |
|
1856 |
|
1857 |
|
1858 </li> |
|
1859 |
|
1860 <li class="index-item method private inherited"> |
|
1861 <a href="#method__getAttrInitVal">_getAttrInitVal</a> |
|
1862 |
|
1863 |
|
1864 |
|
1865 </li> |
|
1866 |
|
1867 <li class="index-item method protected inherited"> |
|
1868 <a href="#method__getAttrs">_getAttrs</a> |
|
1869 |
|
1870 |
|
1871 |
|
1872 </li> |
|
1873 |
|
1874 <li class="index-item method protected inherited"> |
|
1875 <a href="#method__getClasses">_getClasses</a> |
|
1876 |
|
1877 |
|
1878 |
|
1879 </li> |
|
1880 |
|
1881 <li class="index-item method private inherited"> |
|
1882 <a href="#method__getFullType">_getFullType</a> |
|
1883 |
|
1884 |
|
1885 |
|
1886 </li> |
|
1887 |
|
1888 <li class="index-item method private inherited"> |
|
1889 <a href="#method__getStateVal">_getStateVal</a> |
|
1890 |
|
1891 |
|
1892 |
|
1893 </li> |
|
1894 |
|
1895 <li class="index-item method private inherited"> |
|
1896 <a href="#method__getType">_getType</a> |
|
1897 |
|
1898 |
|
1899 |
|
1900 </li> |
|
1901 |
|
1902 <li class="index-item method private inherited"> |
|
1903 <a href="#method__handleMouseDownEvent">_handleMouseDownEvent</a> |
|
1904 |
|
1905 |
|
1906 |
|
1907 </li> |
|
1908 |
|
1909 <li class="index-item method private inherited"> |
|
1910 <a href="#method__handleMouseUp">_handleMouseUp</a> |
|
1911 |
|
1912 |
|
1913 |
|
1914 </li> |
|
1915 |
|
1916 <li class="index-item method private inherited"> |
|
1917 <a href="#method__handleTarget">_handleTarget</a> |
|
1918 |
|
1919 |
|
1920 |
|
1921 </li> |
|
1922 |
|
1923 <li class="index-item method private inherited"> |
|
1924 <a href="#method__ieSelectFix">_ieSelectFix</a> |
|
1925 |
|
1926 |
|
1927 |
|
1928 </li> |
|
1929 |
|
1930 <li class="index-item method private inherited"> |
|
1931 <a href="#method__initAttrHost">_initAttrHost</a> |
|
1932 |
|
1933 |
|
1934 |
|
1935 </li> |
|
1936 |
|
1937 <li class="index-item method private inherited inherited"> |
|
1938 <a href="#method__initAttribute">_initAttribute</a> |
|
1939 |
|
1940 |
|
1941 |
|
1942 </li> |
|
1943 |
|
1944 <li class="index-item method protected inherited"> |
|
1945 <a href="#method__initAttrs">_initAttrs</a> |
|
1946 |
|
1947 |
|
1948 |
|
1949 </li> |
|
1950 |
|
1951 <li class="index-item method private inherited"> |
|
1952 <a href="#method__initBase">_initBase</a> |
|
1953 |
|
1954 |
|
1955 |
|
1956 </li> |
|
1957 |
|
1958 <li class="index-item method private inherited"> |
|
1959 <a href="#method__initHierarchy">_initHierarchy</a> |
|
1960 |
|
1961 |
|
1962 |
|
1963 </li> |
|
1964 |
|
1965 <li class="index-item method private inherited"> |
|
1966 <a href="#method__initHierarchyData">_initHierarchyData</a> |
|
1967 |
|
1968 |
|
1969 |
|
1970 </li> |
|
1971 |
|
1972 <li class="index-item method private inherited"> |
|
1973 <a href="#method__isLazyAttr">_isLazyAttr</a> |
|
1974 |
|
1975 |
|
1976 |
|
1977 </li> |
|
1978 |
|
1979 <li class="index-item method private inherited"> |
|
1980 <a href="#method__monitor">_monitor</a> |
|
1981 |
|
1982 |
|
1983 |
|
1984 </li> |
|
1985 |
|
1986 <li class="index-item method private inherited"> |
|
1987 <a href="#method__move">_move</a> |
|
1988 |
|
1989 |
|
1990 |
|
1991 </li> |
|
1992 |
|
1993 <li class="index-item method private inherited"> |
|
1994 <a href="#method__moveNode">_moveNode</a> |
|
1995 |
|
1996 |
|
1997 |
|
1998 </li> |
|
1999 |
|
2000 <li class="index-item method private inherited"> |
|
2001 <a href="#method__normAttrVals">_normAttrVals</a> |
|
2002 |
|
2003 |
|
2004 |
|
2005 </li> |
|
2006 |
|
2007 <li class="index-item method private inherited"> |
|
2008 <a href="#method__parseType">_parseType</a> |
|
2009 |
|
2010 |
|
2011 |
|
2012 </li> |
|
2013 |
|
2014 <li class="index-item method private inherited"> |
|
2015 <a href="#method__preInitEventCfg">_preInitEventCfg</a> |
|
2016 |
|
2017 |
|
2018 |
|
2019 </li> |
|
2020 |
|
2021 <li class="index-item method private inherited"> |
|
2022 <a href="#method__prep">_prep</a> |
|
2023 |
|
2024 |
|
2025 |
|
2026 </li> |
|
2027 |
|
2028 <li class="index-item method private inherited"> |
|
2029 <a href="#method__prevEndFn">_prevEndFn</a> |
|
2030 |
|
2031 |
|
2032 |
|
2033 </li> |
|
2034 |
|
2035 <li class="index-item method protected deprecated inherited"> |
|
2036 <a href="#method__protectAttrs">_protectAttrs</a> |
|
2037 |
|
2038 |
|
2039 |
|
2040 <span class="flag deprecated">deprecated</span> |
|
2041 |
|
2042 </li> |
|
2043 |
|
2044 <li class="index-item method private inherited"> |
|
2045 <a href="#method__publish">_publish</a> |
|
2046 |
|
2047 |
|
2048 |
|
2049 </li> |
|
2050 |
|
2051 <li class="index-item method private"> |
|
2052 <a href="#method__removeWidgetListeners">_removeWidgetListeners</a> |
|
2053 |
|
2054 |
|
2055 |
|
2056 </li> |
|
2057 |
|
2058 <li class="index-item method protected inherited inherited"> |
|
2059 <a href="#method__set">_set</a> |
|
2060 |
|
2061 |
|
2062 |
|
2063 </li> |
|
2064 |
|
2065 <li class="index-item method protected inherited"> |
|
2066 <a href="#method__setAttr">_setAttr</a> |
|
2067 |
|
2068 |
|
2069 |
|
2070 </li> |
|
2071 |
|
2072 <li class="index-item method protected inherited inherited"> |
|
2073 <a href="#method__setAttrs">_setAttrs</a> |
|
2074 |
|
2075 |
|
2076 |
|
2077 </li> |
|
2078 |
|
2079 <li class="index-item method private inherited"> |
|
2080 <a href="#method__setAttrVal">_setAttrVal</a> |
|
2081 |
|
2082 |
|
2083 |
|
2084 </li> |
|
2085 |
|
2086 <li class="index-item method private inherited"> |
|
2087 <a href="#method__setStartPosition">_setStartPosition</a> |
|
2088 |
|
2089 |
|
2090 |
|
2091 </li> |
|
2092 |
|
2093 <li class="index-item method private inherited"> |
|
2094 <a href="#method__setStateVal">_setStateVal</a> |
|
2095 |
|
2096 |
|
2097 |
|
2098 </li> |
|
2099 |
|
2100 <li class="index-item method private inherited"> |
|
2101 <a href="#method__timeoutCheck">_timeoutCheck</a> |
|
2102 |
|
2103 |
|
2104 |
|
2105 </li> |
|
2106 |
|
2107 <li class="index-item method private inherited"> |
|
2108 <a href="#method__unprep">_unprep</a> |
|
2109 |
|
2110 |
|
2111 |
|
2112 </li> |
|
2113 |
|
2114 <li class="index-item method private"> |
|
2115 <a href="#method__updateStopPosition">_updateStopPosition</a> |
|
2116 |
|
2117 |
|
2118 |
|
2119 </li> |
|
2120 |
|
2121 <li class="index-item method private"> |
|
2122 <a href="#method__usesWidgetPosition">_usesWidgetPosition</a> |
|
2123 |
|
2124 |
|
2125 |
|
2126 </li> |
|
2127 |
|
2128 <li class="index-item method inherited"> |
|
2129 <a href="#method_addAttr">addAttr</a> |
|
2130 |
|
2131 |
|
2132 |
|
2133 </li> |
|
2134 |
|
2135 <li class="index-item method inherited"> |
|
2136 <a href="#method_addAttrs">addAttrs</a> |
|
2137 |
|
2138 |
|
2139 |
|
2140 </li> |
|
2141 |
|
2142 <li class="index-item method inherited"> |
|
2143 <a href="#method_addHandle">addHandle</a> |
|
2144 |
|
2145 |
|
2146 |
|
2147 </li> |
|
2148 |
|
2149 <li class="index-item method inherited"> |
|
2150 <a href="#method_addInvalid">addInvalid</a> |
|
2151 |
|
2152 |
|
2153 |
|
2154 </li> |
|
2155 |
|
2156 <li class="index-item method inherited"> |
|
2157 <a href="#method_addTarget">addTarget</a> |
|
2158 |
|
2159 |
|
2160 |
|
2161 </li> |
|
2162 |
|
2163 <li class="index-item method inherited"> |
|
2164 <a href="#method_addToGroup">addToGroup</a> |
|
2165 |
|
2166 |
|
2167 |
|
2168 </li> |
|
2169 |
|
2170 <li class="index-item method inherited"> |
|
2171 <a href="#method_after">after</a> |
|
2172 |
|
2173 |
|
2174 |
|
2175 </li> |
|
2176 |
|
2177 <li class="index-item method inherited"> |
|
2178 <a href="#method_attrAdded">attrAdded</a> |
|
2179 |
|
2180 |
|
2181 |
|
2182 </li> |
|
2183 |
|
2184 <li class="index-item method inherited"> |
|
2185 <a href="#method_before">before</a> |
|
2186 |
|
2187 |
|
2188 |
|
2189 </li> |
|
2190 |
|
2191 <li class="index-item method inherited"> |
|
2192 <a href="#method_bubble">bubble</a> |
|
2193 |
|
2194 |
|
2195 |
|
2196 </li> |
|
2197 |
|
2198 <li class="index-item method inherited inherited"> |
|
2199 <a href="#method_destroy">destroy</a> |
|
2200 |
|
2201 |
|
2202 |
|
2203 </li> |
|
2204 |
|
2205 <li class="index-item method private inherited"> |
|
2206 <a href="#method_destructor">destructor</a> |
|
2207 |
|
2208 |
|
2209 |
|
2210 </li> |
|
2211 |
|
2212 <li class="index-item method inherited"> |
|
2213 <a href="#method_detach">detach</a> |
|
2214 |
|
2215 |
|
2216 |
|
2217 </li> |
|
2218 |
|
2219 <li class="index-item method inherited"> |
|
2220 <a href="#method_detachAll">detachAll</a> |
|
2221 |
|
2222 |
|
2223 |
|
2224 </li> |
|
2225 |
|
2226 <li class="index-item method inherited"> |
|
2227 <a href="#method_end">end</a> |
|
2228 |
|
2229 |
|
2230 |
|
2231 </li> |
|
2232 |
|
2233 <li class="index-item method inherited"> |
|
2234 <a href="#method_fire">fire</a> |
|
2235 |
|
2236 |
|
2237 |
|
2238 </li> |
|
2239 |
|
2240 <li class="index-item method inherited"> |
|
2241 <a href="#method_get">get</a> |
|
2242 |
|
2243 |
|
2244 |
|
2245 </li> |
|
2246 |
|
2247 <li class="index-item method inherited"> |
|
2248 <a href="#method_getAttrs">getAttrs</a> |
|
2249 |
|
2250 |
|
2251 |
|
2252 </li> |
|
2253 |
|
2254 <li class="index-item method inherited"> |
|
2255 <a href="#method_getEvent">getEvent</a> |
|
2256 |
|
2257 |
|
2258 |
|
2259 </li> |
|
2260 |
|
2261 <li class="index-item method inherited"> |
|
2262 <a href="#method_getTargets">getTargets</a> |
|
2263 |
|
2264 |
|
2265 |
|
2266 </li> |
|
2267 |
|
2268 <li class="index-item method inherited inherited"> |
|
2269 <a href="#method_init">init</a> |
|
2270 |
|
2271 |
|
2272 |
|
2273 </li> |
|
2274 |
|
2275 <li class="index-item method private"> |
|
2276 <a href="#method_initializer">initializer</a> |
|
2277 |
|
2278 |
|
2279 |
|
2280 </li> |
|
2281 |
|
2282 <li class="index-item method protected inherited"> |
|
2283 <a href="#method_initializer">initializer</a> |
|
2284 |
|
2285 |
|
2286 |
|
2287 </li> |
|
2288 |
|
2289 <li class="index-item method inherited"> |
|
2290 <a href="#method_modifyAttr">modifyAttr</a> |
|
2291 |
|
2292 |
|
2293 |
|
2294 </li> |
|
2295 |
|
2296 <li class="index-item method inherited"> |
|
2297 <a href="#method_on">on</a> |
|
2298 |
|
2299 |
|
2300 |
|
2301 </li> |
|
2302 |
|
2303 <li class="index-item method inherited"> |
|
2304 <a href="#method_once">once</a> |
|
2305 |
|
2306 |
|
2307 |
|
2308 </li> |
|
2309 |
|
2310 <li class="index-item method inherited"> |
|
2311 <a href="#method_onceAfter">onceAfter</a> |
|
2312 |
|
2313 |
|
2314 |
|
2315 </li> |
|
2316 |
|
2317 <li class="index-item method inherited"> |
|
2318 <a href="#method_parseType">parseType</a> |
|
2319 |
|
2320 |
|
2321 |
|
2322 </li> |
|
2323 |
|
2324 <li class="index-item method inherited"> |
|
2325 <a href="#method_publish">publish</a> |
|
2326 |
|
2327 |
|
2328 |
|
2329 </li> |
|
2330 |
|
2331 <li class="index-item method inherited"> |
|
2332 <a href="#method_removeAttr">removeAttr</a> |
|
2333 |
|
2334 |
|
2335 |
|
2336 </li> |
|
2337 |
|
2338 <li class="index-item method inherited"> |
|
2339 <a href="#method_removeFromGroup">removeFromGroup</a> |
|
2340 |
|
2341 |
|
2342 |
|
2343 </li> |
|
2344 |
|
2345 <li class="index-item method inherited"> |
|
2346 <a href="#method_removeHandle">removeHandle</a> |
|
2347 |
|
2348 |
|
2349 |
|
2350 </li> |
|
2351 |
|
2352 <li class="index-item method inherited"> |
|
2353 <a href="#method_removeInvalid">removeInvalid</a> |
|
2354 |
|
2355 |
|
2356 |
|
2357 </li> |
|
2358 |
|
2359 <li class="index-item method inherited"> |
|
2360 <a href="#method_removeTarget">removeTarget</a> |
|
2361 |
|
2362 |
|
2363 |
|
2364 </li> |
|
2365 |
|
2366 <li class="index-item method inherited"> |
|
2367 <a href="#method_reset">reset</a> |
|
2368 |
|
2369 |
|
2370 |
|
2371 </li> |
|
2372 |
|
2373 <li class="index-item method inherited inherited"> |
|
2374 <a href="#method_set">set</a> |
|
2375 |
|
2376 |
|
2377 |
|
2378 </li> |
|
2379 |
|
2380 <li class="index-item method inherited inherited"> |
|
2381 <a href="#method_setAttrs">setAttrs</a> |
|
2382 |
|
2383 |
|
2384 |
|
2385 </li> |
|
2386 |
|
2387 <li class="index-item method inherited"> |
|
2388 <a href="#method_start">start</a> |
|
2389 |
|
2390 |
|
2391 |
|
2392 </li> |
|
2393 |
|
2394 <li class="index-item method inherited"> |
|
2395 <a href="#method_stopDrag">stopDrag</a> |
|
2396 |
|
2397 |
|
2398 |
|
2399 </li> |
|
2400 |
|
2401 <li class="index-item method deprecated inherited"> |
|
2402 <a href="#method_subscribe">subscribe</a> |
|
2403 |
|
2404 |
|
2405 |
|
2406 <span class="flag deprecated">deprecated</span> |
|
2407 |
|
2408 </li> |
|
2409 |
|
2410 <li class="index-item method inherited"> |
|
2411 <a href="#method_toString">toString</a> |
|
2412 |
|
2413 |
|
2414 |
|
2415 </li> |
|
2416 |
|
2417 <li class="index-item method deprecated inherited"> |
|
2418 <a href="#method_unsubscribe">unsubscribe</a> |
|
2419 |
|
2420 |
|
2421 |
|
2422 <span class="flag deprecated">deprecated</span> |
|
2423 |
|
2424 </li> |
|
2425 |
|
2426 <li class="index-item method deprecated inherited"> |
|
2427 <a href="#method_unsubscribeAll">unsubscribeAll</a> |
|
2428 |
|
2429 |
|
2430 |
|
2431 <span class="flag deprecated">deprecated</span> |
|
2432 |
|
2433 </li> |
|
2434 |
|
2435 <li class="index-item method inherited"> |
|
2436 <a href="#method_validClick">validClick</a> |
|
2437 |
|
2438 |
|
2439 |
|
2440 </li> |
|
2441 |
|
2442 </ul> |
|
2443 </div> |
|
2444 |
|
2445 |
|
2446 |
|
2447 <div class="index-section properties"> |
|
2448 <h3>Properties</h3> |
|
2449 |
|
2450 <ul class="index-list properties extends"> |
|
2451 |
|
2452 <li class="index-item property protected inherited"> |
|
2453 <a href="#property__allowAdHocAttrs">_allowAdHocAttrs</a> |
|
2454 |
|
2455 |
|
2456 |
|
2457 </li> |
|
2458 |
|
2459 <li class="index-item property private inherited"> |
|
2460 <a href="#property__bubbleTargets">_bubbleTargets</a> |
|
2461 |
|
2462 |
|
2463 |
|
2464 </li> |
|
2465 |
|
2466 <li class="index-item property private inherited"> |
|
2467 <a href="#property__clickTimeout">_clickTimeout</a> |
|
2468 |
|
2469 |
|
2470 |
|
2471 </li> |
|
2472 |
|
2473 <li class="index-item property private inherited"> |
|
2474 <a href="#property__dragThreshMet">_dragThreshMet</a> |
|
2475 |
|
2476 |
|
2477 |
|
2478 </li> |
|
2479 |
|
2480 <li class="index-item property private inherited"> |
|
2481 <a href="#property__endTime">_endTime</a> |
|
2482 |
|
2483 |
|
2484 |
|
2485 </li> |
|
2486 |
|
2487 <li class="index-item property private inherited"> |
|
2488 <a href="#property__ev_md">_ev_md</a> |
|
2489 |
|
2490 |
|
2491 |
|
2492 </li> |
|
2493 |
|
2494 <li class="index-item property private inherited"> |
|
2495 <a href="#property__fromTimeout">_fromTimeout</a> |
|
2496 |
|
2497 |
|
2498 |
|
2499 </li> |
|
2500 |
|
2501 <li class="index-item property private inherited"> |
|
2502 <a href="#property__groups">_groups</a> |
|
2503 |
|
2504 |
|
2505 |
|
2506 </li> |
|
2507 |
|
2508 <li class="index-item property private inherited"> |
|
2509 <a href="#property__handles">_handles</a> |
|
2510 |
|
2511 |
|
2512 |
|
2513 </li> |
|
2514 |
|
2515 <li class="index-item property private inherited"> |
|
2516 <a href="#property__ieSelectBack">_ieSelectBack</a> |
|
2517 |
|
2518 |
|
2519 |
|
2520 </li> |
|
2521 |
|
2522 <li class="index-item property private inherited"> |
|
2523 <a href="#property__invalids">_invalids</a> |
|
2524 |
|
2525 |
|
2526 |
|
2527 </li> |
|
2528 |
|
2529 <li class="index-item property private inherited"> |
|
2530 <a href="#property__invalidsDefault">_invalidsDefault</a> |
|
2531 |
|
2532 |
|
2533 |
|
2534 </li> |
|
2535 |
|
2536 <li class="index-item property private inherited"> |
|
2537 <a href="#property__startTime">_startTime</a> |
|
2538 |
|
2539 |
|
2540 |
|
2541 </li> |
|
2542 |
|
2543 <li class="index-item property inherited"> |
|
2544 <a href="#property_actXY">actXY</a> |
|
2545 |
|
2546 |
|
2547 |
|
2548 </li> |
|
2549 |
|
2550 <li class="index-item property inherited"> |
|
2551 <a href="#property_deltaXY">deltaXY</a> |
|
2552 |
|
2553 |
|
2554 |
|
2555 </li> |
|
2556 |
|
2557 <li class="index-item property inherited"> |
|
2558 <a href="#property_lastXY">lastXY</a> |
|
2559 |
|
2560 |
|
2561 |
|
2562 </li> |
|
2563 |
|
2564 <li class="index-item property inherited"> |
|
2565 <a href="#property_mouseXY">mouseXY</a> |
|
2566 |
|
2567 |
|
2568 |
|
2569 </li> |
|
2570 |
|
2571 <li class="index-item property"> |
|
2572 <a href="#property_NAME">NAME</a> |
|
2573 |
|
2574 |
|
2575 |
|
2576 </li> |
|
2577 |
|
2578 <li class="index-item property deprecated inherited"> |
|
2579 <a href="#property_name">name</a> |
|
2580 |
|
2581 |
|
2582 |
|
2583 <span class="flag deprecated">deprecated</span> |
|
2584 |
|
2585 </li> |
|
2586 |
|
2587 <li class="index-item property inherited"> |
|
2588 <a href="#property_nodeXY">nodeXY</a> |
|
2589 |
|
2590 |
|
2591 |
|
2592 </li> |
|
2593 |
|
2594 <li class="index-item property"> |
|
2595 <a href="#property_NS">NS</a> |
|
2596 |
|
2597 |
|
2598 |
|
2599 </li> |
|
2600 |
|
2601 <li class="index-item property inherited"> |
|
2602 <a href="#property_realXY">realXY</a> |
|
2603 |
|
2604 |
|
2605 |
|
2606 </li> |
|
2607 |
|
2608 <li class="index-item property inherited"> |
|
2609 <a href="#property_region">region</a> |
|
2610 |
|
2611 |
|
2612 |
|
2613 </li> |
|
2614 |
|
2615 <li class="index-item property inherited"> |
|
2616 <a href="#property_startXY">startXY</a> |
|
2617 |
|
2618 |
|
2619 |
|
2620 </li> |
|
2621 |
|
2622 <li class="index-item property inherited"> |
|
2623 <a href="#property_target">target</a> |
|
2624 |
|
2625 |
|
2626 |
|
2627 </li> |
|
2628 |
|
2629 </ul> |
|
2630 </div> |
|
2631 |
|
2632 |
|
2633 |
|
2634 <div class="index-section attrs"> |
|
2635 <h3>Attributes</h3> |
|
2636 |
|
2637 <ul class="index-list attrs extends"> |
|
2638 |
|
2639 <li class="index-item attr private"> |
|
2640 <a href="#attr__stoppedPosition">_stoppedPosition</a> |
|
2641 </li> |
|
2642 |
|
2643 <li class="index-item attr private"> |
|
2644 <a href="#attr__widget">_widget</a> |
|
2645 </li> |
|
2646 |
|
2647 <li class="index-item attr inherited"> |
|
2648 <a href="#attr_activeHandle">activeHandle</a> |
|
2649 </li> |
|
2650 |
|
2651 <li class="index-item attr deprecated inherited"> |
|
2652 <a href="#attr_bubbles">bubbles</a> |
|
2653 </li> |
|
2654 |
|
2655 <li class="index-item attr inherited"> |
|
2656 <a href="#attr_clickPixelThresh">clickPixelThresh</a> |
|
2657 </li> |
|
2658 |
|
2659 <li class="index-item attr inherited"> |
|
2660 <a href="#attr_clickTimeThresh">clickTimeThresh</a> |
|
2661 </li> |
|
2662 |
|
2663 <li class="index-item attr inherited"> |
|
2664 <a href="#attr_data">data</a> |
|
2665 </li> |
|
2666 |
|
2667 <li class="index-item attr inherited"> |
|
2668 <a href="#attr_destroyed">destroyed</a> |
|
2669 </li> |
|
2670 |
|
2671 <li class="index-item attr inherited"> |
|
2672 <a href="#attr_dragging">dragging</a> |
|
2673 </li> |
|
2674 |
|
2675 <li class="index-item attr inherited"> |
|
2676 <a href="#attr_dragMode">dragMode</a> |
|
2677 </li> |
|
2678 |
|
2679 <li class="index-item attr inherited"> |
|
2680 <a href="#attr_dragNode">dragNode</a> |
|
2681 </li> |
|
2682 |
|
2683 <li class="index-item attr inherited"> |
|
2684 <a href="#attr_groups">groups</a> |
|
2685 </li> |
|
2686 |
|
2687 <li class="index-item attr inherited"> |
|
2688 <a href="#attr_haltDown">haltDown</a> |
|
2689 </li> |
|
2690 |
|
2691 <li class="index-item attr inherited"> |
|
2692 <a href="#attr_handles">handles</a> |
|
2693 </li> |
|
2694 |
|
2695 <li class="index-item attr inherited"> |
|
2696 <a href="#attr_initialized">initialized</a> |
|
2697 </li> |
|
2698 |
|
2699 <li class="index-item attr inherited"> |
|
2700 <a href="#attr_lock">lock</a> |
|
2701 </li> |
|
2702 |
|
2703 <li class="index-item attr inherited"> |
|
2704 <a href="#attr_move">move</a> |
|
2705 </li> |
|
2706 |
|
2707 <li class="index-item attr inherited"> |
|
2708 <a href="#attr_node">node</a> |
|
2709 </li> |
|
2710 |
|
2711 <li class="index-item attr inherited"> |
|
2712 <a href="#attr_offsetNode">offsetNode</a> |
|
2713 </li> |
|
2714 |
|
2715 <li class="index-item attr inherited"> |
|
2716 <a href="#attr_primaryButtonOnly">primaryButtonOnly</a> |
|
2717 </li> |
|
2718 |
|
2719 <li class="index-item attr inherited"> |
|
2720 <a href="#attr_startCentered">startCentered</a> |
|
2721 </li> |
|
2722 |
|
2723 <li class="index-item attr inherited"> |
|
2724 <a href="#attr_target">target</a> |
|
2725 </li> |
|
2726 |
|
2727 <li class="index-item attr inherited"> |
|
2728 <a href="#attr_useShim">useShim</a> |
|
2729 </li> |
|
2730 |
|
2731 </ul> |
|
2732 </div> |
|
2733 |
|
2734 |
|
2735 |
|
2736 <div class="index-section events"> |
|
2737 <h3>Events</h3> |
|
2738 |
|
2739 <ul class="index-list events extends"> |
|
2740 |
|
2741 <li class="index-item event inherited"> |
|
2742 <a href="#event_destroy">destroy</a> |
|
2743 |
|
2744 |
|
2745 |
|
2746 </li> |
|
2747 |
|
2748 <li class="index-item event inherited"> |
|
2749 <a href="#event_drag:addHandle">drag:addHandle</a> |
|
2750 |
|
2751 |
|
2752 |
|
2753 </li> |
|
2754 |
|
2755 <li class="index-item event inherited"> |
|
2756 <a href="#event_drag:addInvalid">drag:addInvalid</a> |
|
2757 |
|
2758 |
|
2759 |
|
2760 </li> |
|
2761 |
|
2762 <li class="index-item event inherited"> |
|
2763 <a href="#event_drag:afterMouseDown">drag:afterMouseDown</a> |
|
2764 |
|
2765 |
|
2766 |
|
2767 </li> |
|
2768 |
|
2769 <li class="index-item event inherited"> |
|
2770 <a href="#event_drag:align">drag:align</a> |
|
2771 |
|
2772 |
|
2773 |
|
2774 </li> |
|
2775 |
|
2776 <li class="index-item event inherited"> |
|
2777 <a href="#event_drag:drag">drag:drag</a> |
|
2778 |
|
2779 |
|
2780 |
|
2781 </li> |
|
2782 |
|
2783 <li class="index-item event inherited"> |
|
2784 <a href="#event_drag:drophit">drag:drophit</a> |
|
2785 |
|
2786 |
|
2787 |
|
2788 </li> |
|
2789 |
|
2790 <li class="index-item event inherited"> |
|
2791 <a href="#event_drag:dropmiss">drag:dropmiss</a> |
|
2792 |
|
2793 |
|
2794 |
|
2795 </li> |
|
2796 |
|
2797 <li class="index-item event inherited"> |
|
2798 <a href="#event_drag:end">drag:end</a> |
|
2799 |
|
2800 |
|
2801 |
|
2802 </li> |
|
2803 |
|
2804 <li class="index-item event inherited"> |
|
2805 <a href="#event_drag:enter">drag:enter</a> |
|
2806 |
|
2807 |
|
2808 |
|
2809 </li> |
|
2810 |
|
2811 <li class="index-item event inherited"> |
|
2812 <a href="#event_drag:exit">drag:exit</a> |
|
2813 |
|
2814 |
|
2815 |
|
2816 </li> |
|
2817 |
|
2818 <li class="index-item event inherited"> |
|
2819 <a href="#event_drag:mouseDown">drag:mouseDown</a> |
|
2820 |
|
2821 |
|
2822 |
|
2823 </li> |
|
2824 |
|
2825 <li class="index-item event inherited"> |
|
2826 <a href="#event_drag:mouseup">drag:mouseup</a> |
|
2827 |
|
2828 |
|
2829 |
|
2830 </li> |
|
2831 |
|
2832 <li class="index-item event inherited"> |
|
2833 <a href="#event_drag:over">drag:over</a> |
|
2834 |
|
2835 |
|
2836 |
|
2837 </li> |
|
2838 |
|
2839 <li class="index-item event inherited"> |
|
2840 <a href="#event_drag:removeHandle">drag:removeHandle</a> |
|
2841 |
|
2842 |
|
2843 |
|
2844 </li> |
|
2845 |
|
2846 <li class="index-item event inherited"> |
|
2847 <a href="#event_drag:removeInvalid">drag:removeInvalid</a> |
|
2848 |
|
2849 |
|
2850 |
|
2851 </li> |
|
2852 |
|
2853 <li class="index-item event inherited"> |
|
2854 <a href="#event_drag:start">drag:start</a> |
|
2855 |
|
2856 |
|
2857 |
|
2858 </li> |
|
2859 |
|
2860 <li class="index-item event inherited"> |
|
2861 <a href="#event_init">init</a> |
|
2862 |
|
2863 |
|
2864 |
|
2865 </li> |
|
2866 |
|
2867 </ul> |
|
2868 </div> |
|
2869 |
|
2870 </div> |
|
2871 |
|
2872 |
|
2873 <div id="methods" class="api-class-tabpanel"> |
|
2874 <h2 class="off-left">Methods</h2> |
|
2875 |
|
2876 |
|
2877 <div id="method__addAttrs" class="method item private inherited"> |
|
2878 <h3 class="name"><code>_addAttrs</code></h3> |
|
2879 |
|
2880 |
|
2881 <div class="args"> |
|
2882 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2883 |
|
2884 <li class="arg"> |
|
2885 |
|
2886 <code>cfgs</code> |
|
2887 |
|
2888 </li> |
|
2889 |
|
2890 <li class="arg"> |
|
2891 |
|
2892 <code>values</code> |
|
2893 |
|
2894 </li> |
|
2895 |
|
2896 <li class="arg"> |
|
2897 |
|
2898 <code>lazy</code> |
|
2899 |
|
2900 </li> |
|
2901 |
|
2902 </ul><span class="paren">)</span> |
|
2903 </div> |
|
2904 |
|
2905 |
|
2906 |
|
2907 |
|
2908 |
|
2909 |
|
2910 |
|
2911 <span class="flag private">private</span> |
|
2912 |
|
2913 |
|
2914 |
|
2915 |
|
2916 |
|
2917 |
|
2918 |
|
2919 |
|
2920 |
|
2921 |
|
2922 <div class="meta"> |
|
2923 |
|
2924 |
|
2925 <p>Inherited from |
|
2926 <a href="../classes/AttributeCore.html#method__addAttrs">AttributeCore</a>: |
|
2927 |
|
2928 |
|
2929 |
|
2930 <a href="../files/attribute_js_AttributeCore.js.html#l836"><code>attribute/js/AttributeCore.js:836</code></a> |
|
2931 |
|
2932 </p> |
|
2933 |
|
2934 |
|
2935 |
|
2936 |
|
2937 |
|
2938 </div> |
|
2939 |
|
2940 <div class="description"> |
|
2941 <p>Implementation behind the public addAttrs method.</p> |
|
2942 |
|
2943 <p>This method is invoked directly by get if it encounters a scenario |
|
2944 in which an attribute's valueFn attempts to obtain the |
|
2945 value an attribute in the same group of attributes, which has not yet |
|
2946 been added (on demand initialization).</p> |
|
2947 </div> |
|
2948 |
|
2949 |
|
2950 <div class="params"> |
|
2951 <h4>Parameters:</h4> |
|
2952 |
|
2953 <ul class="params-list"> |
|
2954 |
|
2955 <li class="param"> |
|
2956 |
|
2957 <code class="param-name">cfgs</code> |
|
2958 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2959 |
|
2960 |
|
2961 |
|
2962 |
|
2963 <div class="param-description"> |
|
2964 <p>An object with attribute name/configuration pairs.</p> |
|
2965 </div> |
|
2966 |
|
2967 |
|
2968 </li> |
|
2969 |
|
2970 <li class="param"> |
|
2971 |
|
2972 <code class="param-name">values</code> |
|
2973 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2974 |
|
2975 |
|
2976 |
|
2977 |
|
2978 <div class="param-description"> |
|
2979 <p>An object with attribute name/value pairs, defining the initial values to apply. |
|
2980 Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p> |
|
2981 </div> |
|
2982 |
|
2983 |
|
2984 </li> |
|
2985 |
|
2986 <li class="param"> |
|
2987 |
|
2988 <code class="param-name">lazy</code> |
|
2989 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
2990 |
|
2991 |
|
2992 |
|
2993 |
|
2994 <div class="param-description"> |
|
2995 <p>Whether or not to delay the intialization of these attributes until the first call to get/set. |
|
2996 Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration. |
|
2997 See <a href="#method_addAttr">addAttr</a>.</p> |
|
2998 </div> |
|
2999 |
|
3000 |
|
3001 </li> |
|
3002 |
|
3003 </ul> |
|
3004 </div> |
|
3005 |
|
3006 |
|
3007 |
|
3008 |
|
3009 |
|
3010 </div> |
|
3011 |
|
3012 |
|
3013 <div id="method__addLazyAttr" class="method item private inherited"> |
|
3014 <h3 class="name"><code>_addLazyAttr</code></h3> |
|
3015 |
|
3016 |
|
3017 <div class="args"> |
|
3018 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3019 |
|
3020 <li class="arg"> |
|
3021 |
|
3022 <code>name</code> |
|
3023 |
|
3024 </li> |
|
3025 |
|
3026 <li class="arg"> |
|
3027 |
|
3028 <code class="optional">[lazyCfg]</code> |
|
3029 |
|
3030 </li> |
|
3031 |
|
3032 </ul><span class="paren">)</span> |
|
3033 </div> |
|
3034 |
|
3035 |
|
3036 |
|
3037 |
|
3038 |
|
3039 |
|
3040 |
|
3041 <span class="flag private">private</span> |
|
3042 |
|
3043 |
|
3044 |
|
3045 |
|
3046 |
|
3047 |
|
3048 |
|
3049 |
|
3050 |
|
3051 |
|
3052 <div class="meta"> |
|
3053 |
|
3054 |
|
3055 <p>Inherited from |
|
3056 <a href="../classes/AttributeCore.html#method__addLazyAttr">AttributeCore</a>: |
|
3057 |
|
3058 |
|
3059 |
|
3060 <a href="../files/attribute_js_AttributeCore.js.html#l382"><code>attribute/js/AttributeCore.js:382</code></a> |
|
3061 |
|
3062 </p> |
|
3063 |
|
3064 |
|
3065 |
|
3066 |
|
3067 |
|
3068 </div> |
|
3069 |
|
3070 <div class="description"> |
|
3071 <p>Finishes initializing an attribute which has been lazily added.</p> |
|
3072 </div> |
|
3073 |
|
3074 |
|
3075 <div class="params"> |
|
3076 <h4>Parameters:</h4> |
|
3077 |
|
3078 <ul class="params-list"> |
|
3079 |
|
3080 <li class="param"> |
|
3081 |
|
3082 <code class="param-name">name</code> |
|
3083 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3084 |
|
3085 |
|
3086 |
|
3087 |
|
3088 <div class="param-description"> |
|
3089 <p>The name of the attribute</p> |
|
3090 </div> |
|
3091 |
|
3092 |
|
3093 </li> |
|
3094 |
|
3095 <li class="param"> |
|
3096 |
|
3097 <code class="param-name optional">[lazyCfg]</code> |
|
3098 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3099 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
3100 |
|
3101 |
|
3102 |
|
3103 |
|
3104 <div class="param-description"> |
|
3105 <p>Optional config hash for the attribute. This is added for performance |
|
3106 along the critical path, where the calling method has already obtained lazy config from state.</p> |
|
3107 </div> |
|
3108 |
|
3109 |
|
3110 </li> |
|
3111 |
|
3112 </ul> |
|
3113 </div> |
|
3114 |
|
3115 |
|
3116 |
|
3117 |
|
3118 |
|
3119 </div> |
|
3120 |
|
3121 |
|
3122 <div id="method__aggregateAttrs" class="method item private inherited"> |
|
3123 <h3 class="name"><code>_aggregateAttrs</code></h3> |
|
3124 |
|
3125 |
|
3126 <div class="args"> |
|
3127 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3128 |
|
3129 <li class="arg"> |
|
3130 |
|
3131 <code>allAttrs</code> |
|
3132 |
|
3133 </li> |
|
3134 |
|
3135 </ul><span class="paren">)</span> |
|
3136 </div> |
|
3137 |
|
3138 |
|
3139 |
|
3140 <span class="returns-inline"> |
|
3141 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3142 </span> |
|
3143 |
|
3144 |
|
3145 |
|
3146 |
|
3147 |
|
3148 <span class="flag private">private</span> |
|
3149 |
|
3150 |
|
3151 |
|
3152 |
|
3153 |
|
3154 |
|
3155 |
|
3156 |
|
3157 |
|
3158 |
|
3159 <div class="meta"> |
|
3160 |
|
3161 |
|
3162 <p>Inherited from |
|
3163 <a href="../classes/BaseCore.html#method__aggregateAttrs">BaseCore</a>: |
|
3164 |
|
3165 |
|
3166 |
|
3167 <a href="../files/base_js_BaseCore.js.html#l575"><code>base/js/BaseCore.js:575</code></a> |
|
3168 |
|
3169 </p> |
|
3170 |
|
3171 |
|
3172 |
|
3173 |
|
3174 |
|
3175 </div> |
|
3176 |
|
3177 <div class="description"> |
|
3178 <p>A helper method, used by _initHierarchyData to aggregate |
|
3179 attribute configuration across the instances class hierarchy.</p> |
|
3180 |
|
3181 <p>The method will protect the attribute configuration value to protect the statically defined |
|
3182 default value in ATTRS if required (if the value is an object literal, array or the |
|
3183 attribute configuration has cloneDefaultValue set to shallow or deep).</p> |
|
3184 </div> |
|
3185 |
|
3186 |
|
3187 <div class="params"> |
|
3188 <h4>Parameters:</h4> |
|
3189 |
|
3190 <ul class="params-list"> |
|
3191 |
|
3192 <li class="param"> |
|
3193 |
|
3194 <code class="param-name">allAttrs</code> |
|
3195 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
3196 |
|
3197 |
|
3198 |
|
3199 |
|
3200 <div class="param-description"> |
|
3201 <p>An array of ATTRS definitions across classes in the hierarchy |
|
3202 (subclass first, Base last)</p> |
|
3203 </div> |
|
3204 |
|
3205 |
|
3206 </li> |
|
3207 |
|
3208 </ul> |
|
3209 </div> |
|
3210 |
|
3211 |
|
3212 |
|
3213 <div class="returns"> |
|
3214 <h4>Returns:</h4> |
|
3215 |
|
3216 <div class="returns-description"> |
|
3217 |
|
3218 |
|
3219 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
3220 |
|
3221 The aggregate set of ATTRS definitions for the instance |
|
3222 |
|
3223 </div> |
|
3224 </div> |
|
3225 |
|
3226 |
|
3227 |
|
3228 </div> |
|
3229 |
|
3230 |
|
3231 <div id="method__align" class="method item private inherited"> |
|
3232 <h3 class="name"><code>_align</code></h3> |
|
3233 |
|
3234 |
|
3235 <div class="args"> |
|
3236 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3237 |
|
3238 <li class="arg"> |
|
3239 |
|
3240 <code>xy</code> |
|
3241 |
|
3242 </li> |
|
3243 |
|
3244 </ul><span class="paren">)</span> |
|
3245 </div> |
|
3246 |
|
3247 |
|
3248 |
|
3249 |
|
3250 |
|
3251 |
|
3252 |
|
3253 <span class="flag private">private</span> |
|
3254 |
|
3255 |
|
3256 |
|
3257 |
|
3258 |
|
3259 |
|
3260 |
|
3261 |
|
3262 |
|
3263 |
|
3264 <div class="meta"> |
|
3265 |
|
3266 |
|
3267 <p>Inherited from |
|
3268 <a href="../classes/DD.Drag.html#method__align">DD.Drag</a>: |
|
3269 |
|
3270 |
|
3271 |
|
3272 <a href="../files/dd_js_drag.js.html#l1118"><code>dd/js/drag.js:1118</code></a> |
|
3273 |
|
3274 </p> |
|
3275 |
|
3276 |
|
3277 |
|
3278 |
|
3279 |
|
3280 </div> |
|
3281 |
|
3282 <div class="description"> |
|
3283 <p>Calculates the offsets and set's the XY that the element will move to.</p> |
|
3284 </div> |
|
3285 |
|
3286 |
|
3287 <div class="params"> |
|
3288 <h4>Parameters:</h4> |
|
3289 |
|
3290 <ul class="params-list"> |
|
3291 |
|
3292 <li class="param"> |
|
3293 |
|
3294 <code class="param-name">xy</code> |
|
3295 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
3296 |
|
3297 |
|
3298 |
|
3299 |
|
3300 <div class="param-description"> |
|
3301 <p>The xy coords to align with.</p> |
|
3302 </div> |
|
3303 |
|
3304 |
|
3305 </li> |
|
3306 |
|
3307 </ul> |
|
3308 </div> |
|
3309 |
|
3310 |
|
3311 |
|
3312 |
|
3313 |
|
3314 </div> |
|
3315 |
|
3316 |
|
3317 <div id="method__alignNode" class="method item private inherited"> |
|
3318 <h3 class="name"><code>_alignNode</code></h3> |
|
3319 |
|
3320 |
|
3321 <div class="args"> |
|
3322 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3323 |
|
3324 <li class="arg"> |
|
3325 |
|
3326 <code>eXY</code> |
|
3327 |
|
3328 </li> |
|
3329 |
|
3330 </ul><span class="paren">)</span> |
|
3331 </div> |
|
3332 |
|
3333 |
|
3334 |
|
3335 |
|
3336 |
|
3337 |
|
3338 |
|
3339 <span class="flag private">private</span> |
|
3340 |
|
3341 |
|
3342 |
|
3343 |
|
3344 |
|
3345 |
|
3346 |
|
3347 |
|
3348 |
|
3349 |
|
3350 <div class="meta"> |
|
3351 |
|
3352 |
|
3353 <p>Inherited from |
|
3354 <a href="../classes/DD.Drag.html#method__alignNode">DD.Drag</a>: |
|
3355 |
|
3356 |
|
3357 |
|
3358 <a href="../files/dd_js_drag.js.html#l1136"><code>dd/js/drag.js:1136</code></a> |
|
3359 |
|
3360 </p> |
|
3361 |
|
3362 |
|
3363 |
|
3364 |
|
3365 |
|
3366 </div> |
|
3367 |
|
3368 <div class="description"> |
|
3369 <p>This method performs the alignment before the element move.</p> |
|
3370 </div> |
|
3371 |
|
3372 |
|
3373 <div class="params"> |
|
3374 <h4>Parameters:</h4> |
|
3375 |
|
3376 <ul class="params-list"> |
|
3377 |
|
3378 <li class="param"> |
|
3379 |
|
3380 <code class="param-name">eXY</code> |
|
3381 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
3382 |
|
3383 |
|
3384 |
|
3385 |
|
3386 <div class="param-description"> |
|
3387 <p>The XY to move the element to, usually comes from the mousemove DOM event.</p> |
|
3388 </div> |
|
3389 |
|
3390 |
|
3391 </li> |
|
3392 |
|
3393 </ul> |
|
3394 </div> |
|
3395 |
|
3396 |
|
3397 |
|
3398 |
|
3399 |
|
3400 </div> |
|
3401 |
|
3402 |
|
3403 <div id="method__attachWidgetListeners" class="method item private"> |
|
3404 <h3 class="name"><code>_attachWidgetListeners</code></h3> |
|
3405 |
|
3406 |
|
3407 <span class="paren">()</span> |
|
3408 |
|
3409 |
|
3410 |
|
3411 |
|
3412 |
|
3413 |
|
3414 |
|
3415 <span class="flag private">private</span> |
|
3416 |
|
3417 |
|
3418 |
|
3419 |
|
3420 |
|
3421 |
|
3422 |
|
3423 |
|
3424 |
|
3425 |
|
3426 <div class="meta"> |
|
3427 |
|
3428 |
|
3429 |
|
3430 <p> |
|
3431 |
|
3432 Defined in |
|
3433 |
|
3434 |
|
3435 |
|
3436 |
|
3437 <a href="../files/dd_js_dd-plugin.js.html#l117"><code>dd/js/dd-plugin.js:117</code></a> |
|
3438 |
|
3439 </p> |
|
3440 |
|
3441 |
|
3442 |
|
3443 |
|
3444 |
|
3445 </div> |
|
3446 |
|
3447 <div class="description"> |
|
3448 <p>If this is a Widget, then attach the positioning listeners</p> |
|
3449 </div> |
|
3450 |
|
3451 |
|
3452 |
|
3453 |
|
3454 |
|
3455 |
|
3456 </div> |
|
3457 |
|
3458 |
|
3459 <div id="method__attrCfgHash" class="method item private inherited"> |
|
3460 <h3 class="name"><code>_attrCfgHash</code></h3> |
|
3461 |
|
3462 |
|
3463 <span class="paren">()</span> |
|
3464 |
|
3465 |
|
3466 |
|
3467 |
|
3468 |
|
3469 |
|
3470 |
|
3471 <span class="flag private">private</span> |
|
3472 |
|
3473 |
|
3474 |
|
3475 |
|
3476 |
|
3477 |
|
3478 |
|
3479 |
|
3480 |
|
3481 |
|
3482 <div class="meta"> |
|
3483 |
|
3484 |
|
3485 <p>Inherited from |
|
3486 <a href="../classes/BaseCore.html#method__attrCfgHash">BaseCore</a>: |
|
3487 |
|
3488 |
|
3489 |
|
3490 <a href="../files/base_js_BaseCore.js.html#l538"><code>base/js/BaseCore.js:538</code></a> |
|
3491 |
|
3492 </p> |
|
3493 |
|
3494 |
|
3495 |
|
3496 |
|
3497 |
|
3498 </div> |
|
3499 |
|
3500 <div class="description"> |
|
3501 <p>Utility method to define the attribute hash used to filter/whitelist property mixes for |
|
3502 this class for iteration performance reasons.</p> |
|
3503 </div> |
|
3504 |
|
3505 |
|
3506 |
|
3507 |
|
3508 |
|
3509 |
|
3510 </div> |
|
3511 |
|
3512 |
|
3513 <div id="method__baseDestroy" class="method item private inherited"> |
|
3514 <h3 class="name"><code>_baseDestroy</code></h3> |
|
3515 |
|
3516 |
|
3517 <span class="paren">()</span> |
|
3518 |
|
3519 |
|
3520 |
|
3521 |
|
3522 |
|
3523 |
|
3524 |
|
3525 <span class="flag private">private</span> |
|
3526 |
|
3527 |
|
3528 |
|
3529 |
|
3530 |
|
3531 |
|
3532 |
|
3533 |
|
3534 |
|
3535 |
|
3536 <div class="meta"> |
|
3537 |
|
3538 |
|
3539 <p>Inherited from |
|
3540 <a href="../classes/BaseCore.html#method__baseDestroy">BaseCore</a>: |
|
3541 |
|
3542 |
|
3543 |
|
3544 <a href="../files/base_js_BaseCore.js.html#l309"><code>base/js/BaseCore.js:309</code></a> |
|
3545 |
|
3546 </p> |
|
3547 |
|
3548 |
|
3549 |
|
3550 |
|
3551 |
|
3552 </div> |
|
3553 |
|
3554 <div class="description"> |
|
3555 <p>Internal destroy implementation for BaseCore</p> |
|
3556 </div> |
|
3557 |
|
3558 |
|
3559 |
|
3560 |
|
3561 |
|
3562 |
|
3563 </div> |
|
3564 |
|
3565 |
|
3566 <div id="method__baseInit" class="method item private inherited"> |
|
3567 <h3 class="name"><code>_baseInit</code></h3> |
|
3568 |
|
3569 |
|
3570 <span class="paren">()</span> |
|
3571 |
|
3572 |
|
3573 |
|
3574 |
|
3575 |
|
3576 |
|
3577 |
|
3578 <span class="flag private">private</span> |
|
3579 |
|
3580 |
|
3581 |
|
3582 |
|
3583 |
|
3584 |
|
3585 |
|
3586 |
|
3587 |
|
3588 |
|
3589 <div class="meta"> |
|
3590 |
|
3591 |
|
3592 <p>Inherited from |
|
3593 <a href="../classes/BaseCore.html#method__baseInit">BaseCore</a>: |
|
3594 |
|
3595 |
|
3596 |
|
3597 <a href="../files/base_js_BaseCore.js.html#l281"><code>base/js/BaseCore.js:281</code></a> |
|
3598 |
|
3599 </p> |
|
3600 |
|
3601 |
|
3602 |
|
3603 |
|
3604 |
|
3605 </div> |
|
3606 |
|
3607 <div class="description"> |
|
3608 <p>Internal initialization implementation for BaseCore</p> |
|
3609 </div> |
|
3610 |
|
3611 |
|
3612 |
|
3613 |
|
3614 |
|
3615 |
|
3616 </div> |
|
3617 |
|
3618 |
|
3619 <div id="method__canDrag" class="method item private inherited"> |
|
3620 <h3 class="name"><code>_canDrag</code></h3> |
|
3621 |
|
3622 |
|
3623 <div class="args"> |
|
3624 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3625 |
|
3626 <li class="arg"> |
|
3627 |
|
3628 <code>n</code> |
|
3629 |
|
3630 </li> |
|
3631 |
|
3632 </ul><span class="paren">)</span> |
|
3633 </div> |
|
3634 |
|
3635 |
|
3636 |
|
3637 <span class="returns-inline"> |
|
3638 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
3639 </span> |
|
3640 |
|
3641 |
|
3642 |
|
3643 |
|
3644 |
|
3645 <span class="flag private">private</span> |
|
3646 |
|
3647 |
|
3648 |
|
3649 |
|
3650 |
|
3651 |
|
3652 |
|
3653 |
|
3654 |
|
3655 |
|
3656 <div class="meta"> |
|
3657 |
|
3658 |
|
3659 <p>Inherited from |
|
3660 <a href="../classes/DD.Drag.html#method__canDrag">DD.Drag</a>: |
|
3661 |
|
3662 |
|
3663 |
|
3664 <a href="../files/dd_js_drag.js.html#l436"><code>dd/js/drag.js:436</code></a> |
|
3665 |
|
3666 </p> |
|
3667 |
|
3668 |
|
3669 |
|
3670 |
|
3671 |
|
3672 </div> |
|
3673 |
|
3674 <div class="description"> |
|
3675 <p>Checks the object for the methods needed to drag the object around. |
|
3676 Normally this would be a node instance, but in the case of Graphics, it |
|
3677 may be an SVG node or something similar.</p> |
|
3678 </div> |
|
3679 |
|
3680 |
|
3681 <div class="params"> |
|
3682 <h4>Parameters:</h4> |
|
3683 |
|
3684 <ul class="params-list"> |
|
3685 |
|
3686 <li class="param"> |
|
3687 |
|
3688 <code class="param-name">n</code> |
|
3689 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3690 |
|
3691 |
|
3692 |
|
3693 |
|
3694 <div class="param-description"> |
|
3695 <p>The object to check</p> |
|
3696 </div> |
|
3697 |
|
3698 |
|
3699 </li> |
|
3700 |
|
3701 </ul> |
|
3702 </div> |
|
3703 |
|
3704 |
|
3705 |
|
3706 <div class="returns"> |
|
3707 <h4>Returns:</h4> |
|
3708 |
|
3709 <div class="returns-description"> |
|
3710 |
|
3711 |
|
3712 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
3713 |
|
3714 True or false if the Object contains the methods needed to Drag |
|
3715 |
|
3716 </div> |
|
3717 </div> |
|
3718 |
|
3719 |
|
3720 |
|
3721 </div> |
|
3722 |
|
3723 |
|
3724 <div id="method__checkEvents" class="method item private"> |
|
3725 <h3 class="name"><code>_checkEvents</code></h3> |
|
3726 |
|
3727 |
|
3728 <span class="paren">()</span> |
|
3729 |
|
3730 |
|
3731 |
|
3732 |
|
3733 |
|
3734 |
|
3735 |
|
3736 <span class="flag private">private</span> |
|
3737 |
|
3738 |
|
3739 |
|
3740 |
|
3741 |
|
3742 |
|
3743 |
|
3744 |
|
3745 |
|
3746 |
|
3747 <div class="meta"> |
|
3748 |
|
3749 |
|
3750 |
|
3751 <p> |
|
3752 |
|
3753 Defined in |
|
3754 |
|
3755 |
|
3756 |
|
3757 |
|
3758 <a href="../files/dd_js_dd-plugin.js.html#l79"><code>dd/js/dd-plugin.js:79</code></a> |
|
3759 |
|
3760 </p> |
|
3761 |
|
3762 |
|
3763 |
|
3764 |
|
3765 |
|
3766 </div> |
|
3767 |
|
3768 <div class="description"> |
|
3769 <p>Attached to the <code>drag:start</code> event, it checks if this plugin needs |
|
3770 to attach or detach listeners for widgets. If <code>dd-proxy</code> is plugged |
|
3771 the default widget positioning should be ignored.</p> |
|
3772 </div> |
|
3773 |
|
3774 |
|
3775 |
|
3776 |
|
3777 |
|
3778 |
|
3779 </div> |
|
3780 |
|
3781 |
|
3782 <div id="method__cloneDefaultValue" class="method item private inherited"> |
|
3783 <h3 class="name"><code>_cloneDefaultValue</code></h3> |
|
3784 |
|
3785 |
|
3786 <div class="args"> |
|
3787 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3788 |
|
3789 <li class="arg"> |
|
3790 |
|
3791 <code>cfg</code> |
|
3792 |
|
3793 </li> |
|
3794 |
|
3795 </ul><span class="paren">)</span> |
|
3796 </div> |
|
3797 |
|
3798 |
|
3799 |
|
3800 |
|
3801 |
|
3802 |
|
3803 |
|
3804 <span class="flag private">private</span> |
|
3805 |
|
3806 |
|
3807 |
|
3808 |
|
3809 |
|
3810 |
|
3811 |
|
3812 |
|
3813 |
|
3814 |
|
3815 <div class="meta"> |
|
3816 |
|
3817 |
|
3818 <p>Inherited from |
|
3819 <a href="../classes/BaseCore.html#method__cloneDefaultValue">BaseCore</a>: |
|
3820 |
|
3821 |
|
3822 |
|
3823 <a href="../files/base_js_BaseCore.js.html#l549"><code>base/js/BaseCore.js:549</code></a> |
|
3824 |
|
3825 </p> |
|
3826 |
|
3827 |
|
3828 |
|
3829 |
|
3830 |
|
3831 </div> |
|
3832 |
|
3833 <div class="description"> |
|
3834 <p>This method assumes that the value has already been checked to be an object. |
|
3835 Since it's on a critical path, we don't want to re-do the check.</p> |
|
3836 </div> |
|
3837 |
|
3838 |
|
3839 <div class="params"> |
|
3840 <h4>Parameters:</h4> |
|
3841 |
|
3842 <ul class="params-list"> |
|
3843 |
|
3844 <li class="param"> |
|
3845 |
|
3846 <code class="param-name">cfg</code> |
|
3847 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3848 |
|
3849 |
|
3850 |
|
3851 |
|
3852 <div class="param-description"> |
|
3853 |
|
3854 </div> |
|
3855 |
|
3856 |
|
3857 </li> |
|
3858 |
|
3859 </ul> |
|
3860 </div> |
|
3861 |
|
3862 |
|
3863 |
|
3864 |
|
3865 |
|
3866 </div> |
|
3867 |
|
3868 |
|
3869 <div id="method__createEvents" class="method item private inherited"> |
|
3870 <h3 class="name"><code>_createEvents</code></h3> |
|
3871 |
|
3872 |
|
3873 <span class="paren">()</span> |
|
3874 |
|
3875 |
|
3876 |
|
3877 |
|
3878 |
|
3879 |
|
3880 |
|
3881 <span class="flag private">private</span> |
|
3882 |
|
3883 |
|
3884 |
|
3885 |
|
3886 |
|
3887 |
|
3888 |
|
3889 |
|
3890 |
|
3891 |
|
3892 <div class="meta"> |
|
3893 |
|
3894 |
|
3895 <p>Inherited from |
|
3896 <a href="../classes/DD.Drag.html#method__createEvents">DD.Drag</a>: |
|
3897 |
|
3898 |
|
3899 |
|
3900 <a href="../files/dd_js_drag.js.html#l518"><code>dd/js/drag.js:518</code></a> |
|
3901 |
|
3902 </p> |
|
3903 |
|
3904 |
|
3905 |
|
3906 |
|
3907 |
|
3908 </div> |
|
3909 |
|
3910 <div class="description"> |
|
3911 <p>This method creates all the events for this Event Target and publishes them so we get Event Bubbling.</p> |
|
3912 </div> |
|
3913 |
|
3914 |
|
3915 |
|
3916 |
|
3917 |
|
3918 |
|
3919 </div> |
|
3920 |
|
3921 |
|
3922 <div id="method__defAlignFn" class="method item private inherited"> |
|
3923 <h3 class="name"><code>_defAlignFn</code></h3> |
|
3924 |
|
3925 |
|
3926 <div class="args"> |
|
3927 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3928 |
|
3929 <li class="arg"> |
|
3930 |
|
3931 <code>e</code> |
|
3932 |
|
3933 </li> |
|
3934 |
|
3935 </ul><span class="paren">)</span> |
|
3936 </div> |
|
3937 |
|
3938 |
|
3939 |
|
3940 |
|
3941 |
|
3942 |
|
3943 |
|
3944 <span class="flag private">private</span> |
|
3945 |
|
3946 |
|
3947 |
|
3948 |
|
3949 |
|
3950 |
|
3951 |
|
3952 |
|
3953 |
|
3954 |
|
3955 <div class="meta"> |
|
3956 |
|
3957 |
|
3958 <p>Inherited from |
|
3959 <a href="../classes/DD.Drag.html#method__defAlignFn">DD.Drag</a>: |
|
3960 |
|
3961 |
|
3962 |
|
3963 <a href="../files/dd_js_drag.js.html#l1127"><code>dd/js/drag.js:1127</code></a> |
|
3964 |
|
3965 </p> |
|
3966 |
|
3967 |
|
3968 |
|
3969 |
|
3970 |
|
3971 </div> |
|
3972 |
|
3973 <div class="description"> |
|
3974 <p>Calculates the offsets and set's the XY that the element will move to.</p> |
|
3975 </div> |
|
3976 |
|
3977 |
|
3978 <div class="params"> |
|
3979 <h4>Parameters:</h4> |
|
3980 |
|
3981 <ul class="params-list"> |
|
3982 |
|
3983 <li class="param"> |
|
3984 |
|
3985 <code class="param-name">e</code> |
|
3986 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
3987 |
|
3988 |
|
3989 |
|
3990 |
|
3991 <div class="param-description"> |
|
3992 <p>The drag:align event.</p> |
|
3993 </div> |
|
3994 |
|
3995 |
|
3996 </li> |
|
3997 |
|
3998 </ul> |
|
3999 </div> |
|
4000 |
|
4001 |
|
4002 |
|
4003 |
|
4004 |
|
4005 </div> |
|
4006 |
|
4007 |
|
4008 <div id="method__defAttrChangeFn" class="method item private inherited"> |
|
4009 <h3 class="name"><code>_defAttrChangeFn</code></h3> |
|
4010 |
|
4011 |
|
4012 <div class="args"> |
|
4013 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4014 |
|
4015 <li class="arg"> |
|
4016 |
|
4017 <code>e</code> |
|
4018 |
|
4019 </li> |
|
4020 |
|
4021 </ul><span class="paren">)</span> |
|
4022 </div> |
|
4023 |
|
4024 |
|
4025 |
|
4026 |
|
4027 |
|
4028 |
|
4029 |
|
4030 <span class="flag private">private</span> |
|
4031 |
|
4032 |
|
4033 |
|
4034 |
|
4035 |
|
4036 |
|
4037 |
|
4038 |
|
4039 |
|
4040 |
|
4041 <div class="meta"> |
|
4042 |
|
4043 |
|
4044 <p>Inherited from |
|
4045 <a href="../classes/AttributeObservable.html#method__defAttrChangeFn">AttributeObservable</a>: |
|
4046 |
|
4047 |
|
4048 |
|
4049 <a href="../files/attribute_js_AttributeObservable.js.html#l186"><code>attribute/js/AttributeObservable.js:186</code></a> |
|
4050 |
|
4051 </p> |
|
4052 |
|
4053 |
|
4054 |
|
4055 |
|
4056 |
|
4057 </div> |
|
4058 |
|
4059 <div class="description"> |
|
4060 <p>Default function for attribute change events.</p> |
|
4061 </div> |
|
4062 |
|
4063 |
|
4064 <div class="params"> |
|
4065 <h4>Parameters:</h4> |
|
4066 |
|
4067 <ul class="params-list"> |
|
4068 |
|
4069 <li class="param"> |
|
4070 |
|
4071 <code class="param-name">e</code> |
|
4072 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4073 |
|
4074 |
|
4075 |
|
4076 |
|
4077 <div class="param-description"> |
|
4078 <p>The event object for attribute change events.</p> |
|
4079 </div> |
|
4080 |
|
4081 |
|
4082 </li> |
|
4083 |
|
4084 </ul> |
|
4085 </div> |
|
4086 |
|
4087 |
|
4088 |
|
4089 |
|
4090 |
|
4091 </div> |
|
4092 |
|
4093 |
|
4094 <div id="method__defDestroyFn" class="method item protected inherited"> |
|
4095 <h3 class="name"><code>_defDestroyFn</code></h3> |
|
4096 |
|
4097 |
|
4098 <div class="args"> |
|
4099 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4100 |
|
4101 <li class="arg"> |
|
4102 |
|
4103 <code>e</code> |
|
4104 |
|
4105 </li> |
|
4106 |
|
4107 </ul><span class="paren">)</span> |
|
4108 </div> |
|
4109 |
|
4110 |
|
4111 |
|
4112 |
|
4113 |
|
4114 |
|
4115 |
|
4116 <span class="flag protected">protected</span> |
|
4117 |
|
4118 |
|
4119 |
|
4120 |
|
4121 |
|
4122 |
|
4123 |
|
4124 |
|
4125 |
|
4126 |
|
4127 <div class="meta"> |
|
4128 |
|
4129 |
|
4130 <p>Inherited from |
|
4131 <a href="../classes/BaseObservable.html#method__defDestroyFn">BaseObservable</a>: |
|
4132 |
|
4133 |
|
4134 |
|
4135 <a href="../files/base_js_BaseObservable.js.html#l190"><code>base/js/BaseObservable.js:190</code></a> |
|
4136 |
|
4137 </p> |
|
4138 |
|
4139 |
|
4140 |
|
4141 |
|
4142 |
|
4143 </div> |
|
4144 |
|
4145 <div class="description"> |
|
4146 <p>Default destroy event handler</p> |
|
4147 </div> |
|
4148 |
|
4149 |
|
4150 <div class="params"> |
|
4151 <h4>Parameters:</h4> |
|
4152 |
|
4153 <ul class="params-list"> |
|
4154 |
|
4155 <li class="param"> |
|
4156 |
|
4157 <code class="param-name">e</code> |
|
4158 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4159 |
|
4160 |
|
4161 |
|
4162 |
|
4163 <div class="param-description"> |
|
4164 <p>Event object</p> |
|
4165 </div> |
|
4166 |
|
4167 |
|
4168 </li> |
|
4169 |
|
4170 </ul> |
|
4171 </div> |
|
4172 |
|
4173 |
|
4174 |
|
4175 |
|
4176 |
|
4177 </div> |
|
4178 |
|
4179 |
|
4180 <div id="method__defDragFn" class="method item private inherited"> |
|
4181 <h3 class="name"><code>_defDragFn</code></h3> |
|
4182 |
|
4183 |
|
4184 <div class="args"> |
|
4185 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4186 |
|
4187 <li class="arg"> |
|
4188 |
|
4189 <code>ev</code> |
|
4190 |
|
4191 </li> |
|
4192 |
|
4193 </ul><span class="paren">)</span> |
|
4194 </div> |
|
4195 |
|
4196 |
|
4197 |
|
4198 |
|
4199 |
|
4200 |
|
4201 |
|
4202 <span class="flag private">private</span> |
|
4203 |
|
4204 |
|
4205 |
|
4206 |
|
4207 |
|
4208 |
|
4209 |
|
4210 |
|
4211 |
|
4212 |
|
4213 <div class="meta"> |
|
4214 |
|
4215 |
|
4216 <p>Inherited from |
|
4217 <a href="../classes/DD.Drag.html#method__defDragFn">DD.Drag</a>: |
|
4218 |
|
4219 |
|
4220 |
|
4221 <a href="../files/dd_js_drag.js.html#l1190"><code>dd/js/drag.js:1190</code></a> |
|
4222 |
|
4223 </p> |
|
4224 |
|
4225 |
|
4226 |
|
4227 |
|
4228 |
|
4229 </div> |
|
4230 |
|
4231 <div class="description"> |
|
4232 <p>Default function for drag:drag. Fired from _moveNode.</p> |
|
4233 </div> |
|
4234 |
|
4235 |
|
4236 <div class="params"> |
|
4237 <h4>Parameters:</h4> |
|
4238 |
|
4239 <ul class="params-list"> |
|
4240 |
|
4241 <li class="param"> |
|
4242 |
|
4243 <code class="param-name">ev</code> |
|
4244 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4245 |
|
4246 |
|
4247 |
|
4248 |
|
4249 <div class="param-description"> |
|
4250 <p>The drag:drag event</p> |
|
4251 </div> |
|
4252 |
|
4253 |
|
4254 </li> |
|
4255 |
|
4256 </ul> |
|
4257 </div> |
|
4258 |
|
4259 |
|
4260 |
|
4261 |
|
4262 |
|
4263 </div> |
|
4264 |
|
4265 |
|
4266 <div id="method__defEndFn" class="method item private inherited"> |
|
4267 <h3 class="name"><code>_defEndFn</code></h3> |
|
4268 |
|
4269 |
|
4270 <span class="paren">()</span> |
|
4271 |
|
4272 |
|
4273 |
|
4274 |
|
4275 |
|
4276 |
|
4277 |
|
4278 <span class="flag private">private</span> |
|
4279 |
|
4280 |
|
4281 |
|
4282 |
|
4283 |
|
4284 |
|
4285 |
|
4286 |
|
4287 |
|
4288 |
|
4289 <div class="meta"> |
|
4290 |
|
4291 |
|
4292 <p>Inherited from |
|
4293 <a href="../classes/DD.Drag.html#method__defEndFn">DD.Drag</a>: |
|
4294 |
|
4295 |
|
4296 |
|
4297 <a href="../files/dd_js_drag.js.html#l1097"><code>dd/js/drag.js:1097</code></a> |
|
4298 |
|
4299 </p> |
|
4300 |
|
4301 |
|
4302 |
|
4303 |
|
4304 |
|
4305 </div> |
|
4306 |
|
4307 <div class="description"> |
|
4308 <p>Handler for fixing the selection in IE</p> |
|
4309 </div> |
|
4310 |
|
4311 |
|
4312 |
|
4313 |
|
4314 |
|
4315 |
|
4316 </div> |
|
4317 |
|
4318 |
|
4319 <div id="method__defInitFn" class="method item protected inherited"> |
|
4320 <h3 class="name"><code>_defInitFn</code></h3> |
|
4321 |
|
4322 |
|
4323 <div class="args"> |
|
4324 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4325 |
|
4326 <li class="arg"> |
|
4327 |
|
4328 <code>e</code> |
|
4329 |
|
4330 </li> |
|
4331 |
|
4332 </ul><span class="paren">)</span> |
|
4333 </div> |
|
4334 |
|
4335 |
|
4336 |
|
4337 |
|
4338 |
|
4339 |
|
4340 |
|
4341 <span class="flag protected">protected</span> |
|
4342 |
|
4343 |
|
4344 |
|
4345 |
|
4346 |
|
4347 |
|
4348 |
|
4349 |
|
4350 |
|
4351 |
|
4352 <div class="meta"> |
|
4353 |
|
4354 |
|
4355 <p>Inherited from |
|
4356 <a href="../classes/BaseObservable.html#method__defInitFn">BaseObservable</a>: |
|
4357 |
|
4358 |
|
4359 |
|
4360 <a href="../files/base_js_BaseObservable.js.html#l178"><code>base/js/BaseObservable.js:178</code></a> |
|
4361 |
|
4362 </p> |
|
4363 |
|
4364 |
|
4365 |
|
4366 |
|
4367 |
|
4368 </div> |
|
4369 |
|
4370 <div class="description"> |
|
4371 <p>Default init event handler</p> |
|
4372 </div> |
|
4373 |
|
4374 |
|
4375 <div class="params"> |
|
4376 <h4>Parameters:</h4> |
|
4377 |
|
4378 <ul class="params-list"> |
|
4379 |
|
4380 <li class="param"> |
|
4381 |
|
4382 <code class="param-name">e</code> |
|
4383 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4384 |
|
4385 |
|
4386 |
|
4387 |
|
4388 <div class="param-description"> |
|
4389 <p>Event object, with a cfg property which |
|
4390 refers to the configuration object passed to the constructor.</p> |
|
4391 </div> |
|
4392 |
|
4393 |
|
4394 </li> |
|
4395 |
|
4396 </ul> |
|
4397 </div> |
|
4398 |
|
4399 |
|
4400 |
|
4401 |
|
4402 |
|
4403 </div> |
|
4404 |
|
4405 |
|
4406 <div id="method__defMouseDownFn" class="method item private inherited"> |
|
4407 <h3 class="name"><code>_defMouseDownFn</code></h3> |
|
4408 |
|
4409 |
|
4410 <div class="args"> |
|
4411 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4412 |
|
4413 <li class="arg"> |
|
4414 |
|
4415 <code>e</code> |
|
4416 |
|
4417 </li> |
|
4418 |
|
4419 </ul><span class="paren">)</span> |
|
4420 </div> |
|
4421 |
|
4422 |
|
4423 |
|
4424 |
|
4425 |
|
4426 |
|
4427 |
|
4428 <span class="flag private">private</span> |
|
4429 |
|
4430 |
|
4431 |
|
4432 |
|
4433 |
|
4434 |
|
4435 |
|
4436 |
|
4437 |
|
4438 |
|
4439 <div class="meta"> |
|
4440 |
|
4441 |
|
4442 <p>Inherited from |
|
4443 <a href="../classes/DD.Drag.html#method__defMouseDownFn">DD.Drag</a>: |
|
4444 |
|
4445 |
|
4446 |
|
4447 <a href="../files/dd_js_drag.js.html#l763"><code>dd/js/drag.js:763</code></a> |
|
4448 |
|
4449 </p> |
|
4450 |
|
4451 |
|
4452 |
|
4453 |
|
4454 |
|
4455 </div> |
|
4456 |
|
4457 <div class="description"> |
|
4458 <p>Handler for the mousedown DOM event</p> |
|
4459 </div> |
|
4460 |
|
4461 |
|
4462 <div class="params"> |
|
4463 <h4>Parameters:</h4> |
|
4464 |
|
4465 <ul class="params-list"> |
|
4466 |
|
4467 <li class="param"> |
|
4468 |
|
4469 <code class="param-name">e</code> |
|
4470 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4471 |
|
4472 |
|
4473 |
|
4474 |
|
4475 <div class="param-description"> |
|
4476 <p>The Event</p> |
|
4477 </div> |
|
4478 |
|
4479 |
|
4480 </li> |
|
4481 |
|
4482 </ul> |
|
4483 </div> |
|
4484 |
|
4485 |
|
4486 |
|
4487 |
|
4488 |
|
4489 </div> |
|
4490 |
|
4491 |
|
4492 <div id="method__destroyHierarchy" class="method item private inherited"> |
|
4493 <h3 class="name"><code>_destroyHierarchy</code></h3> |
|
4494 |
|
4495 |
|
4496 <span class="paren">()</span> |
|
4497 |
|
4498 |
|
4499 |
|
4500 |
|
4501 |
|
4502 |
|
4503 |
|
4504 <span class="flag private">private</span> |
|
4505 |
|
4506 |
|
4507 |
|
4508 |
|
4509 |
|
4510 |
|
4511 |
|
4512 |
|
4513 |
|
4514 |
|
4515 <div class="meta"> |
|
4516 |
|
4517 |
|
4518 <p>Inherited from |
|
4519 <a href="../classes/BaseCore.html#method__destroyHierarchy">BaseCore</a>: |
|
4520 |
|
4521 |
|
4522 |
|
4523 <a href="../files/base_js_BaseCore.js.html#l721"><code>base/js/BaseCore.js:721</code></a> |
|
4524 |
|
4525 </p> |
|
4526 |
|
4527 |
|
4528 |
|
4529 |
|
4530 |
|
4531 </div> |
|
4532 |
|
4533 <div class="description"> |
|
4534 <p>Destroys the class hierarchy for this instance by invoking |
|
4535 the destructor method on the prototype of each class in the hierarchy.</p> |
|
4536 </div> |
|
4537 |
|
4538 |
|
4539 |
|
4540 |
|
4541 |
|
4542 |
|
4543 </div> |
|
4544 |
|
4545 |
|
4546 <div id="method__filterAdHocAttrs" class="method item private inherited"> |
|
4547 <h3 class="name"><code>_filterAdHocAttrs</code></h3> |
|
4548 |
|
4549 |
|
4550 <div class="args"> |
|
4551 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4552 |
|
4553 <li class="arg"> |
|
4554 |
|
4555 <code>allAttrs</code> |
|
4556 |
|
4557 </li> |
|
4558 |
|
4559 <li class="arg"> |
|
4560 |
|
4561 <code>userVals</code> |
|
4562 |
|
4563 </li> |
|
4564 |
|
4565 </ul><span class="paren">)</span> |
|
4566 </div> |
|
4567 |
|
4568 |
|
4569 |
|
4570 <span class="returns-inline"> |
|
4571 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4572 </span> |
|
4573 |
|
4574 |
|
4575 |
|
4576 |
|
4577 |
|
4578 <span class="flag private">private</span> |
|
4579 |
|
4580 |
|
4581 |
|
4582 |
|
4583 |
|
4584 |
|
4585 |
|
4586 |
|
4587 |
|
4588 |
|
4589 <div class="meta"> |
|
4590 |
|
4591 |
|
4592 <p>Inherited from |
|
4593 <a href="../classes/BaseCore.html#method__filterAdHocAttrs">BaseCore</a>: |
|
4594 |
|
4595 |
|
4596 |
|
4597 <a href="../files/base_js_BaseCore.js.html#l427"><code>base/js/BaseCore.js:427</code></a> |
|
4598 |
|
4599 </p> |
|
4600 |
|
4601 |
|
4602 |
|
4603 |
|
4604 |
|
4605 </div> |
|
4606 |
|
4607 <div class="description"> |
|
4608 |
|
4609 </div> |
|
4610 |
|
4611 |
|
4612 <div class="params"> |
|
4613 <h4>Parameters:</h4> |
|
4614 |
|
4615 <ul class="params-list"> |
|
4616 |
|
4617 <li class="param"> |
|
4618 |
|
4619 <code class="param-name">allAttrs</code> |
|
4620 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4621 |
|
4622 |
|
4623 |
|
4624 |
|
4625 <div class="param-description"> |
|
4626 <p>The set of all attribute configurations for this instance. |
|
4627 Attributes will be removed from this set, if they belong to the filtered class, so |
|
4628 that by the time all classes are processed, allCfgs will be empty.</p> |
|
4629 </div> |
|
4630 |
|
4631 |
|
4632 </li> |
|
4633 |
|
4634 <li class="param"> |
|
4635 |
|
4636 <code class="param-name">userVals</code> |
|
4637 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4638 |
|
4639 |
|
4640 |
|
4641 |
|
4642 <div class="param-description"> |
|
4643 <p>The config object passed in by the user, from which adhoc attrs are to be filtered.</p> |
|
4644 </div> |
|
4645 |
|
4646 |
|
4647 </li> |
|
4648 |
|
4649 </ul> |
|
4650 </div> |
|
4651 |
|
4652 |
|
4653 |
|
4654 <div class="returns"> |
|
4655 <h4>Returns:</h4> |
|
4656 |
|
4657 <div class="returns-description"> |
|
4658 |
|
4659 |
|
4660 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
4661 |
|
4662 The set of adhoc attributes passed in, in the form |
|
4663 of an object with attribute name/configuration pairs. |
|
4664 |
|
4665 </div> |
|
4666 </div> |
|
4667 |
|
4668 |
|
4669 |
|
4670 </div> |
|
4671 |
|
4672 |
|
4673 <div id="method__filterAttrCfgs" class="method item private inherited"> |
|
4674 <h3 class="name"><code>_filterAttrCfgs</code></h3> |
|
4675 |
|
4676 |
|
4677 <div class="args"> |
|
4678 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4679 |
|
4680 <li class="arg"> |
|
4681 |
|
4682 <code>clazz</code> |
|
4683 |
|
4684 </li> |
|
4685 |
|
4686 <li class="arg"> |
|
4687 |
|
4688 <code>allCfgs</code> |
|
4689 |
|
4690 </li> |
|
4691 |
|
4692 </ul><span class="paren">)</span> |
|
4693 </div> |
|
4694 |
|
4695 |
|
4696 |
|
4697 <span class="returns-inline"> |
|
4698 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4699 </span> |
|
4700 |
|
4701 |
|
4702 |
|
4703 |
|
4704 |
|
4705 <span class="flag private">private</span> |
|
4706 |
|
4707 |
|
4708 |
|
4709 |
|
4710 |
|
4711 |
|
4712 |
|
4713 |
|
4714 |
|
4715 |
|
4716 <div class="meta"> |
|
4717 |
|
4718 |
|
4719 <p>Inherited from |
|
4720 <a href="../classes/BaseCore.html#method__filterAttrCfgs">BaseCore</a>: |
|
4721 |
|
4722 |
|
4723 |
|
4724 <a href="../files/base_js_BaseCore.js.html#l356"><code>base/js/BaseCore.js:356</code></a> |
|
4725 |
|
4726 </p> |
|
4727 |
|
4728 |
|
4729 |
|
4730 |
|
4731 |
|
4732 </div> |
|
4733 |
|
4734 <div class="description"> |
|
4735 <p>A helper method used when processing ATTRS across the class hierarchy during |
|
4736 initialization. Returns a disposable object with the attributes defined for |
|
4737 the provided class, extracted from the set of all attributes passed in.</p> |
|
4738 </div> |
|
4739 |
|
4740 |
|
4741 <div class="params"> |
|
4742 <h4>Parameters:</h4> |
|
4743 |
|
4744 <ul class="params-list"> |
|
4745 |
|
4746 <li class="param"> |
|
4747 |
|
4748 <code class="param-name">clazz</code> |
|
4749 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
4750 |
|
4751 |
|
4752 |
|
4753 |
|
4754 <div class="param-description"> |
|
4755 <p>The class for which the desired attributes are required.</p> |
|
4756 </div> |
|
4757 |
|
4758 |
|
4759 </li> |
|
4760 |
|
4761 <li class="param"> |
|
4762 |
|
4763 <code class="param-name">allCfgs</code> |
|
4764 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4765 |
|
4766 |
|
4767 |
|
4768 |
|
4769 <div class="param-description"> |
|
4770 <p>The set of all attribute configurations for this instance. |
|
4771 Attributes will be removed from this set, if they belong to the filtered class, so |
|
4772 that by the time all classes are processed, allCfgs will be empty.</p> |
|
4773 </div> |
|
4774 |
|
4775 |
|
4776 </li> |
|
4777 |
|
4778 </ul> |
|
4779 </div> |
|
4780 |
|
4781 |
|
4782 |
|
4783 <div class="returns"> |
|
4784 <h4>Returns:</h4> |
|
4785 |
|
4786 <div class="returns-description"> |
|
4787 |
|
4788 |
|
4789 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
4790 |
|
4791 The set of attributes belonging to the class passed in, in the form |
|
4792 of an object with attribute name/configuration pairs. |
|
4793 |
|
4794 </div> |
|
4795 </div> |
|
4796 |
|
4797 |
|
4798 |
|
4799 </div> |
|
4800 |
|
4801 |
|
4802 <div id="method__fireAttrChange" class="method item private inherited"> |
|
4803 <h3 class="name"><code>_fireAttrChange</code></h3> |
|
4804 |
|
4805 |
|
4806 <div class="args"> |
|
4807 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4808 |
|
4809 <li class="arg"> |
|
4810 |
|
4811 <code>attrName</code> |
|
4812 |
|
4813 </li> |
|
4814 |
|
4815 <li class="arg"> |
|
4816 |
|
4817 <code>subAttrName</code> |
|
4818 |
|
4819 </li> |
|
4820 |
|
4821 <li class="arg"> |
|
4822 |
|
4823 <code>currVal</code> |
|
4824 |
|
4825 </li> |
|
4826 |
|
4827 <li class="arg"> |
|
4828 |
|
4829 <code>newVal</code> |
|
4830 |
|
4831 </li> |
|
4832 |
|
4833 <li class="arg"> |
|
4834 |
|
4835 <code>opts</code> |
|
4836 |
|
4837 </li> |
|
4838 |
|
4839 <li class="arg"> |
|
4840 |
|
4841 <code class="optional">[cfg]</code> |
|
4842 |
|
4843 </li> |
|
4844 |
|
4845 </ul><span class="paren">)</span> |
|
4846 </div> |
|
4847 |
|
4848 |
|
4849 |
|
4850 |
|
4851 |
|
4852 |
|
4853 |
|
4854 <span class="flag private">private</span> |
|
4855 |
|
4856 |
|
4857 |
|
4858 |
|
4859 |
|
4860 |
|
4861 |
|
4862 |
|
4863 |
|
4864 |
|
4865 <div class="meta"> |
|
4866 |
|
4867 |
|
4868 <p>Inherited from |
|
4869 <a href="../classes/AttributeObservable.html#method__fireAttrChange">AttributeObservable</a>: |
|
4870 |
|
4871 |
|
4872 |
|
4873 <a href="../files/attribute_js_AttributeObservable.js.html#l120"><code>attribute/js/AttributeObservable.js:120</code></a> |
|
4874 |
|
4875 </p> |
|
4876 |
|
4877 |
|
4878 |
|
4879 |
|
4880 |
|
4881 </div> |
|
4882 |
|
4883 <div class="description"> |
|
4884 <p>Utility method to help setup the event payload and fire the attribute change event.</p> |
|
4885 </div> |
|
4886 |
|
4887 |
|
4888 <div class="params"> |
|
4889 <h4>Parameters:</h4> |
|
4890 |
|
4891 <ul class="params-list"> |
|
4892 |
|
4893 <li class="param"> |
|
4894 |
|
4895 <code class="param-name">attrName</code> |
|
4896 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4897 |
|
4898 |
|
4899 |
|
4900 |
|
4901 <div class="param-description"> |
|
4902 <p>The name of the attribute</p> |
|
4903 </div> |
|
4904 |
|
4905 |
|
4906 </li> |
|
4907 |
|
4908 <li class="param"> |
|
4909 |
|
4910 <code class="param-name">subAttrName</code> |
|
4911 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4912 |
|
4913 |
|
4914 |
|
4915 |
|
4916 <div class="param-description"> |
|
4917 <p>The full path of the property being changed, |
|
4918 if this is a sub-attribute value being change. Otherwise null.</p> |
|
4919 </div> |
|
4920 |
|
4921 |
|
4922 </li> |
|
4923 |
|
4924 <li class="param"> |
|
4925 |
|
4926 <code class="param-name">currVal</code> |
|
4927 <span class="type">Any</span> |
|
4928 |
|
4929 |
|
4930 |
|
4931 |
|
4932 <div class="param-description"> |
|
4933 <p>The current value of the attribute</p> |
|
4934 </div> |
|
4935 |
|
4936 |
|
4937 </li> |
|
4938 |
|
4939 <li class="param"> |
|
4940 |
|
4941 <code class="param-name">newVal</code> |
|
4942 <span class="type">Any</span> |
|
4943 |
|
4944 |
|
4945 |
|
4946 |
|
4947 <div class="param-description"> |
|
4948 <p>The new value of the attribute</p> |
|
4949 </div> |
|
4950 |
|
4951 |
|
4952 </li> |
|
4953 |
|
4954 <li class="param"> |
|
4955 |
|
4956 <code class="param-name">opts</code> |
|
4957 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4958 |
|
4959 |
|
4960 |
|
4961 |
|
4962 <div class="param-description"> |
|
4963 <p>Any additional event data to mix into the attribute change event's event facade.</p> |
|
4964 </div> |
|
4965 |
|
4966 |
|
4967 </li> |
|
4968 |
|
4969 <li class="param"> |
|
4970 |
|
4971 <code class="param-name optional">[cfg]</code> |
|
4972 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4973 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
4974 |
|
4975 |
|
4976 |
|
4977 |
|
4978 <div class="param-description"> |
|
4979 <p>The attribute config stored in State, if already available.</p> |
|
4980 </div> |
|
4981 |
|
4982 |
|
4983 </li> |
|
4984 |
|
4985 </ul> |
|
4986 </div> |
|
4987 |
|
4988 |
|
4989 |
|
4990 |
|
4991 |
|
4992 </div> |
|
4993 |
|
4994 |
|
4995 <div id="method__fixDragStart" class="method item private inherited"> |
|
4996 <h3 class="name"><code>_fixDragStart</code></h3> |
|
4997 |
|
4998 |
|
4999 <div class="args"> |
|
5000 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5001 |
|
5002 <li class="arg"> |
|
5003 |
|
5004 <code>e</code> |
|
5005 |
|
5006 </li> |
|
5007 |
|
5008 </ul><span class="paren">)</span> |
|
5009 </div> |
|
5010 |
|
5011 |
|
5012 |
|
5013 |
|
5014 |
|
5015 |
|
5016 |
|
5017 <span class="flag private">private</span> |
|
5018 |
|
5019 |
|
5020 |
|
5021 |
|
5022 |
|
5023 |
|
5024 |
|
5025 |
|
5026 |
|
5027 |
|
5028 <div class="meta"> |
|
5029 |
|
5030 |
|
5031 <p>Inherited from |
|
5032 <a href="../classes/DD.Drag.html#method__fixDragStart">DD.Drag</a>: |
|
5033 |
|
5034 |
|
5035 |
|
5036 <a href="../files/dd_js_drag.js.html#l707"><code>dd/js/drag.js:707</code></a> |
|
5037 |
|
5038 </p> |
|
5039 |
|
5040 |
|
5041 |
|
5042 |
|
5043 |
|
5044 </div> |
|
5045 |
|
5046 <div class="description"> |
|
5047 <p>The function we use as the ondragstart handler when we start a drag |
|
5048 in Internet Explorer. This keeps IE from blowing up on images as drag handles.</p> |
|
5049 </div> |
|
5050 |
|
5051 |
|
5052 <div class="params"> |
|
5053 <h4>Parameters:</h4> |
|
5054 |
|
5055 <ul class="params-list"> |
|
5056 |
|
5057 <li class="param"> |
|
5058 |
|
5059 <code class="param-name">e</code> |
|
5060 <span class="type"><a href="../classes/Event.html" class="crosslink">Event</a></span> |
|
5061 |
|
5062 |
|
5063 |
|
5064 |
|
5065 <div class="param-description"> |
|
5066 <p>The Event</p> |
|
5067 </div> |
|
5068 |
|
5069 |
|
5070 </li> |
|
5071 |
|
5072 </ul> |
|
5073 </div> |
|
5074 |
|
5075 |
|
5076 |
|
5077 |
|
5078 |
|
5079 </div> |
|
5080 |
|
5081 |
|
5082 <div id="method__fixIEMouseDown" class="method item private inherited"> |
|
5083 <h3 class="name"><code>_fixIEMouseDown</code></h3> |
|
5084 |
|
5085 |
|
5086 <span class="paren">()</span> |
|
5087 |
|
5088 |
|
5089 |
|
5090 |
|
5091 |
|
5092 |
|
5093 |
|
5094 <span class="flag private">private</span> |
|
5095 |
|
5096 |
|
5097 |
|
5098 |
|
5099 |
|
5100 |
|
5101 |
|
5102 |
|
5103 |
|
5104 |
|
5105 <div class="meta"> |
|
5106 |
|
5107 |
|
5108 <p>Inherited from |
|
5109 <a href="../classes/DD.Drag.html#method__fixIEMouseDown">DD.Drag</a>: |
|
5110 |
|
5111 |
|
5112 |
|
5113 <a href="../files/dd_js_drag.js.html#l733"><code>dd/js/drag.js:733</code></a> |
|
5114 |
|
5115 </p> |
|
5116 |
|
5117 |
|
5118 |
|
5119 |
|
5120 |
|
5121 </div> |
|
5122 |
|
5123 <div class="description"> |
|
5124 <p>This method copies the onselectstart listner on the document to the _ieSelectFix property</p> |
|
5125 </div> |
|
5126 |
|
5127 |
|
5128 |
|
5129 |
|
5130 |
|
5131 |
|
5132 </div> |
|
5133 |
|
5134 |
|
5135 <div id="method__fixIEMouseUp" class="method item private inherited"> |
|
5136 <h3 class="name"><code>_fixIEMouseUp</code></h3> |
|
5137 |
|
5138 |
|
5139 <span class="paren">()</span> |
|
5140 |
|
5141 |
|
5142 |
|
5143 |
|
5144 |
|
5145 |
|
5146 |
|
5147 <span class="flag private">private</span> |
|
5148 |
|
5149 |
|
5150 |
|
5151 |
|
5152 |
|
5153 |
|
5154 |
|
5155 |
|
5156 |
|
5157 |
|
5158 <div class="meta"> |
|
5159 |
|
5160 |
|
5161 <p>Inherited from |
|
5162 <a href="../classes/DD.Drag.html#method__fixIEMouseUp">DD.Drag</a>: |
|
5163 |
|
5164 |
|
5165 |
|
5166 <a href="../files/dd_js_drag.js.html#l744"><code>dd/js/drag.js:744</code></a> |
|
5167 |
|
5168 </p> |
|
5169 |
|
5170 |
|
5171 |
|
5172 |
|
5173 |
|
5174 </div> |
|
5175 |
|
5176 <div class="description"> |
|
5177 <p>This method copies the _ieSelectFix property back to the onselectstart listner on the document.</p> |
|
5178 </div> |
|
5179 |
|
5180 |
|
5181 |
|
5182 |
|
5183 |
|
5184 |
|
5185 </div> |
|
5186 |
|
5187 |
|
5188 <div id="method__getAttr" class="method item protected inherited"> |
|
5189 <h3 class="name"><code>_getAttr</code></h3> |
|
5190 |
|
5191 |
|
5192 <div class="args"> |
|
5193 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5194 |
|
5195 <li class="arg"> |
|
5196 |
|
5197 <code>name</code> |
|
5198 |
|
5199 </li> |
|
5200 |
|
5201 </ul><span class="paren">)</span> |
|
5202 </div> |
|
5203 |
|
5204 |
|
5205 |
|
5206 <span class="returns-inline"> |
|
5207 <span class="type">Any</span> |
|
5208 </span> |
|
5209 |
|
5210 |
|
5211 |
|
5212 |
|
5213 |
|
5214 <span class="flag protected">protected</span> |
|
5215 |
|
5216 |
|
5217 |
|
5218 |
|
5219 |
|
5220 |
|
5221 |
|
5222 <span class="flag chainable">chainable</span> |
|
5223 |
|
5224 |
|
5225 |
|
5226 |
|
5227 <div class="meta"> |
|
5228 |
|
5229 |
|
5230 <p>Inherited from |
|
5231 <a href="../classes/AttributeCore.html#method__getAttr">AttributeCore</a>: |
|
5232 |
|
5233 |
|
5234 |
|
5235 <a href="../files/attribute_js_AttributeCore.js.html#l543"><code>attribute/js/AttributeCore.js:543</code></a> |
|
5236 |
|
5237 </p> |
|
5238 |
|
5239 |
|
5240 |
|
5241 |
|
5242 |
|
5243 </div> |
|
5244 |
|
5245 <div class="description"> |
|
5246 <p>Provides the common implementation for the public get method, |
|
5247 allowing Attribute hosts to over-ride either method.</p> |
|
5248 |
|
5249 <p>See <a href="#method_get">get</a> for argument details.</p> |
|
5250 </div> |
|
5251 |
|
5252 |
|
5253 <div class="params"> |
|
5254 <h4>Parameters:</h4> |
|
5255 |
|
5256 <ul class="params-list"> |
|
5257 |
|
5258 <li class="param"> |
|
5259 |
|
5260 <code class="param-name">name</code> |
|
5261 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5262 |
|
5263 |
|
5264 |
|
5265 |
|
5266 <div class="param-description"> |
|
5267 <p>The name of the attribute.</p> |
|
5268 </div> |
|
5269 |
|
5270 |
|
5271 </li> |
|
5272 |
|
5273 </ul> |
|
5274 </div> |
|
5275 |
|
5276 |
|
5277 |
|
5278 <div class="returns"> |
|
5279 <h4>Returns:</h4> |
|
5280 |
|
5281 <div class="returns-description"> |
|
5282 |
|
5283 |
|
5284 <span class="type">Any</span>: |
|
5285 |
|
5286 The value of the attribute. |
|
5287 |
|
5288 </div> |
|
5289 </div> |
|
5290 |
|
5291 |
|
5292 |
|
5293 </div> |
|
5294 |
|
5295 |
|
5296 <div id="method__getAttrCfg" class="method item protected inherited"> |
|
5297 <h3 class="name"><code>_getAttrCfg</code></h3> |
|
5298 |
|
5299 |
|
5300 <div class="args"> |
|
5301 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5302 |
|
5303 <li class="arg"> |
|
5304 |
|
5305 <code>name</code> |
|
5306 |
|
5307 </li> |
|
5308 |
|
5309 </ul><span class="paren">)</span> |
|
5310 </div> |
|
5311 |
|
5312 |
|
5313 |
|
5314 <span class="returns-inline"> |
|
5315 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5316 </span> |
|
5317 |
|
5318 |
|
5319 |
|
5320 |
|
5321 |
|
5322 <span class="flag protected">protected</span> |
|
5323 |
|
5324 |
|
5325 |
|
5326 |
|
5327 |
|
5328 |
|
5329 |
|
5330 |
|
5331 |
|
5332 |
|
5333 <div class="meta"> |
|
5334 |
|
5335 |
|
5336 <p>Inherited from |
|
5337 <a href="../classes/AttributeExtras.html#method__getAttrCfg">AttributeExtras</a>: |
|
5338 |
|
5339 |
|
5340 |
|
5341 <a href="../files/attribute_js_AttributeExtras.js.html#l114"><code>attribute/js/AttributeExtras.js:114</code></a> |
|
5342 |
|
5343 </p> |
|
5344 |
|
5345 |
|
5346 |
|
5347 |
|
5348 |
|
5349 </div> |
|
5350 |
|
5351 <div class="description"> |
|
5352 <p>Returns an object with the configuration properties (and value) |
|
5353 for the given attribute. If attrName is not provided, returns the |
|
5354 configuration properties for all attributes.</p> |
|
5355 </div> |
|
5356 |
|
5357 |
|
5358 <div class="params"> |
|
5359 <h4>Parameters:</h4> |
|
5360 |
|
5361 <ul class="params-list"> |
|
5362 |
|
5363 <li class="param"> |
|
5364 |
|
5365 <code class="param-name">name</code> |
|
5366 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5367 |
|
5368 |
|
5369 |
|
5370 |
|
5371 <div class="param-description"> |
|
5372 <p>Optional. The attribute name. If not provided, the method will return the configuration for all attributes.</p> |
|
5373 </div> |
|
5374 |
|
5375 |
|
5376 </li> |
|
5377 |
|
5378 </ul> |
|
5379 </div> |
|
5380 |
|
5381 |
|
5382 |
|
5383 <div class="returns"> |
|
5384 <h4>Returns:</h4> |
|
5385 |
|
5386 <div class="returns-description"> |
|
5387 |
|
5388 |
|
5389 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
5390 |
|
5391 The configuration properties for the given attribute, or all attributes. |
|
5392 |
|
5393 </div> |
|
5394 </div> |
|
5395 |
|
5396 |
|
5397 |
|
5398 </div> |
|
5399 |
|
5400 |
|
5401 <div id="method__getAttrCfgs" class="method item protected inherited"> |
|
5402 <h3 class="name"><code>_getAttrCfgs</code></h3> |
|
5403 |
|
5404 |
|
5405 <span class="paren">()</span> |
|
5406 |
|
5407 |
|
5408 |
|
5409 <span class="returns-inline"> |
|
5410 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5411 </span> |
|
5412 |
|
5413 |
|
5414 |
|
5415 |
|
5416 |
|
5417 <span class="flag protected">protected</span> |
|
5418 |
|
5419 |
|
5420 |
|
5421 |
|
5422 |
|
5423 |
|
5424 |
|
5425 |
|
5426 |
|
5427 |
|
5428 <div class="meta"> |
|
5429 |
|
5430 |
|
5431 <p>Inherited from |
|
5432 <a href="../classes/BaseCore.html#method__getAttrCfgs">BaseCore</a>: |
|
5433 |
|
5434 |
|
5435 |
|
5436 <a href="../files/base_js_BaseCore.js.html#l339"><code>base/js/BaseCore.js:339</code></a> |
|
5437 |
|
5438 </p> |
|
5439 |
|
5440 |
|
5441 |
|
5442 |
|
5443 |
|
5444 </div> |
|
5445 |
|
5446 <div class="description"> |
|
5447 <p>Returns an aggregated set of attribute configurations, by traversing |
|
5448 the class hierarchy.</p> |
|
5449 </div> |
|
5450 |
|
5451 |
|
5452 |
|
5453 |
|
5454 <div class="returns"> |
|
5455 <h4>Returns:</h4> |
|
5456 |
|
5457 <div class="returns-description"> |
|
5458 |
|
5459 |
|
5460 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
5461 |
|
5462 The hash of attribute configurations, aggregated across classes in the hierarchy |
|
5463 This value is cached the first time the method, or _getClasses, is invoked. Subsequent invocations return |
|
5464 the cached value. |
|
5465 |
|
5466 </div> |
|
5467 </div> |
|
5468 |
|
5469 |
|
5470 |
|
5471 </div> |
|
5472 |
|
5473 |
|
5474 <div id="method__getAttrInitVal" class="method item private inherited"> |
|
5475 <h3 class="name"><code>_getAttrInitVal</code></h3> |
|
5476 |
|
5477 |
|
5478 <div class="args"> |
|
5479 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5480 |
|
5481 <li class="arg"> |
|
5482 |
|
5483 <code>attr</code> |
|
5484 |
|
5485 </li> |
|
5486 |
|
5487 <li class="arg"> |
|
5488 |
|
5489 <code>cfg</code> |
|
5490 |
|
5491 </li> |
|
5492 |
|
5493 <li class="arg"> |
|
5494 |
|
5495 <code>initValues</code> |
|
5496 |
|
5497 </li> |
|
5498 |
|
5499 </ul><span class="paren">)</span> |
|
5500 </div> |
|
5501 |
|
5502 |
|
5503 |
|
5504 <span class="returns-inline"> |
|
5505 <span class="type">Any</span> |
|
5506 </span> |
|
5507 |
|
5508 |
|
5509 |
|
5510 |
|
5511 |
|
5512 <span class="flag private">private</span> |
|
5513 |
|
5514 |
|
5515 |
|
5516 |
|
5517 |
|
5518 |
|
5519 |
|
5520 |
|
5521 |
|
5522 |
|
5523 <div class="meta"> |
|
5524 |
|
5525 |
|
5526 <p>Inherited from |
|
5527 <a href="../classes/AttributeCore.html#method__getAttrInitVal">AttributeCore</a>: |
|
5528 |
|
5529 |
|
5530 |
|
5531 <a href="../files/attribute_js_AttributeCore.js.html#l945"><code>attribute/js/AttributeCore.js:945</code></a> |
|
5532 |
|
5533 </p> |
|
5534 |
|
5535 |
|
5536 |
|
5537 |
|
5538 |
|
5539 </div> |
|
5540 |
|
5541 <div class="description"> |
|
5542 <p>Returns the initial value of the given attribute from |
|
5543 either the default configuration provided, or the |
|
5544 over-ridden value if it exists in the set of initValues |
|
5545 provided and the attribute is not read-only.</p> |
|
5546 </div> |
|
5547 |
|
5548 |
|
5549 <div class="params"> |
|
5550 <h4>Parameters:</h4> |
|
5551 |
|
5552 <ul class="params-list"> |
|
5553 |
|
5554 <li class="param"> |
|
5555 |
|
5556 <code class="param-name">attr</code> |
|
5557 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5558 |
|
5559 |
|
5560 |
|
5561 |
|
5562 <div class="param-description"> |
|
5563 <p>The name of the attribute</p> |
|
5564 </div> |
|
5565 |
|
5566 |
|
5567 </li> |
|
5568 |
|
5569 <li class="param"> |
|
5570 |
|
5571 <code class="param-name">cfg</code> |
|
5572 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5573 |
|
5574 |
|
5575 |
|
5576 |
|
5577 <div class="param-description"> |
|
5578 <p>The attribute configuration object</p> |
|
5579 </div> |
|
5580 |
|
5581 |
|
5582 </li> |
|
5583 |
|
5584 <li class="param"> |
|
5585 |
|
5586 <code class="param-name">initValues</code> |
|
5587 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5588 |
|
5589 |
|
5590 |
|
5591 |
|
5592 <div class="param-description"> |
|
5593 <p>The object with simple and complex attribute name/value pairs returned from _normAttrVals</p> |
|
5594 </div> |
|
5595 |
|
5596 |
|
5597 </li> |
|
5598 |
|
5599 </ul> |
|
5600 </div> |
|
5601 |
|
5602 |
|
5603 |
|
5604 <div class="returns"> |
|
5605 <h4>Returns:</h4> |
|
5606 |
|
5607 <div class="returns-description"> |
|
5608 |
|
5609 |
|
5610 <span class="type">Any</span>: |
|
5611 |
|
5612 The initial value of the attribute. |
|
5613 |
|
5614 </div> |
|
5615 </div> |
|
5616 |
|
5617 |
|
5618 |
|
5619 </div> |
|
5620 |
|
5621 |
|
5622 <div id="method__getAttrs" class="method item protected inherited"> |
|
5623 <h3 class="name"><code>_getAttrs</code></h3> |
|
5624 |
|
5625 |
|
5626 <div class="args"> |
|
5627 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5628 |
|
5629 <li class="arg"> |
|
5630 |
|
5631 <code>attrs</code> |
|
5632 |
|
5633 </li> |
|
5634 |
|
5635 </ul><span class="paren">)</span> |
|
5636 </div> |
|
5637 |
|
5638 |
|
5639 |
|
5640 <span class="returns-inline"> |
|
5641 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5642 </span> |
|
5643 |
|
5644 |
|
5645 |
|
5646 |
|
5647 |
|
5648 <span class="flag protected">protected</span> |
|
5649 |
|
5650 |
|
5651 |
|
5652 |
|
5653 |
|
5654 |
|
5655 |
|
5656 |
|
5657 |
|
5658 |
|
5659 <div class="meta"> |
|
5660 |
|
5661 |
|
5662 <p>Inherited from |
|
5663 <a href="../classes/AttributeCore.html#method__getAttrs">AttributeCore</a>: |
|
5664 |
|
5665 |
|
5666 |
|
5667 <a href="../files/attribute_js_AttributeCore.js.html#l774"><code>attribute/js/AttributeCore.js:774</code></a> |
|
5668 |
|
5669 </p> |
|
5670 |
|
5671 |
|
5672 |
|
5673 |
|
5674 |
|
5675 </div> |
|
5676 |
|
5677 <div class="description"> |
|
5678 <p>Implementation behind the public getAttrs method, to get multiple attribute values.</p> |
|
5679 </div> |
|
5680 |
|
5681 |
|
5682 <div class="params"> |
|
5683 <h4>Parameters:</h4> |
|
5684 |
|
5685 <ul class="params-list"> |
|
5686 |
|
5687 <li class="param"> |
|
5688 |
|
5689 <code class="param-name">attrs</code> |
|
5690 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span> |
|
5691 |
|
5692 |
|
5693 |
|
5694 |
|
5695 <div class="param-description"> |
|
5696 <p>Optional. An array of attribute names. If omitted, all attribute values are |
|
5697 returned. If set to true, all attributes modified from their initial values are returned.</p> |
|
5698 </div> |
|
5699 |
|
5700 |
|
5701 </li> |
|
5702 |
|
5703 </ul> |
|
5704 </div> |
|
5705 |
|
5706 |
|
5707 |
|
5708 <div class="returns"> |
|
5709 <h4>Returns:</h4> |
|
5710 |
|
5711 <div class="returns-description"> |
|
5712 |
|
5713 |
|
5714 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
5715 |
|
5716 An object with attribute name/value pairs. |
|
5717 |
|
5718 </div> |
|
5719 </div> |
|
5720 |
|
5721 |
|
5722 |
|
5723 </div> |
|
5724 |
|
5725 |
|
5726 <div id="method__getClasses" class="method item protected inherited"> |
|
5727 <h3 class="name"><code>_getClasses</code></h3> |
|
5728 |
|
5729 |
|
5730 <span class="paren">()</span> |
|
5731 |
|
5732 |
|
5733 |
|
5734 <span class="returns-inline"> |
|
5735 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span> |
|
5736 </span> |
|
5737 |
|
5738 |
|
5739 |
|
5740 |
|
5741 |
|
5742 <span class="flag protected">protected</span> |
|
5743 |
|
5744 |
|
5745 |
|
5746 |
|
5747 |
|
5748 |
|
5749 |
|
5750 |
|
5751 |
|
5752 |
|
5753 <div class="meta"> |
|
5754 |
|
5755 |
|
5756 <p>Inherited from |
|
5757 <a href="../classes/BaseCore.html#method__getClasses">BaseCore</a>: |
|
5758 |
|
5759 |
|
5760 |
|
5761 <a href="../files/base_js_BaseCore.js.html#l323"><code>base/js/BaseCore.js:323</code></a> |
|
5762 |
|
5763 </p> |
|
5764 |
|
5765 |
|
5766 |
|
5767 |
|
5768 |
|
5769 </div> |
|
5770 |
|
5771 <div class="description"> |
|
5772 <p>Returns the class hierarchy for this object, with BaseCore being the last class in the array.</p> |
|
5773 </div> |
|
5774 |
|
5775 |
|
5776 |
|
5777 |
|
5778 <div class="returns"> |
|
5779 <h4>Returns:</h4> |
|
5780 |
|
5781 <div class="returns-description"> |
|
5782 |
|
5783 |
|
5784 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>: |
|
5785 |
|
5786 An array of classes (constructor functions), making up the class hierarchy for this object. |
|
5787 This value is cached the first time the method, or _getAttrCfgs, is invoked. Subsequent invocations return the |
|
5788 cached value. |
|
5789 |
|
5790 </div> |
|
5791 </div> |
|
5792 |
|
5793 |
|
5794 |
|
5795 </div> |
|
5796 |
|
5797 |
|
5798 <div id="method__getFullType" class="method item private inherited"> |
|
5799 <h3 class="name"><code>_getFullType</code></h3> |
|
5800 |
|
5801 |
|
5802 <div class="args"> |
|
5803 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5804 |
|
5805 <li class="arg"> |
|
5806 |
|
5807 <code>type</code> |
|
5808 |
|
5809 </li> |
|
5810 |
|
5811 </ul><span class="paren">)</span> |
|
5812 </div> |
|
5813 |
|
5814 |
|
5815 |
|
5816 <span class="returns-inline"> |
|
5817 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5818 </span> |
|
5819 |
|
5820 |
|
5821 |
|
5822 |
|
5823 |
|
5824 <span class="flag private">private</span> |
|
5825 |
|
5826 |
|
5827 |
|
5828 |
|
5829 |
|
5830 |
|
5831 |
|
5832 |
|
5833 |
|
5834 |
|
5835 <div class="meta"> |
|
5836 |
|
5837 |
|
5838 <p>Inherited from |
|
5839 <a href="../classes/EventTarget.html#method__getFullType">EventTarget</a>: |
|
5840 |
|
5841 |
|
5842 |
|
5843 <a href="../files/event-custom_js_event-target.js.html#l586"><code>event-custom/js/event-target.js:586</code></a> |
|
5844 |
|
5845 </p> |
|
5846 |
|
5847 |
|
5848 |
|
5849 |
|
5850 |
|
5851 </div> |
|
5852 |
|
5853 <div class="description"> |
|
5854 <p>Returns the fully qualified type, given a short type string. |
|
5855 That is, returns "foo:bar" when given "bar" if "foo" is the configured prefix.</p> |
|
5856 |
|
5857 <p>NOTE: This method, unlike _getType, does no checking of the value passed in, and |
|
5858 is designed to be used with the low level _publish() method, for critical path |
|
5859 implementations which need to fast-track publish for performance reasons.</p> |
|
5860 </div> |
|
5861 |
|
5862 |
|
5863 <div class="params"> |
|
5864 <h4>Parameters:</h4> |
|
5865 |
|
5866 <ul class="params-list"> |
|
5867 |
|
5868 <li class="param"> |
|
5869 |
|
5870 <code class="param-name">type</code> |
|
5871 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5872 |
|
5873 |
|
5874 |
|
5875 |
|
5876 <div class="param-description"> |
|
5877 <p>The short type to prefix</p> |
|
5878 </div> |
|
5879 |
|
5880 |
|
5881 </li> |
|
5882 |
|
5883 </ul> |
|
5884 </div> |
|
5885 |
|
5886 |
|
5887 |
|
5888 <div class="returns"> |
|
5889 <h4>Returns:</h4> |
|
5890 |
|
5891 <div class="returns-description"> |
|
5892 |
|
5893 |
|
5894 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
5895 |
|
5896 The prefixed type, if a prefix is set, otherwise the type passed in |
|
5897 |
|
5898 </div> |
|
5899 </div> |
|
5900 |
|
5901 |
|
5902 |
|
5903 </div> |
|
5904 |
|
5905 |
|
5906 <div id="method__getStateVal" class="method item private inherited"> |
|
5907 <h3 class="name"><code>_getStateVal</code></h3> |
|
5908 |
|
5909 |
|
5910 <div class="args"> |
|
5911 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5912 |
|
5913 <li class="arg"> |
|
5914 |
|
5915 <code>name</code> |
|
5916 |
|
5917 </li> |
|
5918 |
|
5919 <li class="arg"> |
|
5920 |
|
5921 <code class="optional">[cfg]</code> |
|
5922 |
|
5923 </li> |
|
5924 |
|
5925 </ul><span class="paren">)</span> |
|
5926 </div> |
|
5927 |
|
5928 |
|
5929 |
|
5930 <span class="returns-inline"> |
|
5931 <span class="type">Any</span> |
|
5932 </span> |
|
5933 |
|
5934 |
|
5935 |
|
5936 |
|
5937 |
|
5938 <span class="flag private">private</span> |
|
5939 |
|
5940 |
|
5941 |
|
5942 |
|
5943 |
|
5944 |
|
5945 |
|
5946 |
|
5947 |
|
5948 |
|
5949 <div class="meta"> |
|
5950 |
|
5951 |
|
5952 <p>Inherited from |
|
5953 <a href="../classes/AttributeCore.html#method__getStateVal">AttributeCore</a>: |
|
5954 |
|
5955 |
|
5956 |
|
5957 <a href="../files/attribute_js_AttributeCore.js.html#l600"><code>attribute/js/AttributeCore.js:600</code></a> |
|
5958 |
|
5959 </p> |
|
5960 |
|
5961 |
|
5962 |
|
5963 |
|
5964 |
|
5965 </div> |
|
5966 |
|
5967 <div class="description"> |
|
5968 <p>Gets the stored value for the attribute, from either the |
|
5969 internal state object, or the state proxy if it exits</p> |
|
5970 </div> |
|
5971 |
|
5972 |
|
5973 <div class="params"> |
|
5974 <h4>Parameters:</h4> |
|
5975 |
|
5976 <ul class="params-list"> |
|
5977 |
|
5978 <li class="param"> |
|
5979 |
|
5980 <code class="param-name">name</code> |
|
5981 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5982 |
|
5983 |
|
5984 |
|
5985 |
|
5986 <div class="param-description"> |
|
5987 <p>The name of the attribute</p> |
|
5988 </div> |
|
5989 |
|
5990 |
|
5991 </li> |
|
5992 |
|
5993 <li class="param"> |
|
5994 |
|
5995 <code class="param-name optional">[cfg]</code> |
|
5996 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5997 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
5998 |
|
5999 |
|
6000 |
|
6001 |
|
6002 <div class="param-description"> |
|
6003 <p>Optional config hash for the attribute. This is added for performance along the critical path, |
|
6004 where the calling method has already obtained the config from state.</p> |
|
6005 </div> |
|
6006 |
|
6007 |
|
6008 </li> |
|
6009 |
|
6010 </ul> |
|
6011 </div> |
|
6012 |
|
6013 |
|
6014 |
|
6015 <div class="returns"> |
|
6016 <h4>Returns:</h4> |
|
6017 |
|
6018 <div class="returns-description"> |
|
6019 |
|
6020 |
|
6021 <span class="type">Any</span>: |
|
6022 |
|
6023 The stored value of the attribute |
|
6024 |
|
6025 </div> |
|
6026 </div> |
|
6027 |
|
6028 |
|
6029 |
|
6030 </div> |
|
6031 |
|
6032 |
|
6033 <div id="method__getType" class="method item private inherited"> |
|
6034 <h3 class="name"><code>_getType</code></h3> |
|
6035 |
|
6036 |
|
6037 <span class="paren">()</span> |
|
6038 |
|
6039 |
|
6040 |
|
6041 |
|
6042 |
|
6043 |
|
6044 |
|
6045 <span class="flag private">private</span> |
|
6046 |
|
6047 |
|
6048 |
|
6049 |
|
6050 |
|
6051 |
|
6052 |
|
6053 |
|
6054 |
|
6055 |
|
6056 <div class="meta"> |
|
6057 |
|
6058 |
|
6059 <p>Inherited from |
|
6060 <a href="../classes/EventTarget.html#method__getType">EventTarget</a>: |
|
6061 |
|
6062 |
|
6063 |
|
6064 <a href="../files/event-custom_js_event-target.js.html#l36"><code>event-custom/js/event-target.js:36</code></a> |
|
6065 |
|
6066 </p> |
|
6067 |
|
6068 |
|
6069 |
|
6070 |
|
6071 |
|
6072 </div> |
|
6073 |
|
6074 <div class="description"> |
|
6075 <p>If the instance has a prefix attribute and the |
|
6076 event type is not prefixed, the instance prefix is |
|
6077 applied to the supplied type.</p> |
|
6078 </div> |
|
6079 |
|
6080 |
|
6081 |
|
6082 |
|
6083 |
|
6084 |
|
6085 </div> |
|
6086 |
|
6087 |
|
6088 <div id="method__handleMouseDownEvent" class="method item private inherited"> |
|
6089 <h3 class="name"><code>_handleMouseDownEvent</code></h3> |
|
6090 |
|
6091 |
|
6092 <div class="args"> |
|
6093 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6094 |
|
6095 <li class="arg"> |
|
6096 |
|
6097 <code>ev</code> |
|
6098 |
|
6099 </li> |
|
6100 |
|
6101 </ul><span class="paren">)</span> |
|
6102 </div> |
|
6103 |
|
6104 |
|
6105 |
|
6106 |
|
6107 |
|
6108 |
|
6109 |
|
6110 <span class="flag private">private</span> |
|
6111 |
|
6112 |
|
6113 |
|
6114 |
|
6115 |
|
6116 |
|
6117 |
|
6118 |
|
6119 |
|
6120 |
|
6121 <div class="meta"> |
|
6122 |
|
6123 |
|
6124 <p>Inherited from |
|
6125 <a href="../classes/DD.Drag.html#method__handleMouseDownEvent">DD.Drag</a>: |
|
6126 |
|
6127 |
|
6128 |
|
6129 <a href="../files/dd_js_drag.js.html#l754"><code>dd/js/drag.js:754</code></a> |
|
6130 |
|
6131 </p> |
|
6132 |
|
6133 |
|
6134 |
|
6135 |
|
6136 |
|
6137 </div> |
|
6138 |
|
6139 <div class="description"> |
|
6140 <p>Handler for the mousedown DOM event</p> |
|
6141 </div> |
|
6142 |
|
6143 |
|
6144 <div class="params"> |
|
6145 <h4>Parameters:</h4> |
|
6146 |
|
6147 <ul class="params-list"> |
|
6148 |
|
6149 <li class="param"> |
|
6150 |
|
6151 <code class="param-name">ev</code> |
|
6152 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
6153 |
|
6154 |
|
6155 |
|
6156 |
|
6157 <div class="param-description"> |
|
6158 <p>The Event</p> |
|
6159 </div> |
|
6160 |
|
6161 |
|
6162 </li> |
|
6163 |
|
6164 </ul> |
|
6165 </div> |
|
6166 |
|
6167 |
|
6168 |
|
6169 |
|
6170 |
|
6171 </div> |
|
6172 |
|
6173 |
|
6174 <div id="method__handleMouseUp" class="method item private inherited"> |
|
6175 <h3 class="name"><code>_handleMouseUp</code></h3> |
|
6176 |
|
6177 |
|
6178 <div class="args"> |
|
6179 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6180 |
|
6181 <li class="arg"> |
|
6182 |
|
6183 <code>ev</code> |
|
6184 |
|
6185 </li> |
|
6186 |
|
6187 </ul><span class="paren">)</span> |
|
6188 </div> |
|
6189 |
|
6190 |
|
6191 |
|
6192 |
|
6193 |
|
6194 |
|
6195 |
|
6196 <span class="flag private">private</span> |
|
6197 |
|
6198 |
|
6199 |
|
6200 |
|
6201 |
|
6202 |
|
6203 |
|
6204 |
|
6205 |
|
6206 |
|
6207 <div class="meta"> |
|
6208 |
|
6209 |
|
6210 <p>Inherited from |
|
6211 <a href="../classes/DD.Drag.html#method__handleMouseUp">DD.Drag</a>: |
|
6212 |
|
6213 |
|
6214 |
|
6215 <a href="../files/dd_js_drag.js.html#l694"><code>dd/js/drag.js:694</code></a> |
|
6216 |
|
6217 </p> |
|
6218 |
|
6219 |
|
6220 |
|
6221 |
|
6222 |
|
6223 </div> |
|
6224 |
|
6225 <div class="description"> |
|
6226 <p>Handler for the mouseup DOM event</p> |
|
6227 </div> |
|
6228 |
|
6229 |
|
6230 <div class="params"> |
|
6231 <h4>Parameters:</h4> |
|
6232 |
|
6233 <ul class="params-list"> |
|
6234 |
|
6235 <li class="param"> |
|
6236 |
|
6237 <code class="param-name">ev</code> |
|
6238 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
6239 |
|
6240 |
|
6241 |
|
6242 |
|
6243 <div class="param-description"> |
|
6244 <p>The Event</p> |
|
6245 </div> |
|
6246 |
|
6247 |
|
6248 </li> |
|
6249 |
|
6250 </ul> |
|
6251 </div> |
|
6252 |
|
6253 |
|
6254 |
|
6255 |
|
6256 |
|
6257 </div> |
|
6258 |
|
6259 |
|
6260 <div id="method__handleTarget" class="method item private inherited"> |
|
6261 <h3 class="name"><code>_handleTarget</code></h3> |
|
6262 |
|
6263 |
|
6264 <div class="args"> |
|
6265 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6266 |
|
6267 <li class="arg"> |
|
6268 |
|
6269 <code>config</code> |
|
6270 |
|
6271 </li> |
|
6272 |
|
6273 </ul><span class="paren">)</span> |
|
6274 </div> |
|
6275 |
|
6276 |
|
6277 |
|
6278 |
|
6279 |
|
6280 |
|
6281 |
|
6282 <span class="flag private">private</span> |
|
6283 |
|
6284 |
|
6285 |
|
6286 |
|
6287 |
|
6288 |
|
6289 |
|
6290 |
|
6291 |
|
6292 |
|
6293 <div class="meta"> |
|
6294 |
|
6295 |
|
6296 <p>Inherited from |
|
6297 <a href="../classes/DD.Drag.html#method__handleTarget">DD.Drag</a>: |
|
6298 |
|
6299 |
|
6300 |
|
6301 <a href="../files/dd_js_drag.js.html#l487"><code>dd/js/drag.js:487</code></a> |
|
6302 |
|
6303 </p> |
|
6304 |
|
6305 |
|
6306 |
|
6307 |
|
6308 |
|
6309 </div> |
|
6310 |
|
6311 <div class="description"> |
|
6312 <p>Attribute handler for the target config attribute.</p> |
|
6313 </div> |
|
6314 |
|
6315 |
|
6316 <div class="params"> |
|
6317 <h4>Parameters:</h4> |
|
6318 |
|
6319 <ul class="params-list"> |
|
6320 |
|
6321 <li class="param"> |
|
6322 |
|
6323 <code class="param-name">config</code> |
|
6324 <span class="type">Boolean/Object</span> |
|
6325 |
|
6326 |
|
6327 |
|
6328 |
|
6329 <div class="param-description"> |
|
6330 <p>The Config</p> |
|
6331 </div> |
|
6332 |
|
6333 |
|
6334 </li> |
|
6335 |
|
6336 </ul> |
|
6337 </div> |
|
6338 |
|
6339 |
|
6340 |
|
6341 |
|
6342 |
|
6343 </div> |
|
6344 |
|
6345 |
|
6346 <div id="method__ieSelectFix" class="method item private inherited"> |
|
6347 <h3 class="name"><code>_ieSelectFix</code></h3> |
|
6348 |
|
6349 |
|
6350 <span class="paren">()</span> |
|
6351 |
|
6352 |
|
6353 |
|
6354 |
|
6355 |
|
6356 |
|
6357 |
|
6358 <span class="flag private">private</span> |
|
6359 |
|
6360 |
|
6361 |
|
6362 |
|
6363 |
|
6364 |
|
6365 |
|
6366 |
|
6367 |
|
6368 |
|
6369 <div class="meta"> |
|
6370 |
|
6371 |
|
6372 <p>Inherited from |
|
6373 <a href="../classes/DD.Drag.html#method__ieSelectFix">DD.Drag</a>: |
|
6374 |
|
6375 |
|
6376 |
|
6377 <a href="../files/dd_js_drag.js.html#l719"><code>dd/js/drag.js:719</code></a> |
|
6378 |
|
6379 </p> |
|
6380 |
|
6381 |
|
6382 |
|
6383 |
|
6384 |
|
6385 </div> |
|
6386 |
|
6387 <div class="description"> |
|
6388 <p>The function we use as the onselectstart handler when we start a drag in Internet Explorer</p> |
|
6389 </div> |
|
6390 |
|
6391 |
|
6392 |
|
6393 |
|
6394 |
|
6395 |
|
6396 </div> |
|
6397 |
|
6398 |
|
6399 <div id="method__initAttrHost" class="method item private inherited"> |
|
6400 <h3 class="name"><code>_initAttrHost</code></h3> |
|
6401 |
|
6402 |
|
6403 <div class="args"> |
|
6404 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6405 |
|
6406 <li class="arg"> |
|
6407 |
|
6408 <code>attrs</code> |
|
6409 |
|
6410 </li> |
|
6411 |
|
6412 <li class="arg"> |
|
6413 |
|
6414 <code>values</code> |
|
6415 |
|
6416 </li> |
|
6417 |
|
6418 <li class="arg"> |
|
6419 |
|
6420 <code>lazy</code> |
|
6421 |
|
6422 </li> |
|
6423 |
|
6424 </ul><span class="paren">)</span> |
|
6425 </div> |
|
6426 |
|
6427 |
|
6428 |
|
6429 |
|
6430 |
|
6431 |
|
6432 |
|
6433 <span class="flag private">private</span> |
|
6434 |
|
6435 |
|
6436 |
|
6437 |
|
6438 |
|
6439 |
|
6440 |
|
6441 |
|
6442 |
|
6443 |
|
6444 <div class="meta"> |
|
6445 |
|
6446 |
|
6447 <p>Inherited from |
|
6448 <a href="../classes/AttributeCore.html#method__initAttrHost">AttributeCore</a>: |
|
6449 |
|
6450 |
|
6451 |
|
6452 <a href="../files/attribute_js_AttributeCore.js.html#l140"><code>attribute/js/AttributeCore.js:140</code></a> |
|
6453 |
|
6454 </p> |
|
6455 |
|
6456 |
|
6457 |
|
6458 |
|
6459 |
|
6460 </div> |
|
6461 |
|
6462 <div class="description"> |
|
6463 <p>Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the |
|
6464 constructor.</p> |
|
6465 </div> |
|
6466 |
|
6467 |
|
6468 <div class="params"> |
|
6469 <h4>Parameters:</h4> |
|
6470 |
|
6471 <ul class="params-list"> |
|
6472 |
|
6473 <li class="param"> |
|
6474 |
|
6475 <code class="param-name">attrs</code> |
|
6476 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6477 |
|
6478 |
|
6479 |
|
6480 |
|
6481 <div class="param-description"> |
|
6482 <p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
6483 These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p> |
|
6484 </div> |
|
6485 |
|
6486 |
|
6487 </li> |
|
6488 |
|
6489 <li class="param"> |
|
6490 |
|
6491 <code class="param-name">values</code> |
|
6492 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6493 |
|
6494 |
|
6495 |
|
6496 |
|
6497 <div class="param-description"> |
|
6498 <p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
6499 These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p> |
|
6500 </div> |
|
6501 |
|
6502 |
|
6503 </li> |
|
6504 |
|
6505 <li class="param"> |
|
6506 |
|
6507 <code class="param-name">lazy</code> |
|
6508 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
6509 |
|
6510 |
|
6511 |
|
6512 |
|
6513 <div class="param-description"> |
|
6514 <p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p> |
|
6515 </div> |
|
6516 |
|
6517 |
|
6518 </li> |
|
6519 |
|
6520 </ul> |
|
6521 </div> |
|
6522 |
|
6523 |
|
6524 |
|
6525 |
|
6526 |
|
6527 </div> |
|
6528 |
|
6529 |
|
6530 <div id="method__initAttribute" class="method item private inherited"> |
|
6531 <h3 class="name"><code>_initAttribute</code></h3> |
|
6532 |
|
6533 |
|
6534 <span class="paren">()</span> |
|
6535 |
|
6536 |
|
6537 |
|
6538 |
|
6539 |
|
6540 |
|
6541 |
|
6542 <span class="flag private">private</span> |
|
6543 |
|
6544 |
|
6545 |
|
6546 |
|
6547 |
|
6548 |
|
6549 |
|
6550 |
|
6551 |
|
6552 |
|
6553 <div class="meta"> |
|
6554 |
|
6555 <p>Inherited from |
|
6556 <a href="../classes/BaseObservable.html#method__initAttribute"> |
|
6557 BaseObservable |
|
6558 </a> |
|
6559 |
|
6560 but overwritten in |
|
6561 |
|
6562 |
|
6563 |
|
6564 <a href="../files/base_js_BaseCore.js.html#l254"><code>base/js/BaseCore.js:254</code></a> |
|
6565 |
|
6566 </p> |
|
6567 |
|
6568 |
|
6569 |
|
6570 |
|
6571 |
|
6572 </div> |
|
6573 |
|
6574 <div class="description"> |
|
6575 <p>Initializes AttributeCore</p> |
|
6576 </div> |
|
6577 |
|
6578 |
|
6579 |
|
6580 |
|
6581 |
|
6582 |
|
6583 </div> |
|
6584 |
|
6585 |
|
6586 <div id="method__initAttrs" class="method item protected inherited"> |
|
6587 <h3 class="name"><code>_initAttrs</code></h3> |
|
6588 |
|
6589 |
|
6590 <div class="args"> |
|
6591 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6592 |
|
6593 <li class="arg"> |
|
6594 |
|
6595 <code>attrs</code> |
|
6596 |
|
6597 </li> |
|
6598 |
|
6599 <li class="arg"> |
|
6600 |
|
6601 <code>values</code> |
|
6602 |
|
6603 </li> |
|
6604 |
|
6605 <li class="arg"> |
|
6606 |
|
6607 <code>lazy</code> |
|
6608 |
|
6609 </li> |
|
6610 |
|
6611 </ul><span class="paren">)</span> |
|
6612 </div> |
|
6613 |
|
6614 |
|
6615 |
|
6616 |
|
6617 |
|
6618 |
|
6619 |
|
6620 <span class="flag protected">protected</span> |
|
6621 |
|
6622 |
|
6623 |
|
6624 |
|
6625 |
|
6626 |
|
6627 |
|
6628 |
|
6629 |
|
6630 |
|
6631 <div class="meta"> |
|
6632 |
|
6633 |
|
6634 <p>Inherited from |
|
6635 <a href="../classes/AttributeCore.html#method__initAttrs">AttributeCore</a>: |
|
6636 |
|
6637 |
|
6638 |
|
6639 <a href="../files/attribute_js_AttributeCore.js.html#l1011"><code>attribute/js/AttributeCore.js:1011</code></a> |
|
6640 |
|
6641 </p> |
|
6642 |
|
6643 |
|
6644 |
|
6645 |
|
6646 |
|
6647 </div> |
|
6648 |
|
6649 <div class="description"> |
|
6650 <p>Utility method to set up initial attributes defined during construction, |
|
6651 either through the constructor.ATTRS property, or explicitly passed in.</p> |
|
6652 </div> |
|
6653 |
|
6654 |
|
6655 <div class="params"> |
|
6656 <h4>Parameters:</h4> |
|
6657 |
|
6658 <ul class="params-list"> |
|
6659 |
|
6660 <li class="param"> |
|
6661 |
|
6662 <code class="param-name">attrs</code> |
|
6663 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6664 |
|
6665 |
|
6666 |
|
6667 |
|
6668 <div class="param-description"> |
|
6669 <p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
6670 These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p> |
|
6671 </div> |
|
6672 |
|
6673 |
|
6674 </li> |
|
6675 |
|
6676 <li class="param"> |
|
6677 |
|
6678 <code class="param-name">values</code> |
|
6679 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6680 |
|
6681 |
|
6682 |
|
6683 |
|
6684 <div class="param-description"> |
|
6685 <p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
6686 These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p> |
|
6687 </div> |
|
6688 |
|
6689 |
|
6690 </li> |
|
6691 |
|
6692 <li class="param"> |
|
6693 |
|
6694 <code class="param-name">lazy</code> |
|
6695 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
6696 |
|
6697 |
|
6698 |
|
6699 |
|
6700 <div class="param-description"> |
|
6701 <p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p> |
|
6702 </div> |
|
6703 |
|
6704 |
|
6705 </li> |
|
6706 |
|
6707 </ul> |
|
6708 </div> |
|
6709 |
|
6710 |
|
6711 |
|
6712 |
|
6713 |
|
6714 </div> |
|
6715 |
|
6716 |
|
6717 <div id="method__initBase" class="method item private inherited"> |
|
6718 <h3 class="name"><code>_initBase</code></h3> |
|
6719 |
|
6720 |
|
6721 <div class="args"> |
|
6722 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6723 |
|
6724 <li class="arg"> |
|
6725 |
|
6726 <code>config</code> |
|
6727 |
|
6728 </li> |
|
6729 |
|
6730 </ul><span class="paren">)</span> |
|
6731 </div> |
|
6732 |
|
6733 |
|
6734 |
|
6735 |
|
6736 |
|
6737 |
|
6738 |
|
6739 <span class="flag private">private</span> |
|
6740 |
|
6741 |
|
6742 |
|
6743 |
|
6744 |
|
6745 |
|
6746 |
|
6747 |
|
6748 |
|
6749 |
|
6750 <div class="meta"> |
|
6751 |
|
6752 |
|
6753 <p>Inherited from |
|
6754 <a href="../classes/BaseCore.html#method__initBase">BaseCore</a>: |
|
6755 |
|
6756 |
|
6757 |
|
6758 <a href="../files/base_js_BaseCore.js.html#l219"><code>base/js/BaseCore.js:219</code></a> |
|
6759 |
|
6760 </p> |
|
6761 |
|
6762 |
|
6763 |
|
6764 |
|
6765 |
|
6766 </div> |
|
6767 |
|
6768 <div class="description"> |
|
6769 <p>Internal construction logic for BaseCore.</p> |
|
6770 </div> |
|
6771 |
|
6772 |
|
6773 <div class="params"> |
|
6774 <h4>Parameters:</h4> |
|
6775 |
|
6776 <ul class="params-list"> |
|
6777 |
|
6778 <li class="param"> |
|
6779 |
|
6780 <code class="param-name">config</code> |
|
6781 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6782 |
|
6783 |
|
6784 |
|
6785 |
|
6786 <div class="param-description"> |
|
6787 <p>The constructor configuration object</p> |
|
6788 </div> |
|
6789 |
|
6790 |
|
6791 </li> |
|
6792 |
|
6793 </ul> |
|
6794 </div> |
|
6795 |
|
6796 |
|
6797 |
|
6798 |
|
6799 |
|
6800 </div> |
|
6801 |
|
6802 |
|
6803 <div id="method__initHierarchy" class="method item private inherited"> |
|
6804 <h3 class="name"><code>_initHierarchy</code></h3> |
|
6805 |
|
6806 |
|
6807 <div class="args"> |
|
6808 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6809 |
|
6810 <li class="arg"> |
|
6811 |
|
6812 <code>userVals</code> |
|
6813 |
|
6814 </li> |
|
6815 |
|
6816 </ul><span class="paren">)</span> |
|
6817 </div> |
|
6818 |
|
6819 |
|
6820 |
|
6821 |
|
6822 |
|
6823 |
|
6824 |
|
6825 <span class="flag private">private</span> |
|
6826 |
|
6827 |
|
6828 |
|
6829 |
|
6830 |
|
6831 |
|
6832 |
|
6833 |
|
6834 |
|
6835 |
|
6836 <div class="meta"> |
|
6837 |
|
6838 |
|
6839 <p>Inherited from |
|
6840 <a href="../classes/BaseCore.html#method__initHierarchy">BaseCore</a>: |
|
6841 |
|
6842 |
|
6843 |
|
6844 <a href="../files/base_js_BaseCore.js.html#l659"><code>base/js/BaseCore.js:659</code></a> |
|
6845 |
|
6846 </p> |
|
6847 |
|
6848 |
|
6849 |
|
6850 |
|
6851 |
|
6852 </div> |
|
6853 |
|
6854 <div class="description"> |
|
6855 <p>Initializes the class hierarchy for the instance, which includes |
|
6856 initializing attributes for each class defined in the class's |
|
6857 static <a href="#property_BaseCore.ATTRS">ATTRS</a> property and |
|
6858 invoking the initializer method on the prototype of each class in the hierarchy.</p> |
|
6859 </div> |
|
6860 |
|
6861 |
|
6862 <div class="params"> |
|
6863 <h4>Parameters:</h4> |
|
6864 |
|
6865 <ul class="params-list"> |
|
6866 |
|
6867 <li class="param"> |
|
6868 |
|
6869 <code class="param-name">userVals</code> |
|
6870 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6871 |
|
6872 |
|
6873 |
|
6874 |
|
6875 <div class="param-description"> |
|
6876 <p>Object with configuration property name/value pairs</p> |
|
6877 </div> |
|
6878 |
|
6879 |
|
6880 </li> |
|
6881 |
|
6882 </ul> |
|
6883 </div> |
|
6884 |
|
6885 |
|
6886 |
|
6887 |
|
6888 |
|
6889 </div> |
|
6890 |
|
6891 |
|
6892 <div id="method__initHierarchyData" class="method item private inherited"> |
|
6893 <h3 class="name"><code>_initHierarchyData</code></h3> |
|
6894 |
|
6895 |
|
6896 <span class="paren">()</span> |
|
6897 |
|
6898 |
|
6899 |
|
6900 |
|
6901 |
|
6902 |
|
6903 |
|
6904 <span class="flag private">private</span> |
|
6905 |
|
6906 |
|
6907 |
|
6908 |
|
6909 |
|
6910 |
|
6911 |
|
6912 |
|
6913 |
|
6914 |
|
6915 <div class="meta"> |
|
6916 |
|
6917 |
|
6918 <p>Inherited from |
|
6919 <a href="../classes/BaseCore.html#method__initHierarchyData">BaseCore</a>: |
|
6920 |
|
6921 |
|
6922 |
|
6923 <a href="../files/base_js_BaseCore.js.html#l457"><code>base/js/BaseCore.js:457</code></a> |
|
6924 |
|
6925 </p> |
|
6926 |
|
6927 |
|
6928 |
|
6929 |
|
6930 |
|
6931 </div> |
|
6932 |
|
6933 <div class="description"> |
|
6934 <p>A helper method used by _getClasses and _getAttrCfgs, which determines both |
|
6935 the array of classes and aggregate set of attribute configurations |
|
6936 across the class hierarchy for the instance.</p> |
|
6937 </div> |
|
6938 |
|
6939 |
|
6940 |
|
6941 |
|
6942 |
|
6943 |
|
6944 </div> |
|
6945 |
|
6946 |
|
6947 <div id="method__isLazyAttr" class="method item private inherited"> |
|
6948 <h3 class="name"><code>_isLazyAttr</code></h3> |
|
6949 |
|
6950 |
|
6951 <div class="args"> |
|
6952 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6953 |
|
6954 <li class="arg"> |
|
6955 |
|
6956 <code>name</code> |
|
6957 |
|
6958 </li> |
|
6959 |
|
6960 </ul><span class="paren">)</span> |
|
6961 </div> |
|
6962 |
|
6963 |
|
6964 |
|
6965 <span class="returns-inline"> |
|
6966 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
6967 </span> |
|
6968 |
|
6969 |
|
6970 |
|
6971 |
|
6972 |
|
6973 <span class="flag private">private</span> |
|
6974 |
|
6975 |
|
6976 |
|
6977 |
|
6978 |
|
6979 |
|
6980 |
|
6981 |
|
6982 |
|
6983 |
|
6984 <div class="meta"> |
|
6985 |
|
6986 |
|
6987 <p>Inherited from |
|
6988 <a href="../classes/AttributeCore.html#method__isLazyAttr">AttributeCore</a>: |
|
6989 |
|
6990 |
|
6991 |
|
6992 <a href="../files/attribute_js_AttributeCore.js.html#l369"><code>attribute/js/AttributeCore.js:369</code></a> |
|
6993 |
|
6994 </p> |
|
6995 |
|
6996 |
|
6997 |
|
6998 |
|
6999 |
|
7000 </div> |
|
7001 |
|
7002 <div class="description"> |
|
7003 <p>Checks whether or not the attribute is one which has been |
|
7004 added lazily and still requires initialization.</p> |
|
7005 </div> |
|
7006 |
|
7007 |
|
7008 <div class="params"> |
|
7009 <h4>Parameters:</h4> |
|
7010 |
|
7011 <ul class="params-list"> |
|
7012 |
|
7013 <li class="param"> |
|
7014 |
|
7015 <code class="param-name">name</code> |
|
7016 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7017 |
|
7018 |
|
7019 |
|
7020 |
|
7021 <div class="param-description"> |
|
7022 <p>The name of the attribute</p> |
|
7023 </div> |
|
7024 |
|
7025 |
|
7026 </li> |
|
7027 |
|
7028 </ul> |
|
7029 </div> |
|
7030 |
|
7031 |
|
7032 |
|
7033 <div class="returns"> |
|
7034 <h4>Returns:</h4> |
|
7035 |
|
7036 <div class="returns-description"> |
|
7037 |
|
7038 |
|
7039 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
7040 |
|
7041 true if it's a lazily added attribute, false otherwise. |
|
7042 |
|
7043 </div> |
|
7044 </div> |
|
7045 |
|
7046 |
|
7047 |
|
7048 </div> |
|
7049 |
|
7050 |
|
7051 <div id="method__monitor" class="method item private inherited"> |
|
7052 <h3 class="name"><code>_monitor</code></h3> |
|
7053 |
|
7054 |
|
7055 <div class="args"> |
|
7056 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7057 |
|
7058 <li class="arg"> |
|
7059 |
|
7060 <code>what</code> |
|
7061 |
|
7062 </li> |
|
7063 |
|
7064 <li class="arg"> |
|
7065 |
|
7066 <code>eventType</code> |
|
7067 |
|
7068 </li> |
|
7069 |
|
7070 <li class="arg"> |
|
7071 |
|
7072 <code>o</code> |
|
7073 |
|
7074 </li> |
|
7075 |
|
7076 </ul><span class="paren">)</span> |
|
7077 </div> |
|
7078 |
|
7079 |
|
7080 |
|
7081 |
|
7082 |
|
7083 |
|
7084 |
|
7085 <span class="flag private">private</span> |
|
7086 |
|
7087 |
|
7088 |
|
7089 |
|
7090 |
|
7091 |
|
7092 |
|
7093 |
|
7094 |
|
7095 |
|
7096 <div class="meta"> |
|
7097 |
|
7098 |
|
7099 <p>Inherited from |
|
7100 <a href="../classes/EventTarget.html#method__monitor">EventTarget</a>: |
|
7101 |
|
7102 |
|
7103 |
|
7104 <a href="../files/event-custom_js_event-target.js.html#l658"><code>event-custom/js/event-target.js:658</code></a> |
|
7105 |
|
7106 </p> |
|
7107 |
|
7108 |
|
7109 |
|
7110 |
|
7111 |
|
7112 </div> |
|
7113 |
|
7114 <div class="description"> |
|
7115 <p>This is the entry point for the event monitoring system. |
|
7116 You can monitor 'attach', 'detach', 'fire', and 'publish'. |
|
7117 When configured, these events generate an event. click -> |
|
7118 click<em>attach, click</em>detach, click_publish -- these can |
|
7119 be subscribed to like other events to monitor the event |
|
7120 system. Inividual published events can have monitoring |
|
7121 turned on or off (publish can't be turned off before it |
|
7122 it published) by setting the events 'monitor' config.</p> |
|
7123 </div> |
|
7124 |
|
7125 |
|
7126 <div class="params"> |
|
7127 <h4>Parameters:</h4> |
|
7128 |
|
7129 <ul class="params-list"> |
|
7130 |
|
7131 <li class="param"> |
|
7132 |
|
7133 <code class="param-name">what</code> |
|
7134 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7135 |
|
7136 |
|
7137 |
|
7138 |
|
7139 <div class="param-description"> |
|
7140 <p>'attach', 'detach', 'fire', or 'publish'</p> |
|
7141 </div> |
|
7142 |
|
7143 |
|
7144 </li> |
|
7145 |
|
7146 <li class="param"> |
|
7147 |
|
7148 <code class="param-name">eventType</code> |
|
7149 <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/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
7150 |
|
7151 |
|
7152 |
|
7153 |
|
7154 <div class="param-description"> |
|
7155 <p>The prefixed name of the event being monitored, or the CustomEvent object.</p> |
|
7156 </div> |
|
7157 |
|
7158 |
|
7159 </li> |
|
7160 |
|
7161 <li class="param"> |
|
7162 |
|
7163 <code class="param-name">o</code> |
|
7164 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7165 |
|
7166 |
|
7167 |
|
7168 |
|
7169 <div class="param-description"> |
|
7170 <p>Information about the event interaction, such as |
|
7171 fire() args, subscription category, publish config</p> |
|
7172 </div> |
|
7173 |
|
7174 |
|
7175 </li> |
|
7176 |
|
7177 </ul> |
|
7178 </div> |
|
7179 |
|
7180 |
|
7181 |
|
7182 |
|
7183 |
|
7184 </div> |
|
7185 |
|
7186 |
|
7187 <div id="method__move" class="method item private inherited"> |
|
7188 <h3 class="name"><code>_move</code></h3> |
|
7189 |
|
7190 |
|
7191 <div class="args"> |
|
7192 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7193 |
|
7194 <li class="arg"> |
|
7195 |
|
7196 <code>ev</code> |
|
7197 |
|
7198 </li> |
|
7199 |
|
7200 </ul><span class="paren">)</span> |
|
7201 </div> |
|
7202 |
|
7203 |
|
7204 |
|
7205 |
|
7206 |
|
7207 |
|
7208 |
|
7209 <span class="flag private">private</span> |
|
7210 |
|
7211 |
|
7212 |
|
7213 |
|
7214 |
|
7215 |
|
7216 |
|
7217 |
|
7218 |
|
7219 |
|
7220 <div class="meta"> |
|
7221 |
|
7222 |
|
7223 <p>Inherited from |
|
7224 <a href="../classes/DD.Drag.html#method__move">DD.Drag</a>: |
|
7225 |
|
7226 |
|
7227 |
|
7228 <a href="../files/dd_js_drag.js.html#l1212"><code>dd/js/drag.js:1212</code></a> |
|
7229 |
|
7230 </p> |
|
7231 |
|
7232 |
|
7233 |
|
7234 |
|
7235 |
|
7236 </div> |
|
7237 |
|
7238 <div class="description"> |
|
7239 <p>Fired from DragDropMgr (DDM) on mousemove.</p> |
|
7240 </div> |
|
7241 |
|
7242 |
|
7243 <div class="params"> |
|
7244 <h4>Parameters:</h4> |
|
7245 |
|
7246 <ul class="params-list"> |
|
7247 |
|
7248 <li class="param"> |
|
7249 |
|
7250 <code class="param-name">ev</code> |
|
7251 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
7252 |
|
7253 |
|
7254 |
|
7255 |
|
7256 <div class="param-description"> |
|
7257 <p>The mousemove DOM event</p> |
|
7258 </div> |
|
7259 |
|
7260 |
|
7261 </li> |
|
7262 |
|
7263 </ul> |
|
7264 </div> |
|
7265 |
|
7266 |
|
7267 |
|
7268 |
|
7269 |
|
7270 </div> |
|
7271 |
|
7272 |
|
7273 <div id="method__moveNode" class="method item private inherited"> |
|
7274 <h3 class="name"><code>_moveNode</code></h3> |
|
7275 |
|
7276 |
|
7277 <span class="paren">()</span> |
|
7278 |
|
7279 |
|
7280 |
|
7281 |
|
7282 |
|
7283 |
|
7284 |
|
7285 <span class="flag private">private</span> |
|
7286 |
|
7287 |
|
7288 |
|
7289 |
|
7290 |
|
7291 |
|
7292 |
|
7293 |
|
7294 |
|
7295 |
|
7296 <div class="meta"> |
|
7297 |
|
7298 |
|
7299 <p>Inherited from |
|
7300 <a href="../classes/DD.Drag.html#method__moveNode">DD.Drag</a>: |
|
7301 |
|
7302 |
|
7303 |
|
7304 <a href="../files/dd_js_drag.js.html#l1148"><code>dd/js/drag.js:1148</code></a> |
|
7305 |
|
7306 </p> |
|
7307 |
|
7308 |
|
7309 |
|
7310 |
|
7311 |
|
7312 </div> |
|
7313 |
|
7314 <div class="description"> |
|
7315 <p>This method performs the actual element move.</p> |
|
7316 </div> |
|
7317 |
|
7318 |
|
7319 |
|
7320 |
|
7321 |
|
7322 |
|
7323 </div> |
|
7324 |
|
7325 |
|
7326 <div id="method__normAttrVals" class="method item private inherited"> |
|
7327 <h3 class="name"><code>_normAttrVals</code></h3> |
|
7328 |
|
7329 |
|
7330 <div class="args"> |
|
7331 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7332 |
|
7333 <li class="arg"> |
|
7334 |
|
7335 <code>valueHash</code> |
|
7336 |
|
7337 </li> |
|
7338 |
|
7339 </ul><span class="paren">)</span> |
|
7340 </div> |
|
7341 |
|
7342 |
|
7343 |
|
7344 <span class="returns-inline"> |
|
7345 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7346 </span> |
|
7347 |
|
7348 |
|
7349 |
|
7350 |
|
7351 |
|
7352 <span class="flag private">private</span> |
|
7353 |
|
7354 |
|
7355 |
|
7356 |
|
7357 |
|
7358 |
|
7359 |
|
7360 |
|
7361 |
|
7362 |
|
7363 <div class="meta"> |
|
7364 |
|
7365 |
|
7366 <p>Inherited from |
|
7367 <a href="../classes/AttributeCore.html#method__normAttrVals">AttributeCore</a>: |
|
7368 |
|
7369 |
|
7370 |
|
7371 <a href="../files/attribute_js_AttributeCore.js.html#l897"><code>attribute/js/AttributeCore.js:897</code></a> |
|
7372 |
|
7373 </p> |
|
7374 |
|
7375 |
|
7376 |
|
7377 |
|
7378 |
|
7379 </div> |
|
7380 |
|
7381 <div class="description"> |
|
7382 <p>Utility method to normalize attribute values. The base implementation |
|
7383 simply merges the hash to protect the original.</p> |
|
7384 </div> |
|
7385 |
|
7386 |
|
7387 <div class="params"> |
|
7388 <h4>Parameters:</h4> |
|
7389 |
|
7390 <ul class="params-list"> |
|
7391 |
|
7392 <li class="param"> |
|
7393 |
|
7394 <code class="param-name">valueHash</code> |
|
7395 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7396 |
|
7397 |
|
7398 |
|
7399 |
|
7400 <div class="param-description"> |
|
7401 <p>An object with attribute name/value pairs</p> |
|
7402 </div> |
|
7403 |
|
7404 |
|
7405 </li> |
|
7406 |
|
7407 </ul> |
|
7408 </div> |
|
7409 |
|
7410 |
|
7411 |
|
7412 <div class="returns"> |
|
7413 <h4>Returns:</h4> |
|
7414 |
|
7415 <div class="returns-description"> |
|
7416 |
|
7417 |
|
7418 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
7419 |
|
7420 An object literal with 2 properties - "simple" and "complex", |
|
7421 containing simple and complex attribute values respectively keyed |
|
7422 by the top level attribute name, or null, if valueHash is falsey. |
|
7423 |
|
7424 </div> |
|
7425 </div> |
|
7426 |
|
7427 |
|
7428 |
|
7429 </div> |
|
7430 |
|
7431 |
|
7432 <div id="method__parseType" class="method item private inherited"> |
|
7433 <h3 class="name"><code>_parseType</code></h3> |
|
7434 |
|
7435 |
|
7436 <span class="paren">()</span> |
|
7437 |
|
7438 |
|
7439 |
|
7440 |
|
7441 |
|
7442 |
|
7443 |
|
7444 <span class="flag private">private</span> |
|
7445 |
|
7446 |
|
7447 |
|
7448 |
|
7449 |
|
7450 |
|
7451 |
|
7452 |
|
7453 |
|
7454 |
|
7455 <div class="meta"> |
|
7456 |
|
7457 |
|
7458 <p>Inherited from |
|
7459 <a href="../classes/EventTarget.html#method__parseType">EventTarget</a>: |
|
7460 |
|
7461 |
|
7462 |
|
7463 <a href="../files/event-custom_js_event-target.js.html#l52"><code>event-custom/js/event-target.js:52</code></a> |
|
7464 |
|
7465 </p> |
|
7466 |
|
7467 |
|
7468 |
|
7469 |
|
7470 |
|
7471 </div> |
|
7472 |
|
7473 <div class="description"> |
|
7474 <p>Returns an array with the detach key (if provided), |
|
7475 and the prefixed event name from _getType |
|
7476 Y.on('detachcategory| menu:click', fn)</p> |
|
7477 </div> |
|
7478 |
|
7479 |
|
7480 |
|
7481 |
|
7482 |
|
7483 |
|
7484 </div> |
|
7485 |
|
7486 |
|
7487 <div id="method__preInitEventCfg" class="method item private inherited"> |
|
7488 <h3 class="name"><code>_preInitEventCfg</code></h3> |
|
7489 |
|
7490 |
|
7491 <div class="args"> |
|
7492 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7493 |
|
7494 <li class="arg"> |
|
7495 |
|
7496 <code>config</code> |
|
7497 |
|
7498 </li> |
|
7499 |
|
7500 </ul><span class="paren">)</span> |
|
7501 </div> |
|
7502 |
|
7503 |
|
7504 |
|
7505 |
|
7506 |
|
7507 |
|
7508 |
|
7509 <span class="flag private">private</span> |
|
7510 |
|
7511 |
|
7512 |
|
7513 |
|
7514 |
|
7515 |
|
7516 |
|
7517 |
|
7518 |
|
7519 |
|
7520 <div class="meta"> |
|
7521 |
|
7522 |
|
7523 <p>Inherited from |
|
7524 <a href="../classes/BaseObservable.html#method__preInitEventCfg">BaseObservable</a>: |
|
7525 |
|
7526 |
|
7527 |
|
7528 <a href="../files/base_js_BaseObservable.js.html#l98"><code>base/js/BaseObservable.js:98</code></a> |
|
7529 |
|
7530 </p> |
|
7531 |
|
7532 |
|
7533 |
|
7534 |
|
7535 |
|
7536 </div> |
|
7537 |
|
7538 <div class="description"> |
|
7539 <p>Handles the special on, after and target properties which allow the user to |
|
7540 easily configure on and after listeners as well as bubble targets during |
|
7541 construction, prior to init.</p> |
|
7542 </div> |
|
7543 |
|
7544 |
|
7545 <div class="params"> |
|
7546 <h4>Parameters:</h4> |
|
7547 |
|
7548 <ul class="params-list"> |
|
7549 |
|
7550 <li class="param"> |
|
7551 |
|
7552 <code class="param-name">config</code> |
|
7553 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7554 |
|
7555 |
|
7556 |
|
7557 |
|
7558 <div class="param-description"> |
|
7559 <p>The user configuration object</p> |
|
7560 </div> |
|
7561 |
|
7562 |
|
7563 </li> |
|
7564 |
|
7565 </ul> |
|
7566 </div> |
|
7567 |
|
7568 |
|
7569 |
|
7570 |
|
7571 |
|
7572 </div> |
|
7573 |
|
7574 |
|
7575 <div id="method__prep" class="method item private inherited"> |
|
7576 <h3 class="name"><code>_prep</code></h3> |
|
7577 |
|
7578 |
|
7579 <span class="paren">()</span> |
|
7580 |
|
7581 |
|
7582 |
|
7583 |
|
7584 |
|
7585 |
|
7586 |
|
7587 <span class="flag private">private</span> |
|
7588 |
|
7589 |
|
7590 |
|
7591 |
|
7592 |
|
7593 |
|
7594 |
|
7595 |
|
7596 |
|
7597 |
|
7598 <div class="meta"> |
|
7599 |
|
7600 |
|
7601 <p>Inherited from |
|
7602 <a href="../classes/DD.Drag.html#method__prep">DD.Drag</a>: |
|
7603 |
|
7604 |
|
7605 |
|
7606 <a href="../files/dd_js_drag.js.html#l996"><code>dd/js/drag.js:996</code></a> |
|
7607 |
|
7608 </p> |
|
7609 |
|
7610 |
|
7611 |
|
7612 |
|
7613 |
|
7614 </div> |
|
7615 |
|
7616 <div class="description"> |
|
7617 <p>Attach event listners and add classname</p> |
|
7618 </div> |
|
7619 |
|
7620 |
|
7621 |
|
7622 |
|
7623 |
|
7624 |
|
7625 </div> |
|
7626 |
|
7627 |
|
7628 <div id="method__prevEndFn" class="method item private inherited"> |
|
7629 <h3 class="name"><code>_prevEndFn</code></h3> |
|
7630 |
|
7631 |
|
7632 <span class="paren">()</span> |
|
7633 |
|
7634 |
|
7635 |
|
7636 |
|
7637 |
|
7638 |
|
7639 |
|
7640 <span class="flag private">private</span> |
|
7641 |
|
7642 |
|
7643 |
|
7644 |
|
7645 |
|
7646 |
|
7647 |
|
7648 |
|
7649 |
|
7650 |
|
7651 <div class="meta"> |
|
7652 |
|
7653 |
|
7654 <p>Inherited from |
|
7655 <a href="../classes/DD.Drag.html#method__prevEndFn">DD.Drag</a>: |
|
7656 |
|
7657 |
|
7658 |
|
7659 <a href="../files/dd_js_drag.js.html#l1106"><code>dd/js/drag.js:1106</code></a> |
|
7660 |
|
7661 </p> |
|
7662 |
|
7663 |
|
7664 |
|
7665 |
|
7666 |
|
7667 </div> |
|
7668 |
|
7669 <div class="description"> |
|
7670 <p>Handler for preventing the drag:end event. It will reset the node back to it's start position</p> |
|
7671 </div> |
|
7672 |
|
7673 |
|
7674 |
|
7675 |
|
7676 |
|
7677 |
|
7678 </div> |
|
7679 |
|
7680 |
|
7681 <div id="method__protectAttrs" class="method item protected deprecated inherited"> |
|
7682 <h3 class="name"><code>_protectAttrs</code></h3> |
|
7683 |
|
7684 |
|
7685 <div class="args"> |
|
7686 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7687 |
|
7688 <li class="arg"> |
|
7689 |
|
7690 <code>attrs</code> |
|
7691 |
|
7692 </li> |
|
7693 |
|
7694 </ul><span class="paren">)</span> |
|
7695 </div> |
|
7696 |
|
7697 |
|
7698 |
|
7699 <span class="returns-inline"> |
|
7700 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7701 </span> |
|
7702 |
|
7703 |
|
7704 |
|
7705 <span class="flag deprecated" title="Use `AttributeCore.protectAttrs()` or |
|
7706 `Attribute.protectAttrs()` which are the same static utility method.">deprecated</span> |
|
7707 |
|
7708 |
|
7709 |
|
7710 <span class="flag protected">protected</span> |
|
7711 |
|
7712 |
|
7713 |
|
7714 |
|
7715 |
|
7716 |
|
7717 |
|
7718 |
|
7719 |
|
7720 |
|
7721 <div class="meta"> |
|
7722 |
|
7723 |
|
7724 <p>Inherited from |
|
7725 <a href="../classes/AttributeCore.html#method__protectAttrs">AttributeCore</a>: |
|
7726 |
|
7727 |
|
7728 |
|
7729 <a href="../files/attribute_js_AttributeCore.js.html#l883"><code>attribute/js/AttributeCore.js:883</code></a> |
|
7730 |
|
7731 </p> |
|
7732 |
|
7733 |
|
7734 |
|
7735 <p>Deprecated: Use `AttributeCore.protectAttrs()` or |
|
7736 `Attribute.protectAttrs()` which are the same static utility method.</p> |
|
7737 |
|
7738 |
|
7739 |
|
7740 </div> |
|
7741 |
|
7742 <div class="description"> |
|
7743 <p>Utility method to protect an attribute configuration |
|
7744 hash, by merging the entire object and the individual |
|
7745 attr config objects.</p> |
|
7746 </div> |
|
7747 |
|
7748 |
|
7749 <div class="params"> |
|
7750 <h4>Parameters:</h4> |
|
7751 |
|
7752 <ul class="params-list"> |
|
7753 |
|
7754 <li class="param"> |
|
7755 |
|
7756 <code class="param-name">attrs</code> |
|
7757 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7758 |
|
7759 |
|
7760 |
|
7761 |
|
7762 <div class="param-description"> |
|
7763 <p>A hash of attribute to configuration object pairs.</p> |
|
7764 </div> |
|
7765 |
|
7766 |
|
7767 </li> |
|
7768 |
|
7769 </ul> |
|
7770 </div> |
|
7771 |
|
7772 |
|
7773 |
|
7774 <div class="returns"> |
|
7775 <h4>Returns:</h4> |
|
7776 |
|
7777 <div class="returns-description"> |
|
7778 |
|
7779 |
|
7780 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
7781 |
|
7782 A protected version of the attrs argument. |
|
7783 |
|
7784 </div> |
|
7785 </div> |
|
7786 |
|
7787 |
|
7788 |
|
7789 </div> |
|
7790 |
|
7791 |
|
7792 <div id="method__publish" class="method item private inherited"> |
|
7793 <h3 class="name"><code>_publish</code></h3> |
|
7794 |
|
7795 |
|
7796 <div class="args"> |
|
7797 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7798 |
|
7799 <li class="arg"> |
|
7800 |
|
7801 <code>fullType</code> |
|
7802 |
|
7803 </li> |
|
7804 |
|
7805 <li class="arg"> |
|
7806 |
|
7807 <code>etOpts</code> |
|
7808 |
|
7809 </li> |
|
7810 |
|
7811 <li class="arg"> |
|
7812 |
|
7813 <code>ceOpts</code> |
|
7814 |
|
7815 </li> |
|
7816 |
|
7817 </ul><span class="paren">)</span> |
|
7818 </div> |
|
7819 |
|
7820 |
|
7821 |
|
7822 <span class="returns-inline"> |
|
7823 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
7824 </span> |
|
7825 |
|
7826 |
|
7827 |
|
7828 |
|
7829 |
|
7830 <span class="flag private">private</span> |
|
7831 |
|
7832 |
|
7833 |
|
7834 |
|
7835 |
|
7836 |
|
7837 |
|
7838 |
|
7839 |
|
7840 |
|
7841 <div class="meta"> |
|
7842 |
|
7843 |
|
7844 <p>Inherited from |
|
7845 <a href="../classes/EventTarget.html#method__publish">EventTarget</a>: |
|
7846 |
|
7847 |
|
7848 |
|
7849 <a href="../files/event-custom_js_event-target.js.html#l610"><code>event-custom/js/event-target.js:610</code></a> |
|
7850 |
|
7851 </p> |
|
7852 |
|
7853 |
|
7854 |
|
7855 |
|
7856 |
|
7857 </div> |
|
7858 |
|
7859 <div class="description"> |
|
7860 <p>The low level event publish implementation. It expects all the massaging to have been done |
|
7861 outside of this method. e.g. the <code>type</code> to <code>fullType</code> conversion. It's designed to be a fast |
|
7862 path publish, which can be used by critical code paths to improve performance.</p> |
|
7863 </div> |
|
7864 |
|
7865 |
|
7866 <div class="params"> |
|
7867 <h4>Parameters:</h4> |
|
7868 |
|
7869 <ul class="params-list"> |
|
7870 |
|
7871 <li class="param"> |
|
7872 |
|
7873 <code class="param-name">fullType</code> |
|
7874 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7875 |
|
7876 |
|
7877 |
|
7878 |
|
7879 <div class="param-description"> |
|
7880 <p>The prefixed type of the event to publish.</p> |
|
7881 </div> |
|
7882 |
|
7883 |
|
7884 </li> |
|
7885 |
|
7886 <li class="param"> |
|
7887 |
|
7888 <code class="param-name">etOpts</code> |
|
7889 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7890 |
|
7891 |
|
7892 |
|
7893 |
|
7894 <div class="param-description"> |
|
7895 <p>The EventTarget specific configuration to mix into the published event.</p> |
|
7896 </div> |
|
7897 |
|
7898 |
|
7899 </li> |
|
7900 |
|
7901 <li class="param"> |
|
7902 |
|
7903 <code class="param-name">ceOpts</code> |
|
7904 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7905 |
|
7906 |
|
7907 |
|
7908 |
|
7909 <div class="param-description"> |
|
7910 <p>The publish specific configuration to mix into the published event.</p> |
|
7911 </div> |
|
7912 |
|
7913 |
|
7914 </li> |
|
7915 |
|
7916 </ul> |
|
7917 </div> |
|
7918 |
|
7919 |
|
7920 |
|
7921 <div class="returns"> |
|
7922 <h4>Returns:</h4> |
|
7923 |
|
7924 <div class="returns-description"> |
|
7925 |
|
7926 |
|
7927 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>: |
|
7928 |
|
7929 The published event. If called without <code>etOpts</code> or <code>ceOpts</code>, this will |
|
7930 be the default <code>CustomEvent</code> instance, and can be configured independently. |
|
7931 |
|
7932 </div> |
|
7933 </div> |
|
7934 |
|
7935 |
|
7936 |
|
7937 </div> |
|
7938 |
|
7939 |
|
7940 <div id="method__removeWidgetListeners" class="method item private"> |
|
7941 <h3 class="name"><code>_removeWidgetListeners</code></h3> |
|
7942 |
|
7943 |
|
7944 <span class="paren">()</span> |
|
7945 |
|
7946 |
|
7947 |
|
7948 |
|
7949 |
|
7950 |
|
7951 |
|
7952 <span class="flag private">private</span> |
|
7953 |
|
7954 |
|
7955 |
|
7956 |
|
7957 |
|
7958 |
|
7959 |
|
7960 |
|
7961 |
|
7962 |
|
7963 <div class="meta"> |
|
7964 |
|
7965 |
|
7966 |
|
7967 <p> |
|
7968 |
|
7969 Defined in |
|
7970 |
|
7971 |
|
7972 |
|
7973 |
|
7974 <a href="../files/dd_js_dd-plugin.js.html#l105"><code>dd/js/dd-plugin.js:105</code></a> |
|
7975 |
|
7976 </p> |
|
7977 |
|
7978 |
|
7979 |
|
7980 |
|
7981 |
|
7982 </div> |
|
7983 |
|
7984 <div class="description"> |
|
7985 <p>Remove the attached widget listeners</p> |
|
7986 </div> |
|
7987 |
|
7988 |
|
7989 |
|
7990 |
|
7991 |
|
7992 |
|
7993 </div> |
|
7994 |
|
7995 |
|
7996 <div id="method__set" class="method item protected inherited"> |
|
7997 <h3 class="name"><code>_set</code></h3> |
|
7998 |
|
7999 |
|
8000 <div class="args"> |
|
8001 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8002 |
|
8003 <li class="arg"> |
|
8004 |
|
8005 <code>name</code> |
|
8006 |
|
8007 </li> |
|
8008 |
|
8009 <li class="arg"> |
|
8010 |
|
8011 <code>val</code> |
|
8012 |
|
8013 </li> |
|
8014 |
|
8015 <li class="arg"> |
|
8016 |
|
8017 <code class="optional">[opts]</code> |
|
8018 |
|
8019 </li> |
|
8020 |
|
8021 </ul><span class="paren">)</span> |
|
8022 </div> |
|
8023 |
|
8024 |
|
8025 |
|
8026 <span class="returns-inline"> |
|
8027 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8028 </span> |
|
8029 |
|
8030 |
|
8031 |
|
8032 |
|
8033 |
|
8034 <span class="flag protected">protected</span> |
|
8035 |
|
8036 |
|
8037 |
|
8038 |
|
8039 |
|
8040 |
|
8041 |
|
8042 <span class="flag chainable">chainable</span> |
|
8043 |
|
8044 |
|
8045 |
|
8046 |
|
8047 <div class="meta"> |
|
8048 |
|
8049 <p>Inherited from |
|
8050 <a href="../classes/AttributeObservable.html#method__set"> |
|
8051 AttributeObservable |
|
8052 </a> |
|
8053 |
|
8054 but overwritten in |
|
8055 |
|
8056 |
|
8057 |
|
8058 <a href="../files/attribute_js_AttributeCore.js.html#l427"><code>attribute/js/AttributeCore.js:427</code></a> |
|
8059 |
|
8060 </p> |
|
8061 |
|
8062 |
|
8063 |
|
8064 |
|
8065 |
|
8066 </div> |
|
8067 |
|
8068 <div class="description"> |
|
8069 <p>Allows setting of readOnly/writeOnce attributes. See <a href="#method_set">set</a> for argument details.</p> |
|
8070 </div> |
|
8071 |
|
8072 |
|
8073 <div class="params"> |
|
8074 <h4>Parameters:</h4> |
|
8075 |
|
8076 <ul class="params-list"> |
|
8077 |
|
8078 <li class="param"> |
|
8079 |
|
8080 <code class="param-name">name</code> |
|
8081 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8082 |
|
8083 |
|
8084 |
|
8085 |
|
8086 <div class="param-description"> |
|
8087 <p>The name of the attribute.</p> |
|
8088 </div> |
|
8089 |
|
8090 |
|
8091 </li> |
|
8092 |
|
8093 <li class="param"> |
|
8094 |
|
8095 <code class="param-name">val</code> |
|
8096 <span class="type">Any</span> |
|
8097 |
|
8098 |
|
8099 |
|
8100 |
|
8101 <div class="param-description"> |
|
8102 <p>The value to set the attribute to.</p> |
|
8103 </div> |
|
8104 |
|
8105 |
|
8106 </li> |
|
8107 |
|
8108 <li class="param"> |
|
8109 |
|
8110 <code class="param-name optional">[opts]</code> |
|
8111 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8112 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
8113 |
|
8114 |
|
8115 |
|
8116 |
|
8117 <div class="param-description"> |
|
8118 <p>Optional data providing the circumstances for the change.</p> |
|
8119 </div> |
|
8120 |
|
8121 |
|
8122 </li> |
|
8123 |
|
8124 </ul> |
|
8125 </div> |
|
8126 |
|
8127 |
|
8128 |
|
8129 <div class="returns"> |
|
8130 <h4>Returns:</h4> |
|
8131 |
|
8132 <div class="returns-description"> |
|
8133 |
|
8134 |
|
8135 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
8136 |
|
8137 A reference to the host object. |
|
8138 |
|
8139 </div> |
|
8140 </div> |
|
8141 |
|
8142 |
|
8143 |
|
8144 </div> |
|
8145 |
|
8146 |
|
8147 <div id="method__setAttr" class="method item protected inherited"> |
|
8148 <h3 class="name"><code>_setAttr</code></h3> |
|
8149 |
|
8150 |
|
8151 <div class="args"> |
|
8152 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8153 |
|
8154 <li class="arg"> |
|
8155 |
|
8156 <code>name</code> |
|
8157 |
|
8158 </li> |
|
8159 |
|
8160 <li class="arg"> |
|
8161 |
|
8162 <code>value</code> |
|
8163 |
|
8164 </li> |
|
8165 |
|
8166 <li class="arg"> |
|
8167 |
|
8168 <code class="optional">[opts]</code> |
|
8169 |
|
8170 </li> |
|
8171 |
|
8172 <li class="arg"> |
|
8173 |
|
8174 <code>force</code> |
|
8175 |
|
8176 </li> |
|
8177 |
|
8178 </ul><span class="paren">)</span> |
|
8179 </div> |
|
8180 |
|
8181 |
|
8182 |
|
8183 <span class="returns-inline"> |
|
8184 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8185 </span> |
|
8186 |
|
8187 |
|
8188 |
|
8189 |
|
8190 |
|
8191 <span class="flag protected">protected</span> |
|
8192 |
|
8193 |
|
8194 |
|
8195 |
|
8196 |
|
8197 |
|
8198 |
|
8199 <span class="flag chainable">chainable</span> |
|
8200 |
|
8201 |
|
8202 |
|
8203 |
|
8204 <div class="meta"> |
|
8205 |
|
8206 |
|
8207 <p>Inherited from |
|
8208 <a href="../classes/AttributeCore.html#method__setAttr">AttributeCore</a>: |
|
8209 |
|
8210 |
|
8211 |
|
8212 <a href="../files/attribute_js_AttributeCore.js.html#l443"><code>attribute/js/AttributeCore.js:443</code></a> |
|
8213 |
|
8214 </p> |
|
8215 |
|
8216 |
|
8217 |
|
8218 |
|
8219 |
|
8220 </div> |
|
8221 |
|
8222 <div class="description"> |
|
8223 <p>Provides the common implementation for the public set and protected _set methods.</p> |
|
8224 |
|
8225 <p>See <a href="#method_set">set</a> for argument details.</p> |
|
8226 </div> |
|
8227 |
|
8228 |
|
8229 <div class="params"> |
|
8230 <h4>Parameters:</h4> |
|
8231 |
|
8232 <ul class="params-list"> |
|
8233 |
|
8234 <li class="param"> |
|
8235 |
|
8236 <code class="param-name">name</code> |
|
8237 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8238 |
|
8239 |
|
8240 |
|
8241 |
|
8242 <div class="param-description"> |
|
8243 <p>The name of the attribute.</p> |
|
8244 </div> |
|
8245 |
|
8246 |
|
8247 </li> |
|
8248 |
|
8249 <li class="param"> |
|
8250 |
|
8251 <code class="param-name">value</code> |
|
8252 <span class="type">Any</span> |
|
8253 |
|
8254 |
|
8255 |
|
8256 |
|
8257 <div class="param-description"> |
|
8258 <p>The value to set the attribute to.</p> |
|
8259 </div> |
|
8260 |
|
8261 |
|
8262 </li> |
|
8263 |
|
8264 <li class="param"> |
|
8265 |
|
8266 <code class="param-name optional">[opts]</code> |
|
8267 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8268 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
8269 |
|
8270 |
|
8271 |
|
8272 |
|
8273 <div class="param-description"> |
|
8274 <p>Optional data providing the circumstances for the change.</p> |
|
8275 </div> |
|
8276 |
|
8277 |
|
8278 </li> |
|
8279 |
|
8280 <li class="param"> |
|
8281 |
|
8282 <code class="param-name">force</code> |
|
8283 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
8284 |
|
8285 |
|
8286 |
|
8287 |
|
8288 <div class="param-description"> |
|
8289 <p>If true, allows the caller to set values for |
|
8290 readOnly or writeOnce attributes which have already been set.</p> |
|
8291 </div> |
|
8292 |
|
8293 |
|
8294 </li> |
|
8295 |
|
8296 </ul> |
|
8297 </div> |
|
8298 |
|
8299 |
|
8300 |
|
8301 <div class="returns"> |
|
8302 <h4>Returns:</h4> |
|
8303 |
|
8304 <div class="returns-description"> |
|
8305 |
|
8306 |
|
8307 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
8308 |
|
8309 A reference to the host object. |
|
8310 |
|
8311 </div> |
|
8312 </div> |
|
8313 |
|
8314 |
|
8315 |
|
8316 </div> |
|
8317 |
|
8318 |
|
8319 <div id="method__setAttrs" class="method item protected inherited"> |
|
8320 <h3 class="name"><code>_setAttrs</code></h3> |
|
8321 |
|
8322 |
|
8323 <div class="args"> |
|
8324 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8325 |
|
8326 <li class="arg"> |
|
8327 |
|
8328 <code>attrs</code> |
|
8329 |
|
8330 </li> |
|
8331 |
|
8332 <li class="arg"> |
|
8333 |
|
8334 <code class="optional">[opts]</code> |
|
8335 |
|
8336 </li> |
|
8337 |
|
8338 </ul><span class="paren">)</span> |
|
8339 </div> |
|
8340 |
|
8341 |
|
8342 |
|
8343 <span class="returns-inline"> |
|
8344 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8345 </span> |
|
8346 |
|
8347 |
|
8348 |
|
8349 |
|
8350 |
|
8351 <span class="flag protected">protected</span> |
|
8352 |
|
8353 |
|
8354 |
|
8355 |
|
8356 |
|
8357 |
|
8358 |
|
8359 <span class="flag chainable">chainable</span> |
|
8360 |
|
8361 |
|
8362 |
|
8363 |
|
8364 <div class="meta"> |
|
8365 |
|
8366 <p>Inherited from |
|
8367 <a href="../classes/AttributeObservable.html#method__setAttrs"> |
|
8368 AttributeObservable |
|
8369 </a> |
|
8370 |
|
8371 but overwritten in |
|
8372 |
|
8373 |
|
8374 |
|
8375 <a href="../files/attribute_js_AttributeCore.js.html#l742"><code>attribute/js/AttributeCore.js:742</code></a> |
|
8376 |
|
8377 </p> |
|
8378 |
|
8379 |
|
8380 |
|
8381 |
|
8382 |
|
8383 </div> |
|
8384 |
|
8385 <div class="description"> |
|
8386 <p>Implementation behind the public setAttrs method, to set multiple attribute values.</p> |
|
8387 </div> |
|
8388 |
|
8389 |
|
8390 <div class="params"> |
|
8391 <h4>Parameters:</h4> |
|
8392 |
|
8393 <ul class="params-list"> |
|
8394 |
|
8395 <li class="param"> |
|
8396 |
|
8397 <code class="param-name">attrs</code> |
|
8398 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8399 |
|
8400 |
|
8401 |
|
8402 |
|
8403 <div class="param-description"> |
|
8404 <p>An object with attributes name/value pairs.</p> |
|
8405 </div> |
|
8406 |
|
8407 |
|
8408 </li> |
|
8409 |
|
8410 <li class="param"> |
|
8411 |
|
8412 <code class="param-name optional">[opts]</code> |
|
8413 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8414 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
8415 |
|
8416 |
|
8417 |
|
8418 |
|
8419 <div class="param-description"> |
|
8420 <p>Optional data providing the circumstances for the change</p> |
|
8421 </div> |
|
8422 |
|
8423 |
|
8424 </li> |
|
8425 |
|
8426 </ul> |
|
8427 </div> |
|
8428 |
|
8429 |
|
8430 |
|
8431 <div class="returns"> |
|
8432 <h4>Returns:</h4> |
|
8433 |
|
8434 <div class="returns-description"> |
|
8435 |
|
8436 |
|
8437 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
8438 |
|
8439 A reference to the host object. |
|
8440 |
|
8441 </div> |
|
8442 </div> |
|
8443 |
|
8444 |
|
8445 |
|
8446 </div> |
|
8447 |
|
8448 |
|
8449 <div id="method__setAttrVal" class="method item private inherited"> |
|
8450 <h3 class="name"><code>_setAttrVal</code></h3> |
|
8451 |
|
8452 |
|
8453 <div class="args"> |
|
8454 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8455 |
|
8456 <li class="arg"> |
|
8457 |
|
8458 <code>attrName</code> |
|
8459 |
|
8460 </li> |
|
8461 |
|
8462 <li class="arg"> |
|
8463 |
|
8464 <code>subAttrName</code> |
|
8465 |
|
8466 </li> |
|
8467 |
|
8468 <li class="arg"> |
|
8469 |
|
8470 <code>prevVal</code> |
|
8471 |
|
8472 </li> |
|
8473 |
|
8474 <li class="arg"> |
|
8475 |
|
8476 <code>newVal</code> |
|
8477 |
|
8478 </li> |
|
8479 |
|
8480 <li class="arg"> |
|
8481 |
|
8482 <code class="optional">[opts]</code> |
|
8483 |
|
8484 </li> |
|
8485 |
|
8486 <li class="arg"> |
|
8487 |
|
8488 <code class="optional">[attrCfg]</code> |
|
8489 |
|
8490 </li> |
|
8491 |
|
8492 </ul><span class="paren">)</span> |
|
8493 </div> |
|
8494 |
|
8495 |
|
8496 |
|
8497 <span class="returns-inline"> |
|
8498 <span class="type">Booolean</span> |
|
8499 </span> |
|
8500 |
|
8501 |
|
8502 |
|
8503 |
|
8504 |
|
8505 <span class="flag private">private</span> |
|
8506 |
|
8507 |
|
8508 |
|
8509 |
|
8510 |
|
8511 |
|
8512 |
|
8513 |
|
8514 |
|
8515 |
|
8516 <div class="meta"> |
|
8517 |
|
8518 |
|
8519 <p>Inherited from |
|
8520 <a href="../classes/AttributeCore.html#method__setAttrVal">AttributeCore</a>: |
|
8521 |
|
8522 |
|
8523 |
|
8524 <a href="../files/attribute_js_AttributeCore.js.html#l640"><code>attribute/js/AttributeCore.js:640</code></a> |
|
8525 |
|
8526 </p> |
|
8527 |
|
8528 |
|
8529 |
|
8530 |
|
8531 |
|
8532 </div> |
|
8533 |
|
8534 <div class="description"> |
|
8535 <p>Updates the stored value of the attribute in the privately held State object, |
|
8536 if validation and setter passes.</p> |
|
8537 </div> |
|
8538 |
|
8539 |
|
8540 <div class="params"> |
|
8541 <h4>Parameters:</h4> |
|
8542 |
|
8543 <ul class="params-list"> |
|
8544 |
|
8545 <li class="param"> |
|
8546 |
|
8547 <code class="param-name">attrName</code> |
|
8548 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8549 |
|
8550 |
|
8551 |
|
8552 |
|
8553 <div class="param-description"> |
|
8554 <p>The attribute name.</p> |
|
8555 </div> |
|
8556 |
|
8557 |
|
8558 </li> |
|
8559 |
|
8560 <li class="param"> |
|
8561 |
|
8562 <code class="param-name">subAttrName</code> |
|
8563 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8564 |
|
8565 |
|
8566 |
|
8567 |
|
8568 <div class="param-description"> |
|
8569 <p>The sub-attribute name, if setting a sub-attribute property ("x.y.z").</p> |
|
8570 </div> |
|
8571 |
|
8572 |
|
8573 </li> |
|
8574 |
|
8575 <li class="param"> |
|
8576 |
|
8577 <code class="param-name">prevVal</code> |
|
8578 <span class="type">Any</span> |
|
8579 |
|
8580 |
|
8581 |
|
8582 |
|
8583 <div class="param-description"> |
|
8584 <p>The currently stored value of the attribute.</p> |
|
8585 </div> |
|
8586 |
|
8587 |
|
8588 </li> |
|
8589 |
|
8590 <li class="param"> |
|
8591 |
|
8592 <code class="param-name">newVal</code> |
|
8593 <span class="type">Any</span> |
|
8594 |
|
8595 |
|
8596 |
|
8597 |
|
8598 <div class="param-description"> |
|
8599 <p>The value which is going to be stored.</p> |
|
8600 </div> |
|
8601 |
|
8602 |
|
8603 </li> |
|
8604 |
|
8605 <li class="param"> |
|
8606 |
|
8607 <code class="param-name optional">[opts]</code> |
|
8608 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8609 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
8610 |
|
8611 |
|
8612 |
|
8613 |
|
8614 <div class="param-description"> |
|
8615 <p>Optional data providing the circumstances for the change.</p> |
|
8616 </div> |
|
8617 |
|
8618 |
|
8619 </li> |
|
8620 |
|
8621 <li class="param"> |
|
8622 |
|
8623 <code class="param-name optional">[attrCfg]</code> |
|
8624 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8625 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
8626 |
|
8627 |
|
8628 |
|
8629 |
|
8630 <div class="param-description"> |
|
8631 <p>Optional config hash for the attribute. This is added for performance along the critical path, |
|
8632 where the calling method has already obtained the config from state.</p> |
|
8633 </div> |
|
8634 |
|
8635 |
|
8636 </li> |
|
8637 |
|
8638 </ul> |
|
8639 </div> |
|
8640 |
|
8641 |
|
8642 |
|
8643 <div class="returns"> |
|
8644 <h4>Returns:</h4> |
|
8645 |
|
8646 <div class="returns-description"> |
|
8647 |
|
8648 |
|
8649 <span class="type">Booolean</span>: |
|
8650 |
|
8651 true if the new attribute value was stored, false if not. |
|
8652 |
|
8653 </div> |
|
8654 </div> |
|
8655 |
|
8656 |
|
8657 |
|
8658 </div> |
|
8659 |
|
8660 |
|
8661 <div id="method__setStartPosition" class="method item private inherited"> |
|
8662 <h3 class="name"><code>_setStartPosition</code></h3> |
|
8663 |
|
8664 |
|
8665 <div class="args"> |
|
8666 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8667 |
|
8668 <li class="arg"> |
|
8669 |
|
8670 <code>xy</code> |
|
8671 |
|
8672 </li> |
|
8673 |
|
8674 </ul><span class="paren">)</span> |
|
8675 </div> |
|
8676 |
|
8677 |
|
8678 |
|
8679 |
|
8680 |
|
8681 |
|
8682 |
|
8683 <span class="flag private">private</span> |
|
8684 |
|
8685 |
|
8686 |
|
8687 |
|
8688 |
|
8689 |
|
8690 |
|
8691 |
|
8692 |
|
8693 |
|
8694 <div class="meta"> |
|
8695 |
|
8696 |
|
8697 <p>Inherited from |
|
8698 <a href="../classes/DD.Drag.html#method__setStartPosition">DD.Drag</a>: |
|
8699 |
|
8700 |
|
8701 |
|
8702 <a href="../files/dd_js_drag.js.html#l870"><code>dd/js/drag.js:870</code></a> |
|
8703 |
|
8704 </p> |
|
8705 |
|
8706 |
|
8707 |
|
8708 |
|
8709 |
|
8710 </div> |
|
8711 |
|
8712 <div class="description"> |
|
8713 <p>Sets the current position of the Element and calculates the offset</p> |
|
8714 </div> |
|
8715 |
|
8716 |
|
8717 <div class="params"> |
|
8718 <h4>Parameters:</h4> |
|
8719 |
|
8720 <ul class="params-list"> |
|
8721 |
|
8722 <li class="param"> |
|
8723 |
|
8724 <code class="param-name">xy</code> |
|
8725 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
8726 |
|
8727 |
|
8728 |
|
8729 |
|
8730 <div class="param-description"> |
|
8731 <p>The XY coords to set the position to.</p> |
|
8732 </div> |
|
8733 |
|
8734 |
|
8735 </li> |
|
8736 |
|
8737 </ul> |
|
8738 </div> |
|
8739 |
|
8740 |
|
8741 |
|
8742 |
|
8743 |
|
8744 </div> |
|
8745 |
|
8746 |
|
8747 <div id="method__setStateVal" class="method item private inherited"> |
|
8748 <h3 class="name"><code>_setStateVal</code></h3> |
|
8749 |
|
8750 |
|
8751 <div class="args"> |
|
8752 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8753 |
|
8754 <li class="arg"> |
|
8755 |
|
8756 <code>name</code> |
|
8757 |
|
8758 </li> |
|
8759 |
|
8760 <li class="arg"> |
|
8761 |
|
8762 <code>value</code> |
|
8763 |
|
8764 </li> |
|
8765 |
|
8766 </ul><span class="paren">)</span> |
|
8767 </div> |
|
8768 |
|
8769 |
|
8770 |
|
8771 |
|
8772 |
|
8773 |
|
8774 |
|
8775 <span class="flag private">private</span> |
|
8776 |
|
8777 |
|
8778 |
|
8779 |
|
8780 |
|
8781 |
|
8782 |
|
8783 |
|
8784 |
|
8785 |
|
8786 <div class="meta"> |
|
8787 |
|
8788 |
|
8789 <p>Inherited from |
|
8790 <a href="../classes/AttributeCore.html#method__setStateVal">AttributeCore</a>: |
|
8791 |
|
8792 |
|
8793 |
|
8794 <a href="../files/attribute_js_AttributeCore.js.html#l622"><code>attribute/js/AttributeCore.js:622</code></a> |
|
8795 |
|
8796 </p> |
|
8797 |
|
8798 |
|
8799 |
|
8800 |
|
8801 |
|
8802 </div> |
|
8803 |
|
8804 <div class="description"> |
|
8805 <p>Sets the stored value for the attribute, in either the |
|
8806 internal state object, or the state proxy if it exits</p> |
|
8807 </div> |
|
8808 |
|
8809 |
|
8810 <div class="params"> |
|
8811 <h4>Parameters:</h4> |
|
8812 |
|
8813 <ul class="params-list"> |
|
8814 |
|
8815 <li class="param"> |
|
8816 |
|
8817 <code class="param-name">name</code> |
|
8818 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8819 |
|
8820 |
|
8821 |
|
8822 |
|
8823 <div class="param-description"> |
|
8824 <p>The name of the attribute</p> |
|
8825 </div> |
|
8826 |
|
8827 |
|
8828 </li> |
|
8829 |
|
8830 <li class="param"> |
|
8831 |
|
8832 <code class="param-name">value</code> |
|
8833 <span class="type">Any</span> |
|
8834 |
|
8835 |
|
8836 |
|
8837 |
|
8838 <div class="param-description"> |
|
8839 <p>The value of the attribute</p> |
|
8840 </div> |
|
8841 |
|
8842 |
|
8843 </li> |
|
8844 |
|
8845 </ul> |
|
8846 </div> |
|
8847 |
|
8848 |
|
8849 |
|
8850 |
|
8851 |
|
8852 </div> |
|
8853 |
|
8854 |
|
8855 <div id="method__timeoutCheck" class="method item private inherited"> |
|
8856 <h3 class="name"><code>_timeoutCheck</code></h3> |
|
8857 |
|
8858 |
|
8859 <span class="paren">()</span> |
|
8860 |
|
8861 |
|
8862 |
|
8863 |
|
8864 |
|
8865 |
|
8866 |
|
8867 <span class="flag private">private</span> |
|
8868 |
|
8869 |
|
8870 |
|
8871 |
|
8872 |
|
8873 |
|
8874 |
|
8875 |
|
8876 |
|
8877 |
|
8878 <div class="meta"> |
|
8879 |
|
8880 |
|
8881 <p>Inherited from |
|
8882 <a href="../classes/DD.Drag.html#method__timeoutCheck">DD.Drag</a>: |
|
8883 |
|
8884 |
|
8885 |
|
8886 <a href="../files/dd_js_drag.js.html#l887"><code>dd/js/drag.js:887</code></a> |
|
8887 |
|
8888 </p> |
|
8889 |
|
8890 |
|
8891 |
|
8892 |
|
8893 |
|
8894 </div> |
|
8895 |
|
8896 <div class="description"> |
|
8897 <p>The method passed to setTimeout to determine if the clickTimeThreshold was met.</p> |
|
8898 </div> |
|
8899 |
|
8900 |
|
8901 |
|
8902 |
|
8903 |
|
8904 |
|
8905 </div> |
|
8906 |
|
8907 |
|
8908 <div id="method__unprep" class="method item private inherited"> |
|
8909 <h3 class="name"><code>_unprep</code></h3> |
|
8910 |
|
8911 |
|
8912 <span class="paren">()</span> |
|
8913 |
|
8914 |
|
8915 |
|
8916 |
|
8917 |
|
8918 |
|
8919 |
|
8920 <span class="flag private">private</span> |
|
8921 |
|
8922 |
|
8923 |
|
8924 |
|
8925 |
|
8926 |
|
8927 |
|
8928 |
|
8929 |
|
8930 |
|
8931 <div class="meta"> |
|
8932 |
|
8933 |
|
8934 <p>Inherited from |
|
8935 <a href="../classes/DD.Drag.html#method__unprep">DD.Drag</a>: |
|
8936 |
|
8937 |
|
8938 |
|
8939 <a href="../files/dd_js_drag.js.html#l1009"><code>dd/js/drag.js:1009</code></a> |
|
8940 |
|
8941 </p> |
|
8942 |
|
8943 |
|
8944 |
|
8945 |
|
8946 |
|
8947 </div> |
|
8948 |
|
8949 <div class="description"> |
|
8950 <p>Detach event listeners and remove classname</p> |
|
8951 </div> |
|
8952 |
|
8953 |
|
8954 |
|
8955 |
|
8956 |
|
8957 |
|
8958 </div> |
|
8959 |
|
8960 |
|
8961 <div id="method__updateStopPosition" class="method item private"> |
|
8962 <h3 class="name"><code>_updateStopPosition</code></h3> |
|
8963 |
|
8964 |
|
8965 <div class="args"> |
|
8966 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8967 |
|
8968 <li class="arg"> |
|
8969 |
|
8970 <code>e</code> |
|
8971 |
|
8972 </li> |
|
8973 |
|
8974 </ul><span class="paren">)</span> |
|
8975 </div> |
|
8976 |
|
8977 |
|
8978 |
|
8979 |
|
8980 |
|
8981 |
|
8982 |
|
8983 <span class="flag private">private</span> |
|
8984 |
|
8985 |
|
8986 |
|
8987 |
|
8988 |
|
8989 |
|
8990 |
|
8991 |
|
8992 |
|
8993 |
|
8994 <div class="meta"> |
|
8995 |
|
8996 |
|
8997 |
|
8998 <p> |
|
8999 |
|
9000 Defined in |
|
9001 |
|
9002 |
|
9003 |
|
9004 |
|
9005 <a href="../files/dd_js_dd-plugin.js.html#l184"><code>dd/js/dd-plugin.js:184</code></a> |
|
9006 |
|
9007 </p> |
|
9008 |
|
9009 |
|
9010 |
|
9011 |
|
9012 |
|
9013 </div> |
|
9014 |
|
9015 <div class="description"> |
|
9016 <p>Updates the last position where the widget was stopped.</p> |
|
9017 </div> |
|
9018 |
|
9019 |
|
9020 <div class="params"> |
|
9021 <h4>Parameters:</h4> |
|
9022 |
|
9023 <ul class="params-list"> |
|
9024 |
|
9025 <li class="param"> |
|
9026 |
|
9027 <code class="param-name">e</code> |
|
9028 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
9029 |
|
9030 |
|
9031 |
|
9032 |
|
9033 <div class="param-description"> |
|
9034 <p>Event Facade</p> |
|
9035 </div> |
|
9036 |
|
9037 |
|
9038 </li> |
|
9039 |
|
9040 </ul> |
|
9041 </div> |
|
9042 |
|
9043 |
|
9044 |
|
9045 |
|
9046 |
|
9047 </div> |
|
9048 |
|
9049 |
|
9050 <div id="method__usesWidgetPosition" class="method item private"> |
|
9051 <h3 class="name"><code>_usesWidgetPosition</code></h3> |
|
9052 |
|
9053 |
|
9054 <span class="paren">()</span> |
|
9055 |
|
9056 |
|
9057 |
|
9058 |
|
9059 |
|
9060 |
|
9061 |
|
9062 <span class="flag private">private</span> |
|
9063 |
|
9064 |
|
9065 |
|
9066 |
|
9067 |
|
9068 |
|
9069 |
|
9070 |
|
9071 |
|
9072 |
|
9073 <div class="meta"> |
|
9074 |
|
9075 |
|
9076 |
|
9077 <p> |
|
9078 |
|
9079 Defined in |
|
9080 |
|
9081 |
|
9082 |
|
9083 |
|
9084 <a href="../files/dd_js_dd-plugin.js.html#l66"><code>dd/js/dd-plugin.js:66</code></a> |
|
9085 |
|
9086 </p> |
|
9087 |
|
9088 |
|
9089 |
|
9090 |
|
9091 |
|
9092 </div> |
|
9093 |
|
9094 <div class="description"> |
|
9095 <p>Returns true if widget uses widgetPosition, otherwise returns false</p> |
|
9096 </div> |
|
9097 |
|
9098 |
|
9099 |
|
9100 |
|
9101 |
|
9102 |
|
9103 </div> |
|
9104 |
|
9105 |
|
9106 <div id="method_addAttr" class="method item inherited"> |
|
9107 <h3 class="name"><code>addAttr</code></h3> |
|
9108 |
|
9109 |
|
9110 <div class="args"> |
|
9111 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9112 |
|
9113 <li class="arg"> |
|
9114 |
|
9115 <code>name</code> |
|
9116 |
|
9117 </li> |
|
9118 |
|
9119 <li class="arg"> |
|
9120 |
|
9121 <code>config</code> |
|
9122 |
|
9123 </li> |
|
9124 |
|
9125 <li class="arg"> |
|
9126 |
|
9127 <code>lazy</code> |
|
9128 |
|
9129 </li> |
|
9130 |
|
9131 </ul><span class="paren">)</span> |
|
9132 </div> |
|
9133 |
|
9134 |
|
9135 |
|
9136 <span class="returns-inline"> |
|
9137 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9138 </span> |
|
9139 |
|
9140 |
|
9141 |
|
9142 |
|
9143 |
|
9144 |
|
9145 |
|
9146 |
|
9147 |
|
9148 |
|
9149 |
|
9150 <span class="flag chainable">chainable</span> |
|
9151 |
|
9152 |
|
9153 |
|
9154 |
|
9155 <div class="meta"> |
|
9156 |
|
9157 |
|
9158 <p>Inherited from |
|
9159 <a href="../classes/AttributeCore.html#method_addAttr">AttributeCore</a>: |
|
9160 |
|
9161 |
|
9162 |
|
9163 <a href="../files/attribute_js_AttributeCore.js.html#l157"><code>attribute/js/AttributeCore.js:157</code></a> |
|
9164 |
|
9165 </p> |
|
9166 |
|
9167 |
|
9168 |
|
9169 |
|
9170 |
|
9171 </div> |
|
9172 |
|
9173 <div class="description"> |
|
9174 <p> |
|
9175 Adds an attribute with the provided configuration to the host object. |
|
9176 </p> |
|
9177 |
|
9178 <p> |
|
9179 The config argument object supports the following properties: |
|
9180 </p> |
|
9181 |
|
9182 <dl> |
|
9183 <dt>value <Any></dt> |
|
9184 <dd>The initial value to set on the attribute</dd> |
|
9185 |
|
9186 <dt>valueFn <Function | String></dt> |
|
9187 <dd> |
|
9188 <p>A function, which will return the initial value to set on the attribute. This is useful |
|
9189 for cases where the attribute configuration is defined statically, but needs to |
|
9190 reference the host instance ("this") to obtain an initial value. If both the value and valueFn properties are defined, |
|
9191 the value returned by the valueFn has precedence over the value property, unless it returns undefined, in which |
|
9192 case the value property is used.</p> |
|
9193 |
|
9194 <p>valueFn can also be set to a string, representing the name of the instance method to be used to retrieve the value.</p> |
|
9195 </dd> |
|
9196 |
|
9197 <dt>readOnly <boolean></dt> |
|
9198 <dd>Whether or not the attribute is read only. Attributes having readOnly set to true |
|
9199 cannot be modified by invoking the set method.</dd> |
|
9200 |
|
9201 <dt>writeOnce <boolean> or <string></dt> |
|
9202 <dd> |
|
9203 Whether or not the attribute is "write once". Attributes having writeOnce set to true, |
|
9204 can only have their values set once, be it through the default configuration, |
|
9205 constructor configuration arguments, or by invoking set. |
|
9206 <p>The writeOnce attribute can also be set to the string "initOnly", |
|
9207 in which case the attribute can only be set during initialization |
|
9208 (when used with Base, this means it can only be set during construction)</p> |
|
9209 </dd> |
|
9210 |
|
9211 <dt>setter <Function | String></dt> |
|
9212 <dd> |
|
9213 <p>The setter function used to massage or normalize the value passed to the set method for the attribute. |
|
9214 The value returned by the setter will be the final stored value. Returning |
|
9215 <a href="#property_Attribute.INVALID_VALUE">Attribute.INVALID_VALUE</a>, from the setter will prevent |
|
9216 the value from being stored. |
|
9217 </p> |
|
9218 |
|
9219 <p>setter can also be set to a string, representing the name of the instance method to be used as the setter function.</p> |
|
9220 </dd> |
|
9221 |
|
9222 <dt>getter <Function | String></dt> |
|
9223 <dd> |
|
9224 <p> |
|
9225 The getter function used to massage or normalize the value returned by the get method for the attribute. |
|
9226 The value returned by the getter function is the value which will be returned to the user when they |
|
9227 invoke get. |
|
9228 </p> |
|
9229 |
|
9230 <p>getter can also be set to a string, representing the name of the instance method to be used as the getter function.</p> |
|
9231 </dd> |
|
9232 |
|
9233 <dt>validator <Function | String></dt> |
|
9234 <dd> |
|
9235 <p> |
|
9236 The validator function invoked prior to setting the stored value. Returning |
|
9237 false from the validator function will prevent the value from being stored. |
|
9238 </p> |
|
9239 |
|
9240 <p>validator can also be set to a string, representing the name of the instance method to be used as the validator function.</p> |
|
9241 </dd> |
|
9242 |
|
9243 <dt>lazyAdd <boolean></dt> |
|
9244 <dd>Whether or not to delay initialization of the attribute until the first call to get/set it. |
|
9245 This flag can be used to over-ride lazy initialization on a per attribute basis, when adding multiple attributes through |
|
9246 the <a href="#method_addAttrs">addAttrs</a> method.</dd> |
|
9247 |
|
9248 </dl> |
|
9249 |
|
9250 <p>The setter, getter and validator are invoked with the value and name passed in as the first and second arguments, and with |
|
9251 the context ("this") set to the host object.</p> |
|
9252 |
|
9253 <p>Configuration properties outside of the list mentioned above are considered private properties used internally by attribute, |
|
9254 and are not intended for public use.</p> |
|
9255 </div> |
|
9256 |
|
9257 |
|
9258 <div class="params"> |
|
9259 <h4>Parameters:</h4> |
|
9260 |
|
9261 <ul class="params-list"> |
|
9262 |
|
9263 <li class="param"> |
|
9264 |
|
9265 <code class="param-name">name</code> |
|
9266 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9267 |
|
9268 |
|
9269 |
|
9270 |
|
9271 <div class="param-description"> |
|
9272 <p>The name of the attribute.</p> |
|
9273 </div> |
|
9274 |
|
9275 |
|
9276 </li> |
|
9277 |
|
9278 <li class="param"> |
|
9279 |
|
9280 <code class="param-name">config</code> |
|
9281 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9282 |
|
9283 |
|
9284 |
|
9285 |
|
9286 <div class="param-description"> |
|
9287 <p>An object with attribute configuration property/value pairs, specifying the configuration for the attribute.</p> |
|
9288 |
|
9289 <p> |
|
9290 <strong>NOTE:</strong> The configuration object is modified when adding an attribute, so if you need |
|
9291 to protect the original values, you will need to merge the object. |
|
9292 </p> |
|
9293 </div> |
|
9294 |
|
9295 |
|
9296 </li> |
|
9297 |
|
9298 <li class="param"> |
|
9299 |
|
9300 <code class="param-name">lazy</code> |
|
9301 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
9302 |
|
9303 |
|
9304 |
|
9305 |
|
9306 <div class="param-description"> |
|
9307 <p>(optional) Whether or not to add this attribute lazily (on the first call to get/set).</p> |
|
9308 </div> |
|
9309 |
|
9310 |
|
9311 </li> |
|
9312 |
|
9313 </ul> |
|
9314 </div> |
|
9315 |
|
9316 |
|
9317 |
|
9318 <div class="returns"> |
|
9319 <h4>Returns:</h4> |
|
9320 |
|
9321 <div class="returns-description"> |
|
9322 |
|
9323 |
|
9324 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
9325 |
|
9326 A reference to the host object. |
|
9327 |
|
9328 </div> |
|
9329 </div> |
|
9330 |
|
9331 |
|
9332 |
|
9333 </div> |
|
9334 |
|
9335 |
|
9336 <div id="method_addAttrs" class="method item inherited"> |
|
9337 <h3 class="name"><code>addAttrs</code></h3> |
|
9338 |
|
9339 |
|
9340 <div class="args"> |
|
9341 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9342 |
|
9343 <li class="arg"> |
|
9344 |
|
9345 <code>cfgs</code> |
|
9346 |
|
9347 </li> |
|
9348 |
|
9349 <li class="arg"> |
|
9350 |
|
9351 <code>values</code> |
|
9352 |
|
9353 </li> |
|
9354 |
|
9355 <li class="arg"> |
|
9356 |
|
9357 <code>lazy</code> |
|
9358 |
|
9359 </li> |
|
9360 |
|
9361 </ul><span class="paren">)</span> |
|
9362 </div> |
|
9363 |
|
9364 |
|
9365 |
|
9366 <span class="returns-inline"> |
|
9367 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9368 </span> |
|
9369 |
|
9370 |
|
9371 |
|
9372 |
|
9373 |
|
9374 |
|
9375 |
|
9376 |
|
9377 |
|
9378 |
|
9379 |
|
9380 <span class="flag chainable">chainable</span> |
|
9381 |
|
9382 |
|
9383 |
|
9384 |
|
9385 <div class="meta"> |
|
9386 |
|
9387 |
|
9388 <p>Inherited from |
|
9389 <a href="../classes/AttributeCore.html#method_addAttrs">AttributeCore</a>: |
|
9390 |
|
9391 |
|
9392 |
|
9393 <a href="../files/attribute_js_AttributeCore.js.html#l805"><code>attribute/js/AttributeCore.js:805</code></a> |
|
9394 |
|
9395 </p> |
|
9396 |
|
9397 |
|
9398 |
|
9399 |
|
9400 |
|
9401 </div> |
|
9402 |
|
9403 <div class="description"> |
|
9404 <p>Configures a group of attributes, and sets initial values.</p> |
|
9405 |
|
9406 <p> |
|
9407 <strong>NOTE:</strong> This method does not isolate the configuration object by merging/cloning. |
|
9408 The caller is responsible for merging/cloning the configuration object if required. |
|
9409 </p> |
|
9410 </div> |
|
9411 |
|
9412 |
|
9413 <div class="params"> |
|
9414 <h4>Parameters:</h4> |
|
9415 |
|
9416 <ul class="params-list"> |
|
9417 |
|
9418 <li class="param"> |
|
9419 |
|
9420 <code class="param-name">cfgs</code> |
|
9421 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9422 |
|
9423 |
|
9424 |
|
9425 |
|
9426 <div class="param-description"> |
|
9427 <p>An object with attribute name/configuration pairs.</p> |
|
9428 </div> |
|
9429 |
|
9430 |
|
9431 </li> |
|
9432 |
|
9433 <li class="param"> |
|
9434 |
|
9435 <code class="param-name">values</code> |
|
9436 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9437 |
|
9438 |
|
9439 |
|
9440 |
|
9441 <div class="param-description"> |
|
9442 <p>An object with attribute name/value pairs, defining the initial values to apply. |
|
9443 Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p> |
|
9444 </div> |
|
9445 |
|
9446 |
|
9447 </li> |
|
9448 |
|
9449 <li class="param"> |
|
9450 |
|
9451 <code class="param-name">lazy</code> |
|
9452 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
9453 |
|
9454 |
|
9455 |
|
9456 |
|
9457 <div class="param-description"> |
|
9458 <p>Whether or not to delay the intialization of these attributes until the first call to get/set. |
|
9459 Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration. |
|
9460 See <a href="#method_addAttr">addAttr</a>.</p> |
|
9461 </div> |
|
9462 |
|
9463 |
|
9464 </li> |
|
9465 |
|
9466 </ul> |
|
9467 </div> |
|
9468 |
|
9469 |
|
9470 |
|
9471 <div class="returns"> |
|
9472 <h4>Returns:</h4> |
|
9473 |
|
9474 <div class="returns-description"> |
|
9475 |
|
9476 |
|
9477 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
9478 |
|
9479 A reference to the host object. |
|
9480 |
|
9481 </div> |
|
9482 </div> |
|
9483 |
|
9484 |
|
9485 |
|
9486 </div> |
|
9487 |
|
9488 |
|
9489 <div id="method_addHandle" class="method item inherited"> |
|
9490 <h3 class="name"><code>addHandle</code></h3> |
|
9491 |
|
9492 |
|
9493 <div class="args"> |
|
9494 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9495 |
|
9496 <li class="arg"> |
|
9497 |
|
9498 <code>str</code> |
|
9499 |
|
9500 </li> |
|
9501 |
|
9502 </ul><span class="paren">)</span> |
|
9503 </div> |
|
9504 |
|
9505 |
|
9506 |
|
9507 <span class="returns-inline"> |
|
9508 <span class="type">Self</span> |
|
9509 </span> |
|
9510 |
|
9511 |
|
9512 |
|
9513 |
|
9514 |
|
9515 |
|
9516 |
|
9517 |
|
9518 |
|
9519 |
|
9520 |
|
9521 <span class="flag chainable">chainable</span> |
|
9522 |
|
9523 |
|
9524 |
|
9525 |
|
9526 <div class="meta"> |
|
9527 |
|
9528 |
|
9529 <p>Inherited from |
|
9530 <a href="../classes/DD.Drag.html#method_addHandle">DD.Drag</a>: |
|
9531 |
|
9532 |
|
9533 |
|
9534 <a href="../files/dd_js_drag.js.html#l917"><code>dd/js/drag.js:917</code></a> |
|
9535 |
|
9536 </p> |
|
9537 |
|
9538 |
|
9539 |
|
9540 |
|
9541 |
|
9542 </div> |
|
9543 |
|
9544 <div class="description"> |
|
9545 <p>Add a handle to a drag element. Drag only initiates when a mousedown happens on this element.</p> |
|
9546 </div> |
|
9547 |
|
9548 |
|
9549 <div class="params"> |
|
9550 <h4>Parameters:</h4> |
|
9551 |
|
9552 <ul class="params-list"> |
|
9553 |
|
9554 <li class="param"> |
|
9555 |
|
9556 <code class="param-name">str</code> |
|
9557 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9558 |
|
9559 |
|
9560 |
|
9561 |
|
9562 <div class="param-description"> |
|
9563 <p>The selector to test for a valid handle. Must be a child of the element.</p> |
|
9564 </div> |
|
9565 |
|
9566 |
|
9567 </li> |
|
9568 |
|
9569 </ul> |
|
9570 </div> |
|
9571 |
|
9572 |
|
9573 |
|
9574 <div class="returns"> |
|
9575 <h4>Returns:</h4> |
|
9576 |
|
9577 <div class="returns-description"> |
|
9578 |
|
9579 |
|
9580 <span class="type">Self</span>: |
|
9581 |
|
9582 |
|
9583 </div> |
|
9584 </div> |
|
9585 |
|
9586 |
|
9587 |
|
9588 </div> |
|
9589 |
|
9590 |
|
9591 <div id="method_addInvalid" class="method item inherited"> |
|
9592 <h3 class="name"><code>addInvalid</code></h3> |
|
9593 |
|
9594 |
|
9595 <div class="args"> |
|
9596 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9597 |
|
9598 <li class="arg"> |
|
9599 |
|
9600 <code>str</code> |
|
9601 |
|
9602 </li> |
|
9603 |
|
9604 </ul><span class="paren">)</span> |
|
9605 </div> |
|
9606 |
|
9607 |
|
9608 |
|
9609 <span class="returns-inline"> |
|
9610 <span class="type">Self</span> |
|
9611 </span> |
|
9612 |
|
9613 |
|
9614 |
|
9615 |
|
9616 |
|
9617 |
|
9618 |
|
9619 |
|
9620 |
|
9621 |
|
9622 |
|
9623 <span class="flag chainable">chainable</span> |
|
9624 |
|
9625 |
|
9626 |
|
9627 |
|
9628 <div class="meta"> |
|
9629 |
|
9630 |
|
9631 <p>Inherited from |
|
9632 <a href="../classes/DD.Drag.html#method_addInvalid">DD.Drag</a>: |
|
9633 |
|
9634 |
|
9635 |
|
9636 <a href="../files/dd_js_drag.js.html#l951"><code>dd/js/drag.js:951</code></a> |
|
9637 |
|
9638 </p> |
|
9639 |
|
9640 |
|
9641 |
|
9642 |
|
9643 |
|
9644 </div> |
|
9645 |
|
9646 <div class="description"> |
|
9647 <p>Add a selector string to test the handle against. If the test passes the drag operation will not continue.</p> |
|
9648 </div> |
|
9649 |
|
9650 |
|
9651 <div class="params"> |
|
9652 <h4>Parameters:</h4> |
|
9653 |
|
9654 <ul class="params-list"> |
|
9655 |
|
9656 <li class="param"> |
|
9657 |
|
9658 <code class="param-name">str</code> |
|
9659 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9660 |
|
9661 |
|
9662 |
|
9663 |
|
9664 <div class="param-description"> |
|
9665 <p>The selector to test against to determine if this is an invalid drag handle.</p> |
|
9666 </div> |
|
9667 |
|
9668 |
|
9669 </li> |
|
9670 |
|
9671 </ul> |
|
9672 </div> |
|
9673 |
|
9674 |
|
9675 |
|
9676 <div class="returns"> |
|
9677 <h4>Returns:</h4> |
|
9678 |
|
9679 <div class="returns-description"> |
|
9680 |
|
9681 |
|
9682 <span class="type">Self</span>: |
|
9683 |
|
9684 |
|
9685 </div> |
|
9686 </div> |
|
9687 |
|
9688 |
|
9689 |
|
9690 </div> |
|
9691 |
|
9692 |
|
9693 <div id="method_addTarget" class="method item inherited"> |
|
9694 <h3 class="name"><code>addTarget</code></h3> |
|
9695 |
|
9696 |
|
9697 <div class="args"> |
|
9698 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9699 |
|
9700 <li class="arg"> |
|
9701 |
|
9702 <code>o</code> |
|
9703 |
|
9704 </li> |
|
9705 |
|
9706 </ul><span class="paren">)</span> |
|
9707 </div> |
|
9708 |
|
9709 |
|
9710 |
|
9711 |
|
9712 |
|
9713 |
|
9714 |
|
9715 |
|
9716 |
|
9717 |
|
9718 |
|
9719 |
|
9720 |
|
9721 |
|
9722 |
|
9723 |
|
9724 <div class="meta"> |
|
9725 |
|
9726 |
|
9727 <p>Inherited from |
|
9728 <a href="../classes/EventTarget.html#method_addTarget">EventTarget</a>: |
|
9729 |
|
9730 |
|
9731 |
|
9732 <a href="../files/event-custom_js_event-facade.js.html#l455"><code>event-custom/js/event-facade.js:455</code></a> |
|
9733 |
|
9734 </p> |
|
9735 |
|
9736 |
|
9737 |
|
9738 |
|
9739 |
|
9740 </div> |
|
9741 |
|
9742 <div class="description"> |
|
9743 <p>Registers another EventTarget as a bubble target. Bubble order |
|
9744 is determined by the order registered. Multiple targets can |
|
9745 be specified.</p> |
|
9746 |
|
9747 <p>Events can only bubble if emitFacade is true.</p> |
|
9748 |
|
9749 <p>Included in the event-custom-complex submodule.</p> |
|
9750 </div> |
|
9751 |
|
9752 |
|
9753 <div class="params"> |
|
9754 <h4>Parameters:</h4> |
|
9755 |
|
9756 <ul class="params-list"> |
|
9757 |
|
9758 <li class="param"> |
|
9759 |
|
9760 <code class="param-name">o</code> |
|
9761 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
9762 |
|
9763 |
|
9764 |
|
9765 |
|
9766 <div class="param-description"> |
|
9767 <p>the target to add</p> |
|
9768 </div> |
|
9769 |
|
9770 |
|
9771 </li> |
|
9772 |
|
9773 </ul> |
|
9774 </div> |
|
9775 |
|
9776 |
|
9777 |
|
9778 |
|
9779 |
|
9780 </div> |
|
9781 |
|
9782 |
|
9783 <div id="method_addToGroup" class="method item inherited"> |
|
9784 <h3 class="name"><code>addToGroup</code></h3> |
|
9785 |
|
9786 |
|
9787 <div class="args"> |
|
9788 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9789 |
|
9790 <li class="arg"> |
|
9791 |
|
9792 <code>g</code> |
|
9793 |
|
9794 </li> |
|
9795 |
|
9796 </ul><span class="paren">)</span> |
|
9797 </div> |
|
9798 |
|
9799 |
|
9800 |
|
9801 <span class="returns-inline"> |
|
9802 <span class="type">Self</span> |
|
9803 </span> |
|
9804 |
|
9805 |
|
9806 |
|
9807 |
|
9808 |
|
9809 |
|
9810 |
|
9811 |
|
9812 |
|
9813 |
|
9814 |
|
9815 <span class="flag chainable">chainable</span> |
|
9816 |
|
9817 |
|
9818 |
|
9819 |
|
9820 <div class="meta"> |
|
9821 |
|
9822 |
|
9823 <p>Inherited from |
|
9824 <a href="../classes/DD.Drag.html#method_addToGroup">DD.Drag</a>: |
|
9825 |
|
9826 |
|
9827 |
|
9828 <a href="../files/dd_js_drag.js.html#l457"><code>dd/js/drag.js:457</code></a> |
|
9829 |
|
9830 </p> |
|
9831 |
|
9832 |
|
9833 |
|
9834 |
|
9835 |
|
9836 </div> |
|
9837 |
|
9838 <div class="description"> |
|
9839 <p>Add this Drag instance to a group, this should be used for on-the-fly group additions.</p> |
|
9840 </div> |
|
9841 |
|
9842 |
|
9843 <div class="params"> |
|
9844 <h4>Parameters:</h4> |
|
9845 |
|
9846 <ul class="params-list"> |
|
9847 |
|
9848 <li class="param"> |
|
9849 |
|
9850 <code class="param-name">g</code> |
|
9851 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9852 |
|
9853 |
|
9854 |
|
9855 |
|
9856 <div class="param-description"> |
|
9857 <p>The group to add this Drag Instance to.</p> |
|
9858 </div> |
|
9859 |
|
9860 |
|
9861 </li> |
|
9862 |
|
9863 </ul> |
|
9864 </div> |
|
9865 |
|
9866 |
|
9867 |
|
9868 <div class="returns"> |
|
9869 <h4>Returns:</h4> |
|
9870 |
|
9871 <div class="returns-description"> |
|
9872 |
|
9873 |
|
9874 <span class="type">Self</span>: |
|
9875 |
|
9876 |
|
9877 </div> |
|
9878 </div> |
|
9879 |
|
9880 |
|
9881 |
|
9882 </div> |
|
9883 |
|
9884 |
|
9885 <div id="method_after" class="method item inherited"> |
|
9886 <h3 class="name"><code>after</code></h3> |
|
9887 |
|
9888 |
|
9889 <div class="args"> |
|
9890 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9891 |
|
9892 <li class="arg"> |
|
9893 |
|
9894 <code>type</code> |
|
9895 |
|
9896 </li> |
|
9897 |
|
9898 <li class="arg"> |
|
9899 |
|
9900 <code>fn</code> |
|
9901 |
|
9902 </li> |
|
9903 |
|
9904 <li class="arg"> |
|
9905 |
|
9906 <code class="optional">[context]</code> |
|
9907 |
|
9908 </li> |
|
9909 |
|
9910 <li class="arg"> |
|
9911 |
|
9912 <code class="optional">[arg*]</code> |
|
9913 |
|
9914 </li> |
|
9915 |
|
9916 </ul><span class="paren">)</span> |
|
9917 </div> |
|
9918 |
|
9919 |
|
9920 |
|
9921 <span class="returns-inline"> |
|
9922 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
9923 </span> |
|
9924 |
|
9925 |
|
9926 |
|
9927 |
|
9928 |
|
9929 |
|
9930 |
|
9931 |
|
9932 |
|
9933 |
|
9934 |
|
9935 |
|
9936 |
|
9937 |
|
9938 <div class="meta"> |
|
9939 |
|
9940 |
|
9941 <p>Inherited from |
|
9942 <a href="../classes/EventTarget.html#method_after">EventTarget</a>: |
|
9943 |
|
9944 |
|
9945 |
|
9946 <a href="../files/event-custom_js_event-target.js.html#l833"><code>event-custom/js/event-target.js:833</code></a> |
|
9947 |
|
9948 </p> |
|
9949 |
|
9950 |
|
9951 |
|
9952 |
|
9953 |
|
9954 </div> |
|
9955 |
|
9956 <div class="description"> |
|
9957 <p>Subscribe to a custom event hosted by this object. The |
|
9958 supplied callback will execute after any listeners add |
|
9959 via the subscribe method, and after the default function, |
|
9960 if configured for the event, has executed.</p> |
|
9961 </div> |
|
9962 |
|
9963 |
|
9964 <div class="params"> |
|
9965 <h4>Parameters:</h4> |
|
9966 |
|
9967 <ul class="params-list"> |
|
9968 |
|
9969 <li class="param"> |
|
9970 |
|
9971 <code class="param-name">type</code> |
|
9972 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9973 |
|
9974 |
|
9975 |
|
9976 |
|
9977 <div class="param-description"> |
|
9978 <p>The name of the event</p> |
|
9979 </div> |
|
9980 |
|
9981 |
|
9982 </li> |
|
9983 |
|
9984 <li class="param"> |
|
9985 |
|
9986 <code class="param-name">fn</code> |
|
9987 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
9988 |
|
9989 |
|
9990 |
|
9991 |
|
9992 <div class="param-description"> |
|
9993 <p>The callback to execute in response to the event</p> |
|
9994 </div> |
|
9995 |
|
9996 |
|
9997 </li> |
|
9998 |
|
9999 <li class="param"> |
|
10000 |
|
10001 <code class="param-name optional">[context]</code> |
|
10002 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
10003 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
10004 |
|
10005 |
|
10006 |
|
10007 |
|
10008 <div class="param-description"> |
|
10009 <p>Override <code>this</code> object in callback</p> |
|
10010 </div> |
|
10011 |
|
10012 |
|
10013 </li> |
|
10014 |
|
10015 <li class="param"> |
|
10016 |
|
10017 <code class="param-name optional">[arg*]</code> |
|
10018 <span class="type">Any</span> |
|
10019 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
10020 |
|
10021 |
|
10022 |
|
10023 |
|
10024 <div class="param-description"> |
|
10025 <p>0..n additional arguments to supply to the subscriber</p> |
|
10026 </div> |
|
10027 |
|
10028 |
|
10029 </li> |
|
10030 |
|
10031 </ul> |
|
10032 </div> |
|
10033 |
|
10034 |
|
10035 |
|
10036 <div class="returns"> |
|
10037 <h4>Returns:</h4> |
|
10038 |
|
10039 <div class="returns-description"> |
|
10040 |
|
10041 |
|
10042 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
10043 |
|
10044 A subscription handle capable of detaching the |
|
10045 subscription |
|
10046 |
|
10047 </div> |
|
10048 </div> |
|
10049 |
|
10050 |
|
10051 |
|
10052 </div> |
|
10053 |
|
10054 |
|
10055 <div id="method_attrAdded" class="method item inherited"> |
|
10056 <h3 class="name"><code>attrAdded</code></h3> |
|
10057 |
|
10058 |
|
10059 <div class="args"> |
|
10060 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10061 |
|
10062 <li class="arg"> |
|
10063 |
|
10064 <code>name</code> |
|
10065 |
|
10066 </li> |
|
10067 |
|
10068 </ul><span class="paren">)</span> |
|
10069 </div> |
|
10070 |
|
10071 |
|
10072 |
|
10073 <span class="returns-inline"> |
|
10074 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
10075 </span> |
|
10076 |
|
10077 |
|
10078 |
|
10079 |
|
10080 |
|
10081 |
|
10082 |
|
10083 |
|
10084 |
|
10085 |
|
10086 |
|
10087 |
|
10088 |
|
10089 |
|
10090 <div class="meta"> |
|
10091 |
|
10092 |
|
10093 <p>Inherited from |
|
10094 <a href="../classes/AttributeCore.html#method_attrAdded">AttributeCore</a>: |
|
10095 |
|
10096 |
|
10097 |
|
10098 <a href="../files/attribute_js_AttributeCore.js.html#l341"><code>attribute/js/AttributeCore.js:341</code></a> |
|
10099 |
|
10100 </p> |
|
10101 |
|
10102 |
|
10103 |
|
10104 |
|
10105 |
|
10106 </div> |
|
10107 |
|
10108 <div class="description"> |
|
10109 <p>Checks if the given attribute has been added to the host</p> |
|
10110 </div> |
|
10111 |
|
10112 |
|
10113 <div class="params"> |
|
10114 <h4>Parameters:</h4> |
|
10115 |
|
10116 <ul class="params-list"> |
|
10117 |
|
10118 <li class="param"> |
|
10119 |
|
10120 <code class="param-name">name</code> |
|
10121 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10122 |
|
10123 |
|
10124 |
|
10125 |
|
10126 <div class="param-description"> |
|
10127 <p>The name of the attribute to check.</p> |
|
10128 </div> |
|
10129 |
|
10130 |
|
10131 </li> |
|
10132 |
|
10133 </ul> |
|
10134 </div> |
|
10135 |
|
10136 |
|
10137 |
|
10138 <div class="returns"> |
|
10139 <h4>Returns:</h4> |
|
10140 |
|
10141 <div class="returns-description"> |
|
10142 |
|
10143 |
|
10144 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
10145 |
|
10146 true if an attribute with the given name has been added, false if it hasn't. |
|
10147 This method will return true for lazily added attributes. |
|
10148 |
|
10149 </div> |
|
10150 </div> |
|
10151 |
|
10152 |
|
10153 |
|
10154 </div> |
|
10155 |
|
10156 |
|
10157 <div id="method_before" class="method item inherited"> |
|
10158 <h3 class="name"><code>before</code></h3> |
|
10159 |
|
10160 |
|
10161 <span class="paren">()</span> |
|
10162 |
|
10163 |
|
10164 |
|
10165 <span class="returns-inline"> |
|
10166 <span class="type"></span> |
|
10167 </span> |
|
10168 |
|
10169 |
|
10170 |
|
10171 |
|
10172 |
|
10173 |
|
10174 |
|
10175 |
|
10176 |
|
10177 |
|
10178 |
|
10179 |
|
10180 |
|
10181 |
|
10182 <div class="meta"> |
|
10183 |
|
10184 |
|
10185 <p>Inherited from |
|
10186 <a href="../classes/EventTarget.html#method_before">EventTarget</a>: |
|
10187 |
|
10188 |
|
10189 |
|
10190 <a href="../files/event-custom_js_event-target.js.html#l870"><code>event-custom/js/event-target.js:870</code></a> |
|
10191 |
|
10192 </p> |
|
10193 |
|
10194 |
|
10195 |
|
10196 |
|
10197 |
|
10198 </div> |
|
10199 |
|
10200 <div class="description"> |
|
10201 <p>Executes the callback before a DOM event, custom event |
|
10202 or method. If the first argument is a function, it |
|
10203 is assumed the target is a method. For DOM and custom |
|
10204 events, this is an alias for Y.on.</p> |
|
10205 |
|
10206 <p>For DOM and custom events: |
|
10207 type, callback, context, 0-n arguments</p> |
|
10208 |
|
10209 <p>For methods: |
|
10210 callback, object (method host), methodName, context, 0-n arguments</p> |
|
10211 </div> |
|
10212 |
|
10213 |
|
10214 |
|
10215 |
|
10216 <div class="returns"> |
|
10217 <h4>Returns:</h4> |
|
10218 |
|
10219 <div class="returns-description"> |
|
10220 |
|
10221 |
|
10222 detach handle |
|
10223 |
|
10224 </div> |
|
10225 </div> |
|
10226 |
|
10227 |
|
10228 |
|
10229 </div> |
|
10230 |
|
10231 |
|
10232 <div id="method_bubble" class="method item inherited"> |
|
10233 <h3 class="name"><code>bubble</code></h3> |
|
10234 |
|
10235 |
|
10236 <div class="args"> |
|
10237 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10238 |
|
10239 <li class="arg"> |
|
10240 |
|
10241 <code>evt</code> |
|
10242 |
|
10243 </li> |
|
10244 |
|
10245 </ul><span class="paren">)</span> |
|
10246 </div> |
|
10247 |
|
10248 |
|
10249 |
|
10250 <span class="returns-inline"> |
|
10251 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
10252 </span> |
|
10253 |
|
10254 |
|
10255 |
|
10256 |
|
10257 |
|
10258 |
|
10259 |
|
10260 |
|
10261 |
|
10262 |
|
10263 |
|
10264 |
|
10265 |
|
10266 |
|
10267 <div class="meta"> |
|
10268 |
|
10269 |
|
10270 <p>Inherited from |
|
10271 <a href="../classes/EventTarget.html#method_bubble">EventTarget</a>: |
|
10272 |
|
10273 |
|
10274 |
|
10275 <a href="../files/event-custom_js_event-facade.js.html#l507"><code>event-custom/js/event-facade.js:507</code></a> |
|
10276 |
|
10277 </p> |
|
10278 |
|
10279 |
|
10280 |
|
10281 |
|
10282 |
|
10283 </div> |
|
10284 |
|
10285 <div class="description"> |
|
10286 <p>Propagate an event. Requires the event-custom-complex module.</p> |
|
10287 </div> |
|
10288 |
|
10289 |
|
10290 <div class="params"> |
|
10291 <h4>Parameters:</h4> |
|
10292 |
|
10293 <ul class="params-list"> |
|
10294 |
|
10295 <li class="param"> |
|
10296 |
|
10297 <code class="param-name">evt</code> |
|
10298 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
10299 |
|
10300 |
|
10301 |
|
10302 |
|
10303 <div class="param-description"> |
|
10304 <p>the custom event to propagate</p> |
|
10305 </div> |
|
10306 |
|
10307 |
|
10308 </li> |
|
10309 |
|
10310 </ul> |
|
10311 </div> |
|
10312 |
|
10313 |
|
10314 |
|
10315 <div class="returns"> |
|
10316 <h4>Returns:</h4> |
|
10317 |
|
10318 <div class="returns-description"> |
|
10319 |
|
10320 |
|
10321 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
10322 |
|
10323 the aggregated return value from Event.Custom.fire |
|
10324 |
|
10325 </div> |
|
10326 </div> |
|
10327 |
|
10328 |
|
10329 |
|
10330 </div> |
|
10331 |
|
10332 |
|
10333 <div id="method_destroy" class="method item inherited"> |
|
10334 <h3 class="name"><code>destroy</code></h3> |
|
10335 |
|
10336 |
|
10337 <span class="paren">()</span> |
|
10338 |
|
10339 |
|
10340 |
|
10341 <span class="returns-inline"> |
|
10342 <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span> |
|
10343 </span> |
|
10344 |
|
10345 |
|
10346 |
|
10347 |
|
10348 |
|
10349 |
|
10350 |
|
10351 |
|
10352 |
|
10353 |
|
10354 |
|
10355 <span class="flag chainable">chainable</span> |
|
10356 |
|
10357 |
|
10358 |
|
10359 |
|
10360 <div class="meta"> |
|
10361 |
|
10362 <p>Inherited from |
|
10363 <a href="../classes/BaseObservable.html#method_destroy"> |
|
10364 BaseObservable |
|
10365 </a> |
|
10366 |
|
10367 but overwritten in |
|
10368 |
|
10369 |
|
10370 |
|
10371 <a href="../files/base_js_BaseCore.js.html#l297"><code>base/js/BaseCore.js:297</code></a> |
|
10372 |
|
10373 </p> |
|
10374 |
|
10375 |
|
10376 |
|
10377 |
|
10378 |
|
10379 </div> |
|
10380 |
|
10381 <div class="description"> |
|
10382 <p>Destroy lifecycle method. Invokes destructors for the class hierarchy.</p> |
|
10383 </div> |
|
10384 |
|
10385 |
|
10386 |
|
10387 |
|
10388 <div class="returns"> |
|
10389 <h4>Returns:</h4> |
|
10390 |
|
10391 <div class="returns-description"> |
|
10392 |
|
10393 |
|
10394 <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span>: |
|
10395 |
|
10396 A reference to this object |
|
10397 |
|
10398 </div> |
|
10399 </div> |
|
10400 |
|
10401 |
|
10402 |
|
10403 </div> |
|
10404 |
|
10405 |
|
10406 <div id="method_destructor" class="method item private inherited"> |
|
10407 <h3 class="name"><code>destructor</code></h3> |
|
10408 |
|
10409 |
|
10410 <span class="paren">()</span> |
|
10411 |
|
10412 |
|
10413 |
|
10414 |
|
10415 |
|
10416 |
|
10417 |
|
10418 <span class="flag private">private</span> |
|
10419 |
|
10420 |
|
10421 |
|
10422 |
|
10423 |
|
10424 |
|
10425 |
|
10426 |
|
10427 |
|
10428 |
|
10429 <div class="meta"> |
|
10430 |
|
10431 |
|
10432 <p>Inherited from |
|
10433 <a href="../classes/DD.Drag.html#method_destructor">DD.Drag</a>: |
|
10434 |
|
10435 |
|
10436 |
|
10437 <a href="../files/dd_js_drag.js.html#l1255"><code>dd/js/drag.js:1255</code></a> |
|
10438 |
|
10439 </p> |
|
10440 |
|
10441 |
|
10442 |
|
10443 |
|
10444 |
|
10445 </div> |
|
10446 |
|
10447 <div class="description"> |
|
10448 <p>Lifecycle destructor, unreg the drag from the DDM and remove listeners</p> |
|
10449 </div> |
|
10450 |
|
10451 |
|
10452 |
|
10453 |
|
10454 |
|
10455 |
|
10456 </div> |
|
10457 |
|
10458 |
|
10459 <div id="method_detach" class="method item inherited"> |
|
10460 <h3 class="name"><code>detach</code></h3> |
|
10461 |
|
10462 |
|
10463 <div class="args"> |
|
10464 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10465 |
|
10466 <li class="arg"> |
|
10467 |
|
10468 <code>type</code> |
|
10469 |
|
10470 </li> |
|
10471 |
|
10472 <li class="arg"> |
|
10473 |
|
10474 <code>fn</code> |
|
10475 |
|
10476 </li> |
|
10477 |
|
10478 <li class="arg"> |
|
10479 |
|
10480 <code>context</code> |
|
10481 |
|
10482 </li> |
|
10483 |
|
10484 </ul><span class="paren">)</span> |
|
10485 </div> |
|
10486 |
|
10487 |
|
10488 |
|
10489 <span class="returns-inline"> |
|
10490 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
10491 </span> |
|
10492 |
|
10493 |
|
10494 |
|
10495 |
|
10496 |
|
10497 |
|
10498 |
|
10499 |
|
10500 |
|
10501 |
|
10502 |
|
10503 |
|
10504 |
|
10505 |
|
10506 <div class="meta"> |
|
10507 |
|
10508 |
|
10509 <p>Inherited from |
|
10510 <a href="../classes/EventTarget.html#method_detach">EventTarget</a>: |
|
10511 |
|
10512 |
|
10513 |
|
10514 <a href="../files/event-custom_js_event-target.js.html#l346"><code>event-custom/js/event-target.js:346</code></a> |
|
10515 |
|
10516 </p> |
|
10517 |
|
10518 |
|
10519 |
|
10520 |
|
10521 |
|
10522 </div> |
|
10523 |
|
10524 <div class="description"> |
|
10525 <p>Detach one or more listeners the from the specified event</p> |
|
10526 </div> |
|
10527 |
|
10528 |
|
10529 <div class="params"> |
|
10530 <h4>Parameters:</h4> |
|
10531 |
|
10532 <ul class="params-list"> |
|
10533 |
|
10534 <li class="param"> |
|
10535 |
|
10536 <code class="param-name">type</code> |
|
10537 <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> |
|
10538 |
|
10539 |
|
10540 |
|
10541 |
|
10542 <div class="param-description"> |
|
10543 <p>Either the handle to the subscriber or the |
|
10544 type of event. If the type |
|
10545 is not specified, it will attempt to remove |
|
10546 the listener from all hosted events.</p> |
|
10547 </div> |
|
10548 |
|
10549 |
|
10550 </li> |
|
10551 |
|
10552 <li class="param"> |
|
10553 |
|
10554 <code class="param-name">fn</code> |
|
10555 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
10556 |
|
10557 |
|
10558 |
|
10559 |
|
10560 <div class="param-description"> |
|
10561 <p>The subscribed function to unsubscribe, if not |
|
10562 supplied, all subscribers will be removed.</p> |
|
10563 </div> |
|
10564 |
|
10565 |
|
10566 </li> |
|
10567 |
|
10568 <li class="param"> |
|
10569 |
|
10570 <code class="param-name">context</code> |
|
10571 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
10572 |
|
10573 |
|
10574 |
|
10575 |
|
10576 <div class="param-description"> |
|
10577 <p>The custom object passed to subscribe. This is |
|
10578 optional, but if supplied will be used to |
|
10579 disambiguate multiple listeners that are the same |
|
10580 (e.g., you subscribe many object using a function |
|
10581 that lives on the prototype)</p> |
|
10582 </div> |
|
10583 |
|
10584 |
|
10585 </li> |
|
10586 |
|
10587 </ul> |
|
10588 </div> |
|
10589 |
|
10590 |
|
10591 |
|
10592 <div class="returns"> |
|
10593 <h4>Returns:</h4> |
|
10594 |
|
10595 <div class="returns-description"> |
|
10596 |
|
10597 |
|
10598 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>: |
|
10599 |
|
10600 the host |
|
10601 |
|
10602 </div> |
|
10603 </div> |
|
10604 |
|
10605 |
|
10606 |
|
10607 </div> |
|
10608 |
|
10609 |
|
10610 <div id="method_detachAll" class="method item inherited"> |
|
10611 <h3 class="name"><code>detachAll</code></h3> |
|
10612 |
|
10613 |
|
10614 <div class="args"> |
|
10615 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10616 |
|
10617 <li class="arg"> |
|
10618 |
|
10619 <code>type</code> |
|
10620 |
|
10621 </li> |
|
10622 |
|
10623 </ul><span class="paren">)</span> |
|
10624 </div> |
|
10625 |
|
10626 |
|
10627 |
|
10628 |
|
10629 |
|
10630 |
|
10631 |
|
10632 |
|
10633 |
|
10634 |
|
10635 |
|
10636 |
|
10637 |
|
10638 |
|
10639 |
|
10640 |
|
10641 <div class="meta"> |
|
10642 |
|
10643 |
|
10644 <p>Inherited from |
|
10645 <a href="../classes/EventTarget.html#method_detachAll">EventTarget</a>: |
|
10646 |
|
10647 |
|
10648 |
|
10649 <a href="../files/event-custom_js_event-target.js.html#l469"><code>event-custom/js/event-target.js:469</code></a> |
|
10650 |
|
10651 </p> |
|
10652 |
|
10653 |
|
10654 |
|
10655 |
|
10656 |
|
10657 </div> |
|
10658 |
|
10659 <div class="description"> |
|
10660 <p>Removes all listeners from the specified event. If the event type |
|
10661 is not specified, all listeners from all hosted custom events will |
|
10662 be removed.</p> |
|
10663 </div> |
|
10664 |
|
10665 |
|
10666 <div class="params"> |
|
10667 <h4>Parameters:</h4> |
|
10668 |
|
10669 <ul class="params-list"> |
|
10670 |
|
10671 <li class="param"> |
|
10672 |
|
10673 <code class="param-name">type</code> |
|
10674 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10675 |
|
10676 |
|
10677 |
|
10678 |
|
10679 <div class="param-description"> |
|
10680 <p>The type, or name of the event</p> |
|
10681 </div> |
|
10682 |
|
10683 |
|
10684 </li> |
|
10685 |
|
10686 </ul> |
|
10687 </div> |
|
10688 |
|
10689 |
|
10690 |
|
10691 |
|
10692 |
|
10693 </div> |
|
10694 |
|
10695 |
|
10696 <div id="method_end" class="method item inherited"> |
|
10697 <h3 class="name"><code>end</code></h3> |
|
10698 |
|
10699 |
|
10700 <span class="paren">()</span> |
|
10701 |
|
10702 |
|
10703 |
|
10704 <span class="returns-inline"> |
|
10705 <span class="type">Self</span> |
|
10706 </span> |
|
10707 |
|
10708 |
|
10709 |
|
10710 |
|
10711 |
|
10712 |
|
10713 |
|
10714 |
|
10715 |
|
10716 |
|
10717 |
|
10718 <span class="flag chainable">chainable</span> |
|
10719 |
|
10720 |
|
10721 |
|
10722 |
|
10723 <div class="meta"> |
|
10724 |
|
10725 |
|
10726 <p>Inherited from |
|
10727 <a href="../classes/DD.Drag.html#method_end">DD.Drag</a>: |
|
10728 |
|
10729 |
|
10730 |
|
10731 <a href="../files/dd_js_drag.js.html#l1070"><code>dd/js/drag.js:1070</code></a> |
|
10732 |
|
10733 </p> |
|
10734 |
|
10735 |
|
10736 |
|
10737 |
|
10738 |
|
10739 </div> |
|
10740 |
|
10741 <div class="description"> |
|
10742 <p>Ends the drag operation</p> |
|
10743 </div> |
|
10744 |
|
10745 |
|
10746 |
|
10747 |
|
10748 <div class="returns"> |
|
10749 <h4>Returns:</h4> |
|
10750 |
|
10751 <div class="returns-description"> |
|
10752 |
|
10753 |
|
10754 <span class="type">Self</span>: |
|
10755 |
|
10756 |
|
10757 </div> |
|
10758 </div> |
|
10759 |
|
10760 |
|
10761 |
|
10762 </div> |
|
10763 |
|
10764 |
|
10765 <div id="method_fire" class="method item inherited"> |
|
10766 <h3 class="name"><code>fire</code></h3> |
|
10767 |
|
10768 |
|
10769 <div class="args"> |
|
10770 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10771 |
|
10772 <li class="arg"> |
|
10773 |
|
10774 <code>type</code> |
|
10775 |
|
10776 </li> |
|
10777 |
|
10778 <li class="arg"> |
|
10779 |
|
10780 <code>arguments</code> |
|
10781 |
|
10782 </li> |
|
10783 |
|
10784 </ul><span class="paren">)</span> |
|
10785 </div> |
|
10786 |
|
10787 |
|
10788 |
|
10789 <span class="returns-inline"> |
|
10790 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
10791 </span> |
|
10792 |
|
10793 |
|
10794 |
|
10795 |
|
10796 |
|
10797 |
|
10798 |
|
10799 |
|
10800 |
|
10801 |
|
10802 |
|
10803 |
|
10804 |
|
10805 |
|
10806 <div class="meta"> |
|
10807 |
|
10808 |
|
10809 <p>Inherited from |
|
10810 <a href="../classes/EventTarget.html#method_fire">EventTarget</a>: |
|
10811 |
|
10812 |
|
10813 |
|
10814 <a href="../files/event-custom_js_event-target.js.html#l695"><code>event-custom/js/event-target.js:695</code></a> |
|
10815 |
|
10816 </p> |
|
10817 |
|
10818 |
|
10819 |
|
10820 |
|
10821 |
|
10822 </div> |
|
10823 |
|
10824 <div class="description"> |
|
10825 <p>Fire a custom event by name. The callback functions will be executed |
|
10826 from the context specified when the event was created, and with the |
|
10827 following parameters.</p> |
|
10828 |
|
10829 <p>If the custom event object hasn't been created, then the event hasn't |
|
10830 been published and it has no subscribers. For performance sake, we |
|
10831 immediate exit in this case. This means the event won't bubble, so |
|
10832 if the intention is that a bubble target be notified, the event must |
|
10833 be published on this object first.</p> |
|
10834 |
|
10835 <p>The first argument is the event type, and any additional arguments are |
|
10836 passed to the listeners as parameters. If the first of these is an |
|
10837 object literal, and the event is configured to emit an event facade, |
|
10838 that object is mixed into the event facade and the facade is provided |
|
10839 in place of the original object.</p> |
|
10840 </div> |
|
10841 |
|
10842 |
|
10843 <div class="params"> |
|
10844 <h4>Parameters:</h4> |
|
10845 |
|
10846 <ul class="params-list"> |
|
10847 |
|
10848 <li class="param"> |
|
10849 |
|
10850 <code class="param-name">type</code> |
|
10851 <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> |
|
10852 |
|
10853 |
|
10854 |
|
10855 |
|
10856 <div class="param-description"> |
|
10857 <p>The type of the event, or an object that contains |
|
10858 a 'type' property.</p> |
|
10859 </div> |
|
10860 |
|
10861 |
|
10862 </li> |
|
10863 |
|
10864 <li class="param"> |
|
10865 |
|
10866 <code class="param-name">arguments</code> |
|
10867 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object*</a></span> |
|
10868 |
|
10869 |
|
10870 |
|
10871 |
|
10872 <div class="param-description"> |
|
10873 <p>an arbitrary set of parameters to pass to |
|
10874 the handler. If the first of these is an object literal and the event is |
|
10875 configured to emit an event facade, the event facade will replace that |
|
10876 parameter after the properties the object literal contains are copied to |
|
10877 the event facade.</p> |
|
10878 </div> |
|
10879 |
|
10880 |
|
10881 </li> |
|
10882 |
|
10883 </ul> |
|
10884 </div> |
|
10885 |
|
10886 |
|
10887 |
|
10888 <div class="returns"> |
|
10889 <h4>Returns:</h4> |
|
10890 |
|
10891 <div class="returns-description"> |
|
10892 |
|
10893 |
|
10894 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>: |
|
10895 |
|
10896 the event host |
|
10897 |
|
10898 </div> |
|
10899 </div> |
|
10900 |
|
10901 |
|
10902 |
|
10903 </div> |
|
10904 |
|
10905 |
|
10906 <div id="method_get" class="method item inherited"> |
|
10907 <h3 class="name"><code>get</code></h3> |
|
10908 |
|
10909 |
|
10910 <div class="args"> |
|
10911 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10912 |
|
10913 <li class="arg"> |
|
10914 |
|
10915 <code>name</code> |
|
10916 |
|
10917 </li> |
|
10918 |
|
10919 </ul><span class="paren">)</span> |
|
10920 </div> |
|
10921 |
|
10922 |
|
10923 |
|
10924 <span class="returns-inline"> |
|
10925 <span class="type">Any</span> |
|
10926 </span> |
|
10927 |
|
10928 |
|
10929 |
|
10930 |
|
10931 |
|
10932 |
|
10933 |
|
10934 |
|
10935 |
|
10936 |
|
10937 |
|
10938 |
|
10939 |
|
10940 |
|
10941 <div class="meta"> |
|
10942 |
|
10943 |
|
10944 <p>Inherited from |
|
10945 <a href="../classes/AttributeCore.html#method_get">AttributeCore</a>: |
|
10946 |
|
10947 |
|
10948 |
|
10949 <a href="../files/attribute_js_AttributeCore.js.html#l353"><code>attribute/js/AttributeCore.js:353</code></a> |
|
10950 |
|
10951 </p> |
|
10952 |
|
10953 |
|
10954 |
|
10955 |
|
10956 |
|
10957 </div> |
|
10958 |
|
10959 <div class="description"> |
|
10960 <p>Returns the current value of the attribute. If the attribute |
|
10961 has been configured with a 'getter' function, this method will delegate |
|
10962 to the 'getter' to obtain the value of the attribute.</p> |
|
10963 </div> |
|
10964 |
|
10965 |
|
10966 <div class="params"> |
|
10967 <h4>Parameters:</h4> |
|
10968 |
|
10969 <ul class="params-list"> |
|
10970 |
|
10971 <li class="param"> |
|
10972 |
|
10973 <code class="param-name">name</code> |
|
10974 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10975 |
|
10976 |
|
10977 |
|
10978 |
|
10979 <div class="param-description"> |
|
10980 <p>The name of the attribute. If the value of the attribute is an Object, |
|
10981 dot notation can be used to obtain the value of a property of the object (e.g. <code>get("x.y.z")</code>)</p> |
|
10982 </div> |
|
10983 |
|
10984 |
|
10985 </li> |
|
10986 |
|
10987 </ul> |
|
10988 </div> |
|
10989 |
|
10990 |
|
10991 |
|
10992 <div class="returns"> |
|
10993 <h4>Returns:</h4> |
|
10994 |
|
10995 <div class="returns-description"> |
|
10996 |
|
10997 |
|
10998 <span class="type">Any</span>: |
|
10999 |
|
11000 The value of the attribute |
|
11001 |
|
11002 </div> |
|
11003 </div> |
|
11004 |
|
11005 |
|
11006 |
|
11007 </div> |
|
11008 |
|
11009 |
|
11010 <div id="method_getAttrs" class="method item inherited"> |
|
11011 <h3 class="name"><code>getAttrs</code></h3> |
|
11012 |
|
11013 |
|
11014 <div class="args"> |
|
11015 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11016 |
|
11017 <li class="arg"> |
|
11018 |
|
11019 <code>attrs</code> |
|
11020 |
|
11021 </li> |
|
11022 |
|
11023 </ul><span class="paren">)</span> |
|
11024 </div> |
|
11025 |
|
11026 |
|
11027 |
|
11028 <span class="returns-inline"> |
|
11029 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11030 </span> |
|
11031 |
|
11032 |
|
11033 |
|
11034 |
|
11035 |
|
11036 |
|
11037 |
|
11038 |
|
11039 |
|
11040 |
|
11041 |
|
11042 |
|
11043 |
|
11044 |
|
11045 <div class="meta"> |
|
11046 |
|
11047 |
|
11048 <p>Inherited from |
|
11049 <a href="../classes/AttributeCore.html#method_getAttrs">AttributeCore</a>: |
|
11050 |
|
11051 |
|
11052 |
|
11053 <a href="../files/attribute_js_AttributeCore.js.html#l762"><code>attribute/js/AttributeCore.js:762</code></a> |
|
11054 |
|
11055 </p> |
|
11056 |
|
11057 |
|
11058 |
|
11059 |
|
11060 |
|
11061 </div> |
|
11062 |
|
11063 <div class="description"> |
|
11064 <p>Gets multiple attribute values.</p> |
|
11065 </div> |
|
11066 |
|
11067 |
|
11068 <div class="params"> |
|
11069 <h4>Parameters:</h4> |
|
11070 |
|
11071 <ul class="params-list"> |
|
11072 |
|
11073 <li class="param"> |
|
11074 |
|
11075 <code class="param-name">attrs</code> |
|
11076 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span> |
|
11077 |
|
11078 |
|
11079 |
|
11080 |
|
11081 <div class="param-description"> |
|
11082 <p>Optional. An array of attribute names. If omitted, all attribute values are |
|
11083 returned. If set to true, all attributes modified from their initial values are returned.</p> |
|
11084 </div> |
|
11085 |
|
11086 |
|
11087 </li> |
|
11088 |
|
11089 </ul> |
|
11090 </div> |
|
11091 |
|
11092 |
|
11093 |
|
11094 <div class="returns"> |
|
11095 <h4>Returns:</h4> |
|
11096 |
|
11097 <div class="returns-description"> |
|
11098 |
|
11099 |
|
11100 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
11101 |
|
11102 An object with attribute name/value pairs. |
|
11103 |
|
11104 </div> |
|
11105 </div> |
|
11106 |
|
11107 |
|
11108 |
|
11109 </div> |
|
11110 |
|
11111 |
|
11112 <div id="method_getEvent" class="method item inherited"> |
|
11113 <h3 class="name"><code>getEvent</code></h3> |
|
11114 |
|
11115 |
|
11116 <div class="args"> |
|
11117 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11118 |
|
11119 <li class="arg"> |
|
11120 |
|
11121 <code>type</code> |
|
11122 |
|
11123 </li> |
|
11124 |
|
11125 <li class="arg"> |
|
11126 |
|
11127 <code>prefixed</code> |
|
11128 |
|
11129 </li> |
|
11130 |
|
11131 </ul><span class="paren">)</span> |
|
11132 </div> |
|
11133 |
|
11134 |
|
11135 |
|
11136 <span class="returns-inline"> |
|
11137 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
11138 </span> |
|
11139 |
|
11140 |
|
11141 |
|
11142 |
|
11143 |
|
11144 |
|
11145 |
|
11146 |
|
11147 |
|
11148 |
|
11149 |
|
11150 |
|
11151 |
|
11152 |
|
11153 <div class="meta"> |
|
11154 |
|
11155 |
|
11156 <p>Inherited from |
|
11157 <a href="../classes/EventTarget.html#method_getEvent">EventTarget</a>: |
|
11158 |
|
11159 |
|
11160 |
|
11161 <a href="../files/event-custom_js_event-target.js.html#l814"><code>event-custom/js/event-target.js:814</code></a> |
|
11162 |
|
11163 </p> |
|
11164 |
|
11165 |
|
11166 |
|
11167 |
|
11168 |
|
11169 </div> |
|
11170 |
|
11171 <div class="description"> |
|
11172 <p>Returns the custom event of the provided type has been created, a |
|
11173 falsy value otherwise</p> |
|
11174 </div> |
|
11175 |
|
11176 |
|
11177 <div class="params"> |
|
11178 <h4>Parameters:</h4> |
|
11179 |
|
11180 <ul class="params-list"> |
|
11181 |
|
11182 <li class="param"> |
|
11183 |
|
11184 <code class="param-name">type</code> |
|
11185 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11186 |
|
11187 |
|
11188 |
|
11189 |
|
11190 <div class="param-description"> |
|
11191 <p>the type, or name of the event</p> |
|
11192 </div> |
|
11193 |
|
11194 |
|
11195 </li> |
|
11196 |
|
11197 <li class="param"> |
|
11198 |
|
11199 <code class="param-name">prefixed</code> |
|
11200 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11201 |
|
11202 |
|
11203 |
|
11204 |
|
11205 <div class="param-description"> |
|
11206 <p>if true, the type is prefixed already</p> |
|
11207 </div> |
|
11208 |
|
11209 |
|
11210 </li> |
|
11211 |
|
11212 </ul> |
|
11213 </div> |
|
11214 |
|
11215 |
|
11216 |
|
11217 <div class="returns"> |
|
11218 <h4>Returns:</h4> |
|
11219 |
|
11220 <div class="returns-description"> |
|
11221 |
|
11222 |
|
11223 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>: |
|
11224 |
|
11225 the custom event or null |
|
11226 |
|
11227 </div> |
|
11228 </div> |
|
11229 |
|
11230 |
|
11231 |
|
11232 </div> |
|
11233 |
|
11234 |
|
11235 <div id="method_getTargets" class="method item inherited"> |
|
11236 <h3 class="name"><code>getTargets</code></h3> |
|
11237 |
|
11238 |
|
11239 <span class="paren">()</span> |
|
11240 |
|
11241 |
|
11242 |
|
11243 <span class="returns-inline"> |
|
11244 <span class="type"></span> |
|
11245 </span> |
|
11246 |
|
11247 |
|
11248 |
|
11249 |
|
11250 |
|
11251 |
|
11252 |
|
11253 |
|
11254 |
|
11255 |
|
11256 |
|
11257 |
|
11258 |
|
11259 |
|
11260 <div class="meta"> |
|
11261 |
|
11262 |
|
11263 <p>Inherited from |
|
11264 <a href="../classes/EventTarget.html#method_getTargets">EventTarget</a>: |
|
11265 |
|
11266 |
|
11267 |
|
11268 <a href="../files/event-custom_js_event-facade.js.html#l479"><code>event-custom/js/event-facade.js:479</code></a> |
|
11269 |
|
11270 </p> |
|
11271 |
|
11272 |
|
11273 |
|
11274 |
|
11275 |
|
11276 </div> |
|
11277 |
|
11278 <div class="description"> |
|
11279 <p>Returns an array of bubble targets for this object.</p> |
|
11280 </div> |
|
11281 |
|
11282 |
|
11283 |
|
11284 |
|
11285 <div class="returns"> |
|
11286 <h4>Returns:</h4> |
|
11287 |
|
11288 <div class="returns-description"> |
|
11289 |
|
11290 |
|
11291 EventTarget[] |
|
11292 |
|
11293 </div> |
|
11294 </div> |
|
11295 |
|
11296 |
|
11297 |
|
11298 </div> |
|
11299 |
|
11300 |
|
11301 <div id="method_init" class="method item inherited"> |
|
11302 <h3 class="name"><code>init</code></h3> |
|
11303 |
|
11304 |
|
11305 <div class="args"> |
|
11306 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11307 |
|
11308 <li class="arg"> |
|
11309 |
|
11310 <code>cfg</code> |
|
11311 |
|
11312 </li> |
|
11313 |
|
11314 </ul><span class="paren">)</span> |
|
11315 </div> |
|
11316 |
|
11317 |
|
11318 |
|
11319 <span class="returns-inline"> |
|
11320 <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span> |
|
11321 </span> |
|
11322 |
|
11323 |
|
11324 |
|
11325 |
|
11326 |
|
11327 |
|
11328 |
|
11329 |
|
11330 |
|
11331 |
|
11332 |
|
11333 <span class="flag chainable">chainable</span> |
|
11334 |
|
11335 |
|
11336 |
|
11337 |
|
11338 <div class="meta"> |
|
11339 |
|
11340 <p>Inherited from |
|
11341 <a href="../classes/BaseObservable.html#method_init"> |
|
11342 BaseObservable |
|
11343 </a> |
|
11344 |
|
11345 but overwritten in |
|
11346 |
|
11347 |
|
11348 |
|
11349 <a href="../files/base_js_BaseCore.js.html#l264"><code>base/js/BaseCore.js:264</code></a> |
|
11350 |
|
11351 </p> |
|
11352 |
|
11353 |
|
11354 |
|
11355 |
|
11356 |
|
11357 </div> |
|
11358 |
|
11359 <div class="description"> |
|
11360 <p>Init lifecycle method, invoked during construction. Sets up attributes |
|
11361 and invokes initializers for the class hierarchy.</p> |
|
11362 </div> |
|
11363 |
|
11364 |
|
11365 <div class="params"> |
|
11366 <h4>Parameters:</h4> |
|
11367 |
|
11368 <ul class="params-list"> |
|
11369 |
|
11370 <li class="param"> |
|
11371 |
|
11372 <code class="param-name">cfg</code> |
|
11373 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11374 |
|
11375 |
|
11376 |
|
11377 |
|
11378 <div class="param-description"> |
|
11379 <p>Object with configuration property name/value pairs</p> |
|
11380 </div> |
|
11381 |
|
11382 |
|
11383 </li> |
|
11384 |
|
11385 </ul> |
|
11386 </div> |
|
11387 |
|
11388 |
|
11389 |
|
11390 <div class="returns"> |
|
11391 <h4>Returns:</h4> |
|
11392 |
|
11393 <div class="returns-description"> |
|
11394 |
|
11395 |
|
11396 <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span>: |
|
11397 |
|
11398 A reference to this object |
|
11399 |
|
11400 </div> |
|
11401 </div> |
|
11402 |
|
11403 |
|
11404 |
|
11405 </div> |
|
11406 |
|
11407 |
|
11408 <div id="method_initializer" class="method item private"> |
|
11409 <h3 class="name"><code>initializer</code></h3> |
|
11410 |
|
11411 |
|
11412 <div class="args"> |
|
11413 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11414 |
|
11415 <li class="arg"> |
|
11416 |
|
11417 <code>e</code> |
|
11418 |
|
11419 </li> |
|
11420 |
|
11421 </ul><span class="paren">)</span> |
|
11422 </div> |
|
11423 |
|
11424 |
|
11425 |
|
11426 |
|
11427 |
|
11428 |
|
11429 |
|
11430 <span class="flag private">private</span> |
|
11431 |
|
11432 |
|
11433 |
|
11434 |
|
11435 |
|
11436 |
|
11437 |
|
11438 |
|
11439 |
|
11440 |
|
11441 <div class="meta"> |
|
11442 |
|
11443 |
|
11444 |
|
11445 <p> |
|
11446 |
|
11447 Defined in |
|
11448 |
|
11449 |
|
11450 |
|
11451 |
|
11452 <a href="../files/dd_js_dd-plugin.js.html#l152"><code>dd/js/dd-plugin.js:152</code></a> |
|
11453 |
|
11454 </p> |
|
11455 |
|
11456 |
|
11457 |
|
11458 |
|
11459 |
|
11460 </div> |
|
11461 |
|
11462 <div class="description"> |
|
11463 <p>Updates x,y or xy attributes on widget based on where the widget is dragged</p> |
|
11464 </div> |
|
11465 |
|
11466 |
|
11467 <div class="params"> |
|
11468 <h4>Parameters:</h4> |
|
11469 |
|
11470 <ul class="params-list"> |
|
11471 |
|
11472 <li class="param"> |
|
11473 |
|
11474 <code class="param-name">e</code> |
|
11475 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
11476 |
|
11477 |
|
11478 |
|
11479 |
|
11480 <div class="param-description"> |
|
11481 <p>Event Facade</p> |
|
11482 </div> |
|
11483 |
|
11484 |
|
11485 </li> |
|
11486 |
|
11487 </ul> |
|
11488 </div> |
|
11489 |
|
11490 |
|
11491 |
|
11492 |
|
11493 |
|
11494 </div> |
|
11495 |
|
11496 |
|
11497 <div id="method_initializer" class="method item protected"> |
|
11498 <h3 class="name"><code>initializer</code></h3> |
|
11499 |
|
11500 |
|
11501 <span class="paren">()</span> |
|
11502 |
|
11503 |
|
11504 |
|
11505 |
|
11506 |
|
11507 |
|
11508 |
|
11509 <span class="flag protected">protected</span> |
|
11510 |
|
11511 |
|
11512 |
|
11513 |
|
11514 |
|
11515 |
|
11516 |
|
11517 |
|
11518 |
|
11519 |
|
11520 <div class="meta"> |
|
11521 |
|
11522 <p>Inherited from |
|
11523 <a href="../classes/DD.Drag.html#method_initializer"> |
|
11524 DD.Drag |
|
11525 </a> |
|
11526 |
|
11527 but overwritten in |
|
11528 |
|
11529 |
|
11530 |
|
11531 <a href="../files/dd_js_dd-plugin.js.html#l134"><code>dd/js/dd-plugin.js:134</code></a> |
|
11532 |
|
11533 </p> |
|
11534 |
|
11535 |
|
11536 |
|
11537 |
|
11538 |
|
11539 </div> |
|
11540 |
|
11541 <div class="description"> |
|
11542 <p>Sets up event listeners on drag events if interacting with a widget</p> |
|
11543 </div> |
|
11544 |
|
11545 |
|
11546 |
|
11547 |
|
11548 |
|
11549 |
|
11550 </div> |
|
11551 |
|
11552 |
|
11553 <div id="method_modifyAttr" class="method item inherited"> |
|
11554 <h3 class="name"><code>modifyAttr</code></h3> |
|
11555 |
|
11556 |
|
11557 <div class="args"> |
|
11558 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11559 |
|
11560 <li class="arg"> |
|
11561 |
|
11562 <code>name</code> |
|
11563 |
|
11564 </li> |
|
11565 |
|
11566 <li class="arg"> |
|
11567 |
|
11568 <code>config</code> |
|
11569 |
|
11570 </li> |
|
11571 |
|
11572 </ul><span class="paren">)</span> |
|
11573 </div> |
|
11574 |
|
11575 |
|
11576 |
|
11577 |
|
11578 |
|
11579 |
|
11580 |
|
11581 |
|
11582 |
|
11583 |
|
11584 |
|
11585 |
|
11586 |
|
11587 |
|
11588 |
|
11589 |
|
11590 <div class="meta"> |
|
11591 |
|
11592 |
|
11593 <p>Inherited from |
|
11594 <a href="../classes/AttributeExtras.html#method_modifyAttr">AttributeExtras</a>: |
|
11595 |
|
11596 |
|
11597 |
|
11598 <a href="../files/attribute_js_AttributeExtras.js.html#l40"><code>attribute/js/AttributeExtras.js:40</code></a> |
|
11599 |
|
11600 </p> |
|
11601 |
|
11602 |
|
11603 |
|
11604 |
|
11605 |
|
11606 </div> |
|
11607 |
|
11608 <div class="description"> |
|
11609 <p>Updates the configuration of an attribute which has already been added.</p> |
|
11610 |
|
11611 <p> |
|
11612 The properties which can be modified through this interface are limited |
|
11613 to the following subset of attributes, which can be safely modified |
|
11614 after a value has already been set on the attribute: readOnly, writeOnce, |
|
11615 broadcast and getter. |
|
11616 </p> |
|
11617 </div> |
|
11618 |
|
11619 |
|
11620 <div class="params"> |
|
11621 <h4>Parameters:</h4> |
|
11622 |
|
11623 <ul class="params-list"> |
|
11624 |
|
11625 <li class="param"> |
|
11626 |
|
11627 <code class="param-name">name</code> |
|
11628 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11629 |
|
11630 |
|
11631 |
|
11632 |
|
11633 <div class="param-description"> |
|
11634 <p>The name of the attribute whose configuration is to be updated.</p> |
|
11635 </div> |
|
11636 |
|
11637 |
|
11638 </li> |
|
11639 |
|
11640 <li class="param"> |
|
11641 |
|
11642 <code class="param-name">config</code> |
|
11643 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11644 |
|
11645 |
|
11646 |
|
11647 |
|
11648 <div class="param-description"> |
|
11649 <p>An object with configuration property/value pairs, specifying the configuration properties to modify.</p> |
|
11650 </div> |
|
11651 |
|
11652 |
|
11653 </li> |
|
11654 |
|
11655 </ul> |
|
11656 </div> |
|
11657 |
|
11658 |
|
11659 |
|
11660 |
|
11661 |
|
11662 </div> |
|
11663 |
|
11664 |
|
11665 <div id="method_on" class="method item inherited"> |
|
11666 <h3 class="name"><code>on</code></h3> |
|
11667 |
|
11668 |
|
11669 <div class="args"> |
|
11670 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11671 |
|
11672 <li class="arg"> |
|
11673 |
|
11674 <code>type</code> |
|
11675 |
|
11676 </li> |
|
11677 |
|
11678 <li class="arg"> |
|
11679 |
|
11680 <code>fn</code> |
|
11681 |
|
11682 </li> |
|
11683 |
|
11684 <li class="arg"> |
|
11685 |
|
11686 <code class="optional">[context]</code> |
|
11687 |
|
11688 </li> |
|
11689 |
|
11690 <li class="arg"> |
|
11691 |
|
11692 <code class="optional">[arg*]</code> |
|
11693 |
|
11694 </li> |
|
11695 |
|
11696 </ul><span class="paren">)</span> |
|
11697 </div> |
|
11698 |
|
11699 |
|
11700 |
|
11701 <span class="returns-inline"> |
|
11702 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
11703 </span> |
|
11704 |
|
11705 |
|
11706 |
|
11707 |
|
11708 |
|
11709 |
|
11710 |
|
11711 |
|
11712 |
|
11713 |
|
11714 |
|
11715 |
|
11716 |
|
11717 |
|
11718 <div class="meta"> |
|
11719 |
|
11720 |
|
11721 <p>Inherited from |
|
11722 <a href="../classes/EventTarget.html#method_on">EventTarget</a>: |
|
11723 |
|
11724 |
|
11725 |
|
11726 <a href="../files/event-custom_js_event-target.js.html#l188"><code>event-custom/js/event-target.js:188</code></a> |
|
11727 |
|
11728 </p> |
|
11729 |
|
11730 |
|
11731 |
|
11732 |
|
11733 |
|
11734 </div> |
|
11735 |
|
11736 <div class="description"> |
|
11737 <p>Subscribe a callback function to a custom event fired by this object or |
|
11738 from an object that bubbles its events to this object.</p> |
|
11739 |
|
11740 <p>Callback functions for events published with <code>emitFacade = true</code> will |
|
11741 receive an <code>EventFacade</code> as the first argument (typically named "e"). |
|
11742 These callbacks can then call <code>e.preventDefault()</code> to disable the |
|
11743 behavior published to that event's <code>defaultFn</code>. See the <code>EventFacade</code> |
|
11744 API for all available properties and methods. Subscribers to |
|
11745 non-<code>emitFacade</code> events will receive the arguments passed to <code>fire()</code> |
|
11746 after the event name.</p> |
|
11747 |
|
11748 <p>To subscribe to multiple events at once, pass an object as the first |
|
11749 argument, where the key:value pairs correspond to the eventName:callback, |
|
11750 or pass an array of event names as the first argument to subscribe to |
|
11751 all listed events with the same callback.</p> |
|
11752 |
|
11753 <p>Returning <code>false</code> from a callback is supported as an alternative to |
|
11754 calling <code>e.preventDefault(); e.stopPropagation();</code>. However, it is |
|
11755 recommended to use the event methods whenever possible.</p> |
|
11756 </div> |
|
11757 |
|
11758 |
|
11759 <div class="params"> |
|
11760 <h4>Parameters:</h4> |
|
11761 |
|
11762 <ul class="params-list"> |
|
11763 |
|
11764 <li class="param"> |
|
11765 |
|
11766 <code class="param-name">type</code> |
|
11767 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11768 |
|
11769 |
|
11770 |
|
11771 |
|
11772 <div class="param-description"> |
|
11773 <p>The name of the event</p> |
|
11774 </div> |
|
11775 |
|
11776 |
|
11777 </li> |
|
11778 |
|
11779 <li class="param"> |
|
11780 |
|
11781 <code class="param-name">fn</code> |
|
11782 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
11783 |
|
11784 |
|
11785 |
|
11786 |
|
11787 <div class="param-description"> |
|
11788 <p>The callback to execute in response to the event</p> |
|
11789 </div> |
|
11790 |
|
11791 |
|
11792 </li> |
|
11793 |
|
11794 <li class="param"> |
|
11795 |
|
11796 <code class="param-name optional">[context]</code> |
|
11797 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11798 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11799 |
|
11800 |
|
11801 |
|
11802 |
|
11803 <div class="param-description"> |
|
11804 <p>Override <code>this</code> object in callback</p> |
|
11805 </div> |
|
11806 |
|
11807 |
|
11808 </li> |
|
11809 |
|
11810 <li class="param"> |
|
11811 |
|
11812 <code class="param-name optional">[arg*]</code> |
|
11813 <span class="type">Any</span> |
|
11814 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11815 |
|
11816 |
|
11817 |
|
11818 |
|
11819 <div class="param-description"> |
|
11820 <p>0..n additional arguments to supply to the subscriber</p> |
|
11821 </div> |
|
11822 |
|
11823 |
|
11824 </li> |
|
11825 |
|
11826 </ul> |
|
11827 </div> |
|
11828 |
|
11829 |
|
11830 |
|
11831 <div class="returns"> |
|
11832 <h4>Returns:</h4> |
|
11833 |
|
11834 <div class="returns-description"> |
|
11835 |
|
11836 |
|
11837 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
11838 |
|
11839 A subscription handle capable of detaching that |
|
11840 subscription |
|
11841 |
|
11842 </div> |
|
11843 </div> |
|
11844 |
|
11845 |
|
11846 |
|
11847 </div> |
|
11848 |
|
11849 |
|
11850 <div id="method_once" class="method item inherited"> |
|
11851 <h3 class="name"><code>once</code></h3> |
|
11852 |
|
11853 |
|
11854 <div class="args"> |
|
11855 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11856 |
|
11857 <li class="arg"> |
|
11858 |
|
11859 <code>type</code> |
|
11860 |
|
11861 </li> |
|
11862 |
|
11863 <li class="arg"> |
|
11864 |
|
11865 <code>fn</code> |
|
11866 |
|
11867 </li> |
|
11868 |
|
11869 <li class="arg"> |
|
11870 |
|
11871 <code class="optional">[context]</code> |
|
11872 |
|
11873 </li> |
|
11874 |
|
11875 <li class="arg"> |
|
11876 |
|
11877 <code class="optional">[arg*]</code> |
|
11878 |
|
11879 </li> |
|
11880 |
|
11881 </ul><span class="paren">)</span> |
|
11882 </div> |
|
11883 |
|
11884 |
|
11885 |
|
11886 <span class="returns-inline"> |
|
11887 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
11888 </span> |
|
11889 |
|
11890 |
|
11891 |
|
11892 |
|
11893 |
|
11894 |
|
11895 |
|
11896 |
|
11897 |
|
11898 |
|
11899 |
|
11900 |
|
11901 |
|
11902 |
|
11903 <div class="meta"> |
|
11904 |
|
11905 |
|
11906 <p>Inherited from |
|
11907 <a href="../classes/EventTarget.html#method_once">EventTarget</a>: |
|
11908 |
|
11909 |
|
11910 |
|
11911 <a href="../files/event-custom_js_event-target.js.html#l124"><code>event-custom/js/event-target.js:124</code></a> |
|
11912 |
|
11913 </p> |
|
11914 |
|
11915 |
|
11916 |
|
11917 |
|
11918 |
|
11919 </div> |
|
11920 |
|
11921 <div class="description"> |
|
11922 <p>Listen to a custom event hosted by this object one time. |
|
11923 This is the equivalent to <code>on</code> except the |
|
11924 listener is immediatelly detached when it is executed.</p> |
|
11925 </div> |
|
11926 |
|
11927 |
|
11928 <div class="params"> |
|
11929 <h4>Parameters:</h4> |
|
11930 |
|
11931 <ul class="params-list"> |
|
11932 |
|
11933 <li class="param"> |
|
11934 |
|
11935 <code class="param-name">type</code> |
|
11936 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11937 |
|
11938 |
|
11939 |
|
11940 |
|
11941 <div class="param-description"> |
|
11942 <p>The name of the event</p> |
|
11943 </div> |
|
11944 |
|
11945 |
|
11946 </li> |
|
11947 |
|
11948 <li class="param"> |
|
11949 |
|
11950 <code class="param-name">fn</code> |
|
11951 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
11952 |
|
11953 |
|
11954 |
|
11955 |
|
11956 <div class="param-description"> |
|
11957 <p>The callback to execute in response to the event</p> |
|
11958 </div> |
|
11959 |
|
11960 |
|
11961 </li> |
|
11962 |
|
11963 <li class="param"> |
|
11964 |
|
11965 <code class="param-name optional">[context]</code> |
|
11966 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11967 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11968 |
|
11969 |
|
11970 |
|
11971 |
|
11972 <div class="param-description"> |
|
11973 <p>Override <code>this</code> object in callback</p> |
|
11974 </div> |
|
11975 |
|
11976 |
|
11977 </li> |
|
11978 |
|
11979 <li class="param"> |
|
11980 |
|
11981 <code class="param-name optional">[arg*]</code> |
|
11982 <span class="type">Any</span> |
|
11983 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11984 |
|
11985 |
|
11986 |
|
11987 |
|
11988 <div class="param-description"> |
|
11989 <p>0..n additional arguments to supply to the subscriber</p> |
|
11990 </div> |
|
11991 |
|
11992 |
|
11993 </li> |
|
11994 |
|
11995 </ul> |
|
11996 </div> |
|
11997 |
|
11998 |
|
11999 |
|
12000 <div class="returns"> |
|
12001 <h4>Returns:</h4> |
|
12002 |
|
12003 <div class="returns-description"> |
|
12004 |
|
12005 |
|
12006 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
12007 |
|
12008 A subscription handle capable of detaching the |
|
12009 subscription |
|
12010 |
|
12011 </div> |
|
12012 </div> |
|
12013 |
|
12014 |
|
12015 |
|
12016 </div> |
|
12017 |
|
12018 |
|
12019 <div id="method_onceAfter" class="method item inherited"> |
|
12020 <h3 class="name"><code>onceAfter</code></h3> |
|
12021 |
|
12022 |
|
12023 <div class="args"> |
|
12024 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12025 |
|
12026 <li class="arg"> |
|
12027 |
|
12028 <code>type</code> |
|
12029 |
|
12030 </li> |
|
12031 |
|
12032 <li class="arg"> |
|
12033 |
|
12034 <code>fn</code> |
|
12035 |
|
12036 </li> |
|
12037 |
|
12038 <li class="arg"> |
|
12039 |
|
12040 <code class="optional">[context]</code> |
|
12041 |
|
12042 </li> |
|
12043 |
|
12044 <li class="arg"> |
|
12045 |
|
12046 <code class="optional">[arg*]</code> |
|
12047 |
|
12048 </li> |
|
12049 |
|
12050 </ul><span class="paren">)</span> |
|
12051 </div> |
|
12052 |
|
12053 |
|
12054 |
|
12055 <span class="returns-inline"> |
|
12056 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
12057 </span> |
|
12058 |
|
12059 |
|
12060 |
|
12061 |
|
12062 |
|
12063 |
|
12064 |
|
12065 |
|
12066 |
|
12067 |
|
12068 |
|
12069 |
|
12070 |
|
12071 |
|
12072 <div class="meta"> |
|
12073 |
|
12074 |
|
12075 <p>Inherited from |
|
12076 <a href="../classes/EventTarget.html#method_onceAfter">EventTarget</a>: |
|
12077 |
|
12078 |
|
12079 |
|
12080 <a href="../files/event-custom_js_event-target.js.html#l146"><code>event-custom/js/event-target.js:146</code></a> |
|
12081 |
|
12082 </p> |
|
12083 |
|
12084 |
|
12085 |
|
12086 |
|
12087 |
|
12088 </div> |
|
12089 |
|
12090 <div class="description"> |
|
12091 <p>Listen to a custom event hosted by this object one time. |
|
12092 This is the equivalent to <code>after</code> except the |
|
12093 listener is immediatelly detached when it is executed.</p> |
|
12094 </div> |
|
12095 |
|
12096 |
|
12097 <div class="params"> |
|
12098 <h4>Parameters:</h4> |
|
12099 |
|
12100 <ul class="params-list"> |
|
12101 |
|
12102 <li class="param"> |
|
12103 |
|
12104 <code class="param-name">type</code> |
|
12105 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12106 |
|
12107 |
|
12108 |
|
12109 |
|
12110 <div class="param-description"> |
|
12111 <p>The name of the event</p> |
|
12112 </div> |
|
12113 |
|
12114 |
|
12115 </li> |
|
12116 |
|
12117 <li class="param"> |
|
12118 |
|
12119 <code class="param-name">fn</code> |
|
12120 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
12121 |
|
12122 |
|
12123 |
|
12124 |
|
12125 <div class="param-description"> |
|
12126 <p>The callback to execute in response to the event</p> |
|
12127 </div> |
|
12128 |
|
12129 |
|
12130 </li> |
|
12131 |
|
12132 <li class="param"> |
|
12133 |
|
12134 <code class="param-name optional">[context]</code> |
|
12135 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12136 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
12137 |
|
12138 |
|
12139 |
|
12140 |
|
12141 <div class="param-description"> |
|
12142 <p>Override <code>this</code> object in callback</p> |
|
12143 </div> |
|
12144 |
|
12145 |
|
12146 </li> |
|
12147 |
|
12148 <li class="param"> |
|
12149 |
|
12150 <code class="param-name optional">[arg*]</code> |
|
12151 <span class="type">Any</span> |
|
12152 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
12153 |
|
12154 |
|
12155 |
|
12156 |
|
12157 <div class="param-description"> |
|
12158 <p>0..n additional arguments to supply to the subscriber</p> |
|
12159 </div> |
|
12160 |
|
12161 |
|
12162 </li> |
|
12163 |
|
12164 </ul> |
|
12165 </div> |
|
12166 |
|
12167 |
|
12168 |
|
12169 <div class="returns"> |
|
12170 <h4>Returns:</h4> |
|
12171 |
|
12172 <div class="returns-description"> |
|
12173 |
|
12174 |
|
12175 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
12176 |
|
12177 A subscription handle capable of detaching that |
|
12178 subscription |
|
12179 |
|
12180 </div> |
|
12181 </div> |
|
12182 |
|
12183 |
|
12184 |
|
12185 </div> |
|
12186 |
|
12187 |
|
12188 <div id="method_parseType" class="method item inherited"> |
|
12189 <h3 class="name"><code>parseType</code></h3> |
|
12190 |
|
12191 |
|
12192 <div class="args"> |
|
12193 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12194 |
|
12195 <li class="arg"> |
|
12196 |
|
12197 <code>type</code> |
|
12198 |
|
12199 </li> |
|
12200 |
|
12201 <li class="arg"> |
|
12202 |
|
12203 <code class="optional">[pre=this._yuievt.config.prefix]</code> |
|
12204 |
|
12205 </li> |
|
12206 |
|
12207 </ul><span class="paren">)</span> |
|
12208 </div> |
|
12209 |
|
12210 |
|
12211 |
|
12212 <span class="returns-inline"> |
|
12213 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
12214 </span> |
|
12215 |
|
12216 |
|
12217 |
|
12218 |
|
12219 |
|
12220 |
|
12221 |
|
12222 |
|
12223 |
|
12224 |
|
12225 |
|
12226 |
|
12227 |
|
12228 |
|
12229 <div class="meta"> |
|
12230 |
|
12231 |
|
12232 <p>Inherited from |
|
12233 <a href="../classes/EventTarget.html#method_parseType">EventTarget</a>: |
|
12234 |
|
12235 |
|
12236 |
|
12237 <a href="../files/event-custom_js_event-target.js.html#l168"><code>event-custom/js/event-target.js:168</code></a> |
|
12238 |
|
12239 </p> |
|
12240 |
|
12241 |
|
12242 |
|
12243 |
|
12244 |
|
12245 <p>Available since 3.3.0</p> |
|
12246 |
|
12247 </div> |
|
12248 |
|
12249 <div class="description"> |
|
12250 <p>Takes the type parameter passed to 'on' and parses out the |
|
12251 various pieces that could be included in the type. If the |
|
12252 event type is passed without a prefix, it will be expanded |
|
12253 to include the prefix one is supplied or the event target |
|
12254 is configured with a default prefix.</p> |
|
12255 </div> |
|
12256 |
|
12257 |
|
12258 <div class="params"> |
|
12259 <h4>Parameters:</h4> |
|
12260 |
|
12261 <ul class="params-list"> |
|
12262 |
|
12263 <li class="param"> |
|
12264 |
|
12265 <code class="param-name">type</code> |
|
12266 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12267 |
|
12268 |
|
12269 |
|
12270 |
|
12271 <div class="param-description"> |
|
12272 <p>the type</p> |
|
12273 </div> |
|
12274 |
|
12275 |
|
12276 </li> |
|
12277 |
|
12278 <li class="param"> |
|
12279 |
|
12280 <code class="param-name optional">[pre=this._yuievt.config.prefix]</code> |
|
12281 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12282 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
12283 |
|
12284 |
|
12285 |
|
12286 |
|
12287 <div class="param-description"> |
|
12288 <p>the prefix</p> |
|
12289 </div> |
|
12290 |
|
12291 |
|
12292 </li> |
|
12293 |
|
12294 </ul> |
|
12295 </div> |
|
12296 |
|
12297 |
|
12298 |
|
12299 <div class="returns"> |
|
12300 <h4>Returns:</h4> |
|
12301 |
|
12302 <div class="returns-description"> |
|
12303 |
|
12304 |
|
12305 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>: |
|
12306 |
|
12307 an array containing: |
|
12308 * the detach category, if supplied, |
|
12309 * the prefixed event type, |
|
12310 * whether or not this is an after listener, |
|
12311 * the supplied event type |
|
12312 |
|
12313 </div> |
|
12314 </div> |
|
12315 |
|
12316 |
|
12317 |
|
12318 </div> |
|
12319 |
|
12320 |
|
12321 <div id="method_publish" class="method item inherited"> |
|
12322 <h3 class="name"><code>publish</code></h3> |
|
12323 |
|
12324 |
|
12325 <div class="args"> |
|
12326 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12327 |
|
12328 <li class="arg"> |
|
12329 |
|
12330 <code>type</code> |
|
12331 |
|
12332 </li> |
|
12333 |
|
12334 <li class="arg"> |
|
12335 |
|
12336 <code>opts</code> |
|
12337 |
|
12338 </li> |
|
12339 |
|
12340 </ul><span class="paren">)</span> |
|
12341 </div> |
|
12342 |
|
12343 |
|
12344 |
|
12345 <span class="returns-inline"> |
|
12346 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
12347 </span> |
|
12348 |
|
12349 |
|
12350 |
|
12351 |
|
12352 |
|
12353 |
|
12354 |
|
12355 |
|
12356 |
|
12357 |
|
12358 |
|
12359 |
|
12360 |
|
12361 |
|
12362 <div class="meta"> |
|
12363 |
|
12364 |
|
12365 <p>Inherited from |
|
12366 <a href="../classes/EventTarget.html#method_publish">EventTarget</a>: |
|
12367 |
|
12368 |
|
12369 |
|
12370 <a href="../files/event-custom_js_event-target.js.html#l493"><code>event-custom/js/event-target.js:493</code></a> |
|
12371 |
|
12372 </p> |
|
12373 |
|
12374 |
|
12375 |
|
12376 |
|
12377 |
|
12378 </div> |
|
12379 |
|
12380 <div class="description"> |
|
12381 <p>Creates a new custom event of the specified type. If a custom event |
|
12382 by that name already exists, it will not be re-created. In either |
|
12383 case the custom event is returned.</p> |
|
12384 </div> |
|
12385 |
|
12386 |
|
12387 <div class="params"> |
|
12388 <h4>Parameters:</h4> |
|
12389 |
|
12390 <ul class="params-list"> |
|
12391 |
|
12392 <li class="param"> |
|
12393 |
|
12394 <code class="param-name">type</code> |
|
12395 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12396 |
|
12397 |
|
12398 |
|
12399 |
|
12400 <div class="param-description"> |
|
12401 <p>the type, or name of the event</p> |
|
12402 </div> |
|
12403 |
|
12404 |
|
12405 </li> |
|
12406 |
|
12407 <li class="param"> |
|
12408 |
|
12409 <code class="param-name">opts</code> |
|
12410 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12411 |
|
12412 |
|
12413 |
|
12414 |
|
12415 <div class="param-description"> |
|
12416 <p>optional config params. Valid properties are:</p> |
|
12417 |
|
12418 <p><ul> |
|
12419 <li> |
|
12420 'broadcast': whether or not the YUI instance and YUI global are notified when the event is fired (false) |
|
12421 </li> |
|
12422 <li> |
|
12423 'bubbles': whether or not this event bubbles (true) |
|
12424 Events can only bubble if emitFacade is true. |
|
12425 </li> |
|
12426 <li> |
|
12427 'context': the default execution context for the listeners (this) |
|
12428 </li> |
|
12429 <li> |
|
12430 'defaultFn': the default function to execute when this event fires if preventDefault was not called |
|
12431 </li> |
|
12432 <li> |
|
12433 'emitFacade': whether or not this event emits a facade (false) |
|
12434 </li> |
|
12435 <li> |
|
12436 'prefix': the prefix for this targets events, e.g., 'menu' in 'menu:click' |
|
12437 </li> |
|
12438 <li> |
|
12439 'fireOnce': if an event is configured to fire once, new subscribers after |
|
12440 the fire will be notified immediately. |
|
12441 </li> |
|
12442 <li> |
|
12443 'async': fireOnce event listeners will fire synchronously if the event has already |
|
12444 fired unless async is true. |
|
12445 </li> |
|
12446 <li> |
|
12447 'preventable': whether or not preventDefault() has an effect (true) |
|
12448 </li> |
|
12449 <li> |
|
12450 'preventedFn': a function that is executed when preventDefault is called |
|
12451 </li> |
|
12452 <li> |
|
12453 'queuable': whether or not this event can be queued during bubbling (false) |
|
12454 </li> |
|
12455 <li> |
|
12456 'silent': if silent is true, debug messages are not provided for this event. |
|
12457 </li> |
|
12458 <li> |
|
12459 'stoppedFn': a function that is executed when stopPropagation is called |
|
12460 </li></p> |
|
12461 |
|
12462 <p><li> |
|
12463 'monitored': specifies whether or not this event should send notifications about |
|
12464 when the event has been attached, detached, or published. |
|
12465 </li> |
|
12466 <li> |
|
12467 'type': the event type (valid option if not provided as the first parameter to publish) |
|
12468 </li> |
|
12469 </ul></p> |
|
12470 </div> |
|
12471 |
|
12472 |
|
12473 </li> |
|
12474 |
|
12475 </ul> |
|
12476 </div> |
|
12477 |
|
12478 |
|
12479 |
|
12480 <div class="returns"> |
|
12481 <h4>Returns:</h4> |
|
12482 |
|
12483 <div class="returns-description"> |
|
12484 |
|
12485 |
|
12486 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>: |
|
12487 |
|
12488 the custom event |
|
12489 |
|
12490 </div> |
|
12491 </div> |
|
12492 |
|
12493 |
|
12494 |
|
12495 </div> |
|
12496 |
|
12497 |
|
12498 <div id="method_removeAttr" class="method item inherited"> |
|
12499 <h3 class="name"><code>removeAttr</code></h3> |
|
12500 |
|
12501 |
|
12502 <div class="args"> |
|
12503 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12504 |
|
12505 <li class="arg"> |
|
12506 |
|
12507 <code>name</code> |
|
12508 |
|
12509 </li> |
|
12510 |
|
12511 </ul><span class="paren">)</span> |
|
12512 </div> |
|
12513 |
|
12514 |
|
12515 |
|
12516 |
|
12517 |
|
12518 |
|
12519 |
|
12520 |
|
12521 |
|
12522 |
|
12523 |
|
12524 |
|
12525 |
|
12526 |
|
12527 |
|
12528 |
|
12529 <div class="meta"> |
|
12530 |
|
12531 |
|
12532 <p>Inherited from |
|
12533 <a href="../classes/AttributeExtras.html#method_removeAttr">AttributeExtras</a>: |
|
12534 |
|
12535 |
|
12536 |
|
12537 <a href="../files/attribute_js_AttributeExtras.js.html#l79"><code>attribute/js/AttributeExtras.js:79</code></a> |
|
12538 |
|
12539 </p> |
|
12540 |
|
12541 |
|
12542 |
|
12543 |
|
12544 |
|
12545 </div> |
|
12546 |
|
12547 <div class="description"> |
|
12548 <p>Removes an attribute from the host object</p> |
|
12549 </div> |
|
12550 |
|
12551 |
|
12552 <div class="params"> |
|
12553 <h4>Parameters:</h4> |
|
12554 |
|
12555 <ul class="params-list"> |
|
12556 |
|
12557 <li class="param"> |
|
12558 |
|
12559 <code class="param-name">name</code> |
|
12560 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12561 |
|
12562 |
|
12563 |
|
12564 |
|
12565 <div class="param-description"> |
|
12566 <p>The name of the attribute to be removed.</p> |
|
12567 </div> |
|
12568 |
|
12569 |
|
12570 </li> |
|
12571 |
|
12572 </ul> |
|
12573 </div> |
|
12574 |
|
12575 |
|
12576 |
|
12577 |
|
12578 |
|
12579 </div> |
|
12580 |
|
12581 |
|
12582 <div id="method_removeFromGroup" class="method item inherited"> |
|
12583 <h3 class="name"><code>removeFromGroup</code></h3> |
|
12584 |
|
12585 |
|
12586 <div class="args"> |
|
12587 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12588 |
|
12589 <li class="arg"> |
|
12590 |
|
12591 <code>g</code> |
|
12592 |
|
12593 </li> |
|
12594 |
|
12595 </ul><span class="paren">)</span> |
|
12596 </div> |
|
12597 |
|
12598 |
|
12599 |
|
12600 <span class="returns-inline"> |
|
12601 <span class="type">Self</span> |
|
12602 </span> |
|
12603 |
|
12604 |
|
12605 |
|
12606 |
|
12607 |
|
12608 |
|
12609 |
|
12610 |
|
12611 |
|
12612 |
|
12613 |
|
12614 <span class="flag chainable">chainable</span> |
|
12615 |
|
12616 |
|
12617 |
|
12618 |
|
12619 <div class="meta"> |
|
12620 |
|
12621 |
|
12622 <p>Inherited from |
|
12623 <a href="../classes/DD.Drag.html#method_removeFromGroup">DD.Drag</a>: |
|
12624 |
|
12625 |
|
12626 |
|
12627 <a href="../files/dd_js_drag.js.html#l469"><code>dd/js/drag.js:469</code></a> |
|
12628 |
|
12629 </p> |
|
12630 |
|
12631 |
|
12632 |
|
12633 |
|
12634 |
|
12635 </div> |
|
12636 |
|
12637 <div class="description"> |
|
12638 <p>Remove this Drag instance from a group, this should be used for on-the-fly group removals.</p> |
|
12639 </div> |
|
12640 |
|
12641 |
|
12642 <div class="params"> |
|
12643 <h4>Parameters:</h4> |
|
12644 |
|
12645 <ul class="params-list"> |
|
12646 |
|
12647 <li class="param"> |
|
12648 |
|
12649 <code class="param-name">g</code> |
|
12650 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12651 |
|
12652 |
|
12653 |
|
12654 |
|
12655 <div class="param-description"> |
|
12656 <p>The group to remove this Drag Instance from.</p> |
|
12657 </div> |
|
12658 |
|
12659 |
|
12660 </li> |
|
12661 |
|
12662 </ul> |
|
12663 </div> |
|
12664 |
|
12665 |
|
12666 |
|
12667 <div class="returns"> |
|
12668 <h4>Returns:</h4> |
|
12669 |
|
12670 <div class="returns-description"> |
|
12671 |
|
12672 |
|
12673 <span class="type">Self</span>: |
|
12674 |
|
12675 |
|
12676 </div> |
|
12677 </div> |
|
12678 |
|
12679 |
|
12680 |
|
12681 </div> |
|
12682 |
|
12683 |
|
12684 <div id="method_removeHandle" class="method item inherited"> |
|
12685 <h3 class="name"><code>removeHandle</code></h3> |
|
12686 |
|
12687 |
|
12688 <div class="args"> |
|
12689 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12690 |
|
12691 <li class="arg"> |
|
12692 |
|
12693 <code>str</code> |
|
12694 |
|
12695 </li> |
|
12696 |
|
12697 </ul><span class="paren">)</span> |
|
12698 </div> |
|
12699 |
|
12700 |
|
12701 |
|
12702 <span class="returns-inline"> |
|
12703 <span class="type">Self</span> |
|
12704 </span> |
|
12705 |
|
12706 |
|
12707 |
|
12708 |
|
12709 |
|
12710 |
|
12711 |
|
12712 |
|
12713 |
|
12714 |
|
12715 |
|
12716 <span class="flag chainable">chainable</span> |
|
12717 |
|
12718 |
|
12719 |
|
12720 |
|
12721 <div class="meta"> |
|
12722 |
|
12723 |
|
12724 <p>Inherited from |
|
12725 <a href="../classes/DD.Drag.html#method_removeHandle">DD.Drag</a>: |
|
12726 |
|
12727 |
|
12728 |
|
12729 <a href="../files/dd_js_drag.js.html#l899"><code>dd/js/drag.js:899</code></a> |
|
12730 |
|
12731 </p> |
|
12732 |
|
12733 |
|
12734 |
|
12735 |
|
12736 |
|
12737 </div> |
|
12738 |
|
12739 <div class="description"> |
|
12740 <p>Remove a Selector added by addHandle</p> |
|
12741 </div> |
|
12742 |
|
12743 |
|
12744 <div class="params"> |
|
12745 <h4>Parameters:</h4> |
|
12746 |
|
12747 <ul class="params-list"> |
|
12748 |
|
12749 <li class="param"> |
|
12750 |
|
12751 <code class="param-name">str</code> |
|
12752 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12753 |
|
12754 |
|
12755 |
|
12756 |
|
12757 <div class="param-description"> |
|
12758 <p>The selector for the handle to be removed.</p> |
|
12759 </div> |
|
12760 |
|
12761 |
|
12762 </li> |
|
12763 |
|
12764 </ul> |
|
12765 </div> |
|
12766 |
|
12767 |
|
12768 |
|
12769 <div class="returns"> |
|
12770 <h4>Returns:</h4> |
|
12771 |
|
12772 <div class="returns-description"> |
|
12773 |
|
12774 |
|
12775 <span class="type">Self</span>: |
|
12776 |
|
12777 |
|
12778 </div> |
|
12779 </div> |
|
12780 |
|
12781 |
|
12782 |
|
12783 </div> |
|
12784 |
|
12785 |
|
12786 <div id="method_removeInvalid" class="method item inherited"> |
|
12787 <h3 class="name"><code>removeInvalid</code></h3> |
|
12788 |
|
12789 |
|
12790 <div class="args"> |
|
12791 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12792 |
|
12793 <li class="arg"> |
|
12794 |
|
12795 <code>str</code> |
|
12796 |
|
12797 </li> |
|
12798 |
|
12799 </ul><span class="paren">)</span> |
|
12800 </div> |
|
12801 |
|
12802 |
|
12803 |
|
12804 <span class="returns-inline"> |
|
12805 <span class="type">Self</span> |
|
12806 </span> |
|
12807 |
|
12808 |
|
12809 |
|
12810 |
|
12811 |
|
12812 |
|
12813 |
|
12814 |
|
12815 |
|
12816 |
|
12817 |
|
12818 <span class="flag chainable">chainable</span> |
|
12819 |
|
12820 |
|
12821 |
|
12822 |
|
12823 <div class="meta"> |
|
12824 |
|
12825 |
|
12826 <p>Inherited from |
|
12827 <a href="../classes/DD.Drag.html#method_removeInvalid">DD.Drag</a>: |
|
12828 |
|
12829 |
|
12830 |
|
12831 <a href="../files/dd_js_drag.js.html#l936"><code>dd/js/drag.js:936</code></a> |
|
12832 |
|
12833 </p> |
|
12834 |
|
12835 |
|
12836 |
|
12837 |
|
12838 |
|
12839 </div> |
|
12840 |
|
12841 <div class="description"> |
|
12842 <p>Remove an invalid handle added by addInvalid</p> |
|
12843 </div> |
|
12844 |
|
12845 |
|
12846 <div class="params"> |
|
12847 <h4>Parameters:</h4> |
|
12848 |
|
12849 <ul class="params-list"> |
|
12850 |
|
12851 <li class="param"> |
|
12852 |
|
12853 <code class="param-name">str</code> |
|
12854 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12855 |
|
12856 |
|
12857 |
|
12858 |
|
12859 <div class="param-description"> |
|
12860 <p>The invalid handle to remove from the internal list.</p> |
|
12861 </div> |
|
12862 |
|
12863 |
|
12864 </li> |
|
12865 |
|
12866 </ul> |
|
12867 </div> |
|
12868 |
|
12869 |
|
12870 |
|
12871 <div class="returns"> |
|
12872 <h4>Returns:</h4> |
|
12873 |
|
12874 <div class="returns-description"> |
|
12875 |
|
12876 |
|
12877 <span class="type">Self</span>: |
|
12878 |
|
12879 |
|
12880 </div> |
|
12881 </div> |
|
12882 |
|
12883 |
|
12884 |
|
12885 </div> |
|
12886 |
|
12887 |
|
12888 <div id="method_removeTarget" class="method item inherited"> |
|
12889 <h3 class="name"><code>removeTarget</code></h3> |
|
12890 |
|
12891 |
|
12892 <div class="args"> |
|
12893 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12894 |
|
12895 <li class="arg"> |
|
12896 |
|
12897 <code>o</code> |
|
12898 |
|
12899 </li> |
|
12900 |
|
12901 </ul><span class="paren">)</span> |
|
12902 </div> |
|
12903 |
|
12904 |
|
12905 |
|
12906 |
|
12907 |
|
12908 |
|
12909 |
|
12910 |
|
12911 |
|
12912 |
|
12913 |
|
12914 |
|
12915 |
|
12916 |
|
12917 |
|
12918 |
|
12919 <div class="meta"> |
|
12920 |
|
12921 |
|
12922 <p>Inherited from |
|
12923 <a href="../classes/EventTarget.html#method_removeTarget">EventTarget</a>: |
|
12924 |
|
12925 |
|
12926 |
|
12927 <a href="../files/event-custom_js_event-facade.js.html#l489"><code>event-custom/js/event-facade.js:489</code></a> |
|
12928 |
|
12929 </p> |
|
12930 |
|
12931 |
|
12932 |
|
12933 |
|
12934 |
|
12935 </div> |
|
12936 |
|
12937 <div class="description"> |
|
12938 <p>Removes a bubble target</p> |
|
12939 </div> |
|
12940 |
|
12941 |
|
12942 <div class="params"> |
|
12943 <h4>Parameters:</h4> |
|
12944 |
|
12945 <ul class="params-list"> |
|
12946 |
|
12947 <li class="param"> |
|
12948 |
|
12949 <code class="param-name">o</code> |
|
12950 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
12951 |
|
12952 |
|
12953 |
|
12954 |
|
12955 <div class="param-description"> |
|
12956 <p>the target to remove</p> |
|
12957 </div> |
|
12958 |
|
12959 |
|
12960 </li> |
|
12961 |
|
12962 </ul> |
|
12963 </div> |
|
12964 |
|
12965 |
|
12966 |
|
12967 |
|
12968 |
|
12969 </div> |
|
12970 |
|
12971 |
|
12972 <div id="method_reset" class="method item inherited"> |
|
12973 <h3 class="name"><code>reset</code></h3> |
|
12974 |
|
12975 |
|
12976 <div class="args"> |
|
12977 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12978 |
|
12979 <li class="arg"> |
|
12980 |
|
12981 <code>name</code> |
|
12982 |
|
12983 </li> |
|
12984 |
|
12985 </ul><span class="paren">)</span> |
|
12986 </div> |
|
12987 |
|
12988 |
|
12989 |
|
12990 <span class="returns-inline"> |
|
12991 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12992 </span> |
|
12993 |
|
12994 |
|
12995 |
|
12996 |
|
12997 |
|
12998 |
|
12999 |
|
13000 |
|
13001 |
|
13002 |
|
13003 |
|
13004 <span class="flag chainable">chainable</span> |
|
13005 |
|
13006 |
|
13007 |
|
13008 |
|
13009 <div class="meta"> |
|
13010 |
|
13011 |
|
13012 <p>Inherited from |
|
13013 <a href="../classes/AttributeExtras.html#method_reset">AttributeExtras</a>: |
|
13014 |
|
13015 |
|
13016 |
|
13017 <a href="../files/attribute_js_AttributeExtras.js.html#l89"><code>attribute/js/AttributeExtras.js:89</code></a> |
|
13018 |
|
13019 </p> |
|
13020 |
|
13021 |
|
13022 |
|
13023 |
|
13024 |
|
13025 </div> |
|
13026 |
|
13027 <div class="description"> |
|
13028 <p>Resets the attribute (or all attributes) to its initial value, as long as |
|
13029 the attribute is not readOnly, or writeOnce.</p> |
|
13030 </div> |
|
13031 |
|
13032 |
|
13033 <div class="params"> |
|
13034 <h4>Parameters:</h4> |
|
13035 |
|
13036 <ul class="params-list"> |
|
13037 |
|
13038 <li class="param"> |
|
13039 |
|
13040 <code class="param-name">name</code> |
|
13041 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13042 |
|
13043 |
|
13044 |
|
13045 |
|
13046 <div class="param-description"> |
|
13047 <p>Optional. The name of the attribute to reset. If omitted, all attributes are reset.</p> |
|
13048 </div> |
|
13049 |
|
13050 |
|
13051 </li> |
|
13052 |
|
13053 </ul> |
|
13054 </div> |
|
13055 |
|
13056 |
|
13057 |
|
13058 <div class="returns"> |
|
13059 <h4>Returns:</h4> |
|
13060 |
|
13061 <div class="returns-description"> |
|
13062 |
|
13063 |
|
13064 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
13065 |
|
13066 A reference to the host object. |
|
13067 |
|
13068 </div> |
|
13069 </div> |
|
13070 |
|
13071 |
|
13072 |
|
13073 </div> |
|
13074 |
|
13075 |
|
13076 <div id="method_set" class="method item inherited"> |
|
13077 <h3 class="name"><code>set</code></h3> |
|
13078 |
|
13079 |
|
13080 <div class="args"> |
|
13081 <span class="paren">(</span><ul class="args-list inline commas"> |
|
13082 |
|
13083 <li class="arg"> |
|
13084 |
|
13085 <code>name</code> |
|
13086 |
|
13087 </li> |
|
13088 |
|
13089 <li class="arg"> |
|
13090 |
|
13091 <code>value</code> |
|
13092 |
|
13093 </li> |
|
13094 |
|
13095 <li class="arg"> |
|
13096 |
|
13097 <code class="optional">[opts]</code> |
|
13098 |
|
13099 </li> |
|
13100 |
|
13101 </ul><span class="paren">)</span> |
|
13102 </div> |
|
13103 |
|
13104 |
|
13105 |
|
13106 <span class="returns-inline"> |
|
13107 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13108 </span> |
|
13109 |
|
13110 |
|
13111 |
|
13112 |
|
13113 |
|
13114 |
|
13115 |
|
13116 |
|
13117 |
|
13118 |
|
13119 |
|
13120 <span class="flag chainable">chainable</span> |
|
13121 |
|
13122 |
|
13123 |
|
13124 |
|
13125 <div class="meta"> |
|
13126 |
|
13127 <p>Inherited from |
|
13128 <a href="../classes/AttributeObservable.html#method_set"> |
|
13129 AttributeObservable |
|
13130 </a> |
|
13131 |
|
13132 but overwritten in |
|
13133 |
|
13134 |
|
13135 |
|
13136 <a href="../files/attribute_js_AttributeCore.js.html#l410"><code>attribute/js/AttributeCore.js:410</code></a> |
|
13137 |
|
13138 </p> |
|
13139 |
|
13140 |
|
13141 |
|
13142 |
|
13143 |
|
13144 </div> |
|
13145 |
|
13146 <div class="description"> |
|
13147 <p>Sets the value of an attribute.</p> |
|
13148 </div> |
|
13149 |
|
13150 |
|
13151 <div class="params"> |
|
13152 <h4>Parameters:</h4> |
|
13153 |
|
13154 <ul class="params-list"> |
|
13155 |
|
13156 <li class="param"> |
|
13157 |
|
13158 <code class="param-name">name</code> |
|
13159 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13160 |
|
13161 |
|
13162 |
|
13163 |
|
13164 <div class="param-description"> |
|
13165 <p>The name of the attribute. If the |
|
13166 current value of the attribute is an Object, dot notation can be used |
|
13167 to set the value of a property within the object (e.g. <code>set("x.y.z", 5)</code>).</p> |
|
13168 </div> |
|
13169 |
|
13170 |
|
13171 </li> |
|
13172 |
|
13173 <li class="param"> |
|
13174 |
|
13175 <code class="param-name">value</code> |
|
13176 <span class="type">Any</span> |
|
13177 |
|
13178 |
|
13179 |
|
13180 |
|
13181 <div class="param-description"> |
|
13182 <p>The value to set the attribute to.</p> |
|
13183 </div> |
|
13184 |
|
13185 |
|
13186 </li> |
|
13187 |
|
13188 <li class="param"> |
|
13189 |
|
13190 <code class="param-name optional">[opts]</code> |
|
13191 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13192 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
13193 |
|
13194 |
|
13195 |
|
13196 |
|
13197 <div class="param-description"> |
|
13198 <p>Optional data providing the circumstances for the change.</p> |
|
13199 </div> |
|
13200 |
|
13201 |
|
13202 </li> |
|
13203 |
|
13204 </ul> |
|
13205 </div> |
|
13206 |
|
13207 |
|
13208 |
|
13209 <div class="returns"> |
|
13210 <h4>Returns:</h4> |
|
13211 |
|
13212 <div class="returns-description"> |
|
13213 |
|
13214 |
|
13215 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
13216 |
|
13217 A reference to the host object. |
|
13218 |
|
13219 </div> |
|
13220 </div> |
|
13221 |
|
13222 |
|
13223 |
|
13224 </div> |
|
13225 |
|
13226 |
|
13227 <div id="method_setAttrs" class="method item inherited"> |
|
13228 <h3 class="name"><code>setAttrs</code></h3> |
|
13229 |
|
13230 |
|
13231 <div class="args"> |
|
13232 <span class="paren">(</span><ul class="args-list inline commas"> |
|
13233 |
|
13234 <li class="arg"> |
|
13235 |
|
13236 <code>attrs</code> |
|
13237 |
|
13238 </li> |
|
13239 |
|
13240 <li class="arg"> |
|
13241 |
|
13242 <code class="optional">[opts]</code> |
|
13243 |
|
13244 </li> |
|
13245 |
|
13246 </ul><span class="paren">)</span> |
|
13247 </div> |
|
13248 |
|
13249 |
|
13250 |
|
13251 <span class="returns-inline"> |
|
13252 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13253 </span> |
|
13254 |
|
13255 |
|
13256 |
|
13257 |
|
13258 |
|
13259 |
|
13260 |
|
13261 |
|
13262 |
|
13263 |
|
13264 |
|
13265 <span class="flag chainable">chainable</span> |
|
13266 |
|
13267 |
|
13268 |
|
13269 |
|
13270 <div class="meta"> |
|
13271 |
|
13272 <p>Inherited from |
|
13273 <a href="../classes/AttributeObservable.html#method_setAttrs"> |
|
13274 AttributeObservable |
|
13275 </a> |
|
13276 |
|
13277 but overwritten in |
|
13278 |
|
13279 |
|
13280 |
|
13281 <a href="../files/attribute_js_AttributeCore.js.html#l729"><code>attribute/js/AttributeCore.js:729</code></a> |
|
13282 |
|
13283 </p> |
|
13284 |
|
13285 |
|
13286 |
|
13287 |
|
13288 |
|
13289 </div> |
|
13290 |
|
13291 <div class="description"> |
|
13292 <p>Sets multiple attribute values.</p> |
|
13293 </div> |
|
13294 |
|
13295 |
|
13296 <div class="params"> |
|
13297 <h4>Parameters:</h4> |
|
13298 |
|
13299 <ul class="params-list"> |
|
13300 |
|
13301 <li class="param"> |
|
13302 |
|
13303 <code class="param-name">attrs</code> |
|
13304 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13305 |
|
13306 |
|
13307 |
|
13308 |
|
13309 <div class="param-description"> |
|
13310 <p>An object with attributes name/value pairs.</p> |
|
13311 </div> |
|
13312 |
|
13313 |
|
13314 </li> |
|
13315 |
|
13316 <li class="param"> |
|
13317 |
|
13318 <code class="param-name optional">[opts]</code> |
|
13319 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13320 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
13321 |
|
13322 |
|
13323 |
|
13324 |
|
13325 <div class="param-description"> |
|
13326 <p>Optional data providing the circumstances for the change.</p> |
|
13327 </div> |
|
13328 |
|
13329 |
|
13330 </li> |
|
13331 |
|
13332 </ul> |
|
13333 </div> |
|
13334 |
|
13335 |
|
13336 |
|
13337 <div class="returns"> |
|
13338 <h4>Returns:</h4> |
|
13339 |
|
13340 <div class="returns-description"> |
|
13341 |
|
13342 |
|
13343 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
13344 |
|
13345 A reference to the host object. |
|
13346 |
|
13347 </div> |
|
13348 </div> |
|
13349 |
|
13350 |
|
13351 |
|
13352 </div> |
|
13353 |
|
13354 |
|
13355 <div id="method_start" class="method item inherited"> |
|
13356 <h3 class="name"><code>start</code></h3> |
|
13357 |
|
13358 |
|
13359 <span class="paren">()</span> |
|
13360 |
|
13361 |
|
13362 |
|
13363 <span class="returns-inline"> |
|
13364 <span class="type">Self</span> |
|
13365 </span> |
|
13366 |
|
13367 |
|
13368 |
|
13369 |
|
13370 |
|
13371 |
|
13372 |
|
13373 |
|
13374 |
|
13375 |
|
13376 |
|
13377 <span class="flag chainable">chainable</span> |
|
13378 |
|
13379 |
|
13380 |
|
13381 |
|
13382 <div class="meta"> |
|
13383 |
|
13384 |
|
13385 <p>Inherited from |
|
13386 <a href="../classes/DD.Drag.html#method_start">DD.Drag</a>: |
|
13387 |
|
13388 |
|
13389 |
|
13390 <a href="../files/dd_js_drag.js.html#l1028"><code>dd/js/drag.js:1028</code></a> |
|
13391 |
|
13392 </p> |
|
13393 |
|
13394 |
|
13395 |
|
13396 |
|
13397 |
|
13398 </div> |
|
13399 |
|
13400 <div class="description"> |
|
13401 <p>Starts the drag operation</p> |
|
13402 </div> |
|
13403 |
|
13404 |
|
13405 |
|
13406 |
|
13407 <div class="returns"> |
|
13408 <h4>Returns:</h4> |
|
13409 |
|
13410 <div class="returns-description"> |
|
13411 |
|
13412 |
|
13413 <span class="type">Self</span>: |
|
13414 |
|
13415 |
|
13416 </div> |
|
13417 </div> |
|
13418 |
|
13419 |
|
13420 |
|
13421 </div> |
|
13422 |
|
13423 |
|
13424 <div id="method_stopDrag" class="method item inherited"> |
|
13425 <h3 class="name"><code>stopDrag</code></h3> |
|
13426 |
|
13427 |
|
13428 <span class="paren">()</span> |
|
13429 |
|
13430 |
|
13431 |
|
13432 <span class="returns-inline"> |
|
13433 <span class="type">Self</span> |
|
13434 </span> |
|
13435 |
|
13436 |
|
13437 |
|
13438 |
|
13439 |
|
13440 |
|
13441 |
|
13442 |
|
13443 |
|
13444 |
|
13445 |
|
13446 <span class="flag chainable">chainable</span> |
|
13447 |
|
13448 |
|
13449 |
|
13450 |
|
13451 <div class="meta"> |
|
13452 |
|
13453 |
|
13454 <p>Inherited from |
|
13455 <a href="../classes/DD.Drag.html#method_stopDrag">DD.Drag</a>: |
|
13456 |
|
13457 |
|
13458 |
|
13459 <a href="../files/dd_js_drag.js.html#l1243"><code>dd/js/drag.js:1243</code></a> |
|
13460 |
|
13461 </p> |
|
13462 |
|
13463 |
|
13464 |
|
13465 |
|
13466 |
|
13467 </div> |
|
13468 |
|
13469 <div class="description"> |
|
13470 <p>Method will forcefully stop a drag operation. For example calling this from inside an ESC keypress handler will stop this drag.</p> |
|
13471 </div> |
|
13472 |
|
13473 |
|
13474 |
|
13475 |
|
13476 <div class="returns"> |
|
13477 <h4>Returns:</h4> |
|
13478 |
|
13479 <div class="returns-description"> |
|
13480 |
|
13481 |
|
13482 <span class="type">Self</span>: |
|
13483 |
|
13484 |
|
13485 </div> |
|
13486 </div> |
|
13487 |
|
13488 |
|
13489 |
|
13490 </div> |
|
13491 |
|
13492 |
|
13493 <div id="method_subscribe" class="method item deprecated inherited"> |
|
13494 <h3 class="name"><code>subscribe</code></h3> |
|
13495 |
|
13496 |
|
13497 <span class="paren">()</span> |
|
13498 |
|
13499 |
|
13500 |
|
13501 |
|
13502 |
|
13503 <span class="flag deprecated" title="use on">deprecated</span> |
|
13504 |
|
13505 |
|
13506 |
|
13507 |
|
13508 |
|
13509 |
|
13510 |
|
13511 |
|
13512 |
|
13513 |
|
13514 |
|
13515 |
|
13516 <div class="meta"> |
|
13517 |
|
13518 |
|
13519 <p>Inherited from |
|
13520 <a href="../classes/EventTarget.html#method_subscribe">EventTarget</a>: |
|
13521 |
|
13522 |
|
13523 |
|
13524 <a href="../files/event-custom_js_event-target.js.html#l336"><code>event-custom/js/event-target.js:336</code></a> |
|
13525 |
|
13526 </p> |
|
13527 |
|
13528 |
|
13529 |
|
13530 <p>Deprecated: use on</p> |
|
13531 |
|
13532 |
|
13533 |
|
13534 </div> |
|
13535 |
|
13536 <div class="description"> |
|
13537 <p>subscribe to an event</p> |
|
13538 </div> |
|
13539 |
|
13540 |
|
13541 |
|
13542 |
|
13543 |
|
13544 |
|
13545 </div> |
|
13546 |
|
13547 |
|
13548 <div id="method_toString" class="method item inherited"> |
|
13549 <h3 class="name"><code>toString</code></h3> |
|
13550 |
|
13551 |
|
13552 <span class="paren">()</span> |
|
13553 |
|
13554 |
|
13555 |
|
13556 <span class="returns-inline"> |
|
13557 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13558 </span> |
|
13559 |
|
13560 |
|
13561 |
|
13562 |
|
13563 |
|
13564 |
|
13565 |
|
13566 |
|
13567 |
|
13568 |
|
13569 |
|
13570 |
|
13571 |
|
13572 |
|
13573 <div class="meta"> |
|
13574 |
|
13575 |
|
13576 <p>Inherited from |
|
13577 <a href="../classes/BaseCore.html#method_toString">BaseCore</a>: |
|
13578 |
|
13579 |
|
13580 |
|
13581 <a href="../files/base_js_BaseCore.js.html#l754"><code>base/js/BaseCore.js:754</code></a> |
|
13582 |
|
13583 </p> |
|
13584 |
|
13585 |
|
13586 |
|
13587 |
|
13588 |
|
13589 </div> |
|
13590 |
|
13591 <div class="description"> |
|
13592 <p>Default toString implementation. Provides the constructor NAME |
|
13593 and the instance guid, if set.</p> |
|
13594 </div> |
|
13595 |
|
13596 |
|
13597 |
|
13598 |
|
13599 <div class="returns"> |
|
13600 <h4>Returns:</h4> |
|
13601 |
|
13602 <div class="returns-description"> |
|
13603 |
|
13604 |
|
13605 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
13606 |
|
13607 String representation for this object |
|
13608 |
|
13609 </div> |
|
13610 </div> |
|
13611 |
|
13612 |
|
13613 |
|
13614 </div> |
|
13615 |
|
13616 |
|
13617 <div id="method_unsubscribe" class="method item deprecated inherited"> |
|
13618 <h3 class="name"><code>unsubscribe</code></h3> |
|
13619 |
|
13620 |
|
13621 <span class="paren">()</span> |
|
13622 |
|
13623 |
|
13624 |
|
13625 |
|
13626 |
|
13627 <span class="flag deprecated" title="use detach">deprecated</span> |
|
13628 |
|
13629 |
|
13630 |
|
13631 |
|
13632 |
|
13633 |
|
13634 |
|
13635 |
|
13636 |
|
13637 |
|
13638 |
|
13639 |
|
13640 <div class="meta"> |
|
13641 |
|
13642 |
|
13643 <p>Inherited from |
|
13644 <a href="../classes/EventTarget.html#method_unsubscribe">EventTarget</a>: |
|
13645 |
|
13646 |
|
13647 |
|
13648 <a href="../files/event-custom_js_event-target.js.html#l459"><code>event-custom/js/event-target.js:459</code></a> |
|
13649 |
|
13650 </p> |
|
13651 |
|
13652 |
|
13653 |
|
13654 <p>Deprecated: use detach</p> |
|
13655 |
|
13656 |
|
13657 |
|
13658 </div> |
|
13659 |
|
13660 <div class="description"> |
|
13661 <p>detach a listener</p> |
|
13662 </div> |
|
13663 |
|
13664 |
|
13665 |
|
13666 |
|
13667 |
|
13668 |
|
13669 </div> |
|
13670 |
|
13671 |
|
13672 <div id="method_unsubscribeAll" class="method item deprecated inherited"> |
|
13673 <h3 class="name"><code>unsubscribeAll</code></h3> |
|
13674 |
|
13675 |
|
13676 <div class="args"> |
|
13677 <span class="paren">(</span><ul class="args-list inline commas"> |
|
13678 |
|
13679 <li class="arg"> |
|
13680 |
|
13681 <code>type</code> |
|
13682 |
|
13683 </li> |
|
13684 |
|
13685 </ul><span class="paren">)</span> |
|
13686 </div> |
|
13687 |
|
13688 |
|
13689 |
|
13690 |
|
13691 |
|
13692 <span class="flag deprecated" title="use detachAll">deprecated</span> |
|
13693 |
|
13694 |
|
13695 |
|
13696 |
|
13697 |
|
13698 |
|
13699 |
|
13700 |
|
13701 |
|
13702 |
|
13703 |
|
13704 |
|
13705 <div class="meta"> |
|
13706 |
|
13707 |
|
13708 <p>Inherited from |
|
13709 <a href="../classes/EventTarget.html#method_unsubscribeAll">EventTarget</a>: |
|
13710 |
|
13711 |
|
13712 |
|
13713 <a href="../files/event-custom_js_event-target.js.html#l480"><code>event-custom/js/event-target.js:480</code></a> |
|
13714 |
|
13715 </p> |
|
13716 |
|
13717 |
|
13718 |
|
13719 <p>Deprecated: use detachAll</p> |
|
13720 |
|
13721 |
|
13722 |
|
13723 </div> |
|
13724 |
|
13725 <div class="description"> |
|
13726 <p>Removes all listeners from the specified event. If the event type |
|
13727 is not specified, all listeners from all hosted custom events will |
|
13728 be removed.</p> |
|
13729 </div> |
|
13730 |
|
13731 |
|
13732 <div class="params"> |
|
13733 <h4>Parameters:</h4> |
|
13734 |
|
13735 <ul class="params-list"> |
|
13736 |
|
13737 <li class="param"> |
|
13738 |
|
13739 <code class="param-name">type</code> |
|
13740 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13741 |
|
13742 |
|
13743 |
|
13744 |
|
13745 <div class="param-description"> |
|
13746 <p>The type, or name of the event</p> |
|
13747 </div> |
|
13748 |
|
13749 |
|
13750 </li> |
|
13751 |
|
13752 </ul> |
|
13753 </div> |
|
13754 |
|
13755 |
|
13756 |
|
13757 |
|
13758 |
|
13759 </div> |
|
13760 |
|
13761 |
|
13762 <div id="method_validClick" class="method item inherited"> |
|
13763 <h3 class="name"><code>validClick</code></h3> |
|
13764 |
|
13765 |
|
13766 <div class="args"> |
|
13767 <span class="paren">(</span><ul class="args-list inline commas"> |
|
13768 |
|
13769 <li class="arg"> |
|
13770 |
|
13771 <code>ev</code> |
|
13772 |
|
13773 </li> |
|
13774 |
|
13775 </ul><span class="paren">)</span> |
|
13776 </div> |
|
13777 |
|
13778 |
|
13779 |
|
13780 <span class="returns-inline"> |
|
13781 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
13782 </span> |
|
13783 |
|
13784 |
|
13785 |
|
13786 |
|
13787 |
|
13788 |
|
13789 |
|
13790 |
|
13791 |
|
13792 |
|
13793 |
|
13794 |
|
13795 |
|
13796 |
|
13797 <div class="meta"> |
|
13798 |
|
13799 |
|
13800 <p>Inherited from |
|
13801 <a href="../classes/DD.Drag.html#method_validClick">DD.Drag</a>: |
|
13802 |
|
13803 |
|
13804 |
|
13805 <a href="../files/dd_js_drag.js.html#l799"><code>dd/js/drag.js:799</code></a> |
|
13806 |
|
13807 </p> |
|
13808 |
|
13809 |
|
13810 |
|
13811 |
|
13812 |
|
13813 </div> |
|
13814 |
|
13815 <div class="description"> |
|
13816 <p>Method first checks to see if we have handles, if so it validates the click |
|
13817 against the handle. Then if it finds a valid handle, it checks it against |
|
13818 the invalid handles list. Returns true if a good handle was used, false otherwise.</p> |
|
13819 </div> |
|
13820 |
|
13821 |
|
13822 <div class="params"> |
|
13823 <h4>Parameters:</h4> |
|
13824 |
|
13825 <ul class="params-list"> |
|
13826 |
|
13827 <li class="param"> |
|
13828 |
|
13829 <code class="param-name">ev</code> |
|
13830 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
13831 |
|
13832 |
|
13833 |
|
13834 |
|
13835 <div class="param-description"> |
|
13836 <p>The Event</p> |
|
13837 </div> |
|
13838 |
|
13839 |
|
13840 </li> |
|
13841 |
|
13842 </ul> |
|
13843 </div> |
|
13844 |
|
13845 |
|
13846 |
|
13847 <div class="returns"> |
|
13848 <h4>Returns:</h4> |
|
13849 |
|
13850 <div class="returns-description"> |
|
13851 |
|
13852 |
|
13853 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
13854 |
|
13855 |
|
13856 </div> |
|
13857 </div> |
|
13858 |
|
13859 |
|
13860 |
|
13861 </div> |
|
13862 |
|
13863 |
|
13864 </div> |
|
13865 |
|
13866 |
|
13867 |
|
13868 <div id="properties" class="api-class-tabpanel"> |
|
13869 <h2 class="off-left">Properties</h2> |
|
13870 |
|
13871 |
|
13872 <div id="property__allowAdHocAttrs" class="property item protected inherited"> |
|
13873 <h3 class="name"><code>_allowAdHocAttrs</code></h3> |
|
13874 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
13875 |
|
13876 |
|
13877 |
|
13878 |
|
13879 <span class="flag protected">protected</span> |
|
13880 |
|
13881 |
|
13882 |
|
13883 |
|
13884 |
|
13885 |
|
13886 <div class="meta"> |
|
13887 |
|
13888 |
|
13889 <p>Inherited from |
|
13890 <a href="../classes/BaseCore.html#property__allowAdHocAttrs">BaseCore</a>: |
|
13891 |
|
13892 |
|
13893 |
|
13894 <a href="../files/base_js_BaseCore.js.html#l100"><code>base/js/BaseCore.js:100</code></a> |
|
13895 |
|
13896 </p> |
|
13897 |
|
13898 |
|
13899 |
|
13900 |
|
13901 </div> |
|
13902 |
|
13903 <div class="description"> |
|
13904 <p>This property controls whether or not instances of this class should |
|
13905 allow users to add ad-hoc attributes through the constructor configuration |
|
13906 hash.</p> |
|
13907 |
|
13908 <p>AdHoc attributes are attributes which are not defined by the class, and are |
|
13909 not handled by the MyClass.<em>NON</em>ATTRS_CFG</p> |
|
13910 </div> |
|
13911 |
|
13912 |
|
13913 <p><strong>Default:</strong> undefined (false)</p> |
|
13914 |
|
13915 |
|
13916 |
|
13917 |
|
13918 |
|
13919 </div> |
|
13920 |
|
13921 |
|
13922 <div id="property__bubbleTargets" class="property item private inherited"> |
|
13923 <h3 class="name"><code>_bubbleTargets</code></h3> |
|
13924 <span class="type">Unknown</span> |
|
13925 |
|
13926 |
|
13927 |
|
13928 |
|
13929 <span class="flag private">private</span> |
|
13930 |
|
13931 |
|
13932 |
|
13933 |
|
13934 |
|
13935 |
|
13936 <div class="meta"> |
|
13937 |
|
13938 |
|
13939 <p>Inherited from |
|
13940 <a href="../classes/DD.Drag.html#property__bubbleTargets">DD.Drag</a>: |
|
13941 |
|
13942 |
|
13943 |
|
13944 <a href="../files/dd_js_drag.js.html#l451"><code>dd/js/drag.js:451</code></a> |
|
13945 |
|
13946 </p> |
|
13947 |
|
13948 |
|
13949 |
|
13950 |
|
13951 </div> |
|
13952 |
|
13953 <div class="description"> |
|
13954 <p>The default bubbleTarget for this object. Default: Y.DD.DDM</p> |
|
13955 </div> |
|
13956 |
|
13957 |
|
13958 |
|
13959 |
|
13960 |
|
13961 |
|
13962 </div> |
|
13963 |
|
13964 |
|
13965 <div id="property__clickTimeout" class="property item private inherited"> |
|
13966 <h3 class="name"><code>_clickTimeout</code></h3> |
|
13967 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
13968 |
|
13969 |
|
13970 |
|
13971 |
|
13972 <span class="flag private">private</span> |
|
13973 |
|
13974 |
|
13975 |
|
13976 |
|
13977 |
|
13978 |
|
13979 <div class="meta"> |
|
13980 |
|
13981 |
|
13982 <p>Inherited from |
|
13983 <a href="../classes/DD.Drag.html#property__clickTimeout">DD.Drag</a>: |
|
13984 |
|
13985 |
|
13986 |
|
13987 <a href="../files/dd_js_drag.js.html#l639"><code>dd/js/drag.js:639</code></a> |
|
13988 |
|
13989 </p> |
|
13990 |
|
13991 |
|
13992 |
|
13993 |
|
13994 </div> |
|
13995 |
|
13996 <div class="description"> |
|
13997 <p>Holder for the setTimeout call</p> |
|
13998 </div> |
|
13999 |
|
14000 |
|
14001 |
|
14002 |
|
14003 |
|
14004 |
|
14005 </div> |
|
14006 |
|
14007 |
|
14008 <div id="property__dragThreshMet" class="property item private inherited"> |
|
14009 <h3 class="name"><code>_dragThreshMet</code></h3> |
|
14010 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
14011 |
|
14012 |
|
14013 |
|
14014 |
|
14015 <span class="flag private">private</span> |
|
14016 |
|
14017 |
|
14018 |
|
14019 |
|
14020 |
|
14021 |
|
14022 <div class="meta"> |
|
14023 |
|
14024 |
|
14025 <p>Inherited from |
|
14026 <a href="../classes/DD.Drag.html#property__dragThreshMet">DD.Drag</a>: |
|
14027 |
|
14028 |
|
14029 |
|
14030 <a href="../files/dd_js_drag.js.html#l625"><code>dd/js/drag.js:625</code></a> |
|
14031 |
|
14032 </p> |
|
14033 |
|
14034 |
|
14035 |
|
14036 |
|
14037 </div> |
|
14038 |
|
14039 <div class="description"> |
|
14040 <p>Private flag to see if the drag threshhold was met</p> |
|
14041 </div> |
|
14042 |
|
14043 |
|
14044 |
|
14045 |
|
14046 |
|
14047 |
|
14048 </div> |
|
14049 |
|
14050 |
|
14051 <div id="property__endTime" class="property item private inherited"> |
|
14052 <h3 class="name"><code>_endTime</code></h3> |
|
14053 <span class="type"><a href="../classes/Date.html" class="crosslink">Date</a></span> |
|
14054 |
|
14055 |
|
14056 |
|
14057 |
|
14058 <span class="flag private">private</span> |
|
14059 |
|
14060 |
|
14061 |
|
14062 |
|
14063 |
|
14064 |
|
14065 <div class="meta"> |
|
14066 |
|
14067 |
|
14068 <p>Inherited from |
|
14069 <a href="../classes/DD.Drag.html#property__endTime">DD.Drag</a>: |
|
14070 |
|
14071 |
|
14072 |
|
14073 <a href="../files/dd_js_drag.js.html#l597"><code>dd/js/drag.js:597</code></a> |
|
14074 |
|
14075 </p> |
|
14076 |
|
14077 |
|
14078 |
|
14079 |
|
14080 </div> |
|
14081 |
|
14082 <div class="description"> |
|
14083 <p>The getTime of the mouseup event. Not used, just here in case someone wants/needs to use it.</p> |
|
14084 </div> |
|
14085 |
|
14086 |
|
14087 |
|
14088 |
|
14089 |
|
14090 |
|
14091 </div> |
|
14092 |
|
14093 |
|
14094 <div id="property__ev_md" class="property item private inherited"> |
|
14095 <h3 class="name"><code>_ev_md</code></h3> |
|
14096 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
14097 |
|
14098 |
|
14099 |
|
14100 |
|
14101 <span class="flag private">private</span> |
|
14102 |
|
14103 |
|
14104 |
|
14105 |
|
14106 |
|
14107 |
|
14108 <div class="meta"> |
|
14109 |
|
14110 |
|
14111 <p>Inherited from |
|
14112 <a href="../classes/DD.Drag.html#property__ev_md">DD.Drag</a>: |
|
14113 |
|
14114 |
|
14115 |
|
14116 <a href="../files/dd_js_drag.js.html#l583"><code>dd/js/drag.js:583</code></a> |
|
14117 |
|
14118 </p> |
|
14119 |
|
14120 |
|
14121 |
|
14122 |
|
14123 </div> |
|
14124 |
|
14125 <div class="description"> |
|
14126 <p>A private reference to the mousedown DOM event</p> |
|
14127 </div> |
|
14128 |
|
14129 |
|
14130 |
|
14131 |
|
14132 |
|
14133 |
|
14134 </div> |
|
14135 |
|
14136 |
|
14137 <div id="property__fromTimeout" class="property item private inherited"> |
|
14138 <h3 class="name"><code>_fromTimeout</code></h3> |
|
14139 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
14140 |
|
14141 |
|
14142 |
|
14143 |
|
14144 <span class="flag private">private</span> |
|
14145 |
|
14146 |
|
14147 |
|
14148 |
|
14149 |
|
14150 |
|
14151 <div class="meta"> |
|
14152 |
|
14153 |
|
14154 <p>Inherited from |
|
14155 <a href="../classes/DD.Drag.html#property__fromTimeout">DD.Drag</a>: |
|
14156 |
|
14157 |
|
14158 |
|
14159 <a href="../files/dd_js_drag.js.html#l632"><code>dd/js/drag.js:632</code></a> |
|
14160 |
|
14161 </p> |
|
14162 |
|
14163 |
|
14164 |
|
14165 |
|
14166 </div> |
|
14167 |
|
14168 <div class="description"> |
|
14169 <p>Flag to determine if the drag operation came from a timeout</p> |
|
14170 </div> |
|
14171 |
|
14172 |
|
14173 |
|
14174 |
|
14175 |
|
14176 |
|
14177 </div> |
|
14178 |
|
14179 |
|
14180 <div id="property__groups" class="property item private inherited"> |
|
14181 <h3 class="name"><code>_groups</code></h3> |
|
14182 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
14183 |
|
14184 |
|
14185 |
|
14186 |
|
14187 <span class="flag private">private</span> |
|
14188 |
|
14189 |
|
14190 |
|
14191 |
|
14192 |
|
14193 |
|
14194 <div class="meta"> |
|
14195 |
|
14196 |
|
14197 <p>Inherited from |
|
14198 <a href="../classes/DD.Drag.html#property__groups">DD.Drag</a>: |
|
14199 |
|
14200 |
|
14201 |
|
14202 <a href="../files/dd_js_drag.js.html#l511"><code>dd/js/drag.js:511</code></a> |
|
14203 |
|
14204 </p> |
|
14205 |
|
14206 |
|
14207 |
|
14208 |
|
14209 </div> |
|
14210 |
|
14211 <div class="description"> |
|
14212 <p>Storage Array for the groups this drag belongs to.</p> |
|
14213 </div> |
|
14214 |
|
14215 |
|
14216 |
|
14217 |
|
14218 |
|
14219 |
|
14220 </div> |
|
14221 |
|
14222 |
|
14223 <div id="property__handles" class="property item private inherited"> |
|
14224 <h3 class="name"><code>_handles</code></h3> |
|
14225 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
14226 |
|
14227 |
|
14228 |
|
14229 |
|
14230 <span class="flag private">private</span> |
|
14231 |
|
14232 |
|
14233 |
|
14234 |
|
14235 |
|
14236 |
|
14237 <div class="meta"> |
|
14238 |
|
14239 |
|
14240 <p>Inherited from |
|
14241 <a href="../classes/DD.Drag.html#property__handles">DD.Drag</a>: |
|
14242 |
|
14243 |
|
14244 |
|
14245 <a href="../files/dd_js_drag.js.html#l604"><code>dd/js/drag.js:604</code></a> |
|
14246 |
|
14247 </p> |
|
14248 |
|
14249 |
|
14250 |
|
14251 |
|
14252 </div> |
|
14253 |
|
14254 <div class="description"> |
|
14255 <p>A private hash of the valid drag handles</p> |
|
14256 </div> |
|
14257 |
|
14258 |
|
14259 |
|
14260 |
|
14261 |
|
14262 |
|
14263 </div> |
|
14264 |
|
14265 |
|
14266 <div id="property__ieSelectBack" class="property item private inherited"> |
|
14267 <h3 class="name"><code>_ieSelectBack</code></h3> |
|
14268 <span class="type">Unknown</span> |
|
14269 |
|
14270 |
|
14271 |
|
14272 |
|
14273 <span class="flag private">private</span> |
|
14274 |
|
14275 |
|
14276 |
|
14277 |
|
14278 |
|
14279 |
|
14280 <div class="meta"> |
|
14281 |
|
14282 |
|
14283 <p>Inherited from |
|
14284 <a href="../classes/DD.Drag.html#property__ieSelectBack">DD.Drag</a>: |
|
14285 |
|
14286 |
|
14287 |
|
14288 <a href="../files/dd_js_drag.js.html#l727"><code>dd/js/drag.js:727</code></a> |
|
14289 |
|
14290 </p> |
|
14291 |
|
14292 |
|
14293 |
|
14294 |
|
14295 </div> |
|
14296 |
|
14297 <div class="description"> |
|
14298 <p>We will hold a copy of the current "onselectstart" method on this property, and reset it after we are done using it.</p> |
|
14299 </div> |
|
14300 |
|
14301 |
|
14302 |
|
14303 |
|
14304 |
|
14305 |
|
14306 </div> |
|
14307 |
|
14308 |
|
14309 <div id="property__invalids" class="property item private inherited"> |
|
14310 <h3 class="name"><code>_invalids</code></h3> |
|
14311 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
14312 |
|
14313 |
|
14314 |
|
14315 |
|
14316 <span class="flag private">private</span> |
|
14317 |
|
14318 |
|
14319 |
|
14320 |
|
14321 |
|
14322 |
|
14323 <div class="meta"> |
|
14324 |
|
14325 |
|
14326 <p>Inherited from |
|
14327 <a href="../classes/DD.Drag.html#property__invalids">DD.Drag</a>: |
|
14328 |
|
14329 |
|
14330 |
|
14331 <a href="../files/dd_js_drag.js.html#l611"><code>dd/js/drag.js:611</code></a> |
|
14332 |
|
14333 </p> |
|
14334 |
|
14335 |
|
14336 |
|
14337 |
|
14338 </div> |
|
14339 |
|
14340 <div class="description"> |
|
14341 <p>A private hash of the invalid selector strings</p> |
|
14342 </div> |
|
14343 |
|
14344 |
|
14345 |
|
14346 |
|
14347 |
|
14348 |
|
14349 </div> |
|
14350 |
|
14351 |
|
14352 <div id="property__invalidsDefault" class="property item private inherited"> |
|
14353 <h3 class="name"><code>_invalidsDefault</code></h3> |
|
14354 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
14355 |
|
14356 |
|
14357 |
|
14358 |
|
14359 <span class="flag private">private</span> |
|
14360 |
|
14361 |
|
14362 |
|
14363 |
|
14364 |
|
14365 |
|
14366 <div class="meta"> |
|
14367 |
|
14368 |
|
14369 <p>Inherited from |
|
14370 <a href="../classes/DD.Drag.html#property__invalidsDefault">DD.Drag</a>: |
|
14371 |
|
14372 |
|
14373 |
|
14374 <a href="../files/dd_js_drag.js.html#l618"><code>dd/js/drag.js:618</code></a> |
|
14375 |
|
14376 </p> |
|
14377 |
|
14378 |
|
14379 |
|
14380 |
|
14381 </div> |
|
14382 |
|
14383 <div class="description"> |
|
14384 <p>A private hash of the default invalid selector strings: {'textarea': true, 'input': true, 'a': true, 'button': true, 'select': true}</p> |
|
14385 </div> |
|
14386 |
|
14387 |
|
14388 |
|
14389 |
|
14390 |
|
14391 |
|
14392 </div> |
|
14393 |
|
14394 |
|
14395 <div id="property__startTime" class="property item private inherited"> |
|
14396 <h3 class="name"><code>_startTime</code></h3> |
|
14397 <span class="type"><a href="../classes/Date.html" class="crosslink">Date</a></span> |
|
14398 |
|
14399 |
|
14400 |
|
14401 |
|
14402 <span class="flag private">private</span> |
|
14403 |
|
14404 |
|
14405 |
|
14406 |
|
14407 |
|
14408 |
|
14409 <div class="meta"> |
|
14410 |
|
14411 |
|
14412 <p>Inherited from |
|
14413 <a href="../classes/DD.Drag.html#property__startTime">DD.Drag</a>: |
|
14414 |
|
14415 |
|
14416 |
|
14417 <a href="../files/dd_js_drag.js.html#l590"><code>dd/js/drag.js:590</code></a> |
|
14418 |
|
14419 </p> |
|
14420 |
|
14421 |
|
14422 |
|
14423 |
|
14424 </div> |
|
14425 |
|
14426 <div class="description"> |
|
14427 <p>The getTime of the mousedown event. Not used, just here in case someone wants/needs to use it.</p> |
|
14428 </div> |
|
14429 |
|
14430 |
|
14431 |
|
14432 |
|
14433 |
|
14434 |
|
14435 </div> |
|
14436 |
|
14437 |
|
14438 <div id="property_actXY" class="property item inherited"> |
|
14439 <h3 class="name"><code>actXY</code></h3> |
|
14440 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
14441 |
|
14442 |
|
14443 |
|
14444 |
|
14445 |
|
14446 |
|
14447 |
|
14448 |
|
14449 |
|
14450 <div class="meta"> |
|
14451 |
|
14452 |
|
14453 <p>Inherited from |
|
14454 <a href="../classes/DD.Drag.html#property_actXY">DD.Drag</a>: |
|
14455 |
|
14456 |
|
14457 |
|
14458 <a href="../files/dd_js_drag.js.html#l670"><code>dd/js/drag.js:670</code></a> |
|
14459 |
|
14460 </p> |
|
14461 |
|
14462 |
|
14463 |
|
14464 |
|
14465 </div> |
|
14466 |
|
14467 <div class="description"> |
|
14468 <p>The xy that the node will be set to. Changing this will alter the position as it's dragged.</p> |
|
14469 </div> |
|
14470 |
|
14471 |
|
14472 |
|
14473 |
|
14474 |
|
14475 |
|
14476 </div> |
|
14477 |
|
14478 |
|
14479 <div id="property_deltaXY" class="property item inherited"> |
|
14480 <h3 class="name"><code>deltaXY</code></h3> |
|
14481 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
14482 |
|
14483 |
|
14484 |
|
14485 |
|
14486 |
|
14487 |
|
14488 |
|
14489 |
|
14490 |
|
14491 <div class="meta"> |
|
14492 |
|
14493 |
|
14494 <p>Inherited from |
|
14495 <a href="../classes/DD.Drag.html#property_deltaXY">DD.Drag</a>: |
|
14496 |
|
14497 |
|
14498 |
|
14499 <a href="../files/dd_js_drag.js.html#l646"><code>dd/js/drag.js:646</code></a> |
|
14500 |
|
14501 </p> |
|
14502 |
|
14503 |
|
14504 |
|
14505 |
|
14506 </div> |
|
14507 |
|
14508 <div class="description"> |
|
14509 <p>The offset of the mouse position to the element's position</p> |
|
14510 </div> |
|
14511 |
|
14512 |
|
14513 |
|
14514 |
|
14515 |
|
14516 |
|
14517 </div> |
|
14518 |
|
14519 |
|
14520 <div id="property_lastXY" class="property item inherited"> |
|
14521 <h3 class="name"><code>lastXY</code></h3> |
|
14522 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
14523 |
|
14524 |
|
14525 |
|
14526 |
|
14527 |
|
14528 |
|
14529 |
|
14530 |
|
14531 |
|
14532 <div class="meta"> |
|
14533 |
|
14534 |
|
14535 <p>Inherited from |
|
14536 <a href="../classes/DD.Drag.html#property_lastXY">DD.Drag</a>: |
|
14537 |
|
14538 |
|
14539 |
|
14540 <a href="../files/dd_js_drag.js.html#l664"><code>dd/js/drag.js:664</code></a> |
|
14541 |
|
14542 </p> |
|
14543 |
|
14544 |
|
14545 |
|
14546 |
|
14547 </div> |
|
14548 |
|
14549 <div class="description"> |
|
14550 <p>The position of the element as it's moving (for offset calculations)</p> |
|
14551 </div> |
|
14552 |
|
14553 |
|
14554 |
|
14555 |
|
14556 |
|
14557 |
|
14558 </div> |
|
14559 |
|
14560 |
|
14561 <div id="property_mouseXY" class="property item inherited"> |
|
14562 <h3 class="name"><code>mouseXY</code></h3> |
|
14563 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
14564 |
|
14565 |
|
14566 |
|
14567 |
|
14568 |
|
14569 |
|
14570 |
|
14571 |
|
14572 |
|
14573 <div class="meta"> |
|
14574 |
|
14575 |
|
14576 <p>Inherited from |
|
14577 <a href="../classes/DD.Drag.html#property_mouseXY">DD.Drag</a>: |
|
14578 |
|
14579 |
|
14580 |
|
14581 <a href="../files/dd_js_drag.js.html#l682"><code>dd/js/drag.js:682</code></a> |
|
14582 |
|
14583 </p> |
|
14584 |
|
14585 |
|
14586 |
|
14587 |
|
14588 </div> |
|
14589 |
|
14590 <div class="description"> |
|
14591 <p>The XY coords of the mousemove</p> |
|
14592 </div> |
|
14593 |
|
14594 |
|
14595 |
|
14596 |
|
14597 |
|
14598 |
|
14599 </div> |
|
14600 |
|
14601 |
|
14602 <div id="property_NAME" class="property item"> |
|
14603 <h3 class="name"><code>NAME</code></h3> |
|
14604 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14605 |
|
14606 |
|
14607 |
|
14608 |
|
14609 |
|
14610 |
|
14611 |
|
14612 |
|
14613 |
|
14614 <div class="meta"> |
|
14615 |
|
14616 |
|
14617 |
|
14618 <p> |
|
14619 |
|
14620 Defined in |
|
14621 |
|
14622 |
|
14623 |
|
14624 |
|
14625 <a href="../files/dd_js_dd-plugin.js.html#l30"><code>dd/js/dd-plugin.js:30</code></a> |
|
14626 |
|
14627 </p> |
|
14628 |
|
14629 |
|
14630 |
|
14631 |
|
14632 </div> |
|
14633 |
|
14634 <div class="description"> |
|
14635 <p>dd-plugin</p> |
|
14636 </div> |
|
14637 |
|
14638 |
|
14639 |
|
14640 |
|
14641 |
|
14642 |
|
14643 </div> |
|
14644 |
|
14645 |
|
14646 <div id="property_name" class="property item deprecated inherited"> |
|
14647 <h3 class="name"><code>name</code></h3> |
|
14648 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14649 |
|
14650 |
|
14651 <span class="flag deprecated" title="Use this.constructor.NAME">deprecated</span> |
|
14652 |
|
14653 |
|
14654 |
|
14655 |
|
14656 |
|
14657 |
|
14658 |
|
14659 |
|
14660 <div class="meta"> |
|
14661 |
|
14662 |
|
14663 <p>Inherited from |
|
14664 <a href="../classes/BaseCore.html#property_name">BaseCore</a>: |
|
14665 |
|
14666 |
|
14667 |
|
14668 <a href="../files/base_js_BaseCore.js.html#l242"><code>base/js/BaseCore.js:242</code></a> |
|
14669 |
|
14670 </p> |
|
14671 |
|
14672 |
|
14673 <p>Deprecated: Use this.constructor.NAME</p> |
|
14674 |
|
14675 |
|
14676 |
|
14677 </div> |
|
14678 |
|
14679 <div class="description"> |
|
14680 <p>The string used to identify the class of this object.</p> |
|
14681 </div> |
|
14682 |
|
14683 |
|
14684 |
|
14685 |
|
14686 |
|
14687 |
|
14688 </div> |
|
14689 |
|
14690 |
|
14691 <div id="property_nodeXY" class="property item inherited"> |
|
14692 <h3 class="name"><code>nodeXY</code></h3> |
|
14693 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
14694 |
|
14695 |
|
14696 |
|
14697 |
|
14698 |
|
14699 |
|
14700 |
|
14701 |
|
14702 |
|
14703 <div class="meta"> |
|
14704 |
|
14705 |
|
14706 <p>Inherited from |
|
14707 <a href="../classes/DD.Drag.html#property_nodeXY">DD.Drag</a>: |
|
14708 |
|
14709 |
|
14710 |
|
14711 <a href="../files/dd_js_drag.js.html#l658"><code>dd/js/drag.js:658</code></a> |
|
14712 |
|
14713 </p> |
|
14714 |
|
14715 |
|
14716 |
|
14717 |
|
14718 </div> |
|
14719 |
|
14720 <div class="description"> |
|
14721 <p>The initial element position</p> |
|
14722 </div> |
|
14723 |
|
14724 |
|
14725 |
|
14726 |
|
14727 |
|
14728 |
|
14729 </div> |
|
14730 |
|
14731 |
|
14732 <div id="property_NS" class="property item"> |
|
14733 <h3 class="name"><code>NS</code></h3> |
|
14734 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14735 |
|
14736 |
|
14737 |
|
14738 |
|
14739 |
|
14740 |
|
14741 |
|
14742 |
|
14743 |
|
14744 <div class="meta"> |
|
14745 |
|
14746 |
|
14747 |
|
14748 <p> |
|
14749 |
|
14750 Defined in |
|
14751 |
|
14752 |
|
14753 |
|
14754 |
|
14755 <a href="../files/dd_js_dd-plugin.js.html#l37"><code>dd/js/dd-plugin.js:37</code></a> |
|
14756 |
|
14757 </p> |
|
14758 |
|
14759 |
|
14760 |
|
14761 |
|
14762 </div> |
|
14763 |
|
14764 <div class="description"> |
|
14765 <p>The Drag instance will be placed on the Node instance under the dd namespace. It can be accessed via Node.dd;</p> |
|
14766 </div> |
|
14767 |
|
14768 |
|
14769 |
|
14770 |
|
14771 |
|
14772 |
|
14773 </div> |
|
14774 |
|
14775 |
|
14776 <div id="property_realXY" class="property item inherited"> |
|
14777 <h3 class="name"><code>realXY</code></h3> |
|
14778 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
14779 |
|
14780 |
|
14781 |
|
14782 |
|
14783 |
|
14784 |
|
14785 |
|
14786 |
|
14787 |
|
14788 <div class="meta"> |
|
14789 |
|
14790 |
|
14791 <p>Inherited from |
|
14792 <a href="../classes/DD.Drag.html#property_realXY">DD.Drag</a>: |
|
14793 |
|
14794 |
|
14795 |
|
14796 <a href="../files/dd_js_drag.js.html#l676"><code>dd/js/drag.js:676</code></a> |
|
14797 |
|
14798 </p> |
|
14799 |
|
14800 |
|
14801 |
|
14802 |
|
14803 </div> |
|
14804 |
|
14805 <div class="description"> |
|
14806 <p>The real xy position of the node.</p> |
|
14807 </div> |
|
14808 |
|
14809 |
|
14810 |
|
14811 |
|
14812 |
|
14813 |
|
14814 </div> |
|
14815 |
|
14816 |
|
14817 <div id="property_region" class="property item inherited"> |
|
14818 <h3 class="name"><code>region</code></h3> |
|
14819 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
14820 |
|
14821 |
|
14822 |
|
14823 |
|
14824 |
|
14825 |
|
14826 |
|
14827 |
|
14828 |
|
14829 <div class="meta"> |
|
14830 |
|
14831 |
|
14832 <p>Inherited from |
|
14833 <a href="../classes/DD.Drag.html#property_region">DD.Drag</a>: |
|
14834 |
|
14835 |
|
14836 |
|
14837 <a href="../files/dd_js_drag.js.html#l688"><code>dd/js/drag.js:688</code></a> |
|
14838 |
|
14839 </p> |
|
14840 |
|
14841 |
|
14842 |
|
14843 |
|
14844 </div> |
|
14845 |
|
14846 <div class="description"> |
|
14847 <p>A region object associated with this drag, used for checking regions while dragging.</p> |
|
14848 </div> |
|
14849 |
|
14850 |
|
14851 |
|
14852 |
|
14853 |
|
14854 |
|
14855 </div> |
|
14856 |
|
14857 |
|
14858 <div id="property_startXY" class="property item inherited"> |
|
14859 <h3 class="name"><code>startXY</code></h3> |
|
14860 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
14861 |
|
14862 |
|
14863 |
|
14864 |
|
14865 |
|
14866 |
|
14867 |
|
14868 |
|
14869 |
|
14870 <div class="meta"> |
|
14871 |
|
14872 |
|
14873 <p>Inherited from |
|
14874 <a href="../classes/DD.Drag.html#property_startXY">DD.Drag</a>: |
|
14875 |
|
14876 |
|
14877 |
|
14878 <a href="../files/dd_js_drag.js.html#l652"><code>dd/js/drag.js:652</code></a> |
|
14879 |
|
14880 </p> |
|
14881 |
|
14882 |
|
14883 |
|
14884 |
|
14885 </div> |
|
14886 |
|
14887 <div class="description"> |
|
14888 <p>The initial mouse position</p> |
|
14889 </div> |
|
14890 |
|
14891 |
|
14892 |
|
14893 |
|
14894 |
|
14895 |
|
14896 </div> |
|
14897 |
|
14898 |
|
14899 <div id="property_target" class="property item inherited"> |
|
14900 <h3 class="name"><code>target</code></h3> |
|
14901 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
14902 |
|
14903 |
|
14904 |
|
14905 |
|
14906 |
|
14907 |
|
14908 |
|
14909 |
|
14910 |
|
14911 <div class="meta"> |
|
14912 |
|
14913 |
|
14914 <p>Inherited from |
|
14915 <a href="../classes/DD.Drag.html#property_target">DD.Drag</a>: |
|
14916 |
|
14917 |
|
14918 |
|
14919 <a href="../files/dd_js_drag.js.html#l481"><code>dd/js/drag.js:481</code></a> |
|
14920 |
|
14921 </p> |
|
14922 |
|
14923 |
|
14924 |
|
14925 |
|
14926 </div> |
|
14927 |
|
14928 <div class="description"> |
|
14929 <p>This will be a reference to the Drop instance associated with this drag if the target: true config attribute is set..</p> |
|
14930 </div> |
|
14931 |
|
14932 |
|
14933 |
|
14934 |
|
14935 |
|
14936 |
|
14937 </div> |
|
14938 |
|
14939 |
|
14940 </div> |
|
14941 |
|
14942 |
|
14943 |
|
14944 <div id="attrs" class="api-class-tabpanel"> |
|
14945 <h2 class="off-left">Attributes</h2> |
|
14946 |
|
14947 |
|
14948 <div id="attr__stoppedPosition" class="attr item private"> |
|
14949 <a name="config__stoppedPosition"></a> |
|
14950 <h3 class="name"><code>_stoppedPosition</code></h3> |
|
14951 <span class="type"></span> |
|
14952 |
|
14953 |
|
14954 |
|
14955 |
|
14956 <span class="flag private">private</span> |
|
14957 |
|
14958 |
|
14959 |
|
14960 |
|
14961 |
|
14962 |
|
14963 |
|
14964 |
|
14965 |
|
14966 |
|
14967 |
|
14968 |
|
14969 <div class="meta"> |
|
14970 |
|
14971 |
|
14972 |
|
14973 <p> |
|
14974 |
|
14975 Defined in |
|
14976 |
|
14977 |
|
14978 |
|
14979 |
|
14980 <a href="../files/dd_js_dd-plugin.js.html#l57"><code>dd/js/dd-plugin.js:57</code></a> |
|
14981 |
|
14982 </p> |
|
14983 |
|
14984 |
|
14985 |
|
14986 |
|
14987 </div> |
|
14988 |
|
14989 <div class="description"> |
|
14990 <p>refers to the [x,y] coordinate where the drag was stopped last</p> |
|
14991 </div> |
|
14992 |
|
14993 |
|
14994 |
|
14995 |
|
14996 <div class="emits box"> |
|
14997 <h4>Fires event <code>_stoppedPositionChange</code></h4> |
|
14998 |
|
14999 <p> |
|
15000 Fires when the value for the configuration attribute <code>_stoppedPosition</code> is |
|
15001 changed. You can listen for the event using the <code>on</code> method if you |
|
15002 wish to be notified before the attribute's value has changed, or |
|
15003 using the <code>after</code> method if you wish to be notified after the |
|
15004 attribute's value has changed. |
|
15005 </p> |
|
15006 |
|
15007 <div class="params"> |
|
15008 <h4>Parameters:</h4> |
|
15009 |
|
15010 <ul class="params-list"> |
|
15011 <li class="param"> |
|
15012 <code class="param-name">e</code> |
|
15013 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
15014 |
|
15015 <div class="param-description"> |
|
15016 An Event Facade object with the following |
|
15017 attribute-specific properties added: |
|
15018 </div> |
|
15019 |
|
15020 <ul class="params-list"> |
|
15021 <li class="param"> |
|
15022 <code class="param-name">prevVal</code> |
|
15023 <span class="type">Any</span> |
|
15024 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
15025 </li> |
|
15026 <li class="param"> |
|
15027 <code class="param-name">newVal</code> |
|
15028 <span class="type">Any</span> |
|
15029 <div class="param-description">The value the attribute is to be set to.</div> |
|
15030 </li> |
|
15031 <li class="param"> |
|
15032 <code class="param-name">attrName</code> |
|
15033 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15034 <div class="param-description">The name of the attribute being set.</div> |
|
15035 </li> |
|
15036 <li class="param"> |
|
15037 <code class="param-name">subAttrName</code> |
|
15038 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15039 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
15040 </li> |
|
15041 </ul> |
|
15042 </li> |
|
15043 </ul> |
|
15044 </div> |
|
15045 </div> |
|
15046 |
|
15047 |
|
15048 |
|
15049 </div> |
|
15050 |
|
15051 |
|
15052 <div id="attr__widget" class="attr item private"> |
|
15053 <a name="config__widget"></a> |
|
15054 <h3 class="name"><code>_widget</code></h3> |
|
15055 <span class="type"></span> |
|
15056 |
|
15057 |
|
15058 |
|
15059 |
|
15060 <span class="flag private">private</span> |
|
15061 |
|
15062 |
|
15063 |
|
15064 |
|
15065 |
|
15066 |
|
15067 |
|
15068 |
|
15069 |
|
15070 |
|
15071 |
|
15072 |
|
15073 <div class="meta"> |
|
15074 |
|
15075 |
|
15076 |
|
15077 <p> |
|
15078 |
|
15079 Defined in |
|
15080 |
|
15081 |
|
15082 |
|
15083 |
|
15084 <a href="../files/dd_js_dd-plugin.js.html#l48"><code>dd/js/dd-plugin.js:48</code></a> |
|
15085 |
|
15086 </p> |
|
15087 |
|
15088 |
|
15089 |
|
15090 |
|
15091 </div> |
|
15092 |
|
15093 <div class="description"> |
|
15094 <p>refers to a Y.Widget if its the host, otherwise = false.</p> |
|
15095 </div> |
|
15096 |
|
15097 |
|
15098 |
|
15099 |
|
15100 <div class="emits box"> |
|
15101 <h4>Fires event <code>_widgetChange</code></h4> |
|
15102 |
|
15103 <p> |
|
15104 Fires when the value for the configuration attribute <code>_widget</code> is |
|
15105 changed. You can listen for the event using the <code>on</code> method if you |
|
15106 wish to be notified before the attribute's value has changed, or |
|
15107 using the <code>after</code> method if you wish to be notified after the |
|
15108 attribute's value has changed. |
|
15109 </p> |
|
15110 |
|
15111 <div class="params"> |
|
15112 <h4>Parameters:</h4> |
|
15113 |
|
15114 <ul class="params-list"> |
|
15115 <li class="param"> |
|
15116 <code class="param-name">e</code> |
|
15117 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
15118 |
|
15119 <div class="param-description"> |
|
15120 An Event Facade object with the following |
|
15121 attribute-specific properties added: |
|
15122 </div> |
|
15123 |
|
15124 <ul class="params-list"> |
|
15125 <li class="param"> |
|
15126 <code class="param-name">prevVal</code> |
|
15127 <span class="type">Any</span> |
|
15128 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
15129 </li> |
|
15130 <li class="param"> |
|
15131 <code class="param-name">newVal</code> |
|
15132 <span class="type">Any</span> |
|
15133 <div class="param-description">The value the attribute is to be set to.</div> |
|
15134 </li> |
|
15135 <li class="param"> |
|
15136 <code class="param-name">attrName</code> |
|
15137 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15138 <div class="param-description">The name of the attribute being set.</div> |
|
15139 </li> |
|
15140 <li class="param"> |
|
15141 <code class="param-name">subAttrName</code> |
|
15142 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15143 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
15144 </li> |
|
15145 </ul> |
|
15146 </li> |
|
15147 </ul> |
|
15148 </div> |
|
15149 </div> |
|
15150 |
|
15151 |
|
15152 |
|
15153 </div> |
|
15154 |
|
15155 |
|
15156 <div id="attr_activeHandle" class="attr item inherited"> |
|
15157 <a name="config_activeHandle"></a> |
|
15158 <h3 class="name"><code>activeHandle</code></h3> |
|
15159 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
15160 |
|
15161 |
|
15162 |
|
15163 |
|
15164 |
|
15165 |
|
15166 |
|
15167 |
|
15168 |
|
15169 |
|
15170 |
|
15171 |
|
15172 |
|
15173 |
|
15174 |
|
15175 <div class="meta"> |
|
15176 |
|
15177 |
|
15178 <p>Inherited from |
|
15179 <a href="../classes/DD.Drag.html#attr_activeHandle">DD.Drag</a>: |
|
15180 |
|
15181 |
|
15182 |
|
15183 <a href="../files/dd_js_drag.js.html#l318"><code>dd/js/drag.js:318</code></a> |
|
15184 |
|
15185 </p> |
|
15186 |
|
15187 |
|
15188 |
|
15189 |
|
15190 </div> |
|
15191 |
|
15192 <div class="description"> |
|
15193 <p>Config option is set by Drag to inform you of which handle fired the drag event (in the case that there are several handles): default false.</p> |
|
15194 </div> |
|
15195 |
|
15196 |
|
15197 |
|
15198 |
|
15199 <div class="emits box"> |
|
15200 <h4>Fires event <code>activeHandleChange</code></h4> |
|
15201 |
|
15202 <p> |
|
15203 Fires when the value for the configuration attribute <code>activeHandle</code> is |
|
15204 changed. You can listen for the event using the <code>on</code> method if you |
|
15205 wish to be notified before the attribute's value has changed, or |
|
15206 using the <code>after</code> method if you wish to be notified after the |
|
15207 attribute's value has changed. |
|
15208 </p> |
|
15209 |
|
15210 <div class="params"> |
|
15211 <h4>Parameters:</h4> |
|
15212 |
|
15213 <ul class="params-list"> |
|
15214 <li class="param"> |
|
15215 <code class="param-name">e</code> |
|
15216 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
15217 |
|
15218 <div class="param-description"> |
|
15219 An Event Facade object with the following |
|
15220 attribute-specific properties added: |
|
15221 </div> |
|
15222 |
|
15223 <ul class="params-list"> |
|
15224 <li class="param"> |
|
15225 <code class="param-name">prevVal</code> |
|
15226 <span class="type">Any</span> |
|
15227 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
15228 </li> |
|
15229 <li class="param"> |
|
15230 <code class="param-name">newVal</code> |
|
15231 <span class="type">Any</span> |
|
15232 <div class="param-description">The value the attribute is to be set to.</div> |
|
15233 </li> |
|
15234 <li class="param"> |
|
15235 <code class="param-name">attrName</code> |
|
15236 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15237 <div class="param-description">The name of the attribute being set.</div> |
|
15238 </li> |
|
15239 <li class="param"> |
|
15240 <code class="param-name">subAttrName</code> |
|
15241 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15242 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
15243 </li> |
|
15244 </ul> |
|
15245 </li> |
|
15246 </ul> |
|
15247 </div> |
|
15248 </div> |
|
15249 |
|
15250 |
|
15251 |
|
15252 </div> |
|
15253 |
|
15254 |
|
15255 <div id="attr_bubbles" class="attr item deprecated inherited"> |
|
15256 <a name="config_bubbles"></a> |
|
15257 <h3 class="name"><code>bubbles</code></h3> |
|
15258 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
15259 |
|
15260 |
|
15261 <span class="flag deprecated">deprecated</span> |
|
15262 |
|
15263 |
|
15264 |
|
15265 |
|
15266 |
|
15267 |
|
15268 |
|
15269 |
|
15270 |
|
15271 |
|
15272 |
|
15273 |
|
15274 |
|
15275 |
|
15276 <div class="meta"> |
|
15277 |
|
15278 |
|
15279 <p>Inherited from |
|
15280 <a href="../classes/DD.Drag.html#attr_bubbles">DD.Drag</a>: |
|
15281 |
|
15282 |
|
15283 |
|
15284 <a href="../files/dd_js_drag.js.html#l412"><code>dd/js/drag.js:412</code></a> |
|
15285 |
|
15286 </p> |
|
15287 |
|
15288 |
|
15289 |
|
15290 |
|
15291 </div> |
|
15292 |
|
15293 <div class="description"> |
|
15294 <p>Controls the default bubble parent for this Drag instance. Default: Y.DD.DDM. Set to false to disable bubbling. Use bubbleTargets in config</p> |
|
15295 </div> |
|
15296 |
|
15297 |
|
15298 |
|
15299 |
|
15300 <div class="emits box"> |
|
15301 <h4>Fires event <code>bubblesChange</code></h4> |
|
15302 |
|
15303 <p> |
|
15304 Fires when the value for the configuration attribute <code>bubbles</code> is |
|
15305 changed. You can listen for the event using the <code>on</code> method if you |
|
15306 wish to be notified before the attribute's value has changed, or |
|
15307 using the <code>after</code> method if you wish to be notified after the |
|
15308 attribute's value has changed. |
|
15309 </p> |
|
15310 |
|
15311 <div class="params"> |
|
15312 <h4>Parameters:</h4> |
|
15313 |
|
15314 <ul class="params-list"> |
|
15315 <li class="param"> |
|
15316 <code class="param-name">e</code> |
|
15317 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
15318 |
|
15319 <div class="param-description"> |
|
15320 An Event Facade object with the following |
|
15321 attribute-specific properties added: |
|
15322 </div> |
|
15323 |
|
15324 <ul class="params-list"> |
|
15325 <li class="param"> |
|
15326 <code class="param-name">prevVal</code> |
|
15327 <span class="type">Any</span> |
|
15328 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
15329 </li> |
|
15330 <li class="param"> |
|
15331 <code class="param-name">newVal</code> |
|
15332 <span class="type">Any</span> |
|
15333 <div class="param-description">The value the attribute is to be set to.</div> |
|
15334 </li> |
|
15335 <li class="param"> |
|
15336 <code class="param-name">attrName</code> |
|
15337 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15338 <div class="param-description">The name of the attribute being set.</div> |
|
15339 </li> |
|
15340 <li class="param"> |
|
15341 <code class="param-name">subAttrName</code> |
|
15342 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15343 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
15344 </li> |
|
15345 </ul> |
|
15346 </li> |
|
15347 </ul> |
|
15348 </div> |
|
15349 </div> |
|
15350 |
|
15351 |
|
15352 |
|
15353 </div> |
|
15354 |
|
15355 |
|
15356 <div id="attr_clickPixelThresh" class="attr item inherited"> |
|
15357 <a name="config_clickPixelThresh"></a> |
|
15358 <h3 class="name"><code>clickPixelThresh</code></h3> |
|
15359 <span class="type"><a href="../classes/Number.html" class="crosslink">Number</a></span> |
|
15360 |
|
15361 |
|
15362 |
|
15363 |
|
15364 |
|
15365 |
|
15366 |
|
15367 |
|
15368 |
|
15369 |
|
15370 |
|
15371 |
|
15372 |
|
15373 |
|
15374 |
|
15375 <div class="meta"> |
|
15376 |
|
15377 |
|
15378 <p>Inherited from |
|
15379 <a href="../classes/DD.Drag.html#attr_clickPixelThresh">DD.Drag</a>: |
|
15380 |
|
15381 |
|
15382 |
|
15383 <a href="../files/dd_js_drag.js.html#l262"><code>dd/js/drag.js:262</code></a> |
|
15384 |
|
15385 </p> |
|
15386 |
|
15387 |
|
15388 |
|
15389 |
|
15390 </div> |
|
15391 |
|
15392 <div class="description"> |
|
15393 <p>The number of pixels to move to start a drag operation, default is 3.</p> |
|
15394 </div> |
|
15395 |
|
15396 |
|
15397 |
|
15398 |
|
15399 <div class="emits box"> |
|
15400 <h4>Fires event <code>clickPixelThreshChange</code></h4> |
|
15401 |
|
15402 <p> |
|
15403 Fires when the value for the configuration attribute <code>clickPixelThresh</code> is |
|
15404 changed. You can listen for the event using the <code>on</code> method if you |
|
15405 wish to be notified before the attribute's value has changed, or |
|
15406 using the <code>after</code> method if you wish to be notified after the |
|
15407 attribute's value has changed. |
|
15408 </p> |
|
15409 |
|
15410 <div class="params"> |
|
15411 <h4>Parameters:</h4> |
|
15412 |
|
15413 <ul class="params-list"> |
|
15414 <li class="param"> |
|
15415 <code class="param-name">e</code> |
|
15416 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
15417 |
|
15418 <div class="param-description"> |
|
15419 An Event Facade object with the following |
|
15420 attribute-specific properties added: |
|
15421 </div> |
|
15422 |
|
15423 <ul class="params-list"> |
|
15424 <li class="param"> |
|
15425 <code class="param-name">prevVal</code> |
|
15426 <span class="type">Any</span> |
|
15427 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
15428 </li> |
|
15429 <li class="param"> |
|
15430 <code class="param-name">newVal</code> |
|
15431 <span class="type">Any</span> |
|
15432 <div class="param-description">The value the attribute is to be set to.</div> |
|
15433 </li> |
|
15434 <li class="param"> |
|
15435 <code class="param-name">attrName</code> |
|
15436 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15437 <div class="param-description">The name of the attribute being set.</div> |
|
15438 </li> |
|
15439 <li class="param"> |
|
15440 <code class="param-name">subAttrName</code> |
|
15441 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15442 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
15443 </li> |
|
15444 </ul> |
|
15445 </li> |
|
15446 </ul> |
|
15447 </div> |
|
15448 </div> |
|
15449 |
|
15450 |
|
15451 |
|
15452 </div> |
|
15453 |
|
15454 |
|
15455 <div id="attr_clickTimeThresh" class="attr item inherited"> |
|
15456 <a name="config_clickTimeThresh"></a> |
|
15457 <h3 class="name"><code>clickTimeThresh</code></h3> |
|
15458 <span class="type"><a href="../classes/Number.html" class="crosslink">Number</a></span> |
|
15459 |
|
15460 |
|
15461 |
|
15462 |
|
15463 |
|
15464 |
|
15465 |
|
15466 |
|
15467 |
|
15468 |
|
15469 |
|
15470 |
|
15471 |
|
15472 |
|
15473 |
|
15474 <div class="meta"> |
|
15475 |
|
15476 |
|
15477 <p>Inherited from |
|
15478 <a href="../classes/DD.Drag.html#attr_clickTimeThresh">DD.Drag</a>: |
|
15479 |
|
15480 |
|
15481 |
|
15482 <a href="../files/dd_js_drag.js.html#l270"><code>dd/js/drag.js:270</code></a> |
|
15483 |
|
15484 </p> |
|
15485 |
|
15486 |
|
15487 |
|
15488 |
|
15489 </div> |
|
15490 |
|
15491 <div class="description"> |
|
15492 <p>The number of milliseconds a mousedown has to pass to start a drag operation, default is 1000.</p> |
|
15493 </div> |
|
15494 |
|
15495 |
|
15496 |
|
15497 |
|
15498 <div class="emits box"> |
|
15499 <h4>Fires event <code>clickTimeThreshChange</code></h4> |
|
15500 |
|
15501 <p> |
|
15502 Fires when the value for the configuration attribute <code>clickTimeThresh</code> is |
|
15503 changed. You can listen for the event using the <code>on</code> method if you |
|
15504 wish to be notified before the attribute's value has changed, or |
|
15505 using the <code>after</code> method if you wish to be notified after the |
|
15506 attribute's value has changed. |
|
15507 </p> |
|
15508 |
|
15509 <div class="params"> |
|
15510 <h4>Parameters:</h4> |
|
15511 |
|
15512 <ul class="params-list"> |
|
15513 <li class="param"> |
|
15514 <code class="param-name">e</code> |
|
15515 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
15516 |
|
15517 <div class="param-description"> |
|
15518 An Event Facade object with the following |
|
15519 attribute-specific properties added: |
|
15520 </div> |
|
15521 |
|
15522 <ul class="params-list"> |
|
15523 <li class="param"> |
|
15524 <code class="param-name">prevVal</code> |
|
15525 <span class="type">Any</span> |
|
15526 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
15527 </li> |
|
15528 <li class="param"> |
|
15529 <code class="param-name">newVal</code> |
|
15530 <span class="type">Any</span> |
|
15531 <div class="param-description">The value the attribute is to be set to.</div> |
|
15532 </li> |
|
15533 <li class="param"> |
|
15534 <code class="param-name">attrName</code> |
|
15535 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15536 <div class="param-description">The name of the attribute being set.</div> |
|
15537 </li> |
|
15538 <li class="param"> |
|
15539 <code class="param-name">subAttrName</code> |
|
15540 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15541 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
15542 </li> |
|
15543 </ul> |
|
15544 </li> |
|
15545 </ul> |
|
15546 </div> |
|
15547 </div> |
|
15548 |
|
15549 |
|
15550 |
|
15551 </div> |
|
15552 |
|
15553 |
|
15554 <div id="attr_data" class="attr item inherited"> |
|
15555 <a name="config_data"></a> |
|
15556 <h3 class="name"><code>data</code></h3> |
|
15557 <span class="type">Mixed</span> |
|
15558 |
|
15559 |
|
15560 |
|
15561 |
|
15562 |
|
15563 |
|
15564 |
|
15565 |
|
15566 |
|
15567 |
|
15568 |
|
15569 |
|
15570 |
|
15571 |
|
15572 |
|
15573 <div class="meta"> |
|
15574 |
|
15575 |
|
15576 <p>Inherited from |
|
15577 <a href="../classes/DD.Drag.html#attr_data">DD.Drag</a>: |
|
15578 |
|
15579 |
|
15580 |
|
15581 <a href="../files/dd_js_drag.js.html#l294"><code>dd/js/drag.js:294</code></a> |
|
15582 |
|
15583 </p> |
|
15584 |
|
15585 |
|
15586 |
|
15587 |
|
15588 </div> |
|
15589 |
|
15590 <div class="description"> |
|
15591 <p>A payload holder to store arbitrary data about this drag object, can be used to store any value.</p> |
|
15592 </div> |
|
15593 |
|
15594 |
|
15595 |
|
15596 |
|
15597 <div class="emits box"> |
|
15598 <h4>Fires event <code>dataChange</code></h4> |
|
15599 |
|
15600 <p> |
|
15601 Fires when the value for the configuration attribute <code>data</code> is |
|
15602 changed. You can listen for the event using the <code>on</code> method if you |
|
15603 wish to be notified before the attribute's value has changed, or |
|
15604 using the <code>after</code> method if you wish to be notified after the |
|
15605 attribute's value has changed. |
|
15606 </p> |
|
15607 |
|
15608 <div class="params"> |
|
15609 <h4>Parameters:</h4> |
|
15610 |
|
15611 <ul class="params-list"> |
|
15612 <li class="param"> |
|
15613 <code class="param-name">e</code> |
|
15614 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
15615 |
|
15616 <div class="param-description"> |
|
15617 An Event Facade object with the following |
|
15618 attribute-specific properties added: |
|
15619 </div> |
|
15620 |
|
15621 <ul class="params-list"> |
|
15622 <li class="param"> |
|
15623 <code class="param-name">prevVal</code> |
|
15624 <span class="type">Any</span> |
|
15625 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
15626 </li> |
|
15627 <li class="param"> |
|
15628 <code class="param-name">newVal</code> |
|
15629 <span class="type">Any</span> |
|
15630 <div class="param-description">The value the attribute is to be set to.</div> |
|
15631 </li> |
|
15632 <li class="param"> |
|
15633 <code class="param-name">attrName</code> |
|
15634 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15635 <div class="param-description">The name of the attribute being set.</div> |
|
15636 </li> |
|
15637 <li class="param"> |
|
15638 <code class="param-name">subAttrName</code> |
|
15639 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15640 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
15641 </li> |
|
15642 </ul> |
|
15643 </li> |
|
15644 </ul> |
|
15645 </div> |
|
15646 </div> |
|
15647 |
|
15648 |
|
15649 |
|
15650 </div> |
|
15651 |
|
15652 |
|
15653 <div id="attr_destroyed" class="attr item inherited"> |
|
15654 <a name="config_destroyed"></a> |
|
15655 <h3 class="name"><code>destroyed</code></h3> |
|
15656 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
15657 |
|
15658 |
|
15659 |
|
15660 |
|
15661 |
|
15662 |
|
15663 |
|
15664 |
|
15665 |
|
15666 |
|
15667 |
|
15668 |
|
15669 |
|
15670 |
|
15671 <span class="flag readonly">readonly</span> |
|
15672 |
|
15673 |
|
15674 <div class="meta"> |
|
15675 |
|
15676 |
|
15677 <p>Inherited from |
|
15678 <a href="../classes/BaseCore.html#attr_destroyed">BaseCore</a>: |
|
15679 |
|
15680 |
|
15681 |
|
15682 <a href="../files/base_js_BaseCore.js.html#l157"><code>base/js/BaseCore.js:157</code></a> |
|
15683 |
|
15684 </p> |
|
15685 |
|
15686 |
|
15687 |
|
15688 |
|
15689 </div> |
|
15690 |
|
15691 <div class="description"> |
|
15692 <p>Flag indicating whether or not this object |
|
15693 has been through the destroy lifecycle phase.</p> |
|
15694 </div> |
|
15695 |
|
15696 |
|
15697 <p><strong>Default:</strong> false</p> |
|
15698 |
|
15699 |
|
15700 |
|
15701 <div class="emits box"> |
|
15702 <h4>Fires event <code>destroyedChange</code></h4> |
|
15703 |
|
15704 <p> |
|
15705 Fires when the value for the configuration attribute <code>destroyed</code> is |
|
15706 changed. You can listen for the event using the <code>on</code> method if you |
|
15707 wish to be notified before the attribute's value has changed, or |
|
15708 using the <code>after</code> method if you wish to be notified after the |
|
15709 attribute's value has changed. |
|
15710 </p> |
|
15711 |
|
15712 <div class="params"> |
|
15713 <h4>Parameters:</h4> |
|
15714 |
|
15715 <ul class="params-list"> |
|
15716 <li class="param"> |
|
15717 <code class="param-name">e</code> |
|
15718 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
15719 |
|
15720 <div class="param-description"> |
|
15721 An Event Facade object with the following |
|
15722 attribute-specific properties added: |
|
15723 </div> |
|
15724 |
|
15725 <ul class="params-list"> |
|
15726 <li class="param"> |
|
15727 <code class="param-name">prevVal</code> |
|
15728 <span class="type">Any</span> |
|
15729 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
15730 </li> |
|
15731 <li class="param"> |
|
15732 <code class="param-name">newVal</code> |
|
15733 <span class="type">Any</span> |
|
15734 <div class="param-description">The value the attribute is to be set to.</div> |
|
15735 </li> |
|
15736 <li class="param"> |
|
15737 <code class="param-name">attrName</code> |
|
15738 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15739 <div class="param-description">The name of the attribute being set.</div> |
|
15740 </li> |
|
15741 <li class="param"> |
|
15742 <code class="param-name">subAttrName</code> |
|
15743 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15744 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
15745 </li> |
|
15746 </ul> |
|
15747 </li> |
|
15748 </ul> |
|
15749 </div> |
|
15750 </div> |
|
15751 |
|
15752 |
|
15753 |
|
15754 </div> |
|
15755 |
|
15756 |
|
15757 <div id="attr_dragging" class="attr item inherited"> |
|
15758 <a name="config_dragging"></a> |
|
15759 <h3 class="name"><code>dragging</code></h3> |
|
15760 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
15761 |
|
15762 |
|
15763 |
|
15764 |
|
15765 |
|
15766 |
|
15767 |
|
15768 |
|
15769 |
|
15770 |
|
15771 |
|
15772 |
|
15773 |
|
15774 |
|
15775 |
|
15776 <div class="meta"> |
|
15777 |
|
15778 |
|
15779 <p>Inherited from |
|
15780 <a href="../classes/DD.Drag.html#attr_dragging">DD.Drag</a>: |
|
15781 |
|
15782 |
|
15783 |
|
15784 <a href="../files/dd_js_drag.js.html#l335"><code>dd/js/drag.js:335</code></a> |
|
15785 |
|
15786 </p> |
|
15787 |
|
15788 |
|
15789 |
|
15790 |
|
15791 </div> |
|
15792 |
|
15793 <div class="description"> |
|
15794 <p>This attribute is not meant to be used by the implementor, it is meant to be used as an Event tracker so you can listen for it to change.</p> |
|
15795 </div> |
|
15796 |
|
15797 |
|
15798 |
|
15799 |
|
15800 <div class="emits box"> |
|
15801 <h4>Fires event <code>draggingChange</code></h4> |
|
15802 |
|
15803 <p> |
|
15804 Fires when the value for the configuration attribute <code>dragging</code> is |
|
15805 changed. You can listen for the event using the <code>on</code> method if you |
|
15806 wish to be notified before the attribute's value has changed, or |
|
15807 using the <code>after</code> method if you wish to be notified after the |
|
15808 attribute's value has changed. |
|
15809 </p> |
|
15810 |
|
15811 <div class="params"> |
|
15812 <h4>Parameters:</h4> |
|
15813 |
|
15814 <ul class="params-list"> |
|
15815 <li class="param"> |
|
15816 <code class="param-name">e</code> |
|
15817 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
15818 |
|
15819 <div class="param-description"> |
|
15820 An Event Facade object with the following |
|
15821 attribute-specific properties added: |
|
15822 </div> |
|
15823 |
|
15824 <ul class="params-list"> |
|
15825 <li class="param"> |
|
15826 <code class="param-name">prevVal</code> |
|
15827 <span class="type">Any</span> |
|
15828 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
15829 </li> |
|
15830 <li class="param"> |
|
15831 <code class="param-name">newVal</code> |
|
15832 <span class="type">Any</span> |
|
15833 <div class="param-description">The value the attribute is to be set to.</div> |
|
15834 </li> |
|
15835 <li class="param"> |
|
15836 <code class="param-name">attrName</code> |
|
15837 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15838 <div class="param-description">The name of the attribute being set.</div> |
|
15839 </li> |
|
15840 <li class="param"> |
|
15841 <code class="param-name">subAttrName</code> |
|
15842 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15843 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
15844 </li> |
|
15845 </ul> |
|
15846 </li> |
|
15847 </ul> |
|
15848 </div> |
|
15849 </div> |
|
15850 |
|
15851 |
|
15852 |
|
15853 </div> |
|
15854 |
|
15855 |
|
15856 <div id="attr_dragMode" class="attr item inherited"> |
|
15857 <a name="config_dragMode"></a> |
|
15858 <h3 class="name"><code>dragMode</code></h3> |
|
15859 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15860 |
|
15861 |
|
15862 |
|
15863 |
|
15864 |
|
15865 |
|
15866 |
|
15867 |
|
15868 |
|
15869 |
|
15870 |
|
15871 |
|
15872 |
|
15873 |
|
15874 |
|
15875 <div class="meta"> |
|
15876 |
|
15877 |
|
15878 <p>Inherited from |
|
15879 <a href="../classes/DD.Drag.html#attr_dragMode">DD.Drag</a>: |
|
15880 |
|
15881 |
|
15882 |
|
15883 <a href="../files/dd_js_drag.js.html#l358"><code>dd/js/drag.js:358</code></a> |
|
15884 |
|
15885 </p> |
|
15886 |
|
15887 |
|
15888 |
|
15889 |
|
15890 </div> |
|
15891 |
|
15892 <div class="description"> |
|
15893 <p>This attribute only works if the dd-drop module is active. It will set the dragMode (point, intersect, strict) of this Drag instance.</p> |
|
15894 </div> |
|
15895 |
|
15896 |
|
15897 |
|
15898 |
|
15899 <div class="emits box"> |
|
15900 <h4>Fires event <code>dragModeChange</code></h4> |
|
15901 |
|
15902 <p> |
|
15903 Fires when the value for the configuration attribute <code>dragMode</code> is |
|
15904 changed. You can listen for the event using the <code>on</code> method if you |
|
15905 wish to be notified before the attribute's value has changed, or |
|
15906 using the <code>after</code> method if you wish to be notified after the |
|
15907 attribute's value has changed. |
|
15908 </p> |
|
15909 |
|
15910 <div class="params"> |
|
15911 <h4>Parameters:</h4> |
|
15912 |
|
15913 <ul class="params-list"> |
|
15914 <li class="param"> |
|
15915 <code class="param-name">e</code> |
|
15916 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
15917 |
|
15918 <div class="param-description"> |
|
15919 An Event Facade object with the following |
|
15920 attribute-specific properties added: |
|
15921 </div> |
|
15922 |
|
15923 <ul class="params-list"> |
|
15924 <li class="param"> |
|
15925 <code class="param-name">prevVal</code> |
|
15926 <span class="type">Any</span> |
|
15927 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
15928 </li> |
|
15929 <li class="param"> |
|
15930 <code class="param-name">newVal</code> |
|
15931 <span class="type">Any</span> |
|
15932 <div class="param-description">The value the attribute is to be set to.</div> |
|
15933 </li> |
|
15934 <li class="param"> |
|
15935 <code class="param-name">attrName</code> |
|
15936 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15937 <div class="param-description">The name of the attribute being set.</div> |
|
15938 </li> |
|
15939 <li class="param"> |
|
15940 <code class="param-name">subAttrName</code> |
|
15941 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15942 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
15943 </li> |
|
15944 </ul> |
|
15945 </li> |
|
15946 </ul> |
|
15947 </div> |
|
15948 </div> |
|
15949 |
|
15950 |
|
15951 |
|
15952 </div> |
|
15953 |
|
15954 |
|
15955 <div id="attr_dragNode" class="attr item inherited"> |
|
15956 <a name="config_dragNode"></a> |
|
15957 <h3 class="name"><code>dragNode</code></h3> |
|
15958 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
15959 |
|
15960 |
|
15961 |
|
15962 |
|
15963 |
|
15964 |
|
15965 |
|
15966 |
|
15967 |
|
15968 |
|
15969 |
|
15970 |
|
15971 |
|
15972 |
|
15973 |
|
15974 <div class="meta"> |
|
15975 |
|
15976 |
|
15977 <p>Inherited from |
|
15978 <a href="../classes/DD.Drag.html#attr_dragNode">DD.Drag</a>: |
|
15979 |
|
15980 |
|
15981 |
|
15982 <a href="../files/dd_js_drag.js.html#l229"><code>dd/js/drag.js:229</code></a> |
|
15983 |
|
15984 </p> |
|
15985 |
|
15986 |
|
15987 |
|
15988 |
|
15989 </div> |
|
15990 |
|
15991 <div class="description"> |
|
15992 <p>Y.Node instance to use as the draggable element, defaults to node</p> |
|
15993 </div> |
|
15994 |
|
15995 |
|
15996 |
|
15997 |
|
15998 <div class="emits box"> |
|
15999 <h4>Fires event <code>dragNodeChange</code></h4> |
|
16000 |
|
16001 <p> |
|
16002 Fires when the value for the configuration attribute <code>dragNode</code> is |
|
16003 changed. You can listen for the event using the <code>on</code> method if you |
|
16004 wish to be notified before the attribute's value has changed, or |
|
16005 using the <code>after</code> method if you wish to be notified after the |
|
16006 attribute's value has changed. |
|
16007 </p> |
|
16008 |
|
16009 <div class="params"> |
|
16010 <h4>Parameters:</h4> |
|
16011 |
|
16012 <ul class="params-list"> |
|
16013 <li class="param"> |
|
16014 <code class="param-name">e</code> |
|
16015 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
16016 |
|
16017 <div class="param-description"> |
|
16018 An Event Facade object with the following |
|
16019 attribute-specific properties added: |
|
16020 </div> |
|
16021 |
|
16022 <ul class="params-list"> |
|
16023 <li class="param"> |
|
16024 <code class="param-name">prevVal</code> |
|
16025 <span class="type">Any</span> |
|
16026 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
16027 </li> |
|
16028 <li class="param"> |
|
16029 <code class="param-name">newVal</code> |
|
16030 <span class="type">Any</span> |
|
16031 <div class="param-description">The value the attribute is to be set to.</div> |
|
16032 </li> |
|
16033 <li class="param"> |
|
16034 <code class="param-name">attrName</code> |
|
16035 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16036 <div class="param-description">The name of the attribute being set.</div> |
|
16037 </li> |
|
16038 <li class="param"> |
|
16039 <code class="param-name">subAttrName</code> |
|
16040 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16041 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
16042 </li> |
|
16043 </ul> |
|
16044 </li> |
|
16045 </ul> |
|
16046 </div> |
|
16047 </div> |
|
16048 |
|
16049 |
|
16050 |
|
16051 </div> |
|
16052 |
|
16053 |
|
16054 <div id="attr_groups" class="attr item inherited"> |
|
16055 <a name="config_groups"></a> |
|
16056 <h3 class="name"><code>groups</code></h3> |
|
16057 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
16058 |
|
16059 |
|
16060 |
|
16061 |
|
16062 |
|
16063 |
|
16064 |
|
16065 |
|
16066 |
|
16067 |
|
16068 |
|
16069 |
|
16070 |
|
16071 |
|
16072 |
|
16073 <div class="meta"> |
|
16074 |
|
16075 |
|
16076 <p>Inherited from |
|
16077 <a href="../classes/DD.Drag.html#attr_groups">DD.Drag</a>: |
|
16078 |
|
16079 |
|
16080 |
|
16081 <a href="../files/dd_js_drag.js.html#l369"><code>dd/js/drag.js:369</code></a> |
|
16082 |
|
16083 </p> |
|
16084 |
|
16085 |
|
16086 |
|
16087 |
|
16088 </div> |
|
16089 |
|
16090 <div class="description"> |
|
16091 <p>Array of groups to add this drag into.</p> |
|
16092 </div> |
|
16093 |
|
16094 |
|
16095 |
|
16096 |
|
16097 <div class="emits box"> |
|
16098 <h4>Fires event <code>groupsChange</code></h4> |
|
16099 |
|
16100 <p> |
|
16101 Fires when the value for the configuration attribute <code>groups</code> is |
|
16102 changed. You can listen for the event using the <code>on</code> method if you |
|
16103 wish to be notified before the attribute's value has changed, or |
|
16104 using the <code>after</code> method if you wish to be notified after the |
|
16105 attribute's value has changed. |
|
16106 </p> |
|
16107 |
|
16108 <div class="params"> |
|
16109 <h4>Parameters:</h4> |
|
16110 |
|
16111 <ul class="params-list"> |
|
16112 <li class="param"> |
|
16113 <code class="param-name">e</code> |
|
16114 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
16115 |
|
16116 <div class="param-description"> |
|
16117 An Event Facade object with the following |
|
16118 attribute-specific properties added: |
|
16119 </div> |
|
16120 |
|
16121 <ul class="params-list"> |
|
16122 <li class="param"> |
|
16123 <code class="param-name">prevVal</code> |
|
16124 <span class="type">Any</span> |
|
16125 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
16126 </li> |
|
16127 <li class="param"> |
|
16128 <code class="param-name">newVal</code> |
|
16129 <span class="type">Any</span> |
|
16130 <div class="param-description">The value the attribute is to be set to.</div> |
|
16131 </li> |
|
16132 <li class="param"> |
|
16133 <code class="param-name">attrName</code> |
|
16134 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16135 <div class="param-description">The name of the attribute being set.</div> |
|
16136 </li> |
|
16137 <li class="param"> |
|
16138 <code class="param-name">subAttrName</code> |
|
16139 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16140 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
16141 </li> |
|
16142 </ul> |
|
16143 </li> |
|
16144 </ul> |
|
16145 </div> |
|
16146 </div> |
|
16147 |
|
16148 |
|
16149 |
|
16150 </div> |
|
16151 |
|
16152 |
|
16153 <div id="attr_haltDown" class="attr item inherited"> |
|
16154 <a name="config_haltDown"></a> |
|
16155 <h3 class="name"><code>haltDown</code></h3> |
|
16156 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
16157 |
|
16158 |
|
16159 |
|
16160 |
|
16161 |
|
16162 |
|
16163 |
|
16164 |
|
16165 |
|
16166 |
|
16167 |
|
16168 |
|
16169 |
|
16170 |
|
16171 |
|
16172 <div class="meta"> |
|
16173 |
|
16174 |
|
16175 <p>Inherited from |
|
16176 <a href="../classes/DD.Drag.html#attr_haltDown">DD.Drag</a>: |
|
16177 |
|
16178 |
|
16179 |
|
16180 <a href="../files/dd_js_drag.js.html#l425"><code>dd/js/drag.js:425</code></a> |
|
16181 |
|
16182 </p> |
|
16183 |
|
16184 |
|
16185 |
|
16186 |
|
16187 </div> |
|
16188 |
|
16189 <div class="description"> |
|
16190 <p>Should the mousedown event be halted. Default: true</p> |
|
16191 </div> |
|
16192 |
|
16193 |
|
16194 |
|
16195 |
|
16196 <div class="emits box"> |
|
16197 <h4>Fires event <code>haltDownChange</code></h4> |
|
16198 |
|
16199 <p> |
|
16200 Fires when the value for the configuration attribute <code>haltDown</code> is |
|
16201 changed. You can listen for the event using the <code>on</code> method if you |
|
16202 wish to be notified before the attribute's value has changed, or |
|
16203 using the <code>after</code> method if you wish to be notified after the |
|
16204 attribute's value has changed. |
|
16205 </p> |
|
16206 |
|
16207 <div class="params"> |
|
16208 <h4>Parameters:</h4> |
|
16209 |
|
16210 <ul class="params-list"> |
|
16211 <li class="param"> |
|
16212 <code class="param-name">e</code> |
|
16213 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
16214 |
|
16215 <div class="param-description"> |
|
16216 An Event Facade object with the following |
|
16217 attribute-specific properties added: |
|
16218 </div> |
|
16219 |
|
16220 <ul class="params-list"> |
|
16221 <li class="param"> |
|
16222 <code class="param-name">prevVal</code> |
|
16223 <span class="type">Any</span> |
|
16224 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
16225 </li> |
|
16226 <li class="param"> |
|
16227 <code class="param-name">newVal</code> |
|
16228 <span class="type">Any</span> |
|
16229 <div class="param-description">The value the attribute is to be set to.</div> |
|
16230 </li> |
|
16231 <li class="param"> |
|
16232 <code class="param-name">attrName</code> |
|
16233 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16234 <div class="param-description">The name of the attribute being set.</div> |
|
16235 </li> |
|
16236 <li class="param"> |
|
16237 <code class="param-name">subAttrName</code> |
|
16238 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16239 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
16240 </li> |
|
16241 </ul> |
|
16242 </li> |
|
16243 </ul> |
|
16244 </div> |
|
16245 </div> |
|
16246 |
|
16247 |
|
16248 |
|
16249 </div> |
|
16250 |
|
16251 |
|
16252 <div id="attr_handles" class="attr item inherited"> |
|
16253 <a name="config_handles"></a> |
|
16254 <h3 class="name"><code>handles</code></h3> |
|
16255 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
16256 |
|
16257 |
|
16258 |
|
16259 |
|
16260 |
|
16261 |
|
16262 |
|
16263 |
|
16264 |
|
16265 |
|
16266 |
|
16267 |
|
16268 |
|
16269 |
|
16270 |
|
16271 <div class="meta"> |
|
16272 |
|
16273 |
|
16274 <p>Inherited from |
|
16275 <a href="../classes/DD.Drag.html#attr_handles">DD.Drag</a>: |
|
16276 |
|
16277 |
|
16278 |
|
16279 <a href="../files/dd_js_drag.js.html#l389"><code>dd/js/drag.js:389</code></a> |
|
16280 |
|
16281 </p> |
|
16282 |
|
16283 |
|
16284 |
|
16285 |
|
16286 </div> |
|
16287 |
|
16288 <div class="description"> |
|
16289 <p>Array of valid handles to add. Adding something here will set all handles, even if previously added with addHandle</p> |
|
16290 </div> |
|
16291 |
|
16292 |
|
16293 |
|
16294 |
|
16295 <div class="emits box"> |
|
16296 <h4>Fires event <code>handlesChange</code></h4> |
|
16297 |
|
16298 <p> |
|
16299 Fires when the value for the configuration attribute <code>handles</code> is |
|
16300 changed. You can listen for the event using the <code>on</code> method if you |
|
16301 wish to be notified before the attribute's value has changed, or |
|
16302 using the <code>after</code> method if you wish to be notified after the |
|
16303 attribute's value has changed. |
|
16304 </p> |
|
16305 |
|
16306 <div class="params"> |
|
16307 <h4>Parameters:</h4> |
|
16308 |
|
16309 <ul class="params-list"> |
|
16310 <li class="param"> |
|
16311 <code class="param-name">e</code> |
|
16312 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
16313 |
|
16314 <div class="param-description"> |
|
16315 An Event Facade object with the following |
|
16316 attribute-specific properties added: |
|
16317 </div> |
|
16318 |
|
16319 <ul class="params-list"> |
|
16320 <li class="param"> |
|
16321 <code class="param-name">prevVal</code> |
|
16322 <span class="type">Any</span> |
|
16323 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
16324 </li> |
|
16325 <li class="param"> |
|
16326 <code class="param-name">newVal</code> |
|
16327 <span class="type">Any</span> |
|
16328 <div class="param-description">The value the attribute is to be set to.</div> |
|
16329 </li> |
|
16330 <li class="param"> |
|
16331 <code class="param-name">attrName</code> |
|
16332 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16333 <div class="param-description">The name of the attribute being set.</div> |
|
16334 </li> |
|
16335 <li class="param"> |
|
16336 <code class="param-name">subAttrName</code> |
|
16337 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16338 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
16339 </li> |
|
16340 </ul> |
|
16341 </li> |
|
16342 </ul> |
|
16343 </div> |
|
16344 </div> |
|
16345 |
|
16346 |
|
16347 |
|
16348 </div> |
|
16349 |
|
16350 |
|
16351 <div id="attr_initialized" class="attr item inherited"> |
|
16352 <a name="config_initialized"></a> |
|
16353 <h3 class="name"><code>initialized</code></h3> |
|
16354 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
16355 |
|
16356 |
|
16357 |
|
16358 |
|
16359 |
|
16360 |
|
16361 |
|
16362 |
|
16363 |
|
16364 |
|
16365 |
|
16366 |
|
16367 |
|
16368 |
|
16369 <span class="flag readonly">readonly</span> |
|
16370 |
|
16371 |
|
16372 <div class="meta"> |
|
16373 |
|
16374 |
|
16375 <p>Inherited from |
|
16376 <a href="../classes/BaseCore.html#attr_initialized">BaseCore</a>: |
|
16377 |
|
16378 |
|
16379 |
|
16380 <a href="../files/base_js_BaseCore.js.html#l143"><code>base/js/BaseCore.js:143</code></a> |
|
16381 |
|
16382 </p> |
|
16383 |
|
16384 |
|
16385 |
|
16386 |
|
16387 </div> |
|
16388 |
|
16389 <div class="description"> |
|
16390 <p>Flag indicating whether or not this object |
|
16391 has been through the init lifecycle phase.</p> |
|
16392 </div> |
|
16393 |
|
16394 |
|
16395 <p><strong>Default:</strong> false</p> |
|
16396 |
|
16397 |
|
16398 |
|
16399 <div class="emits box"> |
|
16400 <h4>Fires event <code>initializedChange</code></h4> |
|
16401 |
|
16402 <p> |
|
16403 Fires when the value for the configuration attribute <code>initialized</code> is |
|
16404 changed. You can listen for the event using the <code>on</code> method if you |
|
16405 wish to be notified before the attribute's value has changed, or |
|
16406 using the <code>after</code> method if you wish to be notified after the |
|
16407 attribute's value has changed. |
|
16408 </p> |
|
16409 |
|
16410 <div class="params"> |
|
16411 <h4>Parameters:</h4> |
|
16412 |
|
16413 <ul class="params-list"> |
|
16414 <li class="param"> |
|
16415 <code class="param-name">e</code> |
|
16416 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
16417 |
|
16418 <div class="param-description"> |
|
16419 An Event Facade object with the following |
|
16420 attribute-specific properties added: |
|
16421 </div> |
|
16422 |
|
16423 <ul class="params-list"> |
|
16424 <li class="param"> |
|
16425 <code class="param-name">prevVal</code> |
|
16426 <span class="type">Any</span> |
|
16427 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
16428 </li> |
|
16429 <li class="param"> |
|
16430 <code class="param-name">newVal</code> |
|
16431 <span class="type">Any</span> |
|
16432 <div class="param-description">The value the attribute is to be set to.</div> |
|
16433 </li> |
|
16434 <li class="param"> |
|
16435 <code class="param-name">attrName</code> |
|
16436 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16437 <div class="param-description">The name of the attribute being set.</div> |
|
16438 </li> |
|
16439 <li class="param"> |
|
16440 <code class="param-name">subAttrName</code> |
|
16441 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16442 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
16443 </li> |
|
16444 </ul> |
|
16445 </li> |
|
16446 </ul> |
|
16447 </div> |
|
16448 </div> |
|
16449 |
|
16450 |
|
16451 |
|
16452 </div> |
|
16453 |
|
16454 |
|
16455 <div id="attr_lock" class="attr item inherited"> |
|
16456 <a name="config_lock"></a> |
|
16457 <h3 class="name"><code>lock</code></h3> |
|
16458 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
16459 |
|
16460 |
|
16461 |
|
16462 |
|
16463 |
|
16464 |
|
16465 |
|
16466 |
|
16467 |
|
16468 |
|
16469 |
|
16470 |
|
16471 |
|
16472 |
|
16473 |
|
16474 <div class="meta"> |
|
16475 |
|
16476 |
|
16477 <p>Inherited from |
|
16478 <a href="../classes/DD.Drag.html#attr_lock">DD.Drag</a>: |
|
16479 |
|
16480 |
|
16481 |
|
16482 <a href="../files/dd_js_drag.js.html#l278"><code>dd/js/drag.js:278</code></a> |
|
16483 |
|
16484 </p> |
|
16485 |
|
16486 |
|
16487 |
|
16488 |
|
16489 </div> |
|
16490 |
|
16491 <div class="description"> |
|
16492 <p>Set to lock this drag element so that it can't be dragged: default false.</p> |
|
16493 </div> |
|
16494 |
|
16495 |
|
16496 |
|
16497 |
|
16498 <div class="emits box"> |
|
16499 <h4>Fires event <code>lockChange</code></h4> |
|
16500 |
|
16501 <p> |
|
16502 Fires when the value for the configuration attribute <code>lock</code> is |
|
16503 changed. You can listen for the event using the <code>on</code> method if you |
|
16504 wish to be notified before the attribute's value has changed, or |
|
16505 using the <code>after</code> method if you wish to be notified after the |
|
16506 attribute's value has changed. |
|
16507 </p> |
|
16508 |
|
16509 <div class="params"> |
|
16510 <h4>Parameters:</h4> |
|
16511 |
|
16512 <ul class="params-list"> |
|
16513 <li class="param"> |
|
16514 <code class="param-name">e</code> |
|
16515 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
16516 |
|
16517 <div class="param-description"> |
|
16518 An Event Facade object with the following |
|
16519 attribute-specific properties added: |
|
16520 </div> |
|
16521 |
|
16522 <ul class="params-list"> |
|
16523 <li class="param"> |
|
16524 <code class="param-name">prevVal</code> |
|
16525 <span class="type">Any</span> |
|
16526 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
16527 </li> |
|
16528 <li class="param"> |
|
16529 <code class="param-name">newVal</code> |
|
16530 <span class="type">Any</span> |
|
16531 <div class="param-description">The value the attribute is to be set to.</div> |
|
16532 </li> |
|
16533 <li class="param"> |
|
16534 <code class="param-name">attrName</code> |
|
16535 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16536 <div class="param-description">The name of the attribute being set.</div> |
|
16537 </li> |
|
16538 <li class="param"> |
|
16539 <code class="param-name">subAttrName</code> |
|
16540 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16541 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
16542 </li> |
|
16543 </ul> |
|
16544 </li> |
|
16545 </ul> |
|
16546 </div> |
|
16547 </div> |
|
16548 |
|
16549 |
|
16550 |
|
16551 </div> |
|
16552 |
|
16553 |
|
16554 <div id="attr_move" class="attr item inherited"> |
|
16555 <a name="config_move"></a> |
|
16556 <h3 class="name"><code>move</code></h3> |
|
16557 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
16558 |
|
16559 |
|
16560 |
|
16561 |
|
16562 |
|
16563 |
|
16564 |
|
16565 |
|
16566 |
|
16567 |
|
16568 |
|
16569 |
|
16570 |
|
16571 |
|
16572 |
|
16573 <div class="meta"> |
|
16574 |
|
16575 |
|
16576 <p>Inherited from |
|
16577 <a href="../classes/DD.Drag.html#attr_move">DD.Drag</a>: |
|
16578 |
|
16579 |
|
16580 |
|
16581 <a href="../files/dd_js_drag.js.html#l302"><code>dd/js/drag.js:302</code></a> |
|
16582 |
|
16583 </p> |
|
16584 |
|
16585 |
|
16586 |
|
16587 |
|
16588 </div> |
|
16589 |
|
16590 <div class="description"> |
|
16591 <p>If this is false, the drag element will not move with the cursor: default true. Can be used to "resize" the element.</p> |
|
16592 </div> |
|
16593 |
|
16594 |
|
16595 |
|
16596 |
|
16597 <div class="emits box"> |
|
16598 <h4>Fires event <code>moveChange</code></h4> |
|
16599 |
|
16600 <p> |
|
16601 Fires when the value for the configuration attribute <code>move</code> is |
|
16602 changed. You can listen for the event using the <code>on</code> method if you |
|
16603 wish to be notified before the attribute's value has changed, or |
|
16604 using the <code>after</code> method if you wish to be notified after the |
|
16605 attribute's value has changed. |
|
16606 </p> |
|
16607 |
|
16608 <div class="params"> |
|
16609 <h4>Parameters:</h4> |
|
16610 |
|
16611 <ul class="params-list"> |
|
16612 <li class="param"> |
|
16613 <code class="param-name">e</code> |
|
16614 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
16615 |
|
16616 <div class="param-description"> |
|
16617 An Event Facade object with the following |
|
16618 attribute-specific properties added: |
|
16619 </div> |
|
16620 |
|
16621 <ul class="params-list"> |
|
16622 <li class="param"> |
|
16623 <code class="param-name">prevVal</code> |
|
16624 <span class="type">Any</span> |
|
16625 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
16626 </li> |
|
16627 <li class="param"> |
|
16628 <code class="param-name">newVal</code> |
|
16629 <span class="type">Any</span> |
|
16630 <div class="param-description">The value the attribute is to be set to.</div> |
|
16631 </li> |
|
16632 <li class="param"> |
|
16633 <code class="param-name">attrName</code> |
|
16634 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16635 <div class="param-description">The name of the attribute being set.</div> |
|
16636 </li> |
|
16637 <li class="param"> |
|
16638 <code class="param-name">subAttrName</code> |
|
16639 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16640 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
16641 </li> |
|
16642 </ul> |
|
16643 </li> |
|
16644 </ul> |
|
16645 </div> |
|
16646 </div> |
|
16647 |
|
16648 |
|
16649 |
|
16650 </div> |
|
16651 |
|
16652 |
|
16653 <div id="attr_node" class="attr item inherited"> |
|
16654 <a name="config_node"></a> |
|
16655 <h3 class="name"><code>node</code></h3> |
|
16656 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
16657 |
|
16658 |
|
16659 |
|
16660 |
|
16661 |
|
16662 |
|
16663 |
|
16664 |
|
16665 |
|
16666 |
|
16667 |
|
16668 |
|
16669 |
|
16670 |
|
16671 |
|
16672 <div class="meta"> |
|
16673 |
|
16674 |
|
16675 <p>Inherited from |
|
16676 <a href="../classes/DD.Drag.html#attr_node">DD.Drag</a>: |
|
16677 |
|
16678 |
|
16679 |
|
16680 <a href="../files/dd_js_drag.js.html#l212"><code>dd/js/drag.js:212</code></a> |
|
16681 |
|
16682 </p> |
|
16683 |
|
16684 |
|
16685 |
|
16686 |
|
16687 </div> |
|
16688 |
|
16689 <div class="description"> |
|
16690 <p>Y.Node instance to use as the element to initiate a drag operation</p> |
|
16691 </div> |
|
16692 |
|
16693 |
|
16694 |
|
16695 |
|
16696 <div class="emits box"> |
|
16697 <h4>Fires event <code>nodeChange</code></h4> |
|
16698 |
|
16699 <p> |
|
16700 Fires when the value for the configuration attribute <code>node</code> is |
|
16701 changed. You can listen for the event using the <code>on</code> method if you |
|
16702 wish to be notified before the attribute's value has changed, or |
|
16703 using the <code>after</code> method if you wish to be notified after the |
|
16704 attribute's value has changed. |
|
16705 </p> |
|
16706 |
|
16707 <div class="params"> |
|
16708 <h4>Parameters:</h4> |
|
16709 |
|
16710 <ul class="params-list"> |
|
16711 <li class="param"> |
|
16712 <code class="param-name">e</code> |
|
16713 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
16714 |
|
16715 <div class="param-description"> |
|
16716 An Event Facade object with the following |
|
16717 attribute-specific properties added: |
|
16718 </div> |
|
16719 |
|
16720 <ul class="params-list"> |
|
16721 <li class="param"> |
|
16722 <code class="param-name">prevVal</code> |
|
16723 <span class="type">Any</span> |
|
16724 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
16725 </li> |
|
16726 <li class="param"> |
|
16727 <code class="param-name">newVal</code> |
|
16728 <span class="type">Any</span> |
|
16729 <div class="param-description">The value the attribute is to be set to.</div> |
|
16730 </li> |
|
16731 <li class="param"> |
|
16732 <code class="param-name">attrName</code> |
|
16733 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16734 <div class="param-description">The name of the attribute being set.</div> |
|
16735 </li> |
|
16736 <li class="param"> |
|
16737 <code class="param-name">subAttrName</code> |
|
16738 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16739 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
16740 </li> |
|
16741 </ul> |
|
16742 </li> |
|
16743 </ul> |
|
16744 </div> |
|
16745 </div> |
|
16746 |
|
16747 |
|
16748 |
|
16749 </div> |
|
16750 |
|
16751 |
|
16752 <div id="attr_offsetNode" class="attr item inherited"> |
|
16753 <a name="config_offsetNode"></a> |
|
16754 <h3 class="name"><code>offsetNode</code></h3> |
|
16755 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
16756 |
|
16757 |
|
16758 |
|
16759 |
|
16760 |
|
16761 |
|
16762 |
|
16763 |
|
16764 |
|
16765 |
|
16766 |
|
16767 |
|
16768 |
|
16769 |
|
16770 |
|
16771 <div class="meta"> |
|
16772 |
|
16773 |
|
16774 <p>Inherited from |
|
16775 <a href="../classes/DD.Drag.html#attr_offsetNode">DD.Drag</a>: |
|
16776 |
|
16777 |
|
16778 |
|
16779 <a href="../files/dd_js_drag.js.html#l246"><code>dd/js/drag.js:246</code></a> |
|
16780 |
|
16781 </p> |
|
16782 |
|
16783 |
|
16784 |
|
16785 |
|
16786 </div> |
|
16787 |
|
16788 <div class="description"> |
|
16789 <p>Offset the drag element by the difference in cursor position: default true</p> |
|
16790 </div> |
|
16791 |
|
16792 |
|
16793 |
|
16794 |
|
16795 <div class="emits box"> |
|
16796 <h4>Fires event <code>offsetNodeChange</code></h4> |
|
16797 |
|
16798 <p> |
|
16799 Fires when the value for the configuration attribute <code>offsetNode</code> is |
|
16800 changed. You can listen for the event using the <code>on</code> method if you |
|
16801 wish to be notified before the attribute's value has changed, or |
|
16802 using the <code>after</code> method if you wish to be notified after the |
|
16803 attribute's value has changed. |
|
16804 </p> |
|
16805 |
|
16806 <div class="params"> |
|
16807 <h4>Parameters:</h4> |
|
16808 |
|
16809 <ul class="params-list"> |
|
16810 <li class="param"> |
|
16811 <code class="param-name">e</code> |
|
16812 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
16813 |
|
16814 <div class="param-description"> |
|
16815 An Event Facade object with the following |
|
16816 attribute-specific properties added: |
|
16817 </div> |
|
16818 |
|
16819 <ul class="params-list"> |
|
16820 <li class="param"> |
|
16821 <code class="param-name">prevVal</code> |
|
16822 <span class="type">Any</span> |
|
16823 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
16824 </li> |
|
16825 <li class="param"> |
|
16826 <code class="param-name">newVal</code> |
|
16827 <span class="type">Any</span> |
|
16828 <div class="param-description">The value the attribute is to be set to.</div> |
|
16829 </li> |
|
16830 <li class="param"> |
|
16831 <code class="param-name">attrName</code> |
|
16832 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16833 <div class="param-description">The name of the attribute being set.</div> |
|
16834 </li> |
|
16835 <li class="param"> |
|
16836 <code class="param-name">subAttrName</code> |
|
16837 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16838 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
16839 </li> |
|
16840 </ul> |
|
16841 </li> |
|
16842 </ul> |
|
16843 </div> |
|
16844 </div> |
|
16845 |
|
16846 |
|
16847 |
|
16848 </div> |
|
16849 |
|
16850 |
|
16851 <div id="attr_primaryButtonOnly" class="attr item inherited"> |
|
16852 <a name="config_primaryButtonOnly"></a> |
|
16853 <h3 class="name"><code>primaryButtonOnly</code></h3> |
|
16854 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
16855 |
|
16856 |
|
16857 |
|
16858 |
|
16859 |
|
16860 |
|
16861 |
|
16862 |
|
16863 |
|
16864 |
|
16865 |
|
16866 |
|
16867 |
|
16868 |
|
16869 |
|
16870 <div class="meta"> |
|
16871 |
|
16872 |
|
16873 <p>Inherited from |
|
16874 <a href="../classes/DD.Drag.html#attr_primaryButtonOnly">DD.Drag</a>: |
|
16875 |
|
16876 |
|
16877 |
|
16878 <a href="../files/dd_js_drag.js.html#l326"><code>dd/js/drag.js:326</code></a> |
|
16879 |
|
16880 </p> |
|
16881 |
|
16882 |
|
16883 |
|
16884 |
|
16885 </div> |
|
16886 |
|
16887 <div class="description"> |
|
16888 <p>By default a drag operation will only begin if the mousedown occurred with the primary mouse button. |
|
16889 Setting this to false will allow for all mousedown events to trigger a drag.</p> |
|
16890 </div> |
|
16891 |
|
16892 |
|
16893 |
|
16894 |
|
16895 <div class="emits box"> |
|
16896 <h4>Fires event <code>primaryButtonOnlyChange</code></h4> |
|
16897 |
|
16898 <p> |
|
16899 Fires when the value for the configuration attribute <code>primaryButtonOnly</code> is |
|
16900 changed. You can listen for the event using the <code>on</code> method if you |
|
16901 wish to be notified before the attribute's value has changed, or |
|
16902 using the <code>after</code> method if you wish to be notified after the |
|
16903 attribute's value has changed. |
|
16904 </p> |
|
16905 |
|
16906 <div class="params"> |
|
16907 <h4>Parameters:</h4> |
|
16908 |
|
16909 <ul class="params-list"> |
|
16910 <li class="param"> |
|
16911 <code class="param-name">e</code> |
|
16912 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
16913 |
|
16914 <div class="param-description"> |
|
16915 An Event Facade object with the following |
|
16916 attribute-specific properties added: |
|
16917 </div> |
|
16918 |
|
16919 <ul class="params-list"> |
|
16920 <li class="param"> |
|
16921 <code class="param-name">prevVal</code> |
|
16922 <span class="type">Any</span> |
|
16923 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
16924 </li> |
|
16925 <li class="param"> |
|
16926 <code class="param-name">newVal</code> |
|
16927 <span class="type">Any</span> |
|
16928 <div class="param-description">The value the attribute is to be set to.</div> |
|
16929 </li> |
|
16930 <li class="param"> |
|
16931 <code class="param-name">attrName</code> |
|
16932 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16933 <div class="param-description">The name of the attribute being set.</div> |
|
16934 </li> |
|
16935 <li class="param"> |
|
16936 <code class="param-name">subAttrName</code> |
|
16937 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16938 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
16939 </li> |
|
16940 </ul> |
|
16941 </li> |
|
16942 </ul> |
|
16943 </div> |
|
16944 </div> |
|
16945 |
|
16946 |
|
16947 |
|
16948 </div> |
|
16949 |
|
16950 |
|
16951 <div id="attr_startCentered" class="attr item inherited"> |
|
16952 <a name="config_startCentered"></a> |
|
16953 <h3 class="name"><code>startCentered</code></h3> |
|
16954 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
16955 |
|
16956 |
|
16957 |
|
16958 |
|
16959 |
|
16960 |
|
16961 |
|
16962 |
|
16963 |
|
16964 |
|
16965 |
|
16966 |
|
16967 |
|
16968 |
|
16969 |
|
16970 <div class="meta"> |
|
16971 |
|
16972 |
|
16973 <p>Inherited from |
|
16974 <a href="../classes/DD.Drag.html#attr_startCentered">DD.Drag</a>: |
|
16975 |
|
16976 |
|
16977 |
|
16978 <a href="../files/dd_js_drag.js.html#l254"><code>dd/js/drag.js:254</code></a> |
|
16979 |
|
16980 </p> |
|
16981 |
|
16982 |
|
16983 |
|
16984 |
|
16985 </div> |
|
16986 |
|
16987 <div class="description"> |
|
16988 <p>Center the dragNode to the mouse position on drag:start: default false</p> |
|
16989 </div> |
|
16990 |
|
16991 |
|
16992 |
|
16993 |
|
16994 <div class="emits box"> |
|
16995 <h4>Fires event <code>startCenteredChange</code></h4> |
|
16996 |
|
16997 <p> |
|
16998 Fires when the value for the configuration attribute <code>startCentered</code> is |
|
16999 changed. You can listen for the event using the <code>on</code> method if you |
|
17000 wish to be notified before the attribute's value has changed, or |
|
17001 using the <code>after</code> method if you wish to be notified after the |
|
17002 attribute's value has changed. |
|
17003 </p> |
|
17004 |
|
17005 <div class="params"> |
|
17006 <h4>Parameters:</h4> |
|
17007 |
|
17008 <ul class="params-list"> |
|
17009 <li class="param"> |
|
17010 <code class="param-name">e</code> |
|
17011 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
17012 |
|
17013 <div class="param-description"> |
|
17014 An Event Facade object with the following |
|
17015 attribute-specific properties added: |
|
17016 </div> |
|
17017 |
|
17018 <ul class="params-list"> |
|
17019 <li class="param"> |
|
17020 <code class="param-name">prevVal</code> |
|
17021 <span class="type">Any</span> |
|
17022 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
17023 </li> |
|
17024 <li class="param"> |
|
17025 <code class="param-name">newVal</code> |
|
17026 <span class="type">Any</span> |
|
17027 <div class="param-description">The value the attribute is to be set to.</div> |
|
17028 </li> |
|
17029 <li class="param"> |
|
17030 <code class="param-name">attrName</code> |
|
17031 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
17032 <div class="param-description">The name of the attribute being set.</div> |
|
17033 </li> |
|
17034 <li class="param"> |
|
17035 <code class="param-name">subAttrName</code> |
|
17036 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
17037 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
17038 </li> |
|
17039 </ul> |
|
17040 </li> |
|
17041 </ul> |
|
17042 </div> |
|
17043 </div> |
|
17044 |
|
17045 |
|
17046 |
|
17047 </div> |
|
17048 |
|
17049 |
|
17050 <div id="attr_target" class="attr item inherited"> |
|
17051 <a name="config_target"></a> |
|
17052 <h3 class="name"><code>target</code></h3> |
|
17053 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
17054 |
|
17055 |
|
17056 |
|
17057 |
|
17058 |
|
17059 |
|
17060 |
|
17061 |
|
17062 |
|
17063 |
|
17064 |
|
17065 |
|
17066 |
|
17067 |
|
17068 |
|
17069 <div class="meta"> |
|
17070 |
|
17071 |
|
17072 <p>Inherited from |
|
17073 <a href="../classes/DD.Drag.html#attr_target">DD.Drag</a>: |
|
17074 |
|
17075 |
|
17076 |
|
17077 <a href="../files/dd_js_drag.js.html#l346"><code>dd/js/drag.js:346</code></a> |
|
17078 |
|
17079 </p> |
|
17080 |
|
17081 |
|
17082 |
|
17083 |
|
17084 </div> |
|
17085 |
|
17086 <div class="description"> |
|
17087 <p>This attribute only works if the dd-drop module has been loaded. It will make this node a drop target as well as draggable.</p> |
|
17088 </div> |
|
17089 |
|
17090 |
|
17091 |
|
17092 |
|
17093 <div class="emits box"> |
|
17094 <h4>Fires event <code>targetChange</code></h4> |
|
17095 |
|
17096 <p> |
|
17097 Fires when the value for the configuration attribute <code>target</code> is |
|
17098 changed. You can listen for the event using the <code>on</code> method if you |
|
17099 wish to be notified before the attribute's value has changed, or |
|
17100 using the <code>after</code> method if you wish to be notified after the |
|
17101 attribute's value has changed. |
|
17102 </p> |
|
17103 |
|
17104 <div class="params"> |
|
17105 <h4>Parameters:</h4> |
|
17106 |
|
17107 <ul class="params-list"> |
|
17108 <li class="param"> |
|
17109 <code class="param-name">e</code> |
|
17110 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
17111 |
|
17112 <div class="param-description"> |
|
17113 An Event Facade object with the following |
|
17114 attribute-specific properties added: |
|
17115 </div> |
|
17116 |
|
17117 <ul class="params-list"> |
|
17118 <li class="param"> |
|
17119 <code class="param-name">prevVal</code> |
|
17120 <span class="type">Any</span> |
|
17121 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
17122 </li> |
|
17123 <li class="param"> |
|
17124 <code class="param-name">newVal</code> |
|
17125 <span class="type">Any</span> |
|
17126 <div class="param-description">The value the attribute is to be set to.</div> |
|
17127 </li> |
|
17128 <li class="param"> |
|
17129 <code class="param-name">attrName</code> |
|
17130 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
17131 <div class="param-description">The name of the attribute being set.</div> |
|
17132 </li> |
|
17133 <li class="param"> |
|
17134 <code class="param-name">subAttrName</code> |
|
17135 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
17136 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
17137 </li> |
|
17138 </ul> |
|
17139 </li> |
|
17140 </ul> |
|
17141 </div> |
|
17142 </div> |
|
17143 |
|
17144 |
|
17145 |
|
17146 </div> |
|
17147 |
|
17148 |
|
17149 <div id="attr_useShim" class="attr item inherited"> |
|
17150 <a name="config_useShim"></a> |
|
17151 <h3 class="name"><code>useShim</code></h3> |
|
17152 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
17153 |
|
17154 |
|
17155 |
|
17156 |
|
17157 |
|
17158 |
|
17159 |
|
17160 |
|
17161 |
|
17162 |
|
17163 |
|
17164 |
|
17165 |
|
17166 |
|
17167 |
|
17168 <div class="meta"> |
|
17169 |
|
17170 |
|
17171 <p>Inherited from |
|
17172 <a href="../classes/DD.Drag.html#attr_useShim">DD.Drag</a>: |
|
17173 |
|
17174 |
|
17175 |
|
17176 <a href="../files/dd_js_drag.js.html#l310"><code>dd/js/drag.js:310</code></a> |
|
17177 |
|
17178 </p> |
|
17179 |
|
17180 |
|
17181 |
|
17182 |
|
17183 </div> |
|
17184 |
|
17185 <div class="description"> |
|
17186 <p>Use the protective shim on all drag operations: default true. Only works with dd-ddm, not dd-ddm-base.</p> |
|
17187 </div> |
|
17188 |
|
17189 |
|
17190 |
|
17191 |
|
17192 <div class="emits box"> |
|
17193 <h4>Fires event <code>useShimChange</code></h4> |
|
17194 |
|
17195 <p> |
|
17196 Fires when the value for the configuration attribute <code>useShim</code> is |
|
17197 changed. You can listen for the event using the <code>on</code> method if you |
|
17198 wish to be notified before the attribute's value has changed, or |
|
17199 using the <code>after</code> method if you wish to be notified after the |
|
17200 attribute's value has changed. |
|
17201 </p> |
|
17202 |
|
17203 <div class="params"> |
|
17204 <h4>Parameters:</h4> |
|
17205 |
|
17206 <ul class="params-list"> |
|
17207 <li class="param"> |
|
17208 <code class="param-name">e</code> |
|
17209 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
17210 |
|
17211 <div class="param-description"> |
|
17212 An Event Facade object with the following |
|
17213 attribute-specific properties added: |
|
17214 </div> |
|
17215 |
|
17216 <ul class="params-list"> |
|
17217 <li class="param"> |
|
17218 <code class="param-name">prevVal</code> |
|
17219 <span class="type">Any</span> |
|
17220 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
17221 </li> |
|
17222 <li class="param"> |
|
17223 <code class="param-name">newVal</code> |
|
17224 <span class="type">Any</span> |
|
17225 <div class="param-description">The value the attribute is to be set to.</div> |
|
17226 </li> |
|
17227 <li class="param"> |
|
17228 <code class="param-name">attrName</code> |
|
17229 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
17230 <div class="param-description">The name of the attribute being set.</div> |
|
17231 </li> |
|
17232 <li class="param"> |
|
17233 <code class="param-name">subAttrName</code> |
|
17234 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
17235 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
17236 </li> |
|
17237 </ul> |
|
17238 </li> |
|
17239 </ul> |
|
17240 </div> |
|
17241 </div> |
|
17242 |
|
17243 |
|
17244 |
|
17245 </div> |
|
17246 |
|
17247 |
|
17248 </div> |
|
17249 |
|
17250 |
|
17251 |
|
17252 <div id="events" class="api-class-tabpanel"> |
|
17253 <h2 class="off-left">Events</h2> |
|
17254 |
|
17255 |
|
17256 <div id="event_destroy" class="events item inherited"> |
|
17257 <h3 class="name"><code>destroy</code></h3> |
|
17258 <span class="type"></span> |
|
17259 |
|
17260 |
|
17261 |
|
17262 |
|
17263 |
|
17264 |
|
17265 |
|
17266 |
|
17267 |
|
17268 <div class="meta"> |
|
17269 |
|
17270 |
|
17271 <p>Inherited from |
|
17272 <a href="../classes/BaseObservable.html#event_destroy">BaseObservable</a>: |
|
17273 |
|
17274 |
|
17275 |
|
17276 <a href="../files/base_js_BaseObservable.js.html#l151"><code>base/js/BaseObservable.js:151</code></a> |
|
17277 |
|
17278 </p> |
|
17279 |
|
17280 |
|
17281 |
|
17282 |
|
17283 </div> |
|
17284 |
|
17285 <div class="description"> |
|
17286 <p> |
|
17287 Lifecycle event for the destroy phase, |
|
17288 fired prior to destruction. Invoking the preventDefault |
|
17289 method on the event object provided to subscribers will |
|
17290 prevent destruction from proceeding. |
|
17291 </p> |
|
17292 |
|
17293 <p> |
|
17294 Subscribers to the "after" moment of this event, will be notified |
|
17295 after destruction is complete (and as a result cannot prevent |
|
17296 destruction). |
|
17297 </p> |
|
17298 </div> |
|
17299 |
|
17300 |
|
17301 <div class="params"> |
|
17302 <h4>Event Payload:</h4> |
|
17303 |
|
17304 <ul class="params-list"> |
|
17305 |
|
17306 <li class="param"> |
|
17307 |
|
17308 <code class="param-name">e</code> |
|
17309 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
17310 |
|
17311 |
|
17312 |
|
17313 |
|
17314 <div class="param-description"> |
|
17315 <p>Event object</p> |
|
17316 </div> |
|
17317 |
|
17318 |
|
17319 </li> |
|
17320 |
|
17321 </ul> |
|
17322 </div> |
|
17323 |
|
17324 |
|
17325 |
|
17326 |
|
17327 </div> |
|
17328 |
|
17329 |
|
17330 <div id="event_drag:addHandle" class="events item inherited"> |
|
17331 <h3 class="name"><code>drag:addHandle</code></h3> |
|
17332 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
17333 |
|
17334 |
|
17335 |
|
17336 |
|
17337 |
|
17338 |
|
17339 |
|
17340 |
|
17341 |
|
17342 <div class="meta"> |
|
17343 |
|
17344 |
|
17345 <p>Inherited from |
|
17346 <a href="../classes/DD.Drag.html#event_drag:addHandle">DD.Drag</a>: |
|
17347 |
|
17348 |
|
17349 |
|
17350 <a href="../files/dd_js_drag.js.html#l55"><code>dd/js/drag.js:55</code></a> |
|
17351 |
|
17352 </p> |
|
17353 |
|
17354 |
|
17355 |
|
17356 |
|
17357 </div> |
|
17358 |
|
17359 <div class="description"> |
|
17360 <p>Fires after a handle is added.</p> |
|
17361 </div> |
|
17362 |
|
17363 |
|
17364 <div class="params"> |
|
17365 <h4>Event Payload:</h4> |
|
17366 |
|
17367 <ul class="params-list"> |
|
17368 |
|
17369 <li class="param"> |
|
17370 |
|
17371 <code class="param-name">event</code> |
|
17372 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
17373 |
|
17374 |
|
17375 |
|
17376 |
|
17377 <div class="param-description"> |
|
17378 <p>An Event Facade object with the following specific property added:</p> |
|
17379 |
|
17380 <dl><dt>handle</dt><dd>The handle that was added.</dd></dl> |
|
17381 </div> |
|
17382 |
|
17383 |
|
17384 </li> |
|
17385 |
|
17386 </ul> |
|
17387 </div> |
|
17388 |
|
17389 |
|
17390 |
|
17391 |
|
17392 </div> |
|
17393 |
|
17394 |
|
17395 <div id="event_drag:addInvalid" class="events item inherited"> |
|
17396 <h3 class="name"><code>drag:addInvalid</code></h3> |
|
17397 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
17398 |
|
17399 |
|
17400 |
|
17401 |
|
17402 |
|
17403 |
|
17404 |
|
17405 |
|
17406 |
|
17407 <div class="meta"> |
|
17408 |
|
17409 |
|
17410 <p>Inherited from |
|
17411 <a href="../classes/DD.Drag.html#event_drag:addInvalid">DD.Drag</a>: |
|
17412 |
|
17413 |
|
17414 |
|
17415 <a href="../files/dd_js_drag.js.html#l73"><code>dd/js/drag.js:73</code></a> |
|
17416 |
|
17417 </p> |
|
17418 |
|
17419 |
|
17420 |
|
17421 |
|
17422 </div> |
|
17423 |
|
17424 <div class="description"> |
|
17425 <p>Fires after an invalid selector is added.</p> |
|
17426 </div> |
|
17427 |
|
17428 |
|
17429 <div class="params"> |
|
17430 <h4>Event Payload:</h4> |
|
17431 |
|
17432 <ul class="params-list"> |
|
17433 |
|
17434 <li class="param"> |
|
17435 |
|
17436 <code class="param-name">event</code> |
|
17437 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
17438 |
|
17439 |
|
17440 |
|
17441 |
|
17442 <div class="param-description"> |
|
17443 <p>An Event Facade object with the following specific property added:</p> |
|
17444 |
|
17445 <dl><dt>handle</dt><dd>The handle that was added.</dd></dl> |
|
17446 </div> |
|
17447 |
|
17448 |
|
17449 </li> |
|
17450 |
|
17451 </ul> |
|
17452 </div> |
|
17453 |
|
17454 |
|
17455 |
|
17456 |
|
17457 </div> |
|
17458 |
|
17459 |
|
17460 <div id="event_drag:afterMouseDown" class="events item inherited"> |
|
17461 <h3 class="name"><code>drag:afterMouseDown</code></h3> |
|
17462 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
17463 |
|
17464 |
|
17465 |
|
17466 |
|
17467 |
|
17468 |
|
17469 |
|
17470 |
|
17471 |
|
17472 <div class="meta"> |
|
17473 |
|
17474 |
|
17475 <p>Inherited from |
|
17476 <a href="../classes/DD.Drag.html#event_drag:afterMouseDown">DD.Drag</a>: |
|
17477 |
|
17478 |
|
17479 |
|
17480 <a href="../files/dd_js_drag.js.html#l37"><code>dd/js/drag.js:37</code></a> |
|
17481 |
|
17482 </p> |
|
17483 |
|
17484 |
|
17485 |
|
17486 |
|
17487 </div> |
|
17488 |
|
17489 <div class="description"> |
|
17490 <p>Fires after the mousedown event has been cleared.</p> |
|
17491 </div> |
|
17492 |
|
17493 |
|
17494 <div class="params"> |
|
17495 <h4>Event Payload:</h4> |
|
17496 |
|
17497 <ul class="params-list"> |
|
17498 |
|
17499 <li class="param"> |
|
17500 |
|
17501 <code class="param-name">event</code> |
|
17502 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
17503 |
|
17504 |
|
17505 |
|
17506 |
|
17507 <div class="param-description"> |
|
17508 <p>An Event Facade object with the following specific property added:</p> |
|
17509 |
|
17510 <dl><dt>ev</dt><dd>The original mousedown event.</dd></dl> |
|
17511 </div> |
|
17512 |
|
17513 |
|
17514 </li> |
|
17515 |
|
17516 </ul> |
|
17517 </div> |
|
17518 |
|
17519 |
|
17520 |
|
17521 |
|
17522 </div> |
|
17523 |
|
17524 |
|
17525 <div id="event_drag:align" class="events item inherited"> |
|
17526 <h3 class="name"><code>drag:align</code></h3> |
|
17527 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
17528 |
|
17529 |
|
17530 |
|
17531 |
|
17532 |
|
17533 |
|
17534 |
|
17535 |
|
17536 |
|
17537 <div class="meta"> |
|
17538 |
|
17539 |
|
17540 <p>Inherited from |
|
17541 <a href="../classes/DD.Drag.html#event_drag:align">DD.Drag</a>: |
|
17542 |
|
17543 |
|
17544 |
|
17545 <a href="../files/dd_js_drag.js.html#l123"><code>dd/js/drag.js:123</code></a> |
|
17546 |
|
17547 </p> |
|
17548 |
|
17549 |
|
17550 |
|
17551 |
|
17552 </div> |
|
17553 |
|
17554 <div class="description"> |
|
17555 <p>Fires when this node is aligned.</p> |
|
17556 </div> |
|
17557 |
|
17558 |
|
17559 <div class="params"> |
|
17560 <h4>Event Payload:</h4> |
|
17561 |
|
17562 <ul class="params-list"> |
|
17563 |
|
17564 <li class="param"> |
|
17565 |
|
17566 <code class="param-name">event</code> |
|
17567 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
17568 |
|
17569 |
|
17570 |
|
17571 |
|
17572 <div class="param-description"> |
|
17573 <p>An Event Facade object with the following specific property added:</p> |
|
17574 |
|
17575 <dl> |
|
17576 <dt>pageX</dt><dd>The current node position X.</dd> |
|
17577 <dt>pageY</dt><dd>The current node position Y.</dd> |
|
17578 </dl> |
|
17579 </div> |
|
17580 |
|
17581 |
|
17582 </li> |
|
17583 |
|
17584 </ul> |
|
17585 </div> |
|
17586 |
|
17587 |
|
17588 |
|
17589 |
|
17590 </div> |
|
17591 |
|
17592 |
|
17593 <div id="event_drag:drag" class="events item inherited"> |
|
17594 <h3 class="name"><code>drag:drag</code></h3> |
|
17595 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
17596 |
|
17597 |
|
17598 |
|
17599 |
|
17600 |
|
17601 |
|
17602 |
|
17603 |
|
17604 |
|
17605 <div class="meta"> |
|
17606 |
|
17607 |
|
17608 <p>Inherited from |
|
17609 <a href="../classes/DD.Drag.html#event_drag:drag">DD.Drag</a>: |
|
17610 |
|
17611 |
|
17612 |
|
17613 <a href="../files/dd_js_drag.js.html#l109"><code>dd/js/drag.js:109</code></a> |
|
17614 |
|
17615 </p> |
|
17616 |
|
17617 |
|
17618 |
|
17619 |
|
17620 </div> |
|
17621 |
|
17622 <div class="description"> |
|
17623 <p>Fires every mousemove during a drag operation.</p> |
|
17624 </div> |
|
17625 |
|
17626 |
|
17627 <div class="params"> |
|
17628 <h4>Event Payload:</h4> |
|
17629 |
|
17630 <ul class="params-list"> |
|
17631 |
|
17632 <li class="param"> |
|
17633 |
|
17634 <code class="param-name">event</code> |
|
17635 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
17636 |
|
17637 |
|
17638 |
|
17639 |
|
17640 <div class="param-description"> |
|
17641 <p>An Event Facade object with the following specific property added:</p> |
|
17642 |
|
17643 <dl> |
|
17644 <dt>pageX</dt><dd>The current node position X.</dd> |
|
17645 <dt>pageY</dt><dd>The current node position Y.</dd> |
|
17646 <dt>scroll</dt><dd>Should a scroll action occur.</dd> |
|
17647 <dt>info</dt><dd>Object hash containing calculated XY arrays: start, xy, delta, offset</dd> |
|
17648 </dl> |
|
17649 </div> |
|
17650 |
|
17651 |
|
17652 </li> |
|
17653 |
|
17654 </ul> |
|
17655 </div> |
|
17656 |
|
17657 |
|
17658 |
|
17659 |
|
17660 </div> |
|
17661 |
|
17662 |
|
17663 <div id="event_drag:drophit" class="events item inherited"> |
|
17664 <h3 class="name"><code>drag:drophit</code></h3> |
|
17665 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
17666 |
|
17667 |
|
17668 |
|
17669 |
|
17670 |
|
17671 |
|
17672 |
|
17673 |
|
17674 |
|
17675 <div class="meta"> |
|
17676 |
|
17677 |
|
17678 <p>Inherited from |
|
17679 <a href="../classes/DD.Drag.html#event_drag:drophit">DD.Drag</a>: |
|
17680 |
|
17681 |
|
17682 |
|
17683 <a href="../files/dd_js_drag.js.html#l168"><code>dd/js/drag.js:168</code></a> |
|
17684 |
|
17685 </p> |
|
17686 |
|
17687 |
|
17688 |
|
17689 |
|
17690 </div> |
|
17691 |
|
17692 <div class="description"> |
|
17693 <p>Fires when this node is dropped on a valid Drop Target. (Fired from dd-ddm-drop)</p> |
|
17694 </div> |
|
17695 |
|
17696 |
|
17697 <div class="params"> |
|
17698 <h4>Event Payload:</h4> |
|
17699 |
|
17700 <ul class="params-list"> |
|
17701 |
|
17702 <li class="param"> |
|
17703 |
|
17704 <code class="param-name">event</code> |
|
17705 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
17706 |
|
17707 |
|
17708 |
|
17709 |
|
17710 <div class="param-description"> |
|
17711 <p>An Event Facade object with the following specific property added:</p> |
|
17712 |
|
17713 <dl> |
|
17714 <dt>drop</dt><dd>The best guess on what was dropped on.</dd> |
|
17715 <dt>drag</dt><dd>The drag object at the time of the event.</dd> |
|
17716 <dt>others</dt><dd>An array of all the other drop targets that was dropped on.</dd> |
|
17717 </dl> |
|
17718 </div> |
|
17719 |
|
17720 |
|
17721 </li> |
|
17722 |
|
17723 </ul> |
|
17724 </div> |
|
17725 |
|
17726 |
|
17727 |
|
17728 |
|
17729 </div> |
|
17730 |
|
17731 |
|
17732 <div id="event_drag:dropmiss" class="events item inherited"> |
|
17733 <h3 class="name"><code>drag:dropmiss</code></h3> |
|
17734 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
17735 |
|
17736 |
|
17737 |
|
17738 |
|
17739 |
|
17740 |
|
17741 |
|
17742 |
|
17743 |
|
17744 <div class="meta"> |
|
17745 |
|
17746 |
|
17747 <p>Inherited from |
|
17748 <a href="../classes/DD.Drag.html#event_drag:dropmiss">DD.Drag</a>: |
|
17749 |
|
17750 |
|
17751 |
|
17752 <a href="../files/dd_js_drag.js.html#l180"><code>dd/js/drag.js:180</code></a> |
|
17753 |
|
17754 </p> |
|
17755 |
|
17756 |
|
17757 |
|
17758 |
|
17759 </div> |
|
17760 |
|
17761 <div class="description"> |
|
17762 <p>Fires when this node is dropped on an invalid Drop Target. (Fired from dd-ddm-drop)</p> |
|
17763 </div> |
|
17764 |
|
17765 |
|
17766 <div class="params"> |
|
17767 <h4>Event Payload:</h4> |
|
17768 |
|
17769 <ul class="params-list"> |
|
17770 |
|
17771 <li class="param"> |
|
17772 |
|
17773 <code class="param-name">event</code> |
|
17774 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
17775 |
|
17776 |
|
17777 |
|
17778 |
|
17779 <div class="param-description"> |
|
17780 <p>An Event Facade object with the following specific property added:</p> |
|
17781 |
|
17782 <dl> |
|
17783 <dt>pageX</dt><dd>The current node position X.</dd> |
|
17784 <dt>pageY</dt><dd>The current node position Y.</dd> |
|
17785 </dl> |
|
17786 </div> |
|
17787 |
|
17788 |
|
17789 </li> |
|
17790 |
|
17791 </ul> |
|
17792 </div> |
|
17793 |
|
17794 |
|
17795 |
|
17796 |
|
17797 </div> |
|
17798 |
|
17799 |
|
17800 <div id="event_drag:end" class="events item inherited"> |
|
17801 <h3 class="name"><code>drag:end</code></h3> |
|
17802 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
17803 |
|
17804 |
|
17805 |
|
17806 |
|
17807 |
|
17808 |
|
17809 |
|
17810 |
|
17811 |
|
17812 <div class="meta"> |
|
17813 |
|
17814 |
|
17815 <p>Inherited from |
|
17816 <a href="../classes/DD.Drag.html#event_drag:end">DD.Drag</a>: |
|
17817 |
|
17818 |
|
17819 |
|
17820 <a href="../files/dd_js_drag.js.html#l95"><code>dd/js/drag.js:95</code></a> |
|
17821 |
|
17822 </p> |
|
17823 |
|
17824 |
|
17825 |
|
17826 |
|
17827 </div> |
|
17828 |
|
17829 <div class="description"> |
|
17830 <p>Fires at the end of a drag operation.</p> |
|
17831 </div> |
|
17832 |
|
17833 |
|
17834 <div class="params"> |
|
17835 <h4>Event Payload:</h4> |
|
17836 |
|
17837 <ul class="params-list"> |
|
17838 |
|
17839 <li class="param"> |
|
17840 |
|
17841 <code class="param-name">event</code> |
|
17842 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
17843 |
|
17844 |
|
17845 |
|
17846 |
|
17847 <div class="param-description"> |
|
17848 <p>An Event Facade object with the following specific property added:</p> |
|
17849 |
|
17850 <dl> |
|
17851 <dt>pageX</dt><dd>The current node position X.</dd> |
|
17852 <dt>pageY</dt><dd>The current node position Y.</dd> |
|
17853 <dt>startTime</dt><dd>The startTime of the event, from the start event.</dd> |
|
17854 <dt>endTime</dt><dd>The endTime of the event. getTime on the current Date object.</dd> |
|
17855 </dl> |
|
17856 </div> |
|
17857 |
|
17858 |
|
17859 </li> |
|
17860 |
|
17861 </ul> |
|
17862 </div> |
|
17863 |
|
17864 |
|
17865 |
|
17866 |
|
17867 </div> |
|
17868 |
|
17869 |
|
17870 <div id="event_drag:enter" class="events item inherited"> |
|
17871 <h3 class="name"><code>drag:enter</code></h3> |
|
17872 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
17873 |
|
17874 |
|
17875 |
|
17876 |
|
17877 |
|
17878 |
|
17879 |
|
17880 |
|
17881 |
|
17882 <div class="meta"> |
|
17883 |
|
17884 |
|
17885 <p>Inherited from |
|
17886 <a href="../classes/DD.Drag.html#event_drag:enter">DD.Drag</a>: |
|
17887 |
|
17888 |
|
17889 |
|
17890 <a href="../files/dd_js_drag.js.html#l147"><code>dd/js/drag.js:147</code></a> |
|
17891 |
|
17892 </p> |
|
17893 |
|
17894 |
|
17895 |
|
17896 |
|
17897 </div> |
|
17898 |
|
17899 <div class="description"> |
|
17900 <p>Fires when this node enters a Drop Target. (Fired from dd-drop)</p> |
|
17901 </div> |
|
17902 |
|
17903 |
|
17904 <div class="params"> |
|
17905 <h4>Event Payload:</h4> |
|
17906 |
|
17907 <ul class="params-list"> |
|
17908 |
|
17909 <li class="param"> |
|
17910 |
|
17911 <code class="param-name">event</code> |
|
17912 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
17913 |
|
17914 |
|
17915 |
|
17916 |
|
17917 <div class="param-description"> |
|
17918 <p>An Event Facade object with the following specific property added:</p> |
|
17919 |
|
17920 <dl> |
|
17921 <dt>drop</dt><dd>The drop object at the time of the event.</dd> |
|
17922 <dt>drag</dt><dd>The drag object at the time of the event.</dd> |
|
17923 </dl> |
|
17924 </div> |
|
17925 |
|
17926 |
|
17927 </li> |
|
17928 |
|
17929 </ul> |
|
17930 </div> |
|
17931 |
|
17932 |
|
17933 |
|
17934 |
|
17935 </div> |
|
17936 |
|
17937 |
|
17938 <div id="event_drag:exit" class="events item inherited"> |
|
17939 <h3 class="name"><code>drag:exit</code></h3> |
|
17940 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
17941 |
|
17942 |
|
17943 |
|
17944 |
|
17945 |
|
17946 |
|
17947 |
|
17948 |
|
17949 |
|
17950 <div class="meta"> |
|
17951 |
|
17952 |
|
17953 <p>Inherited from |
|
17954 <a href="../classes/DD.Drag.html#event_drag:exit">DD.Drag</a>: |
|
17955 |
|
17956 |
|
17957 |
|
17958 <a href="../files/dd_js_drag.js.html#l158"><code>dd/js/drag.js:158</code></a> |
|
17959 |
|
17960 </p> |
|
17961 |
|
17962 |
|
17963 |
|
17964 |
|
17965 </div> |
|
17966 |
|
17967 <div class="description"> |
|
17968 <p>Fires when this node exits a Drop Target. (Fired from dd-drop)</p> |
|
17969 </div> |
|
17970 |
|
17971 |
|
17972 <div class="params"> |
|
17973 <h4>Event Payload:</h4> |
|
17974 |
|
17975 <ul class="params-list"> |
|
17976 |
|
17977 <li class="param"> |
|
17978 |
|
17979 <code class="param-name">event</code> |
|
17980 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
17981 |
|
17982 |
|
17983 |
|
17984 |
|
17985 <div class="param-description"> |
|
17986 <p>An Event Facade object with the following specific property added:</p> |
|
17987 |
|
17988 <dl> |
|
17989 <dt>drop</dt><dd>The drop object at the time of the event.</dd> |
|
17990 </dl> |
|
17991 </div> |
|
17992 |
|
17993 |
|
17994 </li> |
|
17995 |
|
17996 </ul> |
|
17997 </div> |
|
17998 |
|
17999 |
|
18000 |
|
18001 |
|
18002 </div> |
|
18003 |
|
18004 |
|
18005 <div id="event_drag:mouseDown" class="events item inherited"> |
|
18006 <h3 class="name"><code>drag:mouseDown</code></h3> |
|
18007 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
18008 |
|
18009 |
|
18010 |
|
18011 |
|
18012 |
|
18013 |
|
18014 |
|
18015 |
|
18016 |
|
18017 <div class="meta"> |
|
18018 |
|
18019 |
|
18020 <p>Inherited from |
|
18021 <a href="../classes/DD.Drag.html#event_drag:mouseDown">DD.Drag</a>: |
|
18022 |
|
18023 |
|
18024 |
|
18025 <a href="../files/dd_js_drag.js.html#l27"><code>dd/js/drag.js:27</code></a> |
|
18026 |
|
18027 </p> |
|
18028 |
|
18029 |
|
18030 |
|
18031 |
|
18032 </div> |
|
18033 |
|
18034 <div class="description"> |
|
18035 <p>Handles the mousedown DOM event, checks to see if you have a valid handle then starts the drag timers.</p> |
|
18036 </div> |
|
18037 |
|
18038 |
|
18039 <div class="params"> |
|
18040 <h4>Event Payload:</h4> |
|
18041 |
|
18042 <ul class="params-list"> |
|
18043 |
|
18044 <li class="param"> |
|
18045 |
|
18046 <code class="param-name">event</code> |
|
18047 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
18048 |
|
18049 |
|
18050 |
|
18051 |
|
18052 <div class="param-description"> |
|
18053 <p>An Event Facade object with the following specific property added:</p> |
|
18054 |
|
18055 <dl><dt>ev</dt><dd>The original mousedown event.</dd></dl> |
|
18056 </div> |
|
18057 |
|
18058 |
|
18059 </li> |
|
18060 |
|
18061 </ul> |
|
18062 </div> |
|
18063 |
|
18064 |
|
18065 |
|
18066 |
|
18067 </div> |
|
18068 |
|
18069 |
|
18070 <div id="event_drag:mouseup" class="events item inherited"> |
|
18071 <h3 class="name"><code>drag:mouseup</code></h3> |
|
18072 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
18073 |
|
18074 |
|
18075 |
|
18076 |
|
18077 |
|
18078 |
|
18079 |
|
18080 |
|
18081 |
|
18082 <div class="meta"> |
|
18083 |
|
18084 |
|
18085 <p>Inherited from |
|
18086 <a href="../classes/DD.Drag.html#event_drag:mouseup">DD.Drag</a>: |
|
18087 |
|
18088 |
|
18089 |
|
18090 <a href="../files/dd_js_drag.js.html#l21"><code>dd/js/drag.js:21</code></a> |
|
18091 |
|
18092 </p> |
|
18093 |
|
18094 |
|
18095 |
|
18096 |
|
18097 </div> |
|
18098 |
|
18099 <div class="description"> |
|
18100 <p>Handles the mouseup DOM event, does nothing internally just fires.</p> |
|
18101 </div> |
|
18102 |
|
18103 |
|
18104 |
|
18105 |
|
18106 |
|
18107 </div> |
|
18108 |
|
18109 |
|
18110 <div id="event_drag:over" class="events item inherited"> |
|
18111 <h3 class="name"><code>drag:over</code></h3> |
|
18112 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
18113 |
|
18114 |
|
18115 |
|
18116 |
|
18117 |
|
18118 |
|
18119 |
|
18120 |
|
18121 |
|
18122 <div class="meta"> |
|
18123 |
|
18124 |
|
18125 <p>Inherited from |
|
18126 <a href="../classes/DD.Drag.html#event_drag:over">DD.Drag</a>: |
|
18127 |
|
18128 |
|
18129 |
|
18130 <a href="../files/dd_js_drag.js.html#l136"><code>dd/js/drag.js:136</code></a> |
|
18131 |
|
18132 </p> |
|
18133 |
|
18134 |
|
18135 |
|
18136 |
|
18137 </div> |
|
18138 |
|
18139 <div class="description"> |
|
18140 <p>Fires when this node is over a Drop Target. (Fired from dd-drop)</p> |
|
18141 </div> |
|
18142 |
|
18143 |
|
18144 <div class="params"> |
|
18145 <h4>Event Payload:</h4> |
|
18146 |
|
18147 <ul class="params-list"> |
|
18148 |
|
18149 <li class="param"> |
|
18150 |
|
18151 <code class="param-name">event</code> |
|
18152 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
18153 |
|
18154 |
|
18155 |
|
18156 |
|
18157 <div class="param-description"> |
|
18158 <p>An Event Facade object with the following specific property added:</p> |
|
18159 |
|
18160 <dl> |
|
18161 <dt>drop</dt><dd>The drop object at the time of the event.</dd> |
|
18162 <dt>drag</dt><dd>The drag object at the time of the event.</dd> |
|
18163 </dl> |
|
18164 </div> |
|
18165 |
|
18166 |
|
18167 </li> |
|
18168 |
|
18169 </ul> |
|
18170 </div> |
|
18171 |
|
18172 |
|
18173 |
|
18174 |
|
18175 </div> |
|
18176 |
|
18177 |
|
18178 <div id="event_drag:removeHandle" class="events item inherited"> |
|
18179 <h3 class="name"><code>drag:removeHandle</code></h3> |
|
18180 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
18181 |
|
18182 |
|
18183 |
|
18184 |
|
18185 |
|
18186 |
|
18187 |
|
18188 |
|
18189 |
|
18190 <div class="meta"> |
|
18191 |
|
18192 |
|
18193 <p>Inherited from |
|
18194 <a href="../classes/DD.Drag.html#event_drag:removeHandle">DD.Drag</a>: |
|
18195 |
|
18196 |
|
18197 |
|
18198 <a href="../files/dd_js_drag.js.html#l46"><code>dd/js/drag.js:46</code></a> |
|
18199 |
|
18200 </p> |
|
18201 |
|
18202 |
|
18203 |
|
18204 |
|
18205 </div> |
|
18206 |
|
18207 <div class="description"> |
|
18208 <p>Fires after a handle is removed.</p> |
|
18209 </div> |
|
18210 |
|
18211 |
|
18212 <div class="params"> |
|
18213 <h4>Event Payload:</h4> |
|
18214 |
|
18215 <ul class="params-list"> |
|
18216 |
|
18217 <li class="param"> |
|
18218 |
|
18219 <code class="param-name">event</code> |
|
18220 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
18221 |
|
18222 |
|
18223 |
|
18224 |
|
18225 <div class="param-description"> |
|
18226 <p>An Event Facade object with the following specific property added:</p> |
|
18227 |
|
18228 <dl><dt>handle</dt><dd>The handle that was removed.</dd></dl> |
|
18229 </div> |
|
18230 |
|
18231 |
|
18232 </li> |
|
18233 |
|
18234 </ul> |
|
18235 </div> |
|
18236 |
|
18237 |
|
18238 |
|
18239 |
|
18240 </div> |
|
18241 |
|
18242 |
|
18243 <div id="event_drag:removeInvalid" class="events item inherited"> |
|
18244 <h3 class="name"><code>drag:removeInvalid</code></h3> |
|
18245 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
18246 |
|
18247 |
|
18248 |
|
18249 |
|
18250 |
|
18251 |
|
18252 |
|
18253 |
|
18254 |
|
18255 <div class="meta"> |
|
18256 |
|
18257 |
|
18258 <p>Inherited from |
|
18259 <a href="../classes/DD.Drag.html#event_drag:removeInvalid">DD.Drag</a>: |
|
18260 |
|
18261 |
|
18262 |
|
18263 <a href="../files/dd_js_drag.js.html#l64"><code>dd/js/drag.js:64</code></a> |
|
18264 |
|
18265 </p> |
|
18266 |
|
18267 |
|
18268 |
|
18269 |
|
18270 </div> |
|
18271 |
|
18272 <div class="description"> |
|
18273 <p>Fires after an invalid selector is removed.</p> |
|
18274 </div> |
|
18275 |
|
18276 |
|
18277 <div class="params"> |
|
18278 <h4>Event Payload:</h4> |
|
18279 |
|
18280 <ul class="params-list"> |
|
18281 |
|
18282 <li class="param"> |
|
18283 |
|
18284 <code class="param-name">event</code> |
|
18285 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
18286 |
|
18287 |
|
18288 |
|
18289 |
|
18290 <div class="param-description"> |
|
18291 <p>An Event Facade object with the following specific property added:</p> |
|
18292 |
|
18293 <dl><dt>handle</dt><dd>The handle that was removed.</dd></dl> |
|
18294 </div> |
|
18295 |
|
18296 |
|
18297 </li> |
|
18298 |
|
18299 </ul> |
|
18300 </div> |
|
18301 |
|
18302 |
|
18303 |
|
18304 |
|
18305 </div> |
|
18306 |
|
18307 |
|
18308 <div id="event_drag:start" class="events item inherited"> |
|
18309 <h3 class="name"><code>drag:start</code></h3> |
|
18310 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
18311 |
|
18312 |
|
18313 |
|
18314 |
|
18315 |
|
18316 |
|
18317 |
|
18318 |
|
18319 |
|
18320 <div class="meta"> |
|
18321 |
|
18322 |
|
18323 <p>Inherited from |
|
18324 <a href="../classes/DD.Drag.html#event_drag:start">DD.Drag</a>: |
|
18325 |
|
18326 |
|
18327 |
|
18328 <a href="../files/dd_js_drag.js.html#l82"><code>dd/js/drag.js:82</code></a> |
|
18329 |
|
18330 </p> |
|
18331 |
|
18332 |
|
18333 |
|
18334 |
|
18335 </div> |
|
18336 |
|
18337 <div class="description"> |
|
18338 <p>Fires at the start of a drag operation.</p> |
|
18339 </div> |
|
18340 |
|
18341 |
|
18342 <div class="params"> |
|
18343 <h4>Event Payload:</h4> |
|
18344 |
|
18345 <ul class="params-list"> |
|
18346 |
|
18347 <li class="param"> |
|
18348 |
|
18349 <code class="param-name">event</code> |
|
18350 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
18351 |
|
18352 |
|
18353 |
|
18354 |
|
18355 <div class="param-description"> |
|
18356 <p>An Event Facade object with the following specific property added:</p> |
|
18357 |
|
18358 <dl> |
|
18359 <dt>pageX</dt><dd>The original node position X.</dd> |
|
18360 <dt>pageY</dt><dd>The original node position Y.</dd> |
|
18361 <dt>startTime</dt><dd>The startTime of the event. getTime on the current Date object.</dd> |
|
18362 </dl> |
|
18363 </div> |
|
18364 |
|
18365 |
|
18366 </li> |
|
18367 |
|
18368 </ul> |
|
18369 </div> |
|
18370 |
|
18371 |
|
18372 |
|
18373 |
|
18374 </div> |
|
18375 |
|
18376 |
|
18377 <div id="event_init" class="events item inherited"> |
|
18378 <h3 class="name"><code>init</code></h3> |
|
18379 <span class="type"></span> |
|
18380 |
|
18381 |
|
18382 |
|
18383 |
|
18384 |
|
18385 |
|
18386 |
|
18387 |
|
18388 |
|
18389 <div class="meta"> |
|
18390 |
|
18391 |
|
18392 <p>Inherited from |
|
18393 <a href="../classes/BaseObservable.html#event_init">BaseObservable</a>: |
|
18394 |
|
18395 |
|
18396 |
|
18397 <a href="../files/base_js_BaseObservable.js.html#l62"><code>base/js/BaseObservable.js:62</code></a> |
|
18398 |
|
18399 </p> |
|
18400 |
|
18401 |
|
18402 |
|
18403 |
|
18404 </div> |
|
18405 |
|
18406 <div class="description"> |
|
18407 <p> |
|
18408 Lifecycle event for the init phase, fired prior to initialization. |
|
18409 Invoking the preventDefault() method on the event object provided |
|
18410 to subscribers will prevent initialization from occuring. |
|
18411 </p> |
|
18412 |
|
18413 <p> |
|
18414 Subscribers to the "after" momemt of this event, will be notified |
|
18415 after initialization of the object is complete (and therefore |
|
18416 cannot prevent initialization). |
|
18417 </p> |
|
18418 </div> |
|
18419 |
|
18420 |
|
18421 <div class="params"> |
|
18422 <h4>Event Payload:</h4> |
|
18423 |
|
18424 <ul class="params-list"> |
|
18425 |
|
18426 <li class="param"> |
|
18427 |
|
18428 <code class="param-name">e</code> |
|
18429 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
18430 |
|
18431 |
|
18432 |
|
18433 |
|
18434 <div class="param-description"> |
|
18435 <p>Event object, with a cfg property which |
|
18436 refers to the configuration object passed to the constructor.</p> |
|
18437 </div> |
|
18438 |
|
18439 |
|
18440 </li> |
|
18441 |
|
18442 </ul> |
|
18443 </div> |
|
18444 |
|
18445 |
|
18446 |
|
18447 |
|
18448 </div> |
|
18449 |
|
18450 |
|
18451 </div> |
|
18452 |
|
18453 </div> |
|
18454 </div> |
|
18455 |
|
18456 </div> |
|
18457 </div> |
|
18458 </div> |
|
18459 </div> |
|
18460 </div> |
|
18461 </div> |
|
18462 <script src="../assets/vendor/prettify/prettify-min.js"></script> |
|
18463 <script>prettyPrint();</script> |
|
18464 <script src="../assets/js/yui-prettify.js"></script> |
|
18465 <script src="../assets/../api.js"></script> |
|
18466 <script src="../assets/js/api-filter.js"></script> |
|
18467 <script src="../assets/js/api-list.js"></script> |
|
18468 <script src="../assets/js/api-search.js"></script> |
|
18469 <script src="../assets/js/apidocs.js"></script> |
|
18470 </body> |
|
18471 </html> |