|
1 <!DOCTYPE html> |
|
2 <html lang="en"> |
|
3 <head> |
|
4 <meta charset="utf-8"> |
|
5 <title>DataSource.Function - 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>DataSource.Function Class</h1> |
|
1532 <div class="box meta"> |
|
1533 |
|
1534 |
|
1535 |
|
1536 <div class="extends"> |
|
1537 Extends <a href="../classes/DataSource.Local.html" class="crosslink">DataSource.Local</a> |
|
1538 </div> |
|
1539 |
|
1540 |
|
1541 |
|
1542 <div class="foundat"> |
|
1543 Defined in: <a href="../files/datasource_js_datasource-function.js.html#l9"><code>datasource/js/datasource-function.js:9</code></a> |
|
1544 </div> |
|
1545 |
|
1546 |
|
1547 |
|
1548 |
|
1549 Module: <a href="../modules/datasource-function.html">datasource-function</a><br> |
|
1550 Parent Module: <a href="../modules/datasource.html">datasource</a> |
|
1551 |
|
1552 |
|
1553 |
|
1554 |
|
1555 </div> |
|
1556 |
|
1557 |
|
1558 |
|
1559 <div class="box intro"> |
|
1560 <p>Function subclass for the DataSource Utility.</p> |
|
1561 </div> |
|
1562 |
|
1563 |
|
1564 <div class="constructor"> |
|
1565 <h2>Constructor</h2> |
|
1566 <div id="method_DataSource.Function" class="method item"> |
|
1567 <h3 class="name"><code>DataSource.Function</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/datasource_js_datasource-function.js.html#l9"><code>datasource/js/datasource-function.js:9</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__attrCfgHash">_attrCfgHash</a> |
|
1673 |
|
1674 |
|
1675 |
|
1676 </li> |
|
1677 |
|
1678 <li class="index-item method private inherited"> |
|
1679 <a href="#method__baseDestroy">_baseDestroy</a> |
|
1680 |
|
1681 |
|
1682 |
|
1683 </li> |
|
1684 |
|
1685 <li class="index-item method private inherited"> |
|
1686 <a href="#method__baseInit">_baseInit</a> |
|
1687 |
|
1688 |
|
1689 |
|
1690 </li> |
|
1691 |
|
1692 <li class="index-item method private inherited"> |
|
1693 <a href="#method__cloneDefaultValue">_cloneDefaultValue</a> |
|
1694 |
|
1695 |
|
1696 |
|
1697 </li> |
|
1698 |
|
1699 <li class="index-item method private inherited"> |
|
1700 <a href="#method__defAttrChangeFn">_defAttrChangeFn</a> |
|
1701 |
|
1702 |
|
1703 |
|
1704 </li> |
|
1705 |
|
1706 <li class="index-item method protected inherited"> |
|
1707 <a href="#method__defDataFn">_defDataFn</a> |
|
1708 |
|
1709 |
|
1710 |
|
1711 </li> |
|
1712 |
|
1713 <li class="index-item method protected inherited"> |
|
1714 <a href="#method__defDestroyFn">_defDestroyFn</a> |
|
1715 |
|
1716 |
|
1717 |
|
1718 </li> |
|
1719 |
|
1720 <li class="index-item method protected inherited"> |
|
1721 <a href="#method__defInitFn">_defInitFn</a> |
|
1722 |
|
1723 |
|
1724 |
|
1725 </li> |
|
1726 |
|
1727 <li class="index-item method protected inherited"> |
|
1728 <a href="#method__defRequestFn">_defRequestFn</a> |
|
1729 |
|
1730 |
|
1731 |
|
1732 </li> |
|
1733 |
|
1734 <li class="index-item method protected inherited"> |
|
1735 <a href="#method__defResponseFn">_defResponseFn</a> |
|
1736 |
|
1737 |
|
1738 |
|
1739 </li> |
|
1740 |
|
1741 <li class="index-item method private inherited"> |
|
1742 <a href="#method__destroyHierarchy">_destroyHierarchy</a> |
|
1743 |
|
1744 |
|
1745 |
|
1746 </li> |
|
1747 |
|
1748 <li class="index-item method private inherited"> |
|
1749 <a href="#method__filterAdHocAttrs">_filterAdHocAttrs</a> |
|
1750 |
|
1751 |
|
1752 |
|
1753 </li> |
|
1754 |
|
1755 <li class="index-item method private inherited"> |
|
1756 <a href="#method__filterAttrCfgs">_filterAttrCfgs</a> |
|
1757 |
|
1758 |
|
1759 |
|
1760 </li> |
|
1761 |
|
1762 <li class="index-item method private inherited"> |
|
1763 <a href="#method__fireAttrChange">_fireAttrChange</a> |
|
1764 |
|
1765 |
|
1766 |
|
1767 </li> |
|
1768 |
|
1769 <li class="index-item method protected inherited"> |
|
1770 <a href="#method__getAttr">_getAttr</a> |
|
1771 |
|
1772 |
|
1773 |
|
1774 </li> |
|
1775 |
|
1776 <li class="index-item method protected inherited"> |
|
1777 <a href="#method__getAttrCfg">_getAttrCfg</a> |
|
1778 |
|
1779 |
|
1780 |
|
1781 </li> |
|
1782 |
|
1783 <li class="index-item method protected inherited"> |
|
1784 <a href="#method__getAttrCfgs">_getAttrCfgs</a> |
|
1785 |
|
1786 |
|
1787 |
|
1788 </li> |
|
1789 |
|
1790 <li class="index-item method private inherited"> |
|
1791 <a href="#method__getAttrInitVal">_getAttrInitVal</a> |
|
1792 |
|
1793 |
|
1794 |
|
1795 </li> |
|
1796 |
|
1797 <li class="index-item method protected inherited"> |
|
1798 <a href="#method__getAttrs">_getAttrs</a> |
|
1799 |
|
1800 |
|
1801 |
|
1802 </li> |
|
1803 |
|
1804 <li class="index-item method protected inherited"> |
|
1805 <a href="#method__getClasses">_getClasses</a> |
|
1806 |
|
1807 |
|
1808 |
|
1809 </li> |
|
1810 |
|
1811 <li class="index-item method private inherited"> |
|
1812 <a href="#method__getFullType">_getFullType</a> |
|
1813 |
|
1814 |
|
1815 |
|
1816 </li> |
|
1817 |
|
1818 <li class="index-item method private inherited"> |
|
1819 <a href="#method__getStateVal">_getStateVal</a> |
|
1820 |
|
1821 |
|
1822 |
|
1823 </li> |
|
1824 |
|
1825 <li class="index-item method private inherited"> |
|
1826 <a href="#method__getType">_getType</a> |
|
1827 |
|
1828 |
|
1829 |
|
1830 </li> |
|
1831 |
|
1832 <li class="index-item method private inherited"> |
|
1833 <a href="#method__initAttrHost">_initAttrHost</a> |
|
1834 |
|
1835 |
|
1836 |
|
1837 </li> |
|
1838 |
|
1839 <li class="index-item method private inherited inherited"> |
|
1840 <a href="#method__initAttribute">_initAttribute</a> |
|
1841 |
|
1842 |
|
1843 |
|
1844 </li> |
|
1845 |
|
1846 <li class="index-item method protected inherited"> |
|
1847 <a href="#method__initAttrs">_initAttrs</a> |
|
1848 |
|
1849 |
|
1850 |
|
1851 </li> |
|
1852 |
|
1853 <li class="index-item method private inherited"> |
|
1854 <a href="#method__initBase">_initBase</a> |
|
1855 |
|
1856 |
|
1857 |
|
1858 </li> |
|
1859 |
|
1860 <li class="index-item method private inherited"> |
|
1861 <a href="#method__initEvents">_initEvents</a> |
|
1862 |
|
1863 |
|
1864 |
|
1865 </li> |
|
1866 |
|
1867 <li class="index-item method private inherited"> |
|
1868 <a href="#method__initHierarchy">_initHierarchy</a> |
|
1869 |
|
1870 |
|
1871 |
|
1872 </li> |
|
1873 |
|
1874 <li class="index-item method private inherited"> |
|
1875 <a href="#method__initHierarchyData">_initHierarchyData</a> |
|
1876 |
|
1877 |
|
1878 |
|
1879 </li> |
|
1880 |
|
1881 <li class="index-item method private inherited"> |
|
1882 <a href="#method__isLazyAttr">_isLazyAttr</a> |
|
1883 |
|
1884 |
|
1885 |
|
1886 </li> |
|
1887 |
|
1888 <li class="index-item method private inherited"> |
|
1889 <a href="#method__monitor">_monitor</a> |
|
1890 |
|
1891 |
|
1892 |
|
1893 </li> |
|
1894 |
|
1895 <li class="index-item method private inherited"> |
|
1896 <a href="#method__normAttrVals">_normAttrVals</a> |
|
1897 |
|
1898 |
|
1899 |
|
1900 </li> |
|
1901 |
|
1902 <li class="index-item method private inherited"> |
|
1903 <a href="#method__parseType">_parseType</a> |
|
1904 |
|
1905 |
|
1906 |
|
1907 </li> |
|
1908 |
|
1909 <li class="index-item method private inherited"> |
|
1910 <a href="#method__preInitEventCfg">_preInitEventCfg</a> |
|
1911 |
|
1912 |
|
1913 |
|
1914 </li> |
|
1915 |
|
1916 <li class="index-item method protected deprecated inherited"> |
|
1917 <a href="#method__protectAttrs">_protectAttrs</a> |
|
1918 |
|
1919 |
|
1920 |
|
1921 <span class="flag deprecated">deprecated</span> |
|
1922 |
|
1923 </li> |
|
1924 |
|
1925 <li class="index-item method private inherited"> |
|
1926 <a href="#method__publish">_publish</a> |
|
1927 |
|
1928 |
|
1929 |
|
1930 </li> |
|
1931 |
|
1932 <li class="index-item method protected inherited inherited"> |
|
1933 <a href="#method__set">_set</a> |
|
1934 |
|
1935 |
|
1936 |
|
1937 </li> |
|
1938 |
|
1939 <li class="index-item method protected inherited"> |
|
1940 <a href="#method__setAttr">_setAttr</a> |
|
1941 |
|
1942 |
|
1943 |
|
1944 </li> |
|
1945 |
|
1946 <li class="index-item method protected inherited inherited"> |
|
1947 <a href="#method__setAttrs">_setAttrs</a> |
|
1948 |
|
1949 |
|
1950 |
|
1951 </li> |
|
1952 |
|
1953 <li class="index-item method private inherited"> |
|
1954 <a href="#method__setAttrVal">_setAttrVal</a> |
|
1955 |
|
1956 |
|
1957 |
|
1958 </li> |
|
1959 |
|
1960 <li class="index-item method private inherited"> |
|
1961 <a href="#method__setStateVal">_setStateVal</a> |
|
1962 |
|
1963 |
|
1964 |
|
1965 </li> |
|
1966 |
|
1967 <li class="index-item method inherited"> |
|
1968 <a href="#method_addAttr">addAttr</a> |
|
1969 |
|
1970 |
|
1971 |
|
1972 </li> |
|
1973 |
|
1974 <li class="index-item method inherited"> |
|
1975 <a href="#method_addAttrs">addAttrs</a> |
|
1976 |
|
1977 |
|
1978 |
|
1979 </li> |
|
1980 |
|
1981 <li class="index-item method inherited"> |
|
1982 <a href="#method_addTarget">addTarget</a> |
|
1983 |
|
1984 |
|
1985 |
|
1986 </li> |
|
1987 |
|
1988 <li class="index-item method inherited"> |
|
1989 <a href="#method_after">after</a> |
|
1990 |
|
1991 |
|
1992 |
|
1993 </li> |
|
1994 |
|
1995 <li class="index-item method inherited"> |
|
1996 <a href="#method_attrAdded">attrAdded</a> |
|
1997 |
|
1998 |
|
1999 |
|
2000 </li> |
|
2001 |
|
2002 <li class="index-item method inherited"> |
|
2003 <a href="#method_before">before</a> |
|
2004 |
|
2005 |
|
2006 |
|
2007 </li> |
|
2008 |
|
2009 <li class="index-item method inherited"> |
|
2010 <a href="#method_bubble">bubble</a> |
|
2011 |
|
2012 |
|
2013 |
|
2014 </li> |
|
2015 |
|
2016 <li class="index-item method inherited inherited"> |
|
2017 <a href="#method_destroy">destroy</a> |
|
2018 |
|
2019 |
|
2020 |
|
2021 </li> |
|
2022 |
|
2023 <li class="index-item method inherited"> |
|
2024 <a href="#method_detach">detach</a> |
|
2025 |
|
2026 |
|
2027 |
|
2028 </li> |
|
2029 |
|
2030 <li class="index-item method inherited"> |
|
2031 <a href="#method_detachAll">detachAll</a> |
|
2032 |
|
2033 |
|
2034 |
|
2035 </li> |
|
2036 |
|
2037 <li class="index-item method inherited"> |
|
2038 <a href="#method_fire">fire</a> |
|
2039 |
|
2040 |
|
2041 |
|
2042 </li> |
|
2043 |
|
2044 <li class="index-item method inherited"> |
|
2045 <a href="#method_get">get</a> |
|
2046 |
|
2047 |
|
2048 |
|
2049 </li> |
|
2050 |
|
2051 <li class="index-item method inherited"> |
|
2052 <a href="#method_getAttrs">getAttrs</a> |
|
2053 |
|
2054 |
|
2055 |
|
2056 </li> |
|
2057 |
|
2058 <li class="index-item method inherited"> |
|
2059 <a href="#method_getEvent">getEvent</a> |
|
2060 |
|
2061 |
|
2062 |
|
2063 </li> |
|
2064 |
|
2065 <li class="index-item method inherited"> |
|
2066 <a href="#method_getTargets">getTargets</a> |
|
2067 |
|
2068 |
|
2069 |
|
2070 </li> |
|
2071 |
|
2072 <li class="index-item method inherited inherited"> |
|
2073 <a href="#method_init">init</a> |
|
2074 |
|
2075 |
|
2076 |
|
2077 </li> |
|
2078 |
|
2079 <li class="index-item method private inherited"> |
|
2080 <a href="#method_initializer">initializer</a> |
|
2081 |
|
2082 |
|
2083 |
|
2084 </li> |
|
2085 |
|
2086 <li class="index-item method inherited"> |
|
2087 <a href="#method_modifyAttr">modifyAttr</a> |
|
2088 |
|
2089 |
|
2090 |
|
2091 </li> |
|
2092 |
|
2093 <li class="index-item method inherited"> |
|
2094 <a href="#method_on">on</a> |
|
2095 |
|
2096 |
|
2097 |
|
2098 </li> |
|
2099 |
|
2100 <li class="index-item method inherited"> |
|
2101 <a href="#method_once">once</a> |
|
2102 |
|
2103 |
|
2104 |
|
2105 </li> |
|
2106 |
|
2107 <li class="index-item method inherited"> |
|
2108 <a href="#method_onceAfter">onceAfter</a> |
|
2109 |
|
2110 |
|
2111 |
|
2112 </li> |
|
2113 |
|
2114 <li class="index-item method inherited"> |
|
2115 <a href="#method_parseType">parseType</a> |
|
2116 |
|
2117 |
|
2118 |
|
2119 </li> |
|
2120 |
|
2121 <li class="index-item method inherited"> |
|
2122 <a href="#method_publish">publish</a> |
|
2123 |
|
2124 |
|
2125 |
|
2126 </li> |
|
2127 |
|
2128 <li class="index-item method inherited"> |
|
2129 <a href="#method_removeAttr">removeAttr</a> |
|
2130 |
|
2131 |
|
2132 |
|
2133 </li> |
|
2134 |
|
2135 <li class="index-item method inherited"> |
|
2136 <a href="#method_removeTarget">removeTarget</a> |
|
2137 |
|
2138 |
|
2139 |
|
2140 </li> |
|
2141 |
|
2142 <li class="index-item method inherited"> |
|
2143 <a href="#method_reset">reset</a> |
|
2144 |
|
2145 |
|
2146 |
|
2147 </li> |
|
2148 |
|
2149 <li class="index-item method inherited"> |
|
2150 <a href="#method_sendRequest">sendRequest</a> |
|
2151 |
|
2152 |
|
2153 |
|
2154 </li> |
|
2155 |
|
2156 <li class="index-item method inherited inherited"> |
|
2157 <a href="#method_set">set</a> |
|
2158 |
|
2159 |
|
2160 |
|
2161 </li> |
|
2162 |
|
2163 <li class="index-item method inherited inherited"> |
|
2164 <a href="#method_setAttrs">setAttrs</a> |
|
2165 |
|
2166 |
|
2167 |
|
2168 </li> |
|
2169 |
|
2170 <li class="index-item method deprecated inherited"> |
|
2171 <a href="#method_subscribe">subscribe</a> |
|
2172 |
|
2173 |
|
2174 |
|
2175 <span class="flag deprecated">deprecated</span> |
|
2176 |
|
2177 </li> |
|
2178 |
|
2179 <li class="index-item method inherited"> |
|
2180 <a href="#method_toString">toString</a> |
|
2181 |
|
2182 |
|
2183 |
|
2184 </li> |
|
2185 |
|
2186 <li class="index-item method deprecated inherited"> |
|
2187 <a href="#method_unsubscribe">unsubscribe</a> |
|
2188 |
|
2189 |
|
2190 |
|
2191 <span class="flag deprecated">deprecated</span> |
|
2192 |
|
2193 </li> |
|
2194 |
|
2195 <li class="index-item method deprecated inherited"> |
|
2196 <a href="#method_unsubscribeAll">unsubscribeAll</a> |
|
2197 |
|
2198 |
|
2199 |
|
2200 <span class="flag deprecated">deprecated</span> |
|
2201 |
|
2202 </li> |
|
2203 |
|
2204 </ul> |
|
2205 </div> |
|
2206 |
|
2207 |
|
2208 |
|
2209 <div class="index-section properties"> |
|
2210 <h3>Properties</h3> |
|
2211 |
|
2212 <ul class="index-list properties extends"> |
|
2213 |
|
2214 <li class="index-item property protected inherited"> |
|
2215 <a href="#property__allowAdHocAttrs">_allowAdHocAttrs</a> |
|
2216 |
|
2217 |
|
2218 |
|
2219 </li> |
|
2220 |
|
2221 <li class="index-item property"> |
|
2222 <a href="#property_NAME">NAME</a> |
|
2223 |
|
2224 |
|
2225 <span class="flag static">static</span> |
|
2226 |
|
2227 |
|
2228 </li> |
|
2229 |
|
2230 <li class="index-item property deprecated inherited"> |
|
2231 <a href="#property_name">name</a> |
|
2232 |
|
2233 |
|
2234 |
|
2235 <span class="flag deprecated">deprecated</span> |
|
2236 |
|
2237 </li> |
|
2238 |
|
2239 </ul> |
|
2240 </div> |
|
2241 |
|
2242 |
|
2243 |
|
2244 <div class="index-section attrs"> |
|
2245 <h3>Attributes</h3> |
|
2246 |
|
2247 <ul class="index-list attrs extends"> |
|
2248 |
|
2249 <li class="index-item attr inherited"> |
|
2250 <a href="#attr_destroyed">destroyed</a> |
|
2251 </li> |
|
2252 |
|
2253 <li class="index-item attr inherited"> |
|
2254 <a href="#attr_initialized">initialized</a> |
|
2255 </li> |
|
2256 |
|
2257 <li class="index-item attr inherited"> |
|
2258 <a href="#attr_source">source</a> |
|
2259 </li> |
|
2260 |
|
2261 </ul> |
|
2262 </div> |
|
2263 |
|
2264 |
|
2265 |
|
2266 <div class="index-section events"> |
|
2267 <h3>Events</h3> |
|
2268 |
|
2269 <ul class="index-list events extends"> |
|
2270 |
|
2271 <li class="index-item event inherited"> |
|
2272 <a href="#event_data">data</a> |
|
2273 |
|
2274 |
|
2275 |
|
2276 </li> |
|
2277 |
|
2278 <li class="index-item event inherited"> |
|
2279 <a href="#event_destroy">destroy</a> |
|
2280 |
|
2281 |
|
2282 |
|
2283 </li> |
|
2284 |
|
2285 <li class="index-item event inherited"> |
|
2286 <a href="#event_error">error</a> |
|
2287 |
|
2288 |
|
2289 |
|
2290 </li> |
|
2291 |
|
2292 <li class="index-item event inherited"> |
|
2293 <a href="#event_init">init</a> |
|
2294 |
|
2295 |
|
2296 |
|
2297 </li> |
|
2298 |
|
2299 <li class="index-item event inherited"> |
|
2300 <a href="#event_request">request</a> |
|
2301 |
|
2302 |
|
2303 |
|
2304 </li> |
|
2305 |
|
2306 <li class="index-item event inherited"> |
|
2307 <a href="#event_response">response</a> |
|
2308 |
|
2309 |
|
2310 |
|
2311 </li> |
|
2312 |
|
2313 </ul> |
|
2314 </div> |
|
2315 |
|
2316 </div> |
|
2317 |
|
2318 |
|
2319 <div id="methods" class="api-class-tabpanel"> |
|
2320 <h2 class="off-left">Methods</h2> |
|
2321 |
|
2322 |
|
2323 <div id="method__addAttrs" class="method item private inherited"> |
|
2324 <h3 class="name"><code>_addAttrs</code></h3> |
|
2325 |
|
2326 |
|
2327 <div class="args"> |
|
2328 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2329 |
|
2330 <li class="arg"> |
|
2331 |
|
2332 <code>cfgs</code> |
|
2333 |
|
2334 </li> |
|
2335 |
|
2336 <li class="arg"> |
|
2337 |
|
2338 <code>values</code> |
|
2339 |
|
2340 </li> |
|
2341 |
|
2342 <li class="arg"> |
|
2343 |
|
2344 <code>lazy</code> |
|
2345 |
|
2346 </li> |
|
2347 |
|
2348 </ul><span class="paren">)</span> |
|
2349 </div> |
|
2350 |
|
2351 |
|
2352 |
|
2353 |
|
2354 |
|
2355 |
|
2356 |
|
2357 <span class="flag private">private</span> |
|
2358 |
|
2359 |
|
2360 |
|
2361 |
|
2362 |
|
2363 |
|
2364 |
|
2365 |
|
2366 |
|
2367 |
|
2368 <div class="meta"> |
|
2369 |
|
2370 |
|
2371 <p>Inherited from |
|
2372 <a href="../classes/AttributeCore.html#method__addAttrs">AttributeCore</a>: |
|
2373 |
|
2374 |
|
2375 |
|
2376 <a href="../files/attribute_js_AttributeCore.js.html#l836"><code>attribute/js/AttributeCore.js:836</code></a> |
|
2377 |
|
2378 </p> |
|
2379 |
|
2380 |
|
2381 |
|
2382 |
|
2383 |
|
2384 </div> |
|
2385 |
|
2386 <div class="description"> |
|
2387 <p>Implementation behind the public addAttrs method.</p> |
|
2388 |
|
2389 <p>This method is invoked directly by get if it encounters a scenario |
|
2390 in which an attribute's valueFn attempts to obtain the |
|
2391 value an attribute in the same group of attributes, which has not yet |
|
2392 been added (on demand initialization).</p> |
|
2393 </div> |
|
2394 |
|
2395 |
|
2396 <div class="params"> |
|
2397 <h4>Parameters:</h4> |
|
2398 |
|
2399 <ul class="params-list"> |
|
2400 |
|
2401 <li class="param"> |
|
2402 |
|
2403 <code class="param-name">cfgs</code> |
|
2404 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2405 |
|
2406 |
|
2407 |
|
2408 |
|
2409 <div class="param-description"> |
|
2410 <p>An object with attribute name/configuration pairs.</p> |
|
2411 </div> |
|
2412 |
|
2413 |
|
2414 </li> |
|
2415 |
|
2416 <li class="param"> |
|
2417 |
|
2418 <code class="param-name">values</code> |
|
2419 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2420 |
|
2421 |
|
2422 |
|
2423 |
|
2424 <div class="param-description"> |
|
2425 <p>An object with attribute name/value pairs, defining the initial values to apply. |
|
2426 Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p> |
|
2427 </div> |
|
2428 |
|
2429 |
|
2430 </li> |
|
2431 |
|
2432 <li class="param"> |
|
2433 |
|
2434 <code class="param-name">lazy</code> |
|
2435 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
2436 |
|
2437 |
|
2438 |
|
2439 |
|
2440 <div class="param-description"> |
|
2441 <p>Whether or not to delay the intialization of these attributes until the first call to get/set. |
|
2442 Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration. |
|
2443 See <a href="#method_addAttr">addAttr</a>.</p> |
|
2444 </div> |
|
2445 |
|
2446 |
|
2447 </li> |
|
2448 |
|
2449 </ul> |
|
2450 </div> |
|
2451 |
|
2452 |
|
2453 |
|
2454 |
|
2455 |
|
2456 </div> |
|
2457 |
|
2458 |
|
2459 <div id="method__addLazyAttr" class="method item private inherited"> |
|
2460 <h3 class="name"><code>_addLazyAttr</code></h3> |
|
2461 |
|
2462 |
|
2463 <div class="args"> |
|
2464 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2465 |
|
2466 <li class="arg"> |
|
2467 |
|
2468 <code>name</code> |
|
2469 |
|
2470 </li> |
|
2471 |
|
2472 <li class="arg"> |
|
2473 |
|
2474 <code class="optional">[lazyCfg]</code> |
|
2475 |
|
2476 </li> |
|
2477 |
|
2478 </ul><span class="paren">)</span> |
|
2479 </div> |
|
2480 |
|
2481 |
|
2482 |
|
2483 |
|
2484 |
|
2485 |
|
2486 |
|
2487 <span class="flag private">private</span> |
|
2488 |
|
2489 |
|
2490 |
|
2491 |
|
2492 |
|
2493 |
|
2494 |
|
2495 |
|
2496 |
|
2497 |
|
2498 <div class="meta"> |
|
2499 |
|
2500 |
|
2501 <p>Inherited from |
|
2502 <a href="../classes/AttributeCore.html#method__addLazyAttr">AttributeCore</a>: |
|
2503 |
|
2504 |
|
2505 |
|
2506 <a href="../files/attribute_js_AttributeCore.js.html#l382"><code>attribute/js/AttributeCore.js:382</code></a> |
|
2507 |
|
2508 </p> |
|
2509 |
|
2510 |
|
2511 |
|
2512 |
|
2513 |
|
2514 </div> |
|
2515 |
|
2516 <div class="description"> |
|
2517 <p>Finishes initializing an attribute which has been lazily added.</p> |
|
2518 </div> |
|
2519 |
|
2520 |
|
2521 <div class="params"> |
|
2522 <h4>Parameters:</h4> |
|
2523 |
|
2524 <ul class="params-list"> |
|
2525 |
|
2526 <li class="param"> |
|
2527 |
|
2528 <code class="param-name">name</code> |
|
2529 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2530 |
|
2531 |
|
2532 |
|
2533 |
|
2534 <div class="param-description"> |
|
2535 <p>The name of the attribute</p> |
|
2536 </div> |
|
2537 |
|
2538 |
|
2539 </li> |
|
2540 |
|
2541 <li class="param"> |
|
2542 |
|
2543 <code class="param-name optional">[lazyCfg]</code> |
|
2544 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2545 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
2546 |
|
2547 |
|
2548 |
|
2549 |
|
2550 <div class="param-description"> |
|
2551 <p>Optional config hash for the attribute. This is added for performance |
|
2552 along the critical path, where the calling method has already obtained lazy config from state.</p> |
|
2553 </div> |
|
2554 |
|
2555 |
|
2556 </li> |
|
2557 |
|
2558 </ul> |
|
2559 </div> |
|
2560 |
|
2561 |
|
2562 |
|
2563 |
|
2564 |
|
2565 </div> |
|
2566 |
|
2567 |
|
2568 <div id="method__aggregateAttrs" class="method item private inherited"> |
|
2569 <h3 class="name"><code>_aggregateAttrs</code></h3> |
|
2570 |
|
2571 |
|
2572 <div class="args"> |
|
2573 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2574 |
|
2575 <li class="arg"> |
|
2576 |
|
2577 <code>allAttrs</code> |
|
2578 |
|
2579 </li> |
|
2580 |
|
2581 </ul><span class="paren">)</span> |
|
2582 </div> |
|
2583 |
|
2584 |
|
2585 |
|
2586 <span class="returns-inline"> |
|
2587 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2588 </span> |
|
2589 |
|
2590 |
|
2591 |
|
2592 |
|
2593 |
|
2594 <span class="flag private">private</span> |
|
2595 |
|
2596 |
|
2597 |
|
2598 |
|
2599 |
|
2600 |
|
2601 |
|
2602 |
|
2603 |
|
2604 |
|
2605 <div class="meta"> |
|
2606 |
|
2607 |
|
2608 <p>Inherited from |
|
2609 <a href="../classes/BaseCore.html#method__aggregateAttrs">BaseCore</a>: |
|
2610 |
|
2611 |
|
2612 |
|
2613 <a href="../files/base_js_BaseCore.js.html#l575"><code>base/js/BaseCore.js:575</code></a> |
|
2614 |
|
2615 </p> |
|
2616 |
|
2617 |
|
2618 |
|
2619 |
|
2620 |
|
2621 </div> |
|
2622 |
|
2623 <div class="description"> |
|
2624 <p>A helper method, used by _initHierarchyData to aggregate |
|
2625 attribute configuration across the instances class hierarchy.</p> |
|
2626 |
|
2627 <p>The method will protect the attribute configuration value to protect the statically defined |
|
2628 default value in ATTRS if required (if the value is an object literal, array or the |
|
2629 attribute configuration has cloneDefaultValue set to shallow or deep).</p> |
|
2630 </div> |
|
2631 |
|
2632 |
|
2633 <div class="params"> |
|
2634 <h4>Parameters:</h4> |
|
2635 |
|
2636 <ul class="params-list"> |
|
2637 |
|
2638 <li class="param"> |
|
2639 |
|
2640 <code class="param-name">allAttrs</code> |
|
2641 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
2642 |
|
2643 |
|
2644 |
|
2645 |
|
2646 <div class="param-description"> |
|
2647 <p>An array of ATTRS definitions across classes in the hierarchy |
|
2648 (subclass first, Base last)</p> |
|
2649 </div> |
|
2650 |
|
2651 |
|
2652 </li> |
|
2653 |
|
2654 </ul> |
|
2655 </div> |
|
2656 |
|
2657 |
|
2658 |
|
2659 <div class="returns"> |
|
2660 <h4>Returns:</h4> |
|
2661 |
|
2662 <div class="returns-description"> |
|
2663 |
|
2664 |
|
2665 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
2666 |
|
2667 The aggregate set of ATTRS definitions for the instance |
|
2668 |
|
2669 </div> |
|
2670 </div> |
|
2671 |
|
2672 |
|
2673 |
|
2674 </div> |
|
2675 |
|
2676 |
|
2677 <div id="method__attrCfgHash" class="method item private inherited"> |
|
2678 <h3 class="name"><code>_attrCfgHash</code></h3> |
|
2679 |
|
2680 |
|
2681 <span class="paren">()</span> |
|
2682 |
|
2683 |
|
2684 |
|
2685 |
|
2686 |
|
2687 |
|
2688 |
|
2689 <span class="flag private">private</span> |
|
2690 |
|
2691 |
|
2692 |
|
2693 |
|
2694 |
|
2695 |
|
2696 |
|
2697 |
|
2698 |
|
2699 |
|
2700 <div class="meta"> |
|
2701 |
|
2702 |
|
2703 <p>Inherited from |
|
2704 <a href="../classes/BaseCore.html#method__attrCfgHash">BaseCore</a>: |
|
2705 |
|
2706 |
|
2707 |
|
2708 <a href="../files/base_js_BaseCore.js.html#l538"><code>base/js/BaseCore.js:538</code></a> |
|
2709 |
|
2710 </p> |
|
2711 |
|
2712 |
|
2713 |
|
2714 |
|
2715 |
|
2716 </div> |
|
2717 |
|
2718 <div class="description"> |
|
2719 <p>Utility method to define the attribute hash used to filter/whitelist property mixes for |
|
2720 this class for iteration performance reasons.</p> |
|
2721 </div> |
|
2722 |
|
2723 |
|
2724 |
|
2725 |
|
2726 |
|
2727 |
|
2728 </div> |
|
2729 |
|
2730 |
|
2731 <div id="method__baseDestroy" class="method item private inherited"> |
|
2732 <h3 class="name"><code>_baseDestroy</code></h3> |
|
2733 |
|
2734 |
|
2735 <span class="paren">()</span> |
|
2736 |
|
2737 |
|
2738 |
|
2739 |
|
2740 |
|
2741 |
|
2742 |
|
2743 <span class="flag private">private</span> |
|
2744 |
|
2745 |
|
2746 |
|
2747 |
|
2748 |
|
2749 |
|
2750 |
|
2751 |
|
2752 |
|
2753 |
|
2754 <div class="meta"> |
|
2755 |
|
2756 |
|
2757 <p>Inherited from |
|
2758 <a href="../classes/BaseCore.html#method__baseDestroy">BaseCore</a>: |
|
2759 |
|
2760 |
|
2761 |
|
2762 <a href="../files/base_js_BaseCore.js.html#l309"><code>base/js/BaseCore.js:309</code></a> |
|
2763 |
|
2764 </p> |
|
2765 |
|
2766 |
|
2767 |
|
2768 |
|
2769 |
|
2770 </div> |
|
2771 |
|
2772 <div class="description"> |
|
2773 <p>Internal destroy implementation for BaseCore</p> |
|
2774 </div> |
|
2775 |
|
2776 |
|
2777 |
|
2778 |
|
2779 |
|
2780 |
|
2781 </div> |
|
2782 |
|
2783 |
|
2784 <div id="method__baseInit" class="method item private inherited"> |
|
2785 <h3 class="name"><code>_baseInit</code></h3> |
|
2786 |
|
2787 |
|
2788 <span class="paren">()</span> |
|
2789 |
|
2790 |
|
2791 |
|
2792 |
|
2793 |
|
2794 |
|
2795 |
|
2796 <span class="flag private">private</span> |
|
2797 |
|
2798 |
|
2799 |
|
2800 |
|
2801 |
|
2802 |
|
2803 |
|
2804 |
|
2805 |
|
2806 |
|
2807 <div class="meta"> |
|
2808 |
|
2809 |
|
2810 <p>Inherited from |
|
2811 <a href="../classes/BaseCore.html#method__baseInit">BaseCore</a>: |
|
2812 |
|
2813 |
|
2814 |
|
2815 <a href="../files/base_js_BaseCore.js.html#l281"><code>base/js/BaseCore.js:281</code></a> |
|
2816 |
|
2817 </p> |
|
2818 |
|
2819 |
|
2820 |
|
2821 |
|
2822 |
|
2823 </div> |
|
2824 |
|
2825 <div class="description"> |
|
2826 <p>Internal initialization implementation for BaseCore</p> |
|
2827 </div> |
|
2828 |
|
2829 |
|
2830 |
|
2831 |
|
2832 |
|
2833 |
|
2834 </div> |
|
2835 |
|
2836 |
|
2837 <div id="method__cloneDefaultValue" class="method item private inherited"> |
|
2838 <h3 class="name"><code>_cloneDefaultValue</code></h3> |
|
2839 |
|
2840 |
|
2841 <div class="args"> |
|
2842 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2843 |
|
2844 <li class="arg"> |
|
2845 |
|
2846 <code>cfg</code> |
|
2847 |
|
2848 </li> |
|
2849 |
|
2850 </ul><span class="paren">)</span> |
|
2851 </div> |
|
2852 |
|
2853 |
|
2854 |
|
2855 |
|
2856 |
|
2857 |
|
2858 |
|
2859 <span class="flag private">private</span> |
|
2860 |
|
2861 |
|
2862 |
|
2863 |
|
2864 |
|
2865 |
|
2866 |
|
2867 |
|
2868 |
|
2869 |
|
2870 <div class="meta"> |
|
2871 |
|
2872 |
|
2873 <p>Inherited from |
|
2874 <a href="../classes/BaseCore.html#method__cloneDefaultValue">BaseCore</a>: |
|
2875 |
|
2876 |
|
2877 |
|
2878 <a href="../files/base_js_BaseCore.js.html#l549"><code>base/js/BaseCore.js:549</code></a> |
|
2879 |
|
2880 </p> |
|
2881 |
|
2882 |
|
2883 |
|
2884 |
|
2885 |
|
2886 </div> |
|
2887 |
|
2888 <div class="description"> |
|
2889 <p>This method assumes that the value has already been checked to be an object. |
|
2890 Since it's on a critical path, we don't want to re-do the check.</p> |
|
2891 </div> |
|
2892 |
|
2893 |
|
2894 <div class="params"> |
|
2895 <h4>Parameters:</h4> |
|
2896 |
|
2897 <ul class="params-list"> |
|
2898 |
|
2899 <li class="param"> |
|
2900 |
|
2901 <code class="param-name">cfg</code> |
|
2902 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2903 |
|
2904 |
|
2905 |
|
2906 |
|
2907 <div class="param-description"> |
|
2908 |
|
2909 </div> |
|
2910 |
|
2911 |
|
2912 </li> |
|
2913 |
|
2914 </ul> |
|
2915 </div> |
|
2916 |
|
2917 |
|
2918 |
|
2919 |
|
2920 |
|
2921 </div> |
|
2922 |
|
2923 |
|
2924 <div id="method__defAttrChangeFn" class="method item private inherited"> |
|
2925 <h3 class="name"><code>_defAttrChangeFn</code></h3> |
|
2926 |
|
2927 |
|
2928 <div class="args"> |
|
2929 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2930 |
|
2931 <li class="arg"> |
|
2932 |
|
2933 <code>e</code> |
|
2934 |
|
2935 </li> |
|
2936 |
|
2937 </ul><span class="paren">)</span> |
|
2938 </div> |
|
2939 |
|
2940 |
|
2941 |
|
2942 |
|
2943 |
|
2944 |
|
2945 |
|
2946 <span class="flag private">private</span> |
|
2947 |
|
2948 |
|
2949 |
|
2950 |
|
2951 |
|
2952 |
|
2953 |
|
2954 |
|
2955 |
|
2956 |
|
2957 <div class="meta"> |
|
2958 |
|
2959 |
|
2960 <p>Inherited from |
|
2961 <a href="../classes/AttributeObservable.html#method__defAttrChangeFn">AttributeObservable</a>: |
|
2962 |
|
2963 |
|
2964 |
|
2965 <a href="../files/attribute_js_AttributeObservable.js.html#l186"><code>attribute/js/AttributeObservable.js:186</code></a> |
|
2966 |
|
2967 </p> |
|
2968 |
|
2969 |
|
2970 |
|
2971 |
|
2972 |
|
2973 </div> |
|
2974 |
|
2975 <div class="description"> |
|
2976 <p>Default function for attribute change events.</p> |
|
2977 </div> |
|
2978 |
|
2979 |
|
2980 <div class="params"> |
|
2981 <h4>Parameters:</h4> |
|
2982 |
|
2983 <ul class="params-list"> |
|
2984 |
|
2985 <li class="param"> |
|
2986 |
|
2987 <code class="param-name">e</code> |
|
2988 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
2989 |
|
2990 |
|
2991 |
|
2992 |
|
2993 <div class="param-description"> |
|
2994 <p>The event object for attribute change events.</p> |
|
2995 </div> |
|
2996 |
|
2997 |
|
2998 </li> |
|
2999 |
|
3000 </ul> |
|
3001 </div> |
|
3002 |
|
3003 |
|
3004 |
|
3005 |
|
3006 |
|
3007 </div> |
|
3008 |
|
3009 |
|
3010 <div id="method__defDataFn" class="method item protected inherited"> |
|
3011 <h3 class="name"><code>_defDataFn</code></h3> |
|
3012 |
|
3013 |
|
3014 <div class="args"> |
|
3015 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3016 |
|
3017 <li class="arg"> |
|
3018 |
|
3019 <code>e</code> |
|
3020 |
|
3021 </li> |
|
3022 |
|
3023 </ul><span class="paren">)</span> |
|
3024 </div> |
|
3025 |
|
3026 |
|
3027 |
|
3028 |
|
3029 |
|
3030 |
|
3031 |
|
3032 <span class="flag protected">protected</span> |
|
3033 |
|
3034 |
|
3035 |
|
3036 |
|
3037 |
|
3038 |
|
3039 |
|
3040 |
|
3041 |
|
3042 |
|
3043 <div class="meta"> |
|
3044 |
|
3045 |
|
3046 <p>Inherited from |
|
3047 <a href="../classes/DataSource.Local.html#method__defDataFn">DataSource.Local</a>: |
|
3048 |
|
3049 |
|
3050 |
|
3051 <a href="../files/datasource_js_datasource-local.js.html#l279"><code>datasource/js/datasource-local.js:279</code></a> |
|
3052 |
|
3053 </p> |
|
3054 |
|
3055 |
|
3056 |
|
3057 |
|
3058 |
|
3059 </div> |
|
3060 |
|
3061 <div class="description"> |
|
3062 <p>Normalizes raw data into a response that includes results and meta properties.</p> |
|
3063 </div> |
|
3064 |
|
3065 |
|
3066 <div class="params"> |
|
3067 <h4>Parameters:</h4> |
|
3068 |
|
3069 <ul class="params-list"> |
|
3070 |
|
3071 <li class="param"> |
|
3072 |
|
3073 <code class="param-name">e</code> |
|
3074 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span> |
|
3075 |
|
3076 |
|
3077 |
|
3078 |
|
3079 <div class="param-description"> |
|
3080 <p>Event Facade with the following properties:</p> |
|
3081 |
|
3082 <dl> |
|
3083 <dt>tId (Number)</dt> <dd>Unique transaction ID.</dd> |
|
3084 <dt>request (Object)</dt> <dd>The request.</dd> |
|
3085 <dt>callback (Object)</dt> <dd>Deprecated alias for the |
|
3086 <strong>on</strong> property</dd> |
|
3087 <dt>on (Object)</dt> <dd>The map of configured transaction |
|
3088 callbacks. An object with the following properties: |
|
3089 <dl> |
|
3090 <dt>success (Function)</dt> <dd>Success handler.</dd> |
|
3091 <dt>failure (Function)</dt> <dd>Failure handler.</dd> |
|
3092 </dl> |
|
3093 </dd> |
|
3094 <dt>cfg (Object)</dt> <dd>Configuration object.</dd> |
|
3095 <dt>data (Object)</dt> <dd>Raw data.</dd> |
|
3096 </dl> |
|
3097 </div> |
|
3098 |
|
3099 |
|
3100 </li> |
|
3101 |
|
3102 </ul> |
|
3103 </div> |
|
3104 |
|
3105 |
|
3106 |
|
3107 |
|
3108 |
|
3109 </div> |
|
3110 |
|
3111 |
|
3112 <div id="method__defDestroyFn" class="method item protected inherited"> |
|
3113 <h3 class="name"><code>_defDestroyFn</code></h3> |
|
3114 |
|
3115 |
|
3116 <div class="args"> |
|
3117 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3118 |
|
3119 <li class="arg"> |
|
3120 |
|
3121 <code>e</code> |
|
3122 |
|
3123 </li> |
|
3124 |
|
3125 </ul><span class="paren">)</span> |
|
3126 </div> |
|
3127 |
|
3128 |
|
3129 |
|
3130 |
|
3131 |
|
3132 |
|
3133 |
|
3134 <span class="flag protected">protected</span> |
|
3135 |
|
3136 |
|
3137 |
|
3138 |
|
3139 |
|
3140 |
|
3141 |
|
3142 |
|
3143 |
|
3144 |
|
3145 <div class="meta"> |
|
3146 |
|
3147 |
|
3148 <p>Inherited from |
|
3149 <a href="../classes/BaseObservable.html#method__defDestroyFn">BaseObservable</a>: |
|
3150 |
|
3151 |
|
3152 |
|
3153 <a href="../files/base_js_BaseObservable.js.html#l190"><code>base/js/BaseObservable.js:190</code></a> |
|
3154 |
|
3155 </p> |
|
3156 |
|
3157 |
|
3158 |
|
3159 |
|
3160 |
|
3161 </div> |
|
3162 |
|
3163 <div class="description"> |
|
3164 <p>Default destroy event handler</p> |
|
3165 </div> |
|
3166 |
|
3167 |
|
3168 <div class="params"> |
|
3169 <h4>Parameters:</h4> |
|
3170 |
|
3171 <ul class="params-list"> |
|
3172 |
|
3173 <li class="param"> |
|
3174 |
|
3175 <code class="param-name">e</code> |
|
3176 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
3177 |
|
3178 |
|
3179 |
|
3180 |
|
3181 <div class="param-description"> |
|
3182 <p>Event object</p> |
|
3183 </div> |
|
3184 |
|
3185 |
|
3186 </li> |
|
3187 |
|
3188 </ul> |
|
3189 </div> |
|
3190 |
|
3191 |
|
3192 |
|
3193 |
|
3194 |
|
3195 </div> |
|
3196 |
|
3197 |
|
3198 <div id="method__defInitFn" class="method item protected inherited"> |
|
3199 <h3 class="name"><code>_defInitFn</code></h3> |
|
3200 |
|
3201 |
|
3202 <div class="args"> |
|
3203 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3204 |
|
3205 <li class="arg"> |
|
3206 |
|
3207 <code>e</code> |
|
3208 |
|
3209 </li> |
|
3210 |
|
3211 </ul><span class="paren">)</span> |
|
3212 </div> |
|
3213 |
|
3214 |
|
3215 |
|
3216 |
|
3217 |
|
3218 |
|
3219 |
|
3220 <span class="flag protected">protected</span> |
|
3221 |
|
3222 |
|
3223 |
|
3224 |
|
3225 |
|
3226 |
|
3227 |
|
3228 |
|
3229 |
|
3230 |
|
3231 <div class="meta"> |
|
3232 |
|
3233 |
|
3234 <p>Inherited from |
|
3235 <a href="../classes/BaseObservable.html#method__defInitFn">BaseObservable</a>: |
|
3236 |
|
3237 |
|
3238 |
|
3239 <a href="../files/base_js_BaseObservable.js.html#l178"><code>base/js/BaseObservable.js:178</code></a> |
|
3240 |
|
3241 </p> |
|
3242 |
|
3243 |
|
3244 |
|
3245 |
|
3246 |
|
3247 </div> |
|
3248 |
|
3249 <div class="description"> |
|
3250 <p>Default init event handler</p> |
|
3251 </div> |
|
3252 |
|
3253 |
|
3254 <div class="params"> |
|
3255 <h4>Parameters:</h4> |
|
3256 |
|
3257 <ul class="params-list"> |
|
3258 |
|
3259 <li class="param"> |
|
3260 |
|
3261 <code class="param-name">e</code> |
|
3262 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
3263 |
|
3264 |
|
3265 |
|
3266 |
|
3267 <div class="param-description"> |
|
3268 <p>Event object, with a cfg property which |
|
3269 refers to the configuration object passed to the constructor.</p> |
|
3270 </div> |
|
3271 |
|
3272 |
|
3273 </li> |
|
3274 |
|
3275 </ul> |
|
3276 </div> |
|
3277 |
|
3278 |
|
3279 |
|
3280 |
|
3281 |
|
3282 </div> |
|
3283 |
|
3284 |
|
3285 <div id="method__defRequestFn" class="method item protected"> |
|
3286 <h3 class="name"><code>_defRequestFn</code></h3> |
|
3287 |
|
3288 |
|
3289 <div class="args"> |
|
3290 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3291 |
|
3292 <li class="arg"> |
|
3293 |
|
3294 <code>e</code> |
|
3295 |
|
3296 </li> |
|
3297 |
|
3298 </ul><span class="paren">)</span> |
|
3299 </div> |
|
3300 |
|
3301 |
|
3302 |
|
3303 |
|
3304 |
|
3305 |
|
3306 |
|
3307 <span class="flag protected">protected</span> |
|
3308 |
|
3309 |
|
3310 |
|
3311 |
|
3312 |
|
3313 |
|
3314 |
|
3315 |
|
3316 |
|
3317 |
|
3318 <div class="meta"> |
|
3319 |
|
3320 <p>Inherited from |
|
3321 <a href="../classes/DataSource.Local.html#method__defRequestFn"> |
|
3322 DataSource.Local |
|
3323 </a> |
|
3324 |
|
3325 but overwritten in |
|
3326 |
|
3327 |
|
3328 |
|
3329 <a href="../files/datasource_js_datasource-function.js.html#l61"><code>datasource/js/datasource-function.js:61</code></a> |
|
3330 |
|
3331 </p> |
|
3332 |
|
3333 |
|
3334 |
|
3335 |
|
3336 |
|
3337 </div> |
|
3338 |
|
3339 <div class="description"> |
|
3340 <p>Passes query data to the source function. Fires <code>response</code> |
|
3341 event with the function results (synchronously).</p> |
|
3342 </div> |
|
3343 |
|
3344 |
|
3345 <div class="params"> |
|
3346 <h4>Parameters:</h4> |
|
3347 |
|
3348 <ul class="params-list"> |
|
3349 |
|
3350 <li class="param"> |
|
3351 |
|
3352 <code class="param-name">e</code> |
|
3353 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span> |
|
3354 |
|
3355 |
|
3356 |
|
3357 |
|
3358 <div class="param-description"> |
|
3359 <p>Event Facade with the following properties:</p> |
|
3360 |
|
3361 <dl> |
|
3362 <dt>tId (Number)</dt> <dd>Unique transaction ID.</dd> |
|
3363 <dt>request (Object)</dt> <dd>The request.</dd> |
|
3364 <dt>callback (Object)</dt> <dd>The callback object with the following |
|
3365 properties: |
|
3366 <dl> |
|
3367 <dt>success (Function)</dt> <dd>Success handler.</dd> |
|
3368 <dt>failure (Function)</dt> <dd>Failure handler.</dd> |
|
3369 </dl> |
|
3370 </dd> |
|
3371 <dt>cfg (Object)</dt> <dd>Configuration object.</dd> |
|
3372 </dl> |
|
3373 </div> |
|
3374 |
|
3375 |
|
3376 </li> |
|
3377 |
|
3378 </ul> |
|
3379 </div> |
|
3380 |
|
3381 |
|
3382 |
|
3383 |
|
3384 |
|
3385 </div> |
|
3386 |
|
3387 |
|
3388 <div id="method__defResponseFn" class="method item protected inherited"> |
|
3389 <h3 class="name"><code>_defResponseFn</code></h3> |
|
3390 |
|
3391 |
|
3392 <div class="args"> |
|
3393 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3394 |
|
3395 <li class="arg"> |
|
3396 |
|
3397 <code>e</code> |
|
3398 |
|
3399 </li> |
|
3400 |
|
3401 </ul><span class="paren">)</span> |
|
3402 </div> |
|
3403 |
|
3404 |
|
3405 |
|
3406 |
|
3407 |
|
3408 |
|
3409 |
|
3410 <span class="flag protected">protected</span> |
|
3411 |
|
3412 |
|
3413 |
|
3414 |
|
3415 |
|
3416 |
|
3417 |
|
3418 |
|
3419 |
|
3420 |
|
3421 <div class="meta"> |
|
3422 |
|
3423 |
|
3424 <p>Inherited from |
|
3425 <a href="../classes/DataSource.Local.html#method__defResponseFn">DataSource.Local</a>: |
|
3426 |
|
3427 |
|
3428 |
|
3429 <a href="../files/datasource_js_datasource-local.js.html#l314"><code>datasource/js/datasource-local.js:314</code></a> |
|
3430 |
|
3431 </p> |
|
3432 |
|
3433 |
|
3434 |
|
3435 |
|
3436 |
|
3437 </div> |
|
3438 |
|
3439 <div class="description"> |
|
3440 <p>Sends data as a normalized response to callback.</p> |
|
3441 </div> |
|
3442 |
|
3443 |
|
3444 <div class="params"> |
|
3445 <h4>Parameters:</h4> |
|
3446 |
|
3447 <ul class="params-list"> |
|
3448 |
|
3449 <li class="param"> |
|
3450 |
|
3451 <code class="param-name">e</code> |
|
3452 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span> |
|
3453 |
|
3454 |
|
3455 |
|
3456 |
|
3457 <div class="param-description"> |
|
3458 <p>Event Facade with the following properties:</p> |
|
3459 |
|
3460 <dl> |
|
3461 <dt>tId (Number)</dt> <dd>Unique transaction ID.</dd> |
|
3462 <dt>request (Object)</dt> <dd>The request.</dd> |
|
3463 <dt>callback (Object)</dt> <dd>Deprecated alias for the |
|
3464 <strong>on</strong> property</dd> |
|
3465 <dt>on (Object)</dt> <dd>The map of configured transaction |
|
3466 callbacks. An object with the following properties: |
|
3467 <dl> |
|
3468 <dt>success (Function)</dt> <dd>Success handler.</dd> |
|
3469 <dt>failure (Function)</dt> <dd>Failure handler.</dd> |
|
3470 </dl> |
|
3471 </dd> |
|
3472 <dt>cfg (Object)</dt> <dd>Configuration object.</dd> |
|
3473 <dt>data (Object)</dt> <dd>Raw data.</dd> |
|
3474 <dt>response (Object)</dt> <dd>Normalized response object with the following properties: |
|
3475 <dl> |
|
3476 <dt>results (Object)</dt> <dd>Parsed results.</dd> |
|
3477 <dt>meta (Object)</dt> <dd>Parsed meta data.</dd> |
|
3478 <dt>error (Boolean)</dt> <dd>Error flag.</dd> |
|
3479 </dl> |
|
3480 </dd> |
|
3481 </dl> |
|
3482 </div> |
|
3483 |
|
3484 |
|
3485 </li> |
|
3486 |
|
3487 </ul> |
|
3488 </div> |
|
3489 |
|
3490 |
|
3491 |
|
3492 |
|
3493 |
|
3494 </div> |
|
3495 |
|
3496 |
|
3497 <div id="method__destroyHierarchy" class="method item private inherited"> |
|
3498 <h3 class="name"><code>_destroyHierarchy</code></h3> |
|
3499 |
|
3500 |
|
3501 <span class="paren">()</span> |
|
3502 |
|
3503 |
|
3504 |
|
3505 |
|
3506 |
|
3507 |
|
3508 |
|
3509 <span class="flag private">private</span> |
|
3510 |
|
3511 |
|
3512 |
|
3513 |
|
3514 |
|
3515 |
|
3516 |
|
3517 |
|
3518 |
|
3519 |
|
3520 <div class="meta"> |
|
3521 |
|
3522 |
|
3523 <p>Inherited from |
|
3524 <a href="../classes/BaseCore.html#method__destroyHierarchy">BaseCore</a>: |
|
3525 |
|
3526 |
|
3527 |
|
3528 <a href="../files/base_js_BaseCore.js.html#l721"><code>base/js/BaseCore.js:721</code></a> |
|
3529 |
|
3530 </p> |
|
3531 |
|
3532 |
|
3533 |
|
3534 |
|
3535 |
|
3536 </div> |
|
3537 |
|
3538 <div class="description"> |
|
3539 <p>Destroys the class hierarchy for this instance by invoking |
|
3540 the destructor method on the prototype of each class in the hierarchy.</p> |
|
3541 </div> |
|
3542 |
|
3543 |
|
3544 |
|
3545 |
|
3546 |
|
3547 |
|
3548 </div> |
|
3549 |
|
3550 |
|
3551 <div id="method__filterAdHocAttrs" class="method item private inherited"> |
|
3552 <h3 class="name"><code>_filterAdHocAttrs</code></h3> |
|
3553 |
|
3554 |
|
3555 <div class="args"> |
|
3556 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3557 |
|
3558 <li class="arg"> |
|
3559 |
|
3560 <code>allAttrs</code> |
|
3561 |
|
3562 </li> |
|
3563 |
|
3564 <li class="arg"> |
|
3565 |
|
3566 <code>userVals</code> |
|
3567 |
|
3568 </li> |
|
3569 |
|
3570 </ul><span class="paren">)</span> |
|
3571 </div> |
|
3572 |
|
3573 |
|
3574 |
|
3575 <span class="returns-inline"> |
|
3576 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3577 </span> |
|
3578 |
|
3579 |
|
3580 |
|
3581 |
|
3582 |
|
3583 <span class="flag private">private</span> |
|
3584 |
|
3585 |
|
3586 |
|
3587 |
|
3588 |
|
3589 |
|
3590 |
|
3591 |
|
3592 |
|
3593 |
|
3594 <div class="meta"> |
|
3595 |
|
3596 |
|
3597 <p>Inherited from |
|
3598 <a href="../classes/BaseCore.html#method__filterAdHocAttrs">BaseCore</a>: |
|
3599 |
|
3600 |
|
3601 |
|
3602 <a href="../files/base_js_BaseCore.js.html#l427"><code>base/js/BaseCore.js:427</code></a> |
|
3603 |
|
3604 </p> |
|
3605 |
|
3606 |
|
3607 |
|
3608 |
|
3609 |
|
3610 </div> |
|
3611 |
|
3612 <div class="description"> |
|
3613 |
|
3614 </div> |
|
3615 |
|
3616 |
|
3617 <div class="params"> |
|
3618 <h4>Parameters:</h4> |
|
3619 |
|
3620 <ul class="params-list"> |
|
3621 |
|
3622 <li class="param"> |
|
3623 |
|
3624 <code class="param-name">allAttrs</code> |
|
3625 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3626 |
|
3627 |
|
3628 |
|
3629 |
|
3630 <div class="param-description"> |
|
3631 <p>The set of all attribute configurations for this instance. |
|
3632 Attributes will be removed from this set, if they belong to the filtered class, so |
|
3633 that by the time all classes are processed, allCfgs will be empty.</p> |
|
3634 </div> |
|
3635 |
|
3636 |
|
3637 </li> |
|
3638 |
|
3639 <li class="param"> |
|
3640 |
|
3641 <code class="param-name">userVals</code> |
|
3642 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3643 |
|
3644 |
|
3645 |
|
3646 |
|
3647 <div class="param-description"> |
|
3648 <p>The config object passed in by the user, from which adhoc attrs are to be filtered.</p> |
|
3649 </div> |
|
3650 |
|
3651 |
|
3652 </li> |
|
3653 |
|
3654 </ul> |
|
3655 </div> |
|
3656 |
|
3657 |
|
3658 |
|
3659 <div class="returns"> |
|
3660 <h4>Returns:</h4> |
|
3661 |
|
3662 <div class="returns-description"> |
|
3663 |
|
3664 |
|
3665 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
3666 |
|
3667 The set of adhoc attributes passed in, in the form |
|
3668 of an object with attribute name/configuration pairs. |
|
3669 |
|
3670 </div> |
|
3671 </div> |
|
3672 |
|
3673 |
|
3674 |
|
3675 </div> |
|
3676 |
|
3677 |
|
3678 <div id="method__filterAttrCfgs" class="method item private inherited"> |
|
3679 <h3 class="name"><code>_filterAttrCfgs</code></h3> |
|
3680 |
|
3681 |
|
3682 <div class="args"> |
|
3683 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3684 |
|
3685 <li class="arg"> |
|
3686 |
|
3687 <code>clazz</code> |
|
3688 |
|
3689 </li> |
|
3690 |
|
3691 <li class="arg"> |
|
3692 |
|
3693 <code>allCfgs</code> |
|
3694 |
|
3695 </li> |
|
3696 |
|
3697 </ul><span class="paren">)</span> |
|
3698 </div> |
|
3699 |
|
3700 |
|
3701 |
|
3702 <span class="returns-inline"> |
|
3703 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3704 </span> |
|
3705 |
|
3706 |
|
3707 |
|
3708 |
|
3709 |
|
3710 <span class="flag private">private</span> |
|
3711 |
|
3712 |
|
3713 |
|
3714 |
|
3715 |
|
3716 |
|
3717 |
|
3718 |
|
3719 |
|
3720 |
|
3721 <div class="meta"> |
|
3722 |
|
3723 |
|
3724 <p>Inherited from |
|
3725 <a href="../classes/BaseCore.html#method__filterAttrCfgs">BaseCore</a>: |
|
3726 |
|
3727 |
|
3728 |
|
3729 <a href="../files/base_js_BaseCore.js.html#l356"><code>base/js/BaseCore.js:356</code></a> |
|
3730 |
|
3731 </p> |
|
3732 |
|
3733 |
|
3734 |
|
3735 |
|
3736 |
|
3737 </div> |
|
3738 |
|
3739 <div class="description"> |
|
3740 <p>A helper method used when processing ATTRS across the class hierarchy during |
|
3741 initialization. Returns a disposable object with the attributes defined for |
|
3742 the provided class, extracted from the set of all attributes passed in.</p> |
|
3743 </div> |
|
3744 |
|
3745 |
|
3746 <div class="params"> |
|
3747 <h4>Parameters:</h4> |
|
3748 |
|
3749 <ul class="params-list"> |
|
3750 |
|
3751 <li class="param"> |
|
3752 |
|
3753 <code class="param-name">clazz</code> |
|
3754 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
3755 |
|
3756 |
|
3757 |
|
3758 |
|
3759 <div class="param-description"> |
|
3760 <p>The class for which the desired attributes are required.</p> |
|
3761 </div> |
|
3762 |
|
3763 |
|
3764 </li> |
|
3765 |
|
3766 <li class="param"> |
|
3767 |
|
3768 <code class="param-name">allCfgs</code> |
|
3769 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3770 |
|
3771 |
|
3772 |
|
3773 |
|
3774 <div class="param-description"> |
|
3775 <p>The set of all attribute configurations for this instance. |
|
3776 Attributes will be removed from this set, if they belong to the filtered class, so |
|
3777 that by the time all classes are processed, allCfgs will be empty.</p> |
|
3778 </div> |
|
3779 |
|
3780 |
|
3781 </li> |
|
3782 |
|
3783 </ul> |
|
3784 </div> |
|
3785 |
|
3786 |
|
3787 |
|
3788 <div class="returns"> |
|
3789 <h4>Returns:</h4> |
|
3790 |
|
3791 <div class="returns-description"> |
|
3792 |
|
3793 |
|
3794 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
3795 |
|
3796 The set of attributes belonging to the class passed in, in the form |
|
3797 of an object with attribute name/configuration pairs. |
|
3798 |
|
3799 </div> |
|
3800 </div> |
|
3801 |
|
3802 |
|
3803 |
|
3804 </div> |
|
3805 |
|
3806 |
|
3807 <div id="method__fireAttrChange" class="method item private inherited"> |
|
3808 <h3 class="name"><code>_fireAttrChange</code></h3> |
|
3809 |
|
3810 |
|
3811 <div class="args"> |
|
3812 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3813 |
|
3814 <li class="arg"> |
|
3815 |
|
3816 <code>attrName</code> |
|
3817 |
|
3818 </li> |
|
3819 |
|
3820 <li class="arg"> |
|
3821 |
|
3822 <code>subAttrName</code> |
|
3823 |
|
3824 </li> |
|
3825 |
|
3826 <li class="arg"> |
|
3827 |
|
3828 <code>currVal</code> |
|
3829 |
|
3830 </li> |
|
3831 |
|
3832 <li class="arg"> |
|
3833 |
|
3834 <code>newVal</code> |
|
3835 |
|
3836 </li> |
|
3837 |
|
3838 <li class="arg"> |
|
3839 |
|
3840 <code>opts</code> |
|
3841 |
|
3842 </li> |
|
3843 |
|
3844 <li class="arg"> |
|
3845 |
|
3846 <code class="optional">[cfg]</code> |
|
3847 |
|
3848 </li> |
|
3849 |
|
3850 </ul><span class="paren">)</span> |
|
3851 </div> |
|
3852 |
|
3853 |
|
3854 |
|
3855 |
|
3856 |
|
3857 |
|
3858 |
|
3859 <span class="flag private">private</span> |
|
3860 |
|
3861 |
|
3862 |
|
3863 |
|
3864 |
|
3865 |
|
3866 |
|
3867 |
|
3868 |
|
3869 |
|
3870 <div class="meta"> |
|
3871 |
|
3872 |
|
3873 <p>Inherited from |
|
3874 <a href="../classes/AttributeObservable.html#method__fireAttrChange">AttributeObservable</a>: |
|
3875 |
|
3876 |
|
3877 |
|
3878 <a href="../files/attribute_js_AttributeObservable.js.html#l120"><code>attribute/js/AttributeObservable.js:120</code></a> |
|
3879 |
|
3880 </p> |
|
3881 |
|
3882 |
|
3883 |
|
3884 |
|
3885 |
|
3886 </div> |
|
3887 |
|
3888 <div class="description"> |
|
3889 <p>Utility method to help setup the event payload and fire the attribute change event.</p> |
|
3890 </div> |
|
3891 |
|
3892 |
|
3893 <div class="params"> |
|
3894 <h4>Parameters:</h4> |
|
3895 |
|
3896 <ul class="params-list"> |
|
3897 |
|
3898 <li class="param"> |
|
3899 |
|
3900 <code class="param-name">attrName</code> |
|
3901 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
3902 |
|
3903 |
|
3904 |
|
3905 |
|
3906 <div class="param-description"> |
|
3907 <p>The name of the attribute</p> |
|
3908 </div> |
|
3909 |
|
3910 |
|
3911 </li> |
|
3912 |
|
3913 <li class="param"> |
|
3914 |
|
3915 <code class="param-name">subAttrName</code> |
|
3916 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
3917 |
|
3918 |
|
3919 |
|
3920 |
|
3921 <div class="param-description"> |
|
3922 <p>The full path of the property being changed, |
|
3923 if this is a sub-attribute value being change. Otherwise null.</p> |
|
3924 </div> |
|
3925 |
|
3926 |
|
3927 </li> |
|
3928 |
|
3929 <li class="param"> |
|
3930 |
|
3931 <code class="param-name">currVal</code> |
|
3932 <span class="type">Any</span> |
|
3933 |
|
3934 |
|
3935 |
|
3936 |
|
3937 <div class="param-description"> |
|
3938 <p>The current value of the attribute</p> |
|
3939 </div> |
|
3940 |
|
3941 |
|
3942 </li> |
|
3943 |
|
3944 <li class="param"> |
|
3945 |
|
3946 <code class="param-name">newVal</code> |
|
3947 <span class="type">Any</span> |
|
3948 |
|
3949 |
|
3950 |
|
3951 |
|
3952 <div class="param-description"> |
|
3953 <p>The new value of the attribute</p> |
|
3954 </div> |
|
3955 |
|
3956 |
|
3957 </li> |
|
3958 |
|
3959 <li class="param"> |
|
3960 |
|
3961 <code class="param-name">opts</code> |
|
3962 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3963 |
|
3964 |
|
3965 |
|
3966 |
|
3967 <div class="param-description"> |
|
3968 <p>Any additional event data to mix into the attribute change event's event facade.</p> |
|
3969 </div> |
|
3970 |
|
3971 |
|
3972 </li> |
|
3973 |
|
3974 <li class="param"> |
|
3975 |
|
3976 <code class="param-name optional">[cfg]</code> |
|
3977 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3978 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
3979 |
|
3980 |
|
3981 |
|
3982 |
|
3983 <div class="param-description"> |
|
3984 <p>The attribute config stored in State, if already available.</p> |
|
3985 </div> |
|
3986 |
|
3987 |
|
3988 </li> |
|
3989 |
|
3990 </ul> |
|
3991 </div> |
|
3992 |
|
3993 |
|
3994 |
|
3995 |
|
3996 |
|
3997 </div> |
|
3998 |
|
3999 |
|
4000 <div id="method__getAttr" class="method item protected inherited"> |
|
4001 <h3 class="name"><code>_getAttr</code></h3> |
|
4002 |
|
4003 |
|
4004 <div class="args"> |
|
4005 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4006 |
|
4007 <li class="arg"> |
|
4008 |
|
4009 <code>name</code> |
|
4010 |
|
4011 </li> |
|
4012 |
|
4013 </ul><span class="paren">)</span> |
|
4014 </div> |
|
4015 |
|
4016 |
|
4017 |
|
4018 <span class="returns-inline"> |
|
4019 <span class="type">Any</span> |
|
4020 </span> |
|
4021 |
|
4022 |
|
4023 |
|
4024 |
|
4025 |
|
4026 <span class="flag protected">protected</span> |
|
4027 |
|
4028 |
|
4029 |
|
4030 |
|
4031 |
|
4032 |
|
4033 |
|
4034 <span class="flag chainable">chainable</span> |
|
4035 |
|
4036 |
|
4037 |
|
4038 |
|
4039 <div class="meta"> |
|
4040 |
|
4041 |
|
4042 <p>Inherited from |
|
4043 <a href="../classes/AttributeCore.html#method__getAttr">AttributeCore</a>: |
|
4044 |
|
4045 |
|
4046 |
|
4047 <a href="../files/attribute_js_AttributeCore.js.html#l543"><code>attribute/js/AttributeCore.js:543</code></a> |
|
4048 |
|
4049 </p> |
|
4050 |
|
4051 |
|
4052 |
|
4053 |
|
4054 |
|
4055 </div> |
|
4056 |
|
4057 <div class="description"> |
|
4058 <p>Provides the common implementation for the public get method, |
|
4059 allowing Attribute hosts to over-ride either method.</p> |
|
4060 |
|
4061 <p>See <a href="#method_get">get</a> for argument details.</p> |
|
4062 </div> |
|
4063 |
|
4064 |
|
4065 <div class="params"> |
|
4066 <h4>Parameters:</h4> |
|
4067 |
|
4068 <ul class="params-list"> |
|
4069 |
|
4070 <li class="param"> |
|
4071 |
|
4072 <code class="param-name">name</code> |
|
4073 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4074 |
|
4075 |
|
4076 |
|
4077 |
|
4078 <div class="param-description"> |
|
4079 <p>The name of the attribute.</p> |
|
4080 </div> |
|
4081 |
|
4082 |
|
4083 </li> |
|
4084 |
|
4085 </ul> |
|
4086 </div> |
|
4087 |
|
4088 |
|
4089 |
|
4090 <div class="returns"> |
|
4091 <h4>Returns:</h4> |
|
4092 |
|
4093 <div class="returns-description"> |
|
4094 |
|
4095 |
|
4096 <span class="type">Any</span>: |
|
4097 |
|
4098 The value of the attribute. |
|
4099 |
|
4100 </div> |
|
4101 </div> |
|
4102 |
|
4103 |
|
4104 |
|
4105 </div> |
|
4106 |
|
4107 |
|
4108 <div id="method__getAttrCfg" class="method item protected inherited"> |
|
4109 <h3 class="name"><code>_getAttrCfg</code></h3> |
|
4110 |
|
4111 |
|
4112 <div class="args"> |
|
4113 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4114 |
|
4115 <li class="arg"> |
|
4116 |
|
4117 <code>name</code> |
|
4118 |
|
4119 </li> |
|
4120 |
|
4121 </ul><span class="paren">)</span> |
|
4122 </div> |
|
4123 |
|
4124 |
|
4125 |
|
4126 <span class="returns-inline"> |
|
4127 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4128 </span> |
|
4129 |
|
4130 |
|
4131 |
|
4132 |
|
4133 |
|
4134 <span class="flag protected">protected</span> |
|
4135 |
|
4136 |
|
4137 |
|
4138 |
|
4139 |
|
4140 |
|
4141 |
|
4142 |
|
4143 |
|
4144 |
|
4145 <div class="meta"> |
|
4146 |
|
4147 |
|
4148 <p>Inherited from |
|
4149 <a href="../classes/AttributeExtras.html#method__getAttrCfg">AttributeExtras</a>: |
|
4150 |
|
4151 |
|
4152 |
|
4153 <a href="../files/attribute_js_AttributeExtras.js.html#l114"><code>attribute/js/AttributeExtras.js:114</code></a> |
|
4154 |
|
4155 </p> |
|
4156 |
|
4157 |
|
4158 |
|
4159 |
|
4160 |
|
4161 </div> |
|
4162 |
|
4163 <div class="description"> |
|
4164 <p>Returns an object with the configuration properties (and value) |
|
4165 for the given attribute. If attrName is not provided, returns the |
|
4166 configuration properties for all attributes.</p> |
|
4167 </div> |
|
4168 |
|
4169 |
|
4170 <div class="params"> |
|
4171 <h4>Parameters:</h4> |
|
4172 |
|
4173 <ul class="params-list"> |
|
4174 |
|
4175 <li class="param"> |
|
4176 |
|
4177 <code class="param-name">name</code> |
|
4178 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4179 |
|
4180 |
|
4181 |
|
4182 |
|
4183 <div class="param-description"> |
|
4184 <p>Optional. The attribute name. If not provided, the method will return the configuration for all attributes.</p> |
|
4185 </div> |
|
4186 |
|
4187 |
|
4188 </li> |
|
4189 |
|
4190 </ul> |
|
4191 </div> |
|
4192 |
|
4193 |
|
4194 |
|
4195 <div class="returns"> |
|
4196 <h4>Returns:</h4> |
|
4197 |
|
4198 <div class="returns-description"> |
|
4199 |
|
4200 |
|
4201 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
4202 |
|
4203 The configuration properties for the given attribute, or all attributes. |
|
4204 |
|
4205 </div> |
|
4206 </div> |
|
4207 |
|
4208 |
|
4209 |
|
4210 </div> |
|
4211 |
|
4212 |
|
4213 <div id="method__getAttrCfgs" class="method item protected inherited"> |
|
4214 <h3 class="name"><code>_getAttrCfgs</code></h3> |
|
4215 |
|
4216 |
|
4217 <span class="paren">()</span> |
|
4218 |
|
4219 |
|
4220 |
|
4221 <span class="returns-inline"> |
|
4222 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4223 </span> |
|
4224 |
|
4225 |
|
4226 |
|
4227 |
|
4228 |
|
4229 <span class="flag protected">protected</span> |
|
4230 |
|
4231 |
|
4232 |
|
4233 |
|
4234 |
|
4235 |
|
4236 |
|
4237 |
|
4238 |
|
4239 |
|
4240 <div class="meta"> |
|
4241 |
|
4242 |
|
4243 <p>Inherited from |
|
4244 <a href="../classes/BaseCore.html#method__getAttrCfgs">BaseCore</a>: |
|
4245 |
|
4246 |
|
4247 |
|
4248 <a href="../files/base_js_BaseCore.js.html#l339"><code>base/js/BaseCore.js:339</code></a> |
|
4249 |
|
4250 </p> |
|
4251 |
|
4252 |
|
4253 |
|
4254 |
|
4255 |
|
4256 </div> |
|
4257 |
|
4258 <div class="description"> |
|
4259 <p>Returns an aggregated set of attribute configurations, by traversing |
|
4260 the class hierarchy.</p> |
|
4261 </div> |
|
4262 |
|
4263 |
|
4264 |
|
4265 |
|
4266 <div class="returns"> |
|
4267 <h4>Returns:</h4> |
|
4268 |
|
4269 <div class="returns-description"> |
|
4270 |
|
4271 |
|
4272 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
4273 |
|
4274 The hash of attribute configurations, aggregated across classes in the hierarchy |
|
4275 This value is cached the first time the method, or _getClasses, is invoked. Subsequent invocations return |
|
4276 the cached value. |
|
4277 |
|
4278 </div> |
|
4279 </div> |
|
4280 |
|
4281 |
|
4282 |
|
4283 </div> |
|
4284 |
|
4285 |
|
4286 <div id="method__getAttrInitVal" class="method item private inherited"> |
|
4287 <h3 class="name"><code>_getAttrInitVal</code></h3> |
|
4288 |
|
4289 |
|
4290 <div class="args"> |
|
4291 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4292 |
|
4293 <li class="arg"> |
|
4294 |
|
4295 <code>attr</code> |
|
4296 |
|
4297 </li> |
|
4298 |
|
4299 <li class="arg"> |
|
4300 |
|
4301 <code>cfg</code> |
|
4302 |
|
4303 </li> |
|
4304 |
|
4305 <li class="arg"> |
|
4306 |
|
4307 <code>initValues</code> |
|
4308 |
|
4309 </li> |
|
4310 |
|
4311 </ul><span class="paren">)</span> |
|
4312 </div> |
|
4313 |
|
4314 |
|
4315 |
|
4316 <span class="returns-inline"> |
|
4317 <span class="type">Any</span> |
|
4318 </span> |
|
4319 |
|
4320 |
|
4321 |
|
4322 |
|
4323 |
|
4324 <span class="flag private">private</span> |
|
4325 |
|
4326 |
|
4327 |
|
4328 |
|
4329 |
|
4330 |
|
4331 |
|
4332 |
|
4333 |
|
4334 |
|
4335 <div class="meta"> |
|
4336 |
|
4337 |
|
4338 <p>Inherited from |
|
4339 <a href="../classes/AttributeCore.html#method__getAttrInitVal">AttributeCore</a>: |
|
4340 |
|
4341 |
|
4342 |
|
4343 <a href="../files/attribute_js_AttributeCore.js.html#l945"><code>attribute/js/AttributeCore.js:945</code></a> |
|
4344 |
|
4345 </p> |
|
4346 |
|
4347 |
|
4348 |
|
4349 |
|
4350 |
|
4351 </div> |
|
4352 |
|
4353 <div class="description"> |
|
4354 <p>Returns the initial value of the given attribute from |
|
4355 either the default configuration provided, or the |
|
4356 over-ridden value if it exists in the set of initValues |
|
4357 provided and the attribute is not read-only.</p> |
|
4358 </div> |
|
4359 |
|
4360 |
|
4361 <div class="params"> |
|
4362 <h4>Parameters:</h4> |
|
4363 |
|
4364 <ul class="params-list"> |
|
4365 |
|
4366 <li class="param"> |
|
4367 |
|
4368 <code class="param-name">attr</code> |
|
4369 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4370 |
|
4371 |
|
4372 |
|
4373 |
|
4374 <div class="param-description"> |
|
4375 <p>The name of the attribute</p> |
|
4376 </div> |
|
4377 |
|
4378 |
|
4379 </li> |
|
4380 |
|
4381 <li class="param"> |
|
4382 |
|
4383 <code class="param-name">cfg</code> |
|
4384 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4385 |
|
4386 |
|
4387 |
|
4388 |
|
4389 <div class="param-description"> |
|
4390 <p>The attribute configuration object</p> |
|
4391 </div> |
|
4392 |
|
4393 |
|
4394 </li> |
|
4395 |
|
4396 <li class="param"> |
|
4397 |
|
4398 <code class="param-name">initValues</code> |
|
4399 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4400 |
|
4401 |
|
4402 |
|
4403 |
|
4404 <div class="param-description"> |
|
4405 <p>The object with simple and complex attribute name/value pairs returned from _normAttrVals</p> |
|
4406 </div> |
|
4407 |
|
4408 |
|
4409 </li> |
|
4410 |
|
4411 </ul> |
|
4412 </div> |
|
4413 |
|
4414 |
|
4415 |
|
4416 <div class="returns"> |
|
4417 <h4>Returns:</h4> |
|
4418 |
|
4419 <div class="returns-description"> |
|
4420 |
|
4421 |
|
4422 <span class="type">Any</span>: |
|
4423 |
|
4424 The initial value of the attribute. |
|
4425 |
|
4426 </div> |
|
4427 </div> |
|
4428 |
|
4429 |
|
4430 |
|
4431 </div> |
|
4432 |
|
4433 |
|
4434 <div id="method__getAttrs" class="method item protected inherited"> |
|
4435 <h3 class="name"><code>_getAttrs</code></h3> |
|
4436 |
|
4437 |
|
4438 <div class="args"> |
|
4439 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4440 |
|
4441 <li class="arg"> |
|
4442 |
|
4443 <code>attrs</code> |
|
4444 |
|
4445 </li> |
|
4446 |
|
4447 </ul><span class="paren">)</span> |
|
4448 </div> |
|
4449 |
|
4450 |
|
4451 |
|
4452 <span class="returns-inline"> |
|
4453 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4454 </span> |
|
4455 |
|
4456 |
|
4457 |
|
4458 |
|
4459 |
|
4460 <span class="flag protected">protected</span> |
|
4461 |
|
4462 |
|
4463 |
|
4464 |
|
4465 |
|
4466 |
|
4467 |
|
4468 |
|
4469 |
|
4470 |
|
4471 <div class="meta"> |
|
4472 |
|
4473 |
|
4474 <p>Inherited from |
|
4475 <a href="../classes/AttributeCore.html#method__getAttrs">AttributeCore</a>: |
|
4476 |
|
4477 |
|
4478 |
|
4479 <a href="../files/attribute_js_AttributeCore.js.html#l774"><code>attribute/js/AttributeCore.js:774</code></a> |
|
4480 |
|
4481 </p> |
|
4482 |
|
4483 |
|
4484 |
|
4485 |
|
4486 |
|
4487 </div> |
|
4488 |
|
4489 <div class="description"> |
|
4490 <p>Implementation behind the public getAttrs method, to get multiple attribute values.</p> |
|
4491 </div> |
|
4492 |
|
4493 |
|
4494 <div class="params"> |
|
4495 <h4>Parameters:</h4> |
|
4496 |
|
4497 <ul class="params-list"> |
|
4498 |
|
4499 <li class="param"> |
|
4500 |
|
4501 <code class="param-name">attrs</code> |
|
4502 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span> |
|
4503 |
|
4504 |
|
4505 |
|
4506 |
|
4507 <div class="param-description"> |
|
4508 <p>Optional. An array of attribute names. If omitted, all attribute values are |
|
4509 returned. If set to true, all attributes modified from their initial values are returned.</p> |
|
4510 </div> |
|
4511 |
|
4512 |
|
4513 </li> |
|
4514 |
|
4515 </ul> |
|
4516 </div> |
|
4517 |
|
4518 |
|
4519 |
|
4520 <div class="returns"> |
|
4521 <h4>Returns:</h4> |
|
4522 |
|
4523 <div class="returns-description"> |
|
4524 |
|
4525 |
|
4526 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
4527 |
|
4528 An object with attribute name/value pairs. |
|
4529 |
|
4530 </div> |
|
4531 </div> |
|
4532 |
|
4533 |
|
4534 |
|
4535 </div> |
|
4536 |
|
4537 |
|
4538 <div id="method__getClasses" class="method item protected inherited"> |
|
4539 <h3 class="name"><code>_getClasses</code></h3> |
|
4540 |
|
4541 |
|
4542 <span class="paren">()</span> |
|
4543 |
|
4544 |
|
4545 |
|
4546 <span class="returns-inline"> |
|
4547 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span> |
|
4548 </span> |
|
4549 |
|
4550 |
|
4551 |
|
4552 |
|
4553 |
|
4554 <span class="flag protected">protected</span> |
|
4555 |
|
4556 |
|
4557 |
|
4558 |
|
4559 |
|
4560 |
|
4561 |
|
4562 |
|
4563 |
|
4564 |
|
4565 <div class="meta"> |
|
4566 |
|
4567 |
|
4568 <p>Inherited from |
|
4569 <a href="../classes/BaseCore.html#method__getClasses">BaseCore</a>: |
|
4570 |
|
4571 |
|
4572 |
|
4573 <a href="../files/base_js_BaseCore.js.html#l323"><code>base/js/BaseCore.js:323</code></a> |
|
4574 |
|
4575 </p> |
|
4576 |
|
4577 |
|
4578 |
|
4579 |
|
4580 |
|
4581 </div> |
|
4582 |
|
4583 <div class="description"> |
|
4584 <p>Returns the class hierarchy for this object, with BaseCore being the last class in the array.</p> |
|
4585 </div> |
|
4586 |
|
4587 |
|
4588 |
|
4589 |
|
4590 <div class="returns"> |
|
4591 <h4>Returns:</h4> |
|
4592 |
|
4593 <div class="returns-description"> |
|
4594 |
|
4595 |
|
4596 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>: |
|
4597 |
|
4598 An array of classes (constructor functions), making up the class hierarchy for this object. |
|
4599 This value is cached the first time the method, or _getAttrCfgs, is invoked. Subsequent invocations return the |
|
4600 cached value. |
|
4601 |
|
4602 </div> |
|
4603 </div> |
|
4604 |
|
4605 |
|
4606 |
|
4607 </div> |
|
4608 |
|
4609 |
|
4610 <div id="method__getFullType" class="method item private inherited"> |
|
4611 <h3 class="name"><code>_getFullType</code></h3> |
|
4612 |
|
4613 |
|
4614 <div class="args"> |
|
4615 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4616 |
|
4617 <li class="arg"> |
|
4618 |
|
4619 <code>type</code> |
|
4620 |
|
4621 </li> |
|
4622 |
|
4623 </ul><span class="paren">)</span> |
|
4624 </div> |
|
4625 |
|
4626 |
|
4627 |
|
4628 <span class="returns-inline"> |
|
4629 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4630 </span> |
|
4631 |
|
4632 |
|
4633 |
|
4634 |
|
4635 |
|
4636 <span class="flag private">private</span> |
|
4637 |
|
4638 |
|
4639 |
|
4640 |
|
4641 |
|
4642 |
|
4643 |
|
4644 |
|
4645 |
|
4646 |
|
4647 <div class="meta"> |
|
4648 |
|
4649 |
|
4650 <p>Inherited from |
|
4651 <a href="../classes/EventTarget.html#method__getFullType">EventTarget</a>: |
|
4652 |
|
4653 |
|
4654 |
|
4655 <a href="../files/event-custom_js_event-target.js.html#l586"><code>event-custom/js/event-target.js:586</code></a> |
|
4656 |
|
4657 </p> |
|
4658 |
|
4659 |
|
4660 |
|
4661 |
|
4662 |
|
4663 </div> |
|
4664 |
|
4665 <div class="description"> |
|
4666 <p>Returns the fully qualified type, given a short type string. |
|
4667 That is, returns "foo:bar" when given "bar" if "foo" is the configured prefix.</p> |
|
4668 |
|
4669 <p>NOTE: This method, unlike _getType, does no checking of the value passed in, and |
|
4670 is designed to be used with the low level _publish() method, for critical path |
|
4671 implementations which need to fast-track publish for performance reasons.</p> |
|
4672 </div> |
|
4673 |
|
4674 |
|
4675 <div class="params"> |
|
4676 <h4>Parameters:</h4> |
|
4677 |
|
4678 <ul class="params-list"> |
|
4679 |
|
4680 <li class="param"> |
|
4681 |
|
4682 <code class="param-name">type</code> |
|
4683 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4684 |
|
4685 |
|
4686 |
|
4687 |
|
4688 <div class="param-description"> |
|
4689 <p>The short type to prefix</p> |
|
4690 </div> |
|
4691 |
|
4692 |
|
4693 </li> |
|
4694 |
|
4695 </ul> |
|
4696 </div> |
|
4697 |
|
4698 |
|
4699 |
|
4700 <div class="returns"> |
|
4701 <h4>Returns:</h4> |
|
4702 |
|
4703 <div class="returns-description"> |
|
4704 |
|
4705 |
|
4706 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
4707 |
|
4708 The prefixed type, if a prefix is set, otherwise the type passed in |
|
4709 |
|
4710 </div> |
|
4711 </div> |
|
4712 |
|
4713 |
|
4714 |
|
4715 </div> |
|
4716 |
|
4717 |
|
4718 <div id="method__getStateVal" class="method item private inherited"> |
|
4719 <h3 class="name"><code>_getStateVal</code></h3> |
|
4720 |
|
4721 |
|
4722 <div class="args"> |
|
4723 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4724 |
|
4725 <li class="arg"> |
|
4726 |
|
4727 <code>name</code> |
|
4728 |
|
4729 </li> |
|
4730 |
|
4731 <li class="arg"> |
|
4732 |
|
4733 <code class="optional">[cfg]</code> |
|
4734 |
|
4735 </li> |
|
4736 |
|
4737 </ul><span class="paren">)</span> |
|
4738 </div> |
|
4739 |
|
4740 |
|
4741 |
|
4742 <span class="returns-inline"> |
|
4743 <span class="type">Any</span> |
|
4744 </span> |
|
4745 |
|
4746 |
|
4747 |
|
4748 |
|
4749 |
|
4750 <span class="flag private">private</span> |
|
4751 |
|
4752 |
|
4753 |
|
4754 |
|
4755 |
|
4756 |
|
4757 |
|
4758 |
|
4759 |
|
4760 |
|
4761 <div class="meta"> |
|
4762 |
|
4763 |
|
4764 <p>Inherited from |
|
4765 <a href="../classes/AttributeCore.html#method__getStateVal">AttributeCore</a>: |
|
4766 |
|
4767 |
|
4768 |
|
4769 <a href="../files/attribute_js_AttributeCore.js.html#l600"><code>attribute/js/AttributeCore.js:600</code></a> |
|
4770 |
|
4771 </p> |
|
4772 |
|
4773 |
|
4774 |
|
4775 |
|
4776 |
|
4777 </div> |
|
4778 |
|
4779 <div class="description"> |
|
4780 <p>Gets the stored value for the attribute, from either the |
|
4781 internal state object, or the state proxy if it exits</p> |
|
4782 </div> |
|
4783 |
|
4784 |
|
4785 <div class="params"> |
|
4786 <h4>Parameters:</h4> |
|
4787 |
|
4788 <ul class="params-list"> |
|
4789 |
|
4790 <li class="param"> |
|
4791 |
|
4792 <code class="param-name">name</code> |
|
4793 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4794 |
|
4795 |
|
4796 |
|
4797 |
|
4798 <div class="param-description"> |
|
4799 <p>The name of the attribute</p> |
|
4800 </div> |
|
4801 |
|
4802 |
|
4803 </li> |
|
4804 |
|
4805 <li class="param"> |
|
4806 |
|
4807 <code class="param-name optional">[cfg]</code> |
|
4808 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4809 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
4810 |
|
4811 |
|
4812 |
|
4813 |
|
4814 <div class="param-description"> |
|
4815 <p>Optional config hash for the attribute. This is added for performance along the critical path, |
|
4816 where the calling method has already obtained the config from state.</p> |
|
4817 </div> |
|
4818 |
|
4819 |
|
4820 </li> |
|
4821 |
|
4822 </ul> |
|
4823 </div> |
|
4824 |
|
4825 |
|
4826 |
|
4827 <div class="returns"> |
|
4828 <h4>Returns:</h4> |
|
4829 |
|
4830 <div class="returns-description"> |
|
4831 |
|
4832 |
|
4833 <span class="type">Any</span>: |
|
4834 |
|
4835 The stored value of the attribute |
|
4836 |
|
4837 </div> |
|
4838 </div> |
|
4839 |
|
4840 |
|
4841 |
|
4842 </div> |
|
4843 |
|
4844 |
|
4845 <div id="method__getType" class="method item private inherited"> |
|
4846 <h3 class="name"><code>_getType</code></h3> |
|
4847 |
|
4848 |
|
4849 <span class="paren">()</span> |
|
4850 |
|
4851 |
|
4852 |
|
4853 |
|
4854 |
|
4855 |
|
4856 |
|
4857 <span class="flag private">private</span> |
|
4858 |
|
4859 |
|
4860 |
|
4861 |
|
4862 |
|
4863 |
|
4864 |
|
4865 |
|
4866 |
|
4867 |
|
4868 <div class="meta"> |
|
4869 |
|
4870 |
|
4871 <p>Inherited from |
|
4872 <a href="../classes/EventTarget.html#method__getType">EventTarget</a>: |
|
4873 |
|
4874 |
|
4875 |
|
4876 <a href="../files/event-custom_js_event-target.js.html#l36"><code>event-custom/js/event-target.js:36</code></a> |
|
4877 |
|
4878 </p> |
|
4879 |
|
4880 |
|
4881 |
|
4882 |
|
4883 |
|
4884 </div> |
|
4885 |
|
4886 <div class="description"> |
|
4887 <p>If the instance has a prefix attribute and the |
|
4888 event type is not prefixed, the instance prefix is |
|
4889 applied to the supplied type.</p> |
|
4890 </div> |
|
4891 |
|
4892 |
|
4893 |
|
4894 |
|
4895 |
|
4896 |
|
4897 </div> |
|
4898 |
|
4899 |
|
4900 <div id="method__initAttrHost" class="method item private inherited"> |
|
4901 <h3 class="name"><code>_initAttrHost</code></h3> |
|
4902 |
|
4903 |
|
4904 <div class="args"> |
|
4905 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4906 |
|
4907 <li class="arg"> |
|
4908 |
|
4909 <code>attrs</code> |
|
4910 |
|
4911 </li> |
|
4912 |
|
4913 <li class="arg"> |
|
4914 |
|
4915 <code>values</code> |
|
4916 |
|
4917 </li> |
|
4918 |
|
4919 <li class="arg"> |
|
4920 |
|
4921 <code>lazy</code> |
|
4922 |
|
4923 </li> |
|
4924 |
|
4925 </ul><span class="paren">)</span> |
|
4926 </div> |
|
4927 |
|
4928 |
|
4929 |
|
4930 |
|
4931 |
|
4932 |
|
4933 |
|
4934 <span class="flag private">private</span> |
|
4935 |
|
4936 |
|
4937 |
|
4938 |
|
4939 |
|
4940 |
|
4941 |
|
4942 |
|
4943 |
|
4944 |
|
4945 <div class="meta"> |
|
4946 |
|
4947 |
|
4948 <p>Inherited from |
|
4949 <a href="../classes/AttributeCore.html#method__initAttrHost">AttributeCore</a>: |
|
4950 |
|
4951 |
|
4952 |
|
4953 <a href="../files/attribute_js_AttributeCore.js.html#l140"><code>attribute/js/AttributeCore.js:140</code></a> |
|
4954 |
|
4955 </p> |
|
4956 |
|
4957 |
|
4958 |
|
4959 |
|
4960 |
|
4961 </div> |
|
4962 |
|
4963 <div class="description"> |
|
4964 <p>Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the |
|
4965 constructor.</p> |
|
4966 </div> |
|
4967 |
|
4968 |
|
4969 <div class="params"> |
|
4970 <h4>Parameters:</h4> |
|
4971 |
|
4972 <ul class="params-list"> |
|
4973 |
|
4974 <li class="param"> |
|
4975 |
|
4976 <code class="param-name">attrs</code> |
|
4977 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4978 |
|
4979 |
|
4980 |
|
4981 |
|
4982 <div class="param-description"> |
|
4983 <p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
4984 These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p> |
|
4985 </div> |
|
4986 |
|
4987 |
|
4988 </li> |
|
4989 |
|
4990 <li class="param"> |
|
4991 |
|
4992 <code class="param-name">values</code> |
|
4993 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4994 |
|
4995 |
|
4996 |
|
4997 |
|
4998 <div class="param-description"> |
|
4999 <p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
5000 These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p> |
|
5001 </div> |
|
5002 |
|
5003 |
|
5004 </li> |
|
5005 |
|
5006 <li class="param"> |
|
5007 |
|
5008 <code class="param-name">lazy</code> |
|
5009 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
5010 |
|
5011 |
|
5012 |
|
5013 |
|
5014 <div class="param-description"> |
|
5015 <p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p> |
|
5016 </div> |
|
5017 |
|
5018 |
|
5019 </li> |
|
5020 |
|
5021 </ul> |
|
5022 </div> |
|
5023 |
|
5024 |
|
5025 |
|
5026 |
|
5027 |
|
5028 </div> |
|
5029 |
|
5030 |
|
5031 <div id="method__initAttribute" class="method item private inherited"> |
|
5032 <h3 class="name"><code>_initAttribute</code></h3> |
|
5033 |
|
5034 |
|
5035 <span class="paren">()</span> |
|
5036 |
|
5037 |
|
5038 |
|
5039 |
|
5040 |
|
5041 |
|
5042 |
|
5043 <span class="flag private">private</span> |
|
5044 |
|
5045 |
|
5046 |
|
5047 |
|
5048 |
|
5049 |
|
5050 |
|
5051 |
|
5052 |
|
5053 |
|
5054 <div class="meta"> |
|
5055 |
|
5056 <p>Inherited from |
|
5057 <a href="../classes/BaseObservable.html#method__initAttribute"> |
|
5058 BaseObservable |
|
5059 </a> |
|
5060 |
|
5061 but overwritten in |
|
5062 |
|
5063 |
|
5064 |
|
5065 <a href="../files/base_js_BaseCore.js.html#l254"><code>base/js/BaseCore.js:254</code></a> |
|
5066 |
|
5067 </p> |
|
5068 |
|
5069 |
|
5070 |
|
5071 |
|
5072 |
|
5073 </div> |
|
5074 |
|
5075 <div class="description"> |
|
5076 <p>Initializes AttributeCore</p> |
|
5077 </div> |
|
5078 |
|
5079 |
|
5080 |
|
5081 |
|
5082 |
|
5083 |
|
5084 </div> |
|
5085 |
|
5086 |
|
5087 <div id="method__initAttrs" class="method item protected inherited"> |
|
5088 <h3 class="name"><code>_initAttrs</code></h3> |
|
5089 |
|
5090 |
|
5091 <div class="args"> |
|
5092 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5093 |
|
5094 <li class="arg"> |
|
5095 |
|
5096 <code>attrs</code> |
|
5097 |
|
5098 </li> |
|
5099 |
|
5100 <li class="arg"> |
|
5101 |
|
5102 <code>values</code> |
|
5103 |
|
5104 </li> |
|
5105 |
|
5106 <li class="arg"> |
|
5107 |
|
5108 <code>lazy</code> |
|
5109 |
|
5110 </li> |
|
5111 |
|
5112 </ul><span class="paren">)</span> |
|
5113 </div> |
|
5114 |
|
5115 |
|
5116 |
|
5117 |
|
5118 |
|
5119 |
|
5120 |
|
5121 <span class="flag protected">protected</span> |
|
5122 |
|
5123 |
|
5124 |
|
5125 |
|
5126 |
|
5127 |
|
5128 |
|
5129 |
|
5130 |
|
5131 |
|
5132 <div class="meta"> |
|
5133 |
|
5134 |
|
5135 <p>Inherited from |
|
5136 <a href="../classes/AttributeCore.html#method__initAttrs">AttributeCore</a>: |
|
5137 |
|
5138 |
|
5139 |
|
5140 <a href="../files/attribute_js_AttributeCore.js.html#l1011"><code>attribute/js/AttributeCore.js:1011</code></a> |
|
5141 |
|
5142 </p> |
|
5143 |
|
5144 |
|
5145 |
|
5146 |
|
5147 |
|
5148 </div> |
|
5149 |
|
5150 <div class="description"> |
|
5151 <p>Utility method to set up initial attributes defined during construction, |
|
5152 either through the constructor.ATTRS property, or explicitly passed in.</p> |
|
5153 </div> |
|
5154 |
|
5155 |
|
5156 <div class="params"> |
|
5157 <h4>Parameters:</h4> |
|
5158 |
|
5159 <ul class="params-list"> |
|
5160 |
|
5161 <li class="param"> |
|
5162 |
|
5163 <code class="param-name">attrs</code> |
|
5164 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5165 |
|
5166 |
|
5167 |
|
5168 |
|
5169 <div class="param-description"> |
|
5170 <p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
5171 These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p> |
|
5172 </div> |
|
5173 |
|
5174 |
|
5175 </li> |
|
5176 |
|
5177 <li class="param"> |
|
5178 |
|
5179 <code class="param-name">values</code> |
|
5180 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5181 |
|
5182 |
|
5183 |
|
5184 |
|
5185 <div class="param-description"> |
|
5186 <p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
5187 These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p> |
|
5188 </div> |
|
5189 |
|
5190 |
|
5191 </li> |
|
5192 |
|
5193 <li class="param"> |
|
5194 |
|
5195 <code class="param-name">lazy</code> |
|
5196 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
5197 |
|
5198 |
|
5199 |
|
5200 |
|
5201 <div class="param-description"> |
|
5202 <p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p> |
|
5203 </div> |
|
5204 |
|
5205 |
|
5206 </li> |
|
5207 |
|
5208 </ul> |
|
5209 </div> |
|
5210 |
|
5211 |
|
5212 |
|
5213 |
|
5214 |
|
5215 </div> |
|
5216 |
|
5217 |
|
5218 <div id="method__initBase" class="method item private inherited"> |
|
5219 <h3 class="name"><code>_initBase</code></h3> |
|
5220 |
|
5221 |
|
5222 <div class="args"> |
|
5223 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5224 |
|
5225 <li class="arg"> |
|
5226 |
|
5227 <code>config</code> |
|
5228 |
|
5229 </li> |
|
5230 |
|
5231 </ul><span class="paren">)</span> |
|
5232 </div> |
|
5233 |
|
5234 |
|
5235 |
|
5236 |
|
5237 |
|
5238 |
|
5239 |
|
5240 <span class="flag private">private</span> |
|
5241 |
|
5242 |
|
5243 |
|
5244 |
|
5245 |
|
5246 |
|
5247 |
|
5248 |
|
5249 |
|
5250 |
|
5251 <div class="meta"> |
|
5252 |
|
5253 |
|
5254 <p>Inherited from |
|
5255 <a href="../classes/BaseCore.html#method__initBase">BaseCore</a>: |
|
5256 |
|
5257 |
|
5258 |
|
5259 <a href="../files/base_js_BaseCore.js.html#l219"><code>base/js/BaseCore.js:219</code></a> |
|
5260 |
|
5261 </p> |
|
5262 |
|
5263 |
|
5264 |
|
5265 |
|
5266 |
|
5267 </div> |
|
5268 |
|
5269 <div class="description"> |
|
5270 <p>Internal construction logic for BaseCore.</p> |
|
5271 </div> |
|
5272 |
|
5273 |
|
5274 <div class="params"> |
|
5275 <h4>Parameters:</h4> |
|
5276 |
|
5277 <ul class="params-list"> |
|
5278 |
|
5279 <li class="param"> |
|
5280 |
|
5281 <code class="param-name">config</code> |
|
5282 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5283 |
|
5284 |
|
5285 |
|
5286 |
|
5287 <div class="param-description"> |
|
5288 <p>The constructor configuration object</p> |
|
5289 </div> |
|
5290 |
|
5291 |
|
5292 </li> |
|
5293 |
|
5294 </ul> |
|
5295 </div> |
|
5296 |
|
5297 |
|
5298 |
|
5299 |
|
5300 |
|
5301 </div> |
|
5302 |
|
5303 |
|
5304 <div id="method__initEvents" class="method item private inherited"> |
|
5305 <h3 class="name"><code>_initEvents</code></h3> |
|
5306 |
|
5307 |
|
5308 <span class="paren">()</span> |
|
5309 |
|
5310 |
|
5311 |
|
5312 |
|
5313 |
|
5314 |
|
5315 |
|
5316 <span class="flag private">private</span> |
|
5317 |
|
5318 |
|
5319 |
|
5320 |
|
5321 |
|
5322 |
|
5323 |
|
5324 |
|
5325 |
|
5326 |
|
5327 <div class="meta"> |
|
5328 |
|
5329 |
|
5330 <p>Inherited from |
|
5331 <a href="../classes/DataSource.Local.html#method__initEvents">DataSource.Local</a>: |
|
5332 |
|
5333 |
|
5334 |
|
5335 <a href="../files/datasource_js_datasource-local.js.html#l124"><code>datasource/js/datasource-local.js:124</code></a> |
|
5336 |
|
5337 </p> |
|
5338 |
|
5339 |
|
5340 |
|
5341 |
|
5342 |
|
5343 </div> |
|
5344 |
|
5345 <div class="description"> |
|
5346 <p>This method creates all the events for this module.</p> |
|
5347 </div> |
|
5348 |
|
5349 |
|
5350 |
|
5351 |
|
5352 |
|
5353 |
|
5354 </div> |
|
5355 |
|
5356 |
|
5357 <div id="method__initHierarchy" class="method item private inherited"> |
|
5358 <h3 class="name"><code>_initHierarchy</code></h3> |
|
5359 |
|
5360 |
|
5361 <div class="args"> |
|
5362 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5363 |
|
5364 <li class="arg"> |
|
5365 |
|
5366 <code>userVals</code> |
|
5367 |
|
5368 </li> |
|
5369 |
|
5370 </ul><span class="paren">)</span> |
|
5371 </div> |
|
5372 |
|
5373 |
|
5374 |
|
5375 |
|
5376 |
|
5377 |
|
5378 |
|
5379 <span class="flag private">private</span> |
|
5380 |
|
5381 |
|
5382 |
|
5383 |
|
5384 |
|
5385 |
|
5386 |
|
5387 |
|
5388 |
|
5389 |
|
5390 <div class="meta"> |
|
5391 |
|
5392 |
|
5393 <p>Inherited from |
|
5394 <a href="../classes/BaseCore.html#method__initHierarchy">BaseCore</a>: |
|
5395 |
|
5396 |
|
5397 |
|
5398 <a href="../files/base_js_BaseCore.js.html#l659"><code>base/js/BaseCore.js:659</code></a> |
|
5399 |
|
5400 </p> |
|
5401 |
|
5402 |
|
5403 |
|
5404 |
|
5405 |
|
5406 </div> |
|
5407 |
|
5408 <div class="description"> |
|
5409 <p>Initializes the class hierarchy for the instance, which includes |
|
5410 initializing attributes for each class defined in the class's |
|
5411 static <a href="#property_BaseCore.ATTRS">ATTRS</a> property and |
|
5412 invoking the initializer method on the prototype of each class in the hierarchy.</p> |
|
5413 </div> |
|
5414 |
|
5415 |
|
5416 <div class="params"> |
|
5417 <h4>Parameters:</h4> |
|
5418 |
|
5419 <ul class="params-list"> |
|
5420 |
|
5421 <li class="param"> |
|
5422 |
|
5423 <code class="param-name">userVals</code> |
|
5424 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5425 |
|
5426 |
|
5427 |
|
5428 |
|
5429 <div class="param-description"> |
|
5430 <p>Object with configuration property name/value pairs</p> |
|
5431 </div> |
|
5432 |
|
5433 |
|
5434 </li> |
|
5435 |
|
5436 </ul> |
|
5437 </div> |
|
5438 |
|
5439 |
|
5440 |
|
5441 |
|
5442 |
|
5443 </div> |
|
5444 |
|
5445 |
|
5446 <div id="method__initHierarchyData" class="method item private inherited"> |
|
5447 <h3 class="name"><code>_initHierarchyData</code></h3> |
|
5448 |
|
5449 |
|
5450 <span class="paren">()</span> |
|
5451 |
|
5452 |
|
5453 |
|
5454 |
|
5455 |
|
5456 |
|
5457 |
|
5458 <span class="flag private">private</span> |
|
5459 |
|
5460 |
|
5461 |
|
5462 |
|
5463 |
|
5464 |
|
5465 |
|
5466 |
|
5467 |
|
5468 |
|
5469 <div class="meta"> |
|
5470 |
|
5471 |
|
5472 <p>Inherited from |
|
5473 <a href="../classes/BaseCore.html#method__initHierarchyData">BaseCore</a>: |
|
5474 |
|
5475 |
|
5476 |
|
5477 <a href="../files/base_js_BaseCore.js.html#l457"><code>base/js/BaseCore.js:457</code></a> |
|
5478 |
|
5479 </p> |
|
5480 |
|
5481 |
|
5482 |
|
5483 |
|
5484 |
|
5485 </div> |
|
5486 |
|
5487 <div class="description"> |
|
5488 <p>A helper method used by _getClasses and _getAttrCfgs, which determines both |
|
5489 the array of classes and aggregate set of attribute configurations |
|
5490 across the class hierarchy for the instance.</p> |
|
5491 </div> |
|
5492 |
|
5493 |
|
5494 |
|
5495 |
|
5496 |
|
5497 |
|
5498 </div> |
|
5499 |
|
5500 |
|
5501 <div id="method__isLazyAttr" class="method item private inherited"> |
|
5502 <h3 class="name"><code>_isLazyAttr</code></h3> |
|
5503 |
|
5504 |
|
5505 <div class="args"> |
|
5506 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5507 |
|
5508 <li class="arg"> |
|
5509 |
|
5510 <code>name</code> |
|
5511 |
|
5512 </li> |
|
5513 |
|
5514 </ul><span class="paren">)</span> |
|
5515 </div> |
|
5516 |
|
5517 |
|
5518 |
|
5519 <span class="returns-inline"> |
|
5520 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
5521 </span> |
|
5522 |
|
5523 |
|
5524 |
|
5525 |
|
5526 |
|
5527 <span class="flag private">private</span> |
|
5528 |
|
5529 |
|
5530 |
|
5531 |
|
5532 |
|
5533 |
|
5534 |
|
5535 |
|
5536 |
|
5537 |
|
5538 <div class="meta"> |
|
5539 |
|
5540 |
|
5541 <p>Inherited from |
|
5542 <a href="../classes/AttributeCore.html#method__isLazyAttr">AttributeCore</a>: |
|
5543 |
|
5544 |
|
5545 |
|
5546 <a href="../files/attribute_js_AttributeCore.js.html#l369"><code>attribute/js/AttributeCore.js:369</code></a> |
|
5547 |
|
5548 </p> |
|
5549 |
|
5550 |
|
5551 |
|
5552 |
|
5553 |
|
5554 </div> |
|
5555 |
|
5556 <div class="description"> |
|
5557 <p>Checks whether or not the attribute is one which has been |
|
5558 added lazily and still requires initialization.</p> |
|
5559 </div> |
|
5560 |
|
5561 |
|
5562 <div class="params"> |
|
5563 <h4>Parameters:</h4> |
|
5564 |
|
5565 <ul class="params-list"> |
|
5566 |
|
5567 <li class="param"> |
|
5568 |
|
5569 <code class="param-name">name</code> |
|
5570 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5571 |
|
5572 |
|
5573 |
|
5574 |
|
5575 <div class="param-description"> |
|
5576 <p>The name of the attribute</p> |
|
5577 </div> |
|
5578 |
|
5579 |
|
5580 </li> |
|
5581 |
|
5582 </ul> |
|
5583 </div> |
|
5584 |
|
5585 |
|
5586 |
|
5587 <div class="returns"> |
|
5588 <h4>Returns:</h4> |
|
5589 |
|
5590 <div class="returns-description"> |
|
5591 |
|
5592 |
|
5593 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
5594 |
|
5595 true if it's a lazily added attribute, false otherwise. |
|
5596 |
|
5597 </div> |
|
5598 </div> |
|
5599 |
|
5600 |
|
5601 |
|
5602 </div> |
|
5603 |
|
5604 |
|
5605 <div id="method__monitor" class="method item private inherited"> |
|
5606 <h3 class="name"><code>_monitor</code></h3> |
|
5607 |
|
5608 |
|
5609 <div class="args"> |
|
5610 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5611 |
|
5612 <li class="arg"> |
|
5613 |
|
5614 <code>what</code> |
|
5615 |
|
5616 </li> |
|
5617 |
|
5618 <li class="arg"> |
|
5619 |
|
5620 <code>eventType</code> |
|
5621 |
|
5622 </li> |
|
5623 |
|
5624 <li class="arg"> |
|
5625 |
|
5626 <code>o</code> |
|
5627 |
|
5628 </li> |
|
5629 |
|
5630 </ul><span class="paren">)</span> |
|
5631 </div> |
|
5632 |
|
5633 |
|
5634 |
|
5635 |
|
5636 |
|
5637 |
|
5638 |
|
5639 <span class="flag private">private</span> |
|
5640 |
|
5641 |
|
5642 |
|
5643 |
|
5644 |
|
5645 |
|
5646 |
|
5647 |
|
5648 |
|
5649 |
|
5650 <div class="meta"> |
|
5651 |
|
5652 |
|
5653 <p>Inherited from |
|
5654 <a href="../classes/EventTarget.html#method__monitor">EventTarget</a>: |
|
5655 |
|
5656 |
|
5657 |
|
5658 <a href="../files/event-custom_js_event-target.js.html#l658"><code>event-custom/js/event-target.js:658</code></a> |
|
5659 |
|
5660 </p> |
|
5661 |
|
5662 |
|
5663 |
|
5664 |
|
5665 |
|
5666 </div> |
|
5667 |
|
5668 <div class="description"> |
|
5669 <p>This is the entry point for the event monitoring system. |
|
5670 You can monitor 'attach', 'detach', 'fire', and 'publish'. |
|
5671 When configured, these events generate an event. click -> |
|
5672 click<em>attach, click</em>detach, click_publish -- these can |
|
5673 be subscribed to like other events to monitor the event |
|
5674 system. Inividual published events can have monitoring |
|
5675 turned on or off (publish can't be turned off before it |
|
5676 it published) by setting the events 'monitor' config.</p> |
|
5677 </div> |
|
5678 |
|
5679 |
|
5680 <div class="params"> |
|
5681 <h4>Parameters:</h4> |
|
5682 |
|
5683 <ul class="params-list"> |
|
5684 |
|
5685 <li class="param"> |
|
5686 |
|
5687 <code class="param-name">what</code> |
|
5688 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5689 |
|
5690 |
|
5691 |
|
5692 |
|
5693 <div class="param-description"> |
|
5694 <p>'attach', 'detach', 'fire', or 'publish'</p> |
|
5695 </div> |
|
5696 |
|
5697 |
|
5698 </li> |
|
5699 |
|
5700 <li class="param"> |
|
5701 |
|
5702 <code class="param-name">eventType</code> |
|
5703 <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> |
|
5704 |
|
5705 |
|
5706 |
|
5707 |
|
5708 <div class="param-description"> |
|
5709 <p>The prefixed name of the event being monitored, or the CustomEvent object.</p> |
|
5710 </div> |
|
5711 |
|
5712 |
|
5713 </li> |
|
5714 |
|
5715 <li class="param"> |
|
5716 |
|
5717 <code class="param-name">o</code> |
|
5718 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5719 |
|
5720 |
|
5721 |
|
5722 |
|
5723 <div class="param-description"> |
|
5724 <p>Information about the event interaction, such as |
|
5725 fire() args, subscription category, publish config</p> |
|
5726 </div> |
|
5727 |
|
5728 |
|
5729 </li> |
|
5730 |
|
5731 </ul> |
|
5732 </div> |
|
5733 |
|
5734 |
|
5735 |
|
5736 |
|
5737 |
|
5738 </div> |
|
5739 |
|
5740 |
|
5741 <div id="method__normAttrVals" class="method item private inherited"> |
|
5742 <h3 class="name"><code>_normAttrVals</code></h3> |
|
5743 |
|
5744 |
|
5745 <div class="args"> |
|
5746 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5747 |
|
5748 <li class="arg"> |
|
5749 |
|
5750 <code>valueHash</code> |
|
5751 |
|
5752 </li> |
|
5753 |
|
5754 </ul><span class="paren">)</span> |
|
5755 </div> |
|
5756 |
|
5757 |
|
5758 |
|
5759 <span class="returns-inline"> |
|
5760 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5761 </span> |
|
5762 |
|
5763 |
|
5764 |
|
5765 |
|
5766 |
|
5767 <span class="flag private">private</span> |
|
5768 |
|
5769 |
|
5770 |
|
5771 |
|
5772 |
|
5773 |
|
5774 |
|
5775 |
|
5776 |
|
5777 |
|
5778 <div class="meta"> |
|
5779 |
|
5780 |
|
5781 <p>Inherited from |
|
5782 <a href="../classes/AttributeCore.html#method__normAttrVals">AttributeCore</a>: |
|
5783 |
|
5784 |
|
5785 |
|
5786 <a href="../files/attribute_js_AttributeCore.js.html#l897"><code>attribute/js/AttributeCore.js:897</code></a> |
|
5787 |
|
5788 </p> |
|
5789 |
|
5790 |
|
5791 |
|
5792 |
|
5793 |
|
5794 </div> |
|
5795 |
|
5796 <div class="description"> |
|
5797 <p>Utility method to normalize attribute values. The base implementation |
|
5798 simply merges the hash to protect the original.</p> |
|
5799 </div> |
|
5800 |
|
5801 |
|
5802 <div class="params"> |
|
5803 <h4>Parameters:</h4> |
|
5804 |
|
5805 <ul class="params-list"> |
|
5806 |
|
5807 <li class="param"> |
|
5808 |
|
5809 <code class="param-name">valueHash</code> |
|
5810 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5811 |
|
5812 |
|
5813 |
|
5814 |
|
5815 <div class="param-description"> |
|
5816 <p>An object with attribute name/value pairs</p> |
|
5817 </div> |
|
5818 |
|
5819 |
|
5820 </li> |
|
5821 |
|
5822 </ul> |
|
5823 </div> |
|
5824 |
|
5825 |
|
5826 |
|
5827 <div class="returns"> |
|
5828 <h4>Returns:</h4> |
|
5829 |
|
5830 <div class="returns-description"> |
|
5831 |
|
5832 |
|
5833 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
5834 |
|
5835 An object literal with 2 properties - "simple" and "complex", |
|
5836 containing simple and complex attribute values respectively keyed |
|
5837 by the top level attribute name, or null, if valueHash is falsey. |
|
5838 |
|
5839 </div> |
|
5840 </div> |
|
5841 |
|
5842 |
|
5843 |
|
5844 </div> |
|
5845 |
|
5846 |
|
5847 <div id="method__parseType" class="method item private inherited"> |
|
5848 <h3 class="name"><code>_parseType</code></h3> |
|
5849 |
|
5850 |
|
5851 <span class="paren">()</span> |
|
5852 |
|
5853 |
|
5854 |
|
5855 |
|
5856 |
|
5857 |
|
5858 |
|
5859 <span class="flag private">private</span> |
|
5860 |
|
5861 |
|
5862 |
|
5863 |
|
5864 |
|
5865 |
|
5866 |
|
5867 |
|
5868 |
|
5869 |
|
5870 <div class="meta"> |
|
5871 |
|
5872 |
|
5873 <p>Inherited from |
|
5874 <a href="../classes/EventTarget.html#method__parseType">EventTarget</a>: |
|
5875 |
|
5876 |
|
5877 |
|
5878 <a href="../files/event-custom_js_event-target.js.html#l52"><code>event-custom/js/event-target.js:52</code></a> |
|
5879 |
|
5880 </p> |
|
5881 |
|
5882 |
|
5883 |
|
5884 |
|
5885 |
|
5886 </div> |
|
5887 |
|
5888 <div class="description"> |
|
5889 <p>Returns an array with the detach key (if provided), |
|
5890 and the prefixed event name from _getType |
|
5891 Y.on('detachcategory| menu:click', fn)</p> |
|
5892 </div> |
|
5893 |
|
5894 |
|
5895 |
|
5896 |
|
5897 |
|
5898 |
|
5899 </div> |
|
5900 |
|
5901 |
|
5902 <div id="method__preInitEventCfg" class="method item private inherited"> |
|
5903 <h3 class="name"><code>_preInitEventCfg</code></h3> |
|
5904 |
|
5905 |
|
5906 <div class="args"> |
|
5907 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5908 |
|
5909 <li class="arg"> |
|
5910 |
|
5911 <code>config</code> |
|
5912 |
|
5913 </li> |
|
5914 |
|
5915 </ul><span class="paren">)</span> |
|
5916 </div> |
|
5917 |
|
5918 |
|
5919 |
|
5920 |
|
5921 |
|
5922 |
|
5923 |
|
5924 <span class="flag private">private</span> |
|
5925 |
|
5926 |
|
5927 |
|
5928 |
|
5929 |
|
5930 |
|
5931 |
|
5932 |
|
5933 |
|
5934 |
|
5935 <div class="meta"> |
|
5936 |
|
5937 |
|
5938 <p>Inherited from |
|
5939 <a href="../classes/BaseObservable.html#method__preInitEventCfg">BaseObservable</a>: |
|
5940 |
|
5941 |
|
5942 |
|
5943 <a href="../files/base_js_BaseObservable.js.html#l98"><code>base/js/BaseObservable.js:98</code></a> |
|
5944 |
|
5945 </p> |
|
5946 |
|
5947 |
|
5948 |
|
5949 |
|
5950 |
|
5951 </div> |
|
5952 |
|
5953 <div class="description"> |
|
5954 <p>Handles the special on, after and target properties which allow the user to |
|
5955 easily configure on and after listeners as well as bubble targets during |
|
5956 construction, prior to init.</p> |
|
5957 </div> |
|
5958 |
|
5959 |
|
5960 <div class="params"> |
|
5961 <h4>Parameters:</h4> |
|
5962 |
|
5963 <ul class="params-list"> |
|
5964 |
|
5965 <li class="param"> |
|
5966 |
|
5967 <code class="param-name">config</code> |
|
5968 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5969 |
|
5970 |
|
5971 |
|
5972 |
|
5973 <div class="param-description"> |
|
5974 <p>The user configuration object</p> |
|
5975 </div> |
|
5976 |
|
5977 |
|
5978 </li> |
|
5979 |
|
5980 </ul> |
|
5981 </div> |
|
5982 |
|
5983 |
|
5984 |
|
5985 |
|
5986 |
|
5987 </div> |
|
5988 |
|
5989 |
|
5990 <div id="method__protectAttrs" class="method item protected deprecated inherited"> |
|
5991 <h3 class="name"><code>_protectAttrs</code></h3> |
|
5992 |
|
5993 |
|
5994 <div class="args"> |
|
5995 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5996 |
|
5997 <li class="arg"> |
|
5998 |
|
5999 <code>attrs</code> |
|
6000 |
|
6001 </li> |
|
6002 |
|
6003 </ul><span class="paren">)</span> |
|
6004 </div> |
|
6005 |
|
6006 |
|
6007 |
|
6008 <span class="returns-inline"> |
|
6009 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6010 </span> |
|
6011 |
|
6012 |
|
6013 |
|
6014 <span class="flag deprecated" title="Use `AttributeCore.protectAttrs()` or |
|
6015 `Attribute.protectAttrs()` which are the same static utility method.">deprecated</span> |
|
6016 |
|
6017 |
|
6018 |
|
6019 <span class="flag protected">protected</span> |
|
6020 |
|
6021 |
|
6022 |
|
6023 |
|
6024 |
|
6025 |
|
6026 |
|
6027 |
|
6028 |
|
6029 |
|
6030 <div class="meta"> |
|
6031 |
|
6032 |
|
6033 <p>Inherited from |
|
6034 <a href="../classes/AttributeCore.html#method__protectAttrs">AttributeCore</a>: |
|
6035 |
|
6036 |
|
6037 |
|
6038 <a href="../files/attribute_js_AttributeCore.js.html#l883"><code>attribute/js/AttributeCore.js:883</code></a> |
|
6039 |
|
6040 </p> |
|
6041 |
|
6042 |
|
6043 |
|
6044 <p>Deprecated: Use `AttributeCore.protectAttrs()` or |
|
6045 `Attribute.protectAttrs()` which are the same static utility method.</p> |
|
6046 |
|
6047 |
|
6048 |
|
6049 </div> |
|
6050 |
|
6051 <div class="description"> |
|
6052 <p>Utility method to protect an attribute configuration |
|
6053 hash, by merging the entire object and the individual |
|
6054 attr config objects.</p> |
|
6055 </div> |
|
6056 |
|
6057 |
|
6058 <div class="params"> |
|
6059 <h4>Parameters:</h4> |
|
6060 |
|
6061 <ul class="params-list"> |
|
6062 |
|
6063 <li class="param"> |
|
6064 |
|
6065 <code class="param-name">attrs</code> |
|
6066 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6067 |
|
6068 |
|
6069 |
|
6070 |
|
6071 <div class="param-description"> |
|
6072 <p>A hash of attribute to configuration object pairs.</p> |
|
6073 </div> |
|
6074 |
|
6075 |
|
6076 </li> |
|
6077 |
|
6078 </ul> |
|
6079 </div> |
|
6080 |
|
6081 |
|
6082 |
|
6083 <div class="returns"> |
|
6084 <h4>Returns:</h4> |
|
6085 |
|
6086 <div class="returns-description"> |
|
6087 |
|
6088 |
|
6089 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
6090 |
|
6091 A protected version of the attrs argument. |
|
6092 |
|
6093 </div> |
|
6094 </div> |
|
6095 |
|
6096 |
|
6097 |
|
6098 </div> |
|
6099 |
|
6100 |
|
6101 <div id="method__publish" class="method item private inherited"> |
|
6102 <h3 class="name"><code>_publish</code></h3> |
|
6103 |
|
6104 |
|
6105 <div class="args"> |
|
6106 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6107 |
|
6108 <li class="arg"> |
|
6109 |
|
6110 <code>fullType</code> |
|
6111 |
|
6112 </li> |
|
6113 |
|
6114 <li class="arg"> |
|
6115 |
|
6116 <code>etOpts</code> |
|
6117 |
|
6118 </li> |
|
6119 |
|
6120 <li class="arg"> |
|
6121 |
|
6122 <code>ceOpts</code> |
|
6123 |
|
6124 </li> |
|
6125 |
|
6126 </ul><span class="paren">)</span> |
|
6127 </div> |
|
6128 |
|
6129 |
|
6130 |
|
6131 <span class="returns-inline"> |
|
6132 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
6133 </span> |
|
6134 |
|
6135 |
|
6136 |
|
6137 |
|
6138 |
|
6139 <span class="flag private">private</span> |
|
6140 |
|
6141 |
|
6142 |
|
6143 |
|
6144 |
|
6145 |
|
6146 |
|
6147 |
|
6148 |
|
6149 |
|
6150 <div class="meta"> |
|
6151 |
|
6152 |
|
6153 <p>Inherited from |
|
6154 <a href="../classes/EventTarget.html#method__publish">EventTarget</a>: |
|
6155 |
|
6156 |
|
6157 |
|
6158 <a href="../files/event-custom_js_event-target.js.html#l610"><code>event-custom/js/event-target.js:610</code></a> |
|
6159 |
|
6160 </p> |
|
6161 |
|
6162 |
|
6163 |
|
6164 |
|
6165 |
|
6166 </div> |
|
6167 |
|
6168 <div class="description"> |
|
6169 <p>The low level event publish implementation. It expects all the massaging to have been done |
|
6170 outside of this method. e.g. the <code>type</code> to <code>fullType</code> conversion. It's designed to be a fast |
|
6171 path publish, which can be used by critical code paths to improve performance.</p> |
|
6172 </div> |
|
6173 |
|
6174 |
|
6175 <div class="params"> |
|
6176 <h4>Parameters:</h4> |
|
6177 |
|
6178 <ul class="params-list"> |
|
6179 |
|
6180 <li class="param"> |
|
6181 |
|
6182 <code class="param-name">fullType</code> |
|
6183 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6184 |
|
6185 |
|
6186 |
|
6187 |
|
6188 <div class="param-description"> |
|
6189 <p>The prefixed type of the event to publish.</p> |
|
6190 </div> |
|
6191 |
|
6192 |
|
6193 </li> |
|
6194 |
|
6195 <li class="param"> |
|
6196 |
|
6197 <code class="param-name">etOpts</code> |
|
6198 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6199 |
|
6200 |
|
6201 |
|
6202 |
|
6203 <div class="param-description"> |
|
6204 <p>The EventTarget specific configuration to mix into the published event.</p> |
|
6205 </div> |
|
6206 |
|
6207 |
|
6208 </li> |
|
6209 |
|
6210 <li class="param"> |
|
6211 |
|
6212 <code class="param-name">ceOpts</code> |
|
6213 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6214 |
|
6215 |
|
6216 |
|
6217 |
|
6218 <div class="param-description"> |
|
6219 <p>The publish specific configuration to mix into the published event.</p> |
|
6220 </div> |
|
6221 |
|
6222 |
|
6223 </li> |
|
6224 |
|
6225 </ul> |
|
6226 </div> |
|
6227 |
|
6228 |
|
6229 |
|
6230 <div class="returns"> |
|
6231 <h4>Returns:</h4> |
|
6232 |
|
6233 <div class="returns-description"> |
|
6234 |
|
6235 |
|
6236 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>: |
|
6237 |
|
6238 The published event. If called without <code>etOpts</code> or <code>ceOpts</code>, this will |
|
6239 be the default <code>CustomEvent</code> instance, and can be configured independently. |
|
6240 |
|
6241 </div> |
|
6242 </div> |
|
6243 |
|
6244 |
|
6245 |
|
6246 </div> |
|
6247 |
|
6248 |
|
6249 <div id="method__set" class="method item protected inherited"> |
|
6250 <h3 class="name"><code>_set</code></h3> |
|
6251 |
|
6252 |
|
6253 <div class="args"> |
|
6254 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6255 |
|
6256 <li class="arg"> |
|
6257 |
|
6258 <code>name</code> |
|
6259 |
|
6260 </li> |
|
6261 |
|
6262 <li class="arg"> |
|
6263 |
|
6264 <code>val</code> |
|
6265 |
|
6266 </li> |
|
6267 |
|
6268 <li class="arg"> |
|
6269 |
|
6270 <code class="optional">[opts]</code> |
|
6271 |
|
6272 </li> |
|
6273 |
|
6274 </ul><span class="paren">)</span> |
|
6275 </div> |
|
6276 |
|
6277 |
|
6278 |
|
6279 <span class="returns-inline"> |
|
6280 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6281 </span> |
|
6282 |
|
6283 |
|
6284 |
|
6285 |
|
6286 |
|
6287 <span class="flag protected">protected</span> |
|
6288 |
|
6289 |
|
6290 |
|
6291 |
|
6292 |
|
6293 |
|
6294 |
|
6295 <span class="flag chainable">chainable</span> |
|
6296 |
|
6297 |
|
6298 |
|
6299 |
|
6300 <div class="meta"> |
|
6301 |
|
6302 <p>Inherited from |
|
6303 <a href="../classes/AttributeObservable.html#method__set"> |
|
6304 AttributeObservable |
|
6305 </a> |
|
6306 |
|
6307 but overwritten in |
|
6308 |
|
6309 |
|
6310 |
|
6311 <a href="../files/attribute_js_AttributeCore.js.html#l427"><code>attribute/js/AttributeCore.js:427</code></a> |
|
6312 |
|
6313 </p> |
|
6314 |
|
6315 |
|
6316 |
|
6317 |
|
6318 |
|
6319 </div> |
|
6320 |
|
6321 <div class="description"> |
|
6322 <p>Allows setting of readOnly/writeOnce attributes. See <a href="#method_set">set</a> for argument details.</p> |
|
6323 </div> |
|
6324 |
|
6325 |
|
6326 <div class="params"> |
|
6327 <h4>Parameters:</h4> |
|
6328 |
|
6329 <ul class="params-list"> |
|
6330 |
|
6331 <li class="param"> |
|
6332 |
|
6333 <code class="param-name">name</code> |
|
6334 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6335 |
|
6336 |
|
6337 |
|
6338 |
|
6339 <div class="param-description"> |
|
6340 <p>The name of the attribute.</p> |
|
6341 </div> |
|
6342 |
|
6343 |
|
6344 </li> |
|
6345 |
|
6346 <li class="param"> |
|
6347 |
|
6348 <code class="param-name">val</code> |
|
6349 <span class="type">Any</span> |
|
6350 |
|
6351 |
|
6352 |
|
6353 |
|
6354 <div class="param-description"> |
|
6355 <p>The value to set the attribute to.</p> |
|
6356 </div> |
|
6357 |
|
6358 |
|
6359 </li> |
|
6360 |
|
6361 <li class="param"> |
|
6362 |
|
6363 <code class="param-name optional">[opts]</code> |
|
6364 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6365 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
6366 |
|
6367 |
|
6368 |
|
6369 |
|
6370 <div class="param-description"> |
|
6371 <p>Optional data providing the circumstances for the change.</p> |
|
6372 </div> |
|
6373 |
|
6374 |
|
6375 </li> |
|
6376 |
|
6377 </ul> |
|
6378 </div> |
|
6379 |
|
6380 |
|
6381 |
|
6382 <div class="returns"> |
|
6383 <h4>Returns:</h4> |
|
6384 |
|
6385 <div class="returns-description"> |
|
6386 |
|
6387 |
|
6388 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
6389 |
|
6390 A reference to the host object. |
|
6391 |
|
6392 </div> |
|
6393 </div> |
|
6394 |
|
6395 |
|
6396 |
|
6397 </div> |
|
6398 |
|
6399 |
|
6400 <div id="method__setAttr" class="method item protected inherited"> |
|
6401 <h3 class="name"><code>_setAttr</code></h3> |
|
6402 |
|
6403 |
|
6404 <div class="args"> |
|
6405 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6406 |
|
6407 <li class="arg"> |
|
6408 |
|
6409 <code>name</code> |
|
6410 |
|
6411 </li> |
|
6412 |
|
6413 <li class="arg"> |
|
6414 |
|
6415 <code>value</code> |
|
6416 |
|
6417 </li> |
|
6418 |
|
6419 <li class="arg"> |
|
6420 |
|
6421 <code class="optional">[opts]</code> |
|
6422 |
|
6423 </li> |
|
6424 |
|
6425 <li class="arg"> |
|
6426 |
|
6427 <code>force</code> |
|
6428 |
|
6429 </li> |
|
6430 |
|
6431 </ul><span class="paren">)</span> |
|
6432 </div> |
|
6433 |
|
6434 |
|
6435 |
|
6436 <span class="returns-inline"> |
|
6437 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6438 </span> |
|
6439 |
|
6440 |
|
6441 |
|
6442 |
|
6443 |
|
6444 <span class="flag protected">protected</span> |
|
6445 |
|
6446 |
|
6447 |
|
6448 |
|
6449 |
|
6450 |
|
6451 |
|
6452 <span class="flag chainable">chainable</span> |
|
6453 |
|
6454 |
|
6455 |
|
6456 |
|
6457 <div class="meta"> |
|
6458 |
|
6459 |
|
6460 <p>Inherited from |
|
6461 <a href="../classes/AttributeCore.html#method__setAttr">AttributeCore</a>: |
|
6462 |
|
6463 |
|
6464 |
|
6465 <a href="../files/attribute_js_AttributeCore.js.html#l443"><code>attribute/js/AttributeCore.js:443</code></a> |
|
6466 |
|
6467 </p> |
|
6468 |
|
6469 |
|
6470 |
|
6471 |
|
6472 |
|
6473 </div> |
|
6474 |
|
6475 <div class="description"> |
|
6476 <p>Provides the common implementation for the public set and protected _set methods.</p> |
|
6477 |
|
6478 <p>See <a href="#method_set">set</a> for argument details.</p> |
|
6479 </div> |
|
6480 |
|
6481 |
|
6482 <div class="params"> |
|
6483 <h4>Parameters:</h4> |
|
6484 |
|
6485 <ul class="params-list"> |
|
6486 |
|
6487 <li class="param"> |
|
6488 |
|
6489 <code class="param-name">name</code> |
|
6490 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6491 |
|
6492 |
|
6493 |
|
6494 |
|
6495 <div class="param-description"> |
|
6496 <p>The name of the attribute.</p> |
|
6497 </div> |
|
6498 |
|
6499 |
|
6500 </li> |
|
6501 |
|
6502 <li class="param"> |
|
6503 |
|
6504 <code class="param-name">value</code> |
|
6505 <span class="type">Any</span> |
|
6506 |
|
6507 |
|
6508 |
|
6509 |
|
6510 <div class="param-description"> |
|
6511 <p>The value to set the attribute to.</p> |
|
6512 </div> |
|
6513 |
|
6514 |
|
6515 </li> |
|
6516 |
|
6517 <li class="param"> |
|
6518 |
|
6519 <code class="param-name optional">[opts]</code> |
|
6520 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6521 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
6522 |
|
6523 |
|
6524 |
|
6525 |
|
6526 <div class="param-description"> |
|
6527 <p>Optional data providing the circumstances for the change.</p> |
|
6528 </div> |
|
6529 |
|
6530 |
|
6531 </li> |
|
6532 |
|
6533 <li class="param"> |
|
6534 |
|
6535 <code class="param-name">force</code> |
|
6536 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
6537 |
|
6538 |
|
6539 |
|
6540 |
|
6541 <div class="param-description"> |
|
6542 <p>If true, allows the caller to set values for |
|
6543 readOnly or writeOnce attributes which have already been set.</p> |
|
6544 </div> |
|
6545 |
|
6546 |
|
6547 </li> |
|
6548 |
|
6549 </ul> |
|
6550 </div> |
|
6551 |
|
6552 |
|
6553 |
|
6554 <div class="returns"> |
|
6555 <h4>Returns:</h4> |
|
6556 |
|
6557 <div class="returns-description"> |
|
6558 |
|
6559 |
|
6560 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
6561 |
|
6562 A reference to the host object. |
|
6563 |
|
6564 </div> |
|
6565 </div> |
|
6566 |
|
6567 |
|
6568 |
|
6569 </div> |
|
6570 |
|
6571 |
|
6572 <div id="method__setAttrs" class="method item protected inherited"> |
|
6573 <h3 class="name"><code>_setAttrs</code></h3> |
|
6574 |
|
6575 |
|
6576 <div class="args"> |
|
6577 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6578 |
|
6579 <li class="arg"> |
|
6580 |
|
6581 <code>attrs</code> |
|
6582 |
|
6583 </li> |
|
6584 |
|
6585 <li class="arg"> |
|
6586 |
|
6587 <code class="optional">[opts]</code> |
|
6588 |
|
6589 </li> |
|
6590 |
|
6591 </ul><span class="paren">)</span> |
|
6592 </div> |
|
6593 |
|
6594 |
|
6595 |
|
6596 <span class="returns-inline"> |
|
6597 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6598 </span> |
|
6599 |
|
6600 |
|
6601 |
|
6602 |
|
6603 |
|
6604 <span class="flag protected">protected</span> |
|
6605 |
|
6606 |
|
6607 |
|
6608 |
|
6609 |
|
6610 |
|
6611 |
|
6612 <span class="flag chainable">chainable</span> |
|
6613 |
|
6614 |
|
6615 |
|
6616 |
|
6617 <div class="meta"> |
|
6618 |
|
6619 <p>Inherited from |
|
6620 <a href="../classes/AttributeObservable.html#method__setAttrs"> |
|
6621 AttributeObservable |
|
6622 </a> |
|
6623 |
|
6624 but overwritten in |
|
6625 |
|
6626 |
|
6627 |
|
6628 <a href="../files/attribute_js_AttributeCore.js.html#l742"><code>attribute/js/AttributeCore.js:742</code></a> |
|
6629 |
|
6630 </p> |
|
6631 |
|
6632 |
|
6633 |
|
6634 |
|
6635 |
|
6636 </div> |
|
6637 |
|
6638 <div class="description"> |
|
6639 <p>Implementation behind the public setAttrs method, to set multiple attribute values.</p> |
|
6640 </div> |
|
6641 |
|
6642 |
|
6643 <div class="params"> |
|
6644 <h4>Parameters:</h4> |
|
6645 |
|
6646 <ul class="params-list"> |
|
6647 |
|
6648 <li class="param"> |
|
6649 |
|
6650 <code class="param-name">attrs</code> |
|
6651 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6652 |
|
6653 |
|
6654 |
|
6655 |
|
6656 <div class="param-description"> |
|
6657 <p>An object with attributes name/value pairs.</p> |
|
6658 </div> |
|
6659 |
|
6660 |
|
6661 </li> |
|
6662 |
|
6663 <li class="param"> |
|
6664 |
|
6665 <code class="param-name optional">[opts]</code> |
|
6666 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6667 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
6668 |
|
6669 |
|
6670 |
|
6671 |
|
6672 <div class="param-description"> |
|
6673 <p>Optional data providing the circumstances for the change</p> |
|
6674 </div> |
|
6675 |
|
6676 |
|
6677 </li> |
|
6678 |
|
6679 </ul> |
|
6680 </div> |
|
6681 |
|
6682 |
|
6683 |
|
6684 <div class="returns"> |
|
6685 <h4>Returns:</h4> |
|
6686 |
|
6687 <div class="returns-description"> |
|
6688 |
|
6689 |
|
6690 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
6691 |
|
6692 A reference to the host object. |
|
6693 |
|
6694 </div> |
|
6695 </div> |
|
6696 |
|
6697 |
|
6698 |
|
6699 </div> |
|
6700 |
|
6701 |
|
6702 <div id="method__setAttrVal" class="method item private inherited"> |
|
6703 <h3 class="name"><code>_setAttrVal</code></h3> |
|
6704 |
|
6705 |
|
6706 <div class="args"> |
|
6707 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6708 |
|
6709 <li class="arg"> |
|
6710 |
|
6711 <code>attrName</code> |
|
6712 |
|
6713 </li> |
|
6714 |
|
6715 <li class="arg"> |
|
6716 |
|
6717 <code>subAttrName</code> |
|
6718 |
|
6719 </li> |
|
6720 |
|
6721 <li class="arg"> |
|
6722 |
|
6723 <code>prevVal</code> |
|
6724 |
|
6725 </li> |
|
6726 |
|
6727 <li class="arg"> |
|
6728 |
|
6729 <code>newVal</code> |
|
6730 |
|
6731 </li> |
|
6732 |
|
6733 <li class="arg"> |
|
6734 |
|
6735 <code class="optional">[opts]</code> |
|
6736 |
|
6737 </li> |
|
6738 |
|
6739 <li class="arg"> |
|
6740 |
|
6741 <code class="optional">[attrCfg]</code> |
|
6742 |
|
6743 </li> |
|
6744 |
|
6745 </ul><span class="paren">)</span> |
|
6746 </div> |
|
6747 |
|
6748 |
|
6749 |
|
6750 <span class="returns-inline"> |
|
6751 <span class="type">Booolean</span> |
|
6752 </span> |
|
6753 |
|
6754 |
|
6755 |
|
6756 |
|
6757 |
|
6758 <span class="flag private">private</span> |
|
6759 |
|
6760 |
|
6761 |
|
6762 |
|
6763 |
|
6764 |
|
6765 |
|
6766 |
|
6767 |
|
6768 |
|
6769 <div class="meta"> |
|
6770 |
|
6771 |
|
6772 <p>Inherited from |
|
6773 <a href="../classes/AttributeCore.html#method__setAttrVal">AttributeCore</a>: |
|
6774 |
|
6775 |
|
6776 |
|
6777 <a href="../files/attribute_js_AttributeCore.js.html#l640"><code>attribute/js/AttributeCore.js:640</code></a> |
|
6778 |
|
6779 </p> |
|
6780 |
|
6781 |
|
6782 |
|
6783 |
|
6784 |
|
6785 </div> |
|
6786 |
|
6787 <div class="description"> |
|
6788 <p>Updates the stored value of the attribute in the privately held State object, |
|
6789 if validation and setter passes.</p> |
|
6790 </div> |
|
6791 |
|
6792 |
|
6793 <div class="params"> |
|
6794 <h4>Parameters:</h4> |
|
6795 |
|
6796 <ul class="params-list"> |
|
6797 |
|
6798 <li class="param"> |
|
6799 |
|
6800 <code class="param-name">attrName</code> |
|
6801 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6802 |
|
6803 |
|
6804 |
|
6805 |
|
6806 <div class="param-description"> |
|
6807 <p>The attribute name.</p> |
|
6808 </div> |
|
6809 |
|
6810 |
|
6811 </li> |
|
6812 |
|
6813 <li class="param"> |
|
6814 |
|
6815 <code class="param-name">subAttrName</code> |
|
6816 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6817 |
|
6818 |
|
6819 |
|
6820 |
|
6821 <div class="param-description"> |
|
6822 <p>The sub-attribute name, if setting a sub-attribute property ("x.y.z").</p> |
|
6823 </div> |
|
6824 |
|
6825 |
|
6826 </li> |
|
6827 |
|
6828 <li class="param"> |
|
6829 |
|
6830 <code class="param-name">prevVal</code> |
|
6831 <span class="type">Any</span> |
|
6832 |
|
6833 |
|
6834 |
|
6835 |
|
6836 <div class="param-description"> |
|
6837 <p>The currently stored value of the attribute.</p> |
|
6838 </div> |
|
6839 |
|
6840 |
|
6841 </li> |
|
6842 |
|
6843 <li class="param"> |
|
6844 |
|
6845 <code class="param-name">newVal</code> |
|
6846 <span class="type">Any</span> |
|
6847 |
|
6848 |
|
6849 |
|
6850 |
|
6851 <div class="param-description"> |
|
6852 <p>The value which is going to be stored.</p> |
|
6853 </div> |
|
6854 |
|
6855 |
|
6856 </li> |
|
6857 |
|
6858 <li class="param"> |
|
6859 |
|
6860 <code class="param-name optional">[opts]</code> |
|
6861 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6862 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
6863 |
|
6864 |
|
6865 |
|
6866 |
|
6867 <div class="param-description"> |
|
6868 <p>Optional data providing the circumstances for the change.</p> |
|
6869 </div> |
|
6870 |
|
6871 |
|
6872 </li> |
|
6873 |
|
6874 <li class="param"> |
|
6875 |
|
6876 <code class="param-name optional">[attrCfg]</code> |
|
6877 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6878 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
6879 |
|
6880 |
|
6881 |
|
6882 |
|
6883 <div class="param-description"> |
|
6884 <p>Optional config hash for the attribute. This is added for performance along the critical path, |
|
6885 where the calling method has already obtained the config from state.</p> |
|
6886 </div> |
|
6887 |
|
6888 |
|
6889 </li> |
|
6890 |
|
6891 </ul> |
|
6892 </div> |
|
6893 |
|
6894 |
|
6895 |
|
6896 <div class="returns"> |
|
6897 <h4>Returns:</h4> |
|
6898 |
|
6899 <div class="returns-description"> |
|
6900 |
|
6901 |
|
6902 <span class="type">Booolean</span>: |
|
6903 |
|
6904 true if the new attribute value was stored, false if not. |
|
6905 |
|
6906 </div> |
|
6907 </div> |
|
6908 |
|
6909 |
|
6910 |
|
6911 </div> |
|
6912 |
|
6913 |
|
6914 <div id="method__setStateVal" class="method item private inherited"> |
|
6915 <h3 class="name"><code>_setStateVal</code></h3> |
|
6916 |
|
6917 |
|
6918 <div class="args"> |
|
6919 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6920 |
|
6921 <li class="arg"> |
|
6922 |
|
6923 <code>name</code> |
|
6924 |
|
6925 </li> |
|
6926 |
|
6927 <li class="arg"> |
|
6928 |
|
6929 <code>value</code> |
|
6930 |
|
6931 </li> |
|
6932 |
|
6933 </ul><span class="paren">)</span> |
|
6934 </div> |
|
6935 |
|
6936 |
|
6937 |
|
6938 |
|
6939 |
|
6940 |
|
6941 |
|
6942 <span class="flag private">private</span> |
|
6943 |
|
6944 |
|
6945 |
|
6946 |
|
6947 |
|
6948 |
|
6949 |
|
6950 |
|
6951 |
|
6952 |
|
6953 <div class="meta"> |
|
6954 |
|
6955 |
|
6956 <p>Inherited from |
|
6957 <a href="../classes/AttributeCore.html#method__setStateVal">AttributeCore</a>: |
|
6958 |
|
6959 |
|
6960 |
|
6961 <a href="../files/attribute_js_AttributeCore.js.html#l622"><code>attribute/js/AttributeCore.js:622</code></a> |
|
6962 |
|
6963 </p> |
|
6964 |
|
6965 |
|
6966 |
|
6967 |
|
6968 |
|
6969 </div> |
|
6970 |
|
6971 <div class="description"> |
|
6972 <p>Sets the stored value for the attribute, in either the |
|
6973 internal state object, or the state proxy if it exits</p> |
|
6974 </div> |
|
6975 |
|
6976 |
|
6977 <div class="params"> |
|
6978 <h4>Parameters:</h4> |
|
6979 |
|
6980 <ul class="params-list"> |
|
6981 |
|
6982 <li class="param"> |
|
6983 |
|
6984 <code class="param-name">name</code> |
|
6985 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6986 |
|
6987 |
|
6988 |
|
6989 |
|
6990 <div class="param-description"> |
|
6991 <p>The name of the attribute</p> |
|
6992 </div> |
|
6993 |
|
6994 |
|
6995 </li> |
|
6996 |
|
6997 <li class="param"> |
|
6998 |
|
6999 <code class="param-name">value</code> |
|
7000 <span class="type">Any</span> |
|
7001 |
|
7002 |
|
7003 |
|
7004 |
|
7005 <div class="param-description"> |
|
7006 <p>The value of the attribute</p> |
|
7007 </div> |
|
7008 |
|
7009 |
|
7010 </li> |
|
7011 |
|
7012 </ul> |
|
7013 </div> |
|
7014 |
|
7015 |
|
7016 |
|
7017 |
|
7018 |
|
7019 </div> |
|
7020 |
|
7021 |
|
7022 <div id="method_addAttr" class="method item inherited"> |
|
7023 <h3 class="name"><code>addAttr</code></h3> |
|
7024 |
|
7025 |
|
7026 <div class="args"> |
|
7027 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7028 |
|
7029 <li class="arg"> |
|
7030 |
|
7031 <code>name</code> |
|
7032 |
|
7033 </li> |
|
7034 |
|
7035 <li class="arg"> |
|
7036 |
|
7037 <code>config</code> |
|
7038 |
|
7039 </li> |
|
7040 |
|
7041 <li class="arg"> |
|
7042 |
|
7043 <code>lazy</code> |
|
7044 |
|
7045 </li> |
|
7046 |
|
7047 </ul><span class="paren">)</span> |
|
7048 </div> |
|
7049 |
|
7050 |
|
7051 |
|
7052 <span class="returns-inline"> |
|
7053 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7054 </span> |
|
7055 |
|
7056 |
|
7057 |
|
7058 |
|
7059 |
|
7060 |
|
7061 |
|
7062 |
|
7063 |
|
7064 |
|
7065 |
|
7066 <span class="flag chainable">chainable</span> |
|
7067 |
|
7068 |
|
7069 |
|
7070 |
|
7071 <div class="meta"> |
|
7072 |
|
7073 |
|
7074 <p>Inherited from |
|
7075 <a href="../classes/AttributeCore.html#method_addAttr">AttributeCore</a>: |
|
7076 |
|
7077 |
|
7078 |
|
7079 <a href="../files/attribute_js_AttributeCore.js.html#l157"><code>attribute/js/AttributeCore.js:157</code></a> |
|
7080 |
|
7081 </p> |
|
7082 |
|
7083 |
|
7084 |
|
7085 |
|
7086 |
|
7087 </div> |
|
7088 |
|
7089 <div class="description"> |
|
7090 <p> |
|
7091 Adds an attribute with the provided configuration to the host object. |
|
7092 </p> |
|
7093 |
|
7094 <p> |
|
7095 The config argument object supports the following properties: |
|
7096 </p> |
|
7097 |
|
7098 <dl> |
|
7099 <dt>value <Any></dt> |
|
7100 <dd>The initial value to set on the attribute</dd> |
|
7101 |
|
7102 <dt>valueFn <Function | String></dt> |
|
7103 <dd> |
|
7104 <p>A function, which will return the initial value to set on the attribute. This is useful |
|
7105 for cases where the attribute configuration is defined statically, but needs to |
|
7106 reference the host instance ("this") to obtain an initial value. If both the value and valueFn properties are defined, |
|
7107 the value returned by the valueFn has precedence over the value property, unless it returns undefined, in which |
|
7108 case the value property is used.</p> |
|
7109 |
|
7110 <p>valueFn can also be set to a string, representing the name of the instance method to be used to retrieve the value.</p> |
|
7111 </dd> |
|
7112 |
|
7113 <dt>readOnly <boolean></dt> |
|
7114 <dd>Whether or not the attribute is read only. Attributes having readOnly set to true |
|
7115 cannot be modified by invoking the set method.</dd> |
|
7116 |
|
7117 <dt>writeOnce <boolean> or <string></dt> |
|
7118 <dd> |
|
7119 Whether or not the attribute is "write once". Attributes having writeOnce set to true, |
|
7120 can only have their values set once, be it through the default configuration, |
|
7121 constructor configuration arguments, or by invoking set. |
|
7122 <p>The writeOnce attribute can also be set to the string "initOnly", |
|
7123 in which case the attribute can only be set during initialization |
|
7124 (when used with Base, this means it can only be set during construction)</p> |
|
7125 </dd> |
|
7126 |
|
7127 <dt>setter <Function | String></dt> |
|
7128 <dd> |
|
7129 <p>The setter function used to massage or normalize the value passed to the set method for the attribute. |
|
7130 The value returned by the setter will be the final stored value. Returning |
|
7131 <a href="#property_Attribute.INVALID_VALUE">Attribute.INVALID_VALUE</a>, from the setter will prevent |
|
7132 the value from being stored. |
|
7133 </p> |
|
7134 |
|
7135 <p>setter can also be set to a string, representing the name of the instance method to be used as the setter function.</p> |
|
7136 </dd> |
|
7137 |
|
7138 <dt>getter <Function | String></dt> |
|
7139 <dd> |
|
7140 <p> |
|
7141 The getter function used to massage or normalize the value returned by the get method for the attribute. |
|
7142 The value returned by the getter function is the value which will be returned to the user when they |
|
7143 invoke get. |
|
7144 </p> |
|
7145 |
|
7146 <p>getter can also be set to a string, representing the name of the instance method to be used as the getter function.</p> |
|
7147 </dd> |
|
7148 |
|
7149 <dt>validator <Function | String></dt> |
|
7150 <dd> |
|
7151 <p> |
|
7152 The validator function invoked prior to setting the stored value. Returning |
|
7153 false from the validator function will prevent the value from being stored. |
|
7154 </p> |
|
7155 |
|
7156 <p>validator can also be set to a string, representing the name of the instance method to be used as the validator function.</p> |
|
7157 </dd> |
|
7158 |
|
7159 <dt>lazyAdd <boolean></dt> |
|
7160 <dd>Whether or not to delay initialization of the attribute until the first call to get/set it. |
|
7161 This flag can be used to over-ride lazy initialization on a per attribute basis, when adding multiple attributes through |
|
7162 the <a href="#method_addAttrs">addAttrs</a> method.</dd> |
|
7163 |
|
7164 </dl> |
|
7165 |
|
7166 <p>The setter, getter and validator are invoked with the value and name passed in as the first and second arguments, and with |
|
7167 the context ("this") set to the host object.</p> |
|
7168 |
|
7169 <p>Configuration properties outside of the list mentioned above are considered private properties used internally by attribute, |
|
7170 and are not intended for public use.</p> |
|
7171 </div> |
|
7172 |
|
7173 |
|
7174 <div class="params"> |
|
7175 <h4>Parameters:</h4> |
|
7176 |
|
7177 <ul class="params-list"> |
|
7178 |
|
7179 <li class="param"> |
|
7180 |
|
7181 <code class="param-name">name</code> |
|
7182 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7183 |
|
7184 |
|
7185 |
|
7186 |
|
7187 <div class="param-description"> |
|
7188 <p>The name of the attribute.</p> |
|
7189 </div> |
|
7190 |
|
7191 |
|
7192 </li> |
|
7193 |
|
7194 <li class="param"> |
|
7195 |
|
7196 <code class="param-name">config</code> |
|
7197 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7198 |
|
7199 |
|
7200 |
|
7201 |
|
7202 <div class="param-description"> |
|
7203 <p>An object with attribute configuration property/value pairs, specifying the configuration for the attribute.</p> |
|
7204 |
|
7205 <p> |
|
7206 <strong>NOTE:</strong> The configuration object is modified when adding an attribute, so if you need |
|
7207 to protect the original values, you will need to merge the object. |
|
7208 </p> |
|
7209 </div> |
|
7210 |
|
7211 |
|
7212 </li> |
|
7213 |
|
7214 <li class="param"> |
|
7215 |
|
7216 <code class="param-name">lazy</code> |
|
7217 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
7218 |
|
7219 |
|
7220 |
|
7221 |
|
7222 <div class="param-description"> |
|
7223 <p>(optional) Whether or not to add this attribute lazily (on the first call to get/set).</p> |
|
7224 </div> |
|
7225 |
|
7226 |
|
7227 </li> |
|
7228 |
|
7229 </ul> |
|
7230 </div> |
|
7231 |
|
7232 |
|
7233 |
|
7234 <div class="returns"> |
|
7235 <h4>Returns:</h4> |
|
7236 |
|
7237 <div class="returns-description"> |
|
7238 |
|
7239 |
|
7240 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
7241 |
|
7242 A reference to the host object. |
|
7243 |
|
7244 </div> |
|
7245 </div> |
|
7246 |
|
7247 |
|
7248 |
|
7249 </div> |
|
7250 |
|
7251 |
|
7252 <div id="method_addAttrs" class="method item inherited"> |
|
7253 <h3 class="name"><code>addAttrs</code></h3> |
|
7254 |
|
7255 |
|
7256 <div class="args"> |
|
7257 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7258 |
|
7259 <li class="arg"> |
|
7260 |
|
7261 <code>cfgs</code> |
|
7262 |
|
7263 </li> |
|
7264 |
|
7265 <li class="arg"> |
|
7266 |
|
7267 <code>values</code> |
|
7268 |
|
7269 </li> |
|
7270 |
|
7271 <li class="arg"> |
|
7272 |
|
7273 <code>lazy</code> |
|
7274 |
|
7275 </li> |
|
7276 |
|
7277 </ul><span class="paren">)</span> |
|
7278 </div> |
|
7279 |
|
7280 |
|
7281 |
|
7282 <span class="returns-inline"> |
|
7283 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7284 </span> |
|
7285 |
|
7286 |
|
7287 |
|
7288 |
|
7289 |
|
7290 |
|
7291 |
|
7292 |
|
7293 |
|
7294 |
|
7295 |
|
7296 <span class="flag chainable">chainable</span> |
|
7297 |
|
7298 |
|
7299 |
|
7300 |
|
7301 <div class="meta"> |
|
7302 |
|
7303 |
|
7304 <p>Inherited from |
|
7305 <a href="../classes/AttributeCore.html#method_addAttrs">AttributeCore</a>: |
|
7306 |
|
7307 |
|
7308 |
|
7309 <a href="../files/attribute_js_AttributeCore.js.html#l805"><code>attribute/js/AttributeCore.js:805</code></a> |
|
7310 |
|
7311 </p> |
|
7312 |
|
7313 |
|
7314 |
|
7315 |
|
7316 |
|
7317 </div> |
|
7318 |
|
7319 <div class="description"> |
|
7320 <p>Configures a group of attributes, and sets initial values.</p> |
|
7321 |
|
7322 <p> |
|
7323 <strong>NOTE:</strong> This method does not isolate the configuration object by merging/cloning. |
|
7324 The caller is responsible for merging/cloning the configuration object if required. |
|
7325 </p> |
|
7326 </div> |
|
7327 |
|
7328 |
|
7329 <div class="params"> |
|
7330 <h4>Parameters:</h4> |
|
7331 |
|
7332 <ul class="params-list"> |
|
7333 |
|
7334 <li class="param"> |
|
7335 |
|
7336 <code class="param-name">cfgs</code> |
|
7337 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7338 |
|
7339 |
|
7340 |
|
7341 |
|
7342 <div class="param-description"> |
|
7343 <p>An object with attribute name/configuration pairs.</p> |
|
7344 </div> |
|
7345 |
|
7346 |
|
7347 </li> |
|
7348 |
|
7349 <li class="param"> |
|
7350 |
|
7351 <code class="param-name">values</code> |
|
7352 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7353 |
|
7354 |
|
7355 |
|
7356 |
|
7357 <div class="param-description"> |
|
7358 <p>An object with attribute name/value pairs, defining the initial values to apply. |
|
7359 Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p> |
|
7360 </div> |
|
7361 |
|
7362 |
|
7363 </li> |
|
7364 |
|
7365 <li class="param"> |
|
7366 |
|
7367 <code class="param-name">lazy</code> |
|
7368 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
7369 |
|
7370 |
|
7371 |
|
7372 |
|
7373 <div class="param-description"> |
|
7374 <p>Whether or not to delay the intialization of these attributes until the first call to get/set. |
|
7375 Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration. |
|
7376 See <a href="#method_addAttr">addAttr</a>.</p> |
|
7377 </div> |
|
7378 |
|
7379 |
|
7380 </li> |
|
7381 |
|
7382 </ul> |
|
7383 </div> |
|
7384 |
|
7385 |
|
7386 |
|
7387 <div class="returns"> |
|
7388 <h4>Returns:</h4> |
|
7389 |
|
7390 <div class="returns-description"> |
|
7391 |
|
7392 |
|
7393 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
7394 |
|
7395 A reference to the host object. |
|
7396 |
|
7397 </div> |
|
7398 </div> |
|
7399 |
|
7400 |
|
7401 |
|
7402 </div> |
|
7403 |
|
7404 |
|
7405 <div id="method_addTarget" class="method item inherited"> |
|
7406 <h3 class="name"><code>addTarget</code></h3> |
|
7407 |
|
7408 |
|
7409 <div class="args"> |
|
7410 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7411 |
|
7412 <li class="arg"> |
|
7413 |
|
7414 <code>o</code> |
|
7415 |
|
7416 </li> |
|
7417 |
|
7418 </ul><span class="paren">)</span> |
|
7419 </div> |
|
7420 |
|
7421 |
|
7422 |
|
7423 |
|
7424 |
|
7425 |
|
7426 |
|
7427 |
|
7428 |
|
7429 |
|
7430 |
|
7431 |
|
7432 |
|
7433 |
|
7434 |
|
7435 |
|
7436 <div class="meta"> |
|
7437 |
|
7438 |
|
7439 <p>Inherited from |
|
7440 <a href="../classes/EventTarget.html#method_addTarget">EventTarget</a>: |
|
7441 |
|
7442 |
|
7443 |
|
7444 <a href="../files/event-custom_js_event-facade.js.html#l455"><code>event-custom/js/event-facade.js:455</code></a> |
|
7445 |
|
7446 </p> |
|
7447 |
|
7448 |
|
7449 |
|
7450 |
|
7451 |
|
7452 </div> |
|
7453 |
|
7454 <div class="description"> |
|
7455 <p>Registers another EventTarget as a bubble target. Bubble order |
|
7456 is determined by the order registered. Multiple targets can |
|
7457 be specified.</p> |
|
7458 |
|
7459 <p>Events can only bubble if emitFacade is true.</p> |
|
7460 |
|
7461 <p>Included in the event-custom-complex submodule.</p> |
|
7462 </div> |
|
7463 |
|
7464 |
|
7465 <div class="params"> |
|
7466 <h4>Parameters:</h4> |
|
7467 |
|
7468 <ul class="params-list"> |
|
7469 |
|
7470 <li class="param"> |
|
7471 |
|
7472 <code class="param-name">o</code> |
|
7473 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
7474 |
|
7475 |
|
7476 |
|
7477 |
|
7478 <div class="param-description"> |
|
7479 <p>the target to add</p> |
|
7480 </div> |
|
7481 |
|
7482 |
|
7483 </li> |
|
7484 |
|
7485 </ul> |
|
7486 </div> |
|
7487 |
|
7488 |
|
7489 |
|
7490 |
|
7491 |
|
7492 </div> |
|
7493 |
|
7494 |
|
7495 <div id="method_after" class="method item inherited"> |
|
7496 <h3 class="name"><code>after</code></h3> |
|
7497 |
|
7498 |
|
7499 <div class="args"> |
|
7500 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7501 |
|
7502 <li class="arg"> |
|
7503 |
|
7504 <code>type</code> |
|
7505 |
|
7506 </li> |
|
7507 |
|
7508 <li class="arg"> |
|
7509 |
|
7510 <code>fn</code> |
|
7511 |
|
7512 </li> |
|
7513 |
|
7514 <li class="arg"> |
|
7515 |
|
7516 <code class="optional">[context]</code> |
|
7517 |
|
7518 </li> |
|
7519 |
|
7520 <li class="arg"> |
|
7521 |
|
7522 <code class="optional">[arg*]</code> |
|
7523 |
|
7524 </li> |
|
7525 |
|
7526 </ul><span class="paren">)</span> |
|
7527 </div> |
|
7528 |
|
7529 |
|
7530 |
|
7531 <span class="returns-inline"> |
|
7532 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
7533 </span> |
|
7534 |
|
7535 |
|
7536 |
|
7537 |
|
7538 |
|
7539 |
|
7540 |
|
7541 |
|
7542 |
|
7543 |
|
7544 |
|
7545 |
|
7546 |
|
7547 |
|
7548 <div class="meta"> |
|
7549 |
|
7550 |
|
7551 <p>Inherited from |
|
7552 <a href="../classes/EventTarget.html#method_after">EventTarget</a>: |
|
7553 |
|
7554 |
|
7555 |
|
7556 <a href="../files/event-custom_js_event-target.js.html#l833"><code>event-custom/js/event-target.js:833</code></a> |
|
7557 |
|
7558 </p> |
|
7559 |
|
7560 |
|
7561 |
|
7562 |
|
7563 |
|
7564 </div> |
|
7565 |
|
7566 <div class="description"> |
|
7567 <p>Subscribe to a custom event hosted by this object. The |
|
7568 supplied callback will execute after any listeners add |
|
7569 via the subscribe method, and after the default function, |
|
7570 if configured for the event, has executed.</p> |
|
7571 </div> |
|
7572 |
|
7573 |
|
7574 <div class="params"> |
|
7575 <h4>Parameters:</h4> |
|
7576 |
|
7577 <ul class="params-list"> |
|
7578 |
|
7579 <li class="param"> |
|
7580 |
|
7581 <code class="param-name">type</code> |
|
7582 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7583 |
|
7584 |
|
7585 |
|
7586 |
|
7587 <div class="param-description"> |
|
7588 <p>The name of the event</p> |
|
7589 </div> |
|
7590 |
|
7591 |
|
7592 </li> |
|
7593 |
|
7594 <li class="param"> |
|
7595 |
|
7596 <code class="param-name">fn</code> |
|
7597 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
7598 |
|
7599 |
|
7600 |
|
7601 |
|
7602 <div class="param-description"> |
|
7603 <p>The callback to execute in response to the event</p> |
|
7604 </div> |
|
7605 |
|
7606 |
|
7607 </li> |
|
7608 |
|
7609 <li class="param"> |
|
7610 |
|
7611 <code class="param-name optional">[context]</code> |
|
7612 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7613 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
7614 |
|
7615 |
|
7616 |
|
7617 |
|
7618 <div class="param-description"> |
|
7619 <p>Override <code>this</code> object in callback</p> |
|
7620 </div> |
|
7621 |
|
7622 |
|
7623 </li> |
|
7624 |
|
7625 <li class="param"> |
|
7626 |
|
7627 <code class="param-name optional">[arg*]</code> |
|
7628 <span class="type">Any</span> |
|
7629 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
7630 |
|
7631 |
|
7632 |
|
7633 |
|
7634 <div class="param-description"> |
|
7635 <p>0..n additional arguments to supply to the subscriber</p> |
|
7636 </div> |
|
7637 |
|
7638 |
|
7639 </li> |
|
7640 |
|
7641 </ul> |
|
7642 </div> |
|
7643 |
|
7644 |
|
7645 |
|
7646 <div class="returns"> |
|
7647 <h4>Returns:</h4> |
|
7648 |
|
7649 <div class="returns-description"> |
|
7650 |
|
7651 |
|
7652 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
7653 |
|
7654 A subscription handle capable of detaching the |
|
7655 subscription |
|
7656 |
|
7657 </div> |
|
7658 </div> |
|
7659 |
|
7660 |
|
7661 |
|
7662 </div> |
|
7663 |
|
7664 |
|
7665 <div id="method_attrAdded" class="method item inherited"> |
|
7666 <h3 class="name"><code>attrAdded</code></h3> |
|
7667 |
|
7668 |
|
7669 <div class="args"> |
|
7670 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7671 |
|
7672 <li class="arg"> |
|
7673 |
|
7674 <code>name</code> |
|
7675 |
|
7676 </li> |
|
7677 |
|
7678 </ul><span class="paren">)</span> |
|
7679 </div> |
|
7680 |
|
7681 |
|
7682 |
|
7683 <span class="returns-inline"> |
|
7684 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
7685 </span> |
|
7686 |
|
7687 |
|
7688 |
|
7689 |
|
7690 |
|
7691 |
|
7692 |
|
7693 |
|
7694 |
|
7695 |
|
7696 |
|
7697 |
|
7698 |
|
7699 |
|
7700 <div class="meta"> |
|
7701 |
|
7702 |
|
7703 <p>Inherited from |
|
7704 <a href="../classes/AttributeCore.html#method_attrAdded">AttributeCore</a>: |
|
7705 |
|
7706 |
|
7707 |
|
7708 <a href="../files/attribute_js_AttributeCore.js.html#l341"><code>attribute/js/AttributeCore.js:341</code></a> |
|
7709 |
|
7710 </p> |
|
7711 |
|
7712 |
|
7713 |
|
7714 |
|
7715 |
|
7716 </div> |
|
7717 |
|
7718 <div class="description"> |
|
7719 <p>Checks if the given attribute has been added to the host</p> |
|
7720 </div> |
|
7721 |
|
7722 |
|
7723 <div class="params"> |
|
7724 <h4>Parameters:</h4> |
|
7725 |
|
7726 <ul class="params-list"> |
|
7727 |
|
7728 <li class="param"> |
|
7729 |
|
7730 <code class="param-name">name</code> |
|
7731 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7732 |
|
7733 |
|
7734 |
|
7735 |
|
7736 <div class="param-description"> |
|
7737 <p>The name of the attribute to check.</p> |
|
7738 </div> |
|
7739 |
|
7740 |
|
7741 </li> |
|
7742 |
|
7743 </ul> |
|
7744 </div> |
|
7745 |
|
7746 |
|
7747 |
|
7748 <div class="returns"> |
|
7749 <h4>Returns:</h4> |
|
7750 |
|
7751 <div class="returns-description"> |
|
7752 |
|
7753 |
|
7754 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
7755 |
|
7756 true if an attribute with the given name has been added, false if it hasn't. |
|
7757 This method will return true for lazily added attributes. |
|
7758 |
|
7759 </div> |
|
7760 </div> |
|
7761 |
|
7762 |
|
7763 |
|
7764 </div> |
|
7765 |
|
7766 |
|
7767 <div id="method_before" class="method item inherited"> |
|
7768 <h3 class="name"><code>before</code></h3> |
|
7769 |
|
7770 |
|
7771 <span class="paren">()</span> |
|
7772 |
|
7773 |
|
7774 |
|
7775 <span class="returns-inline"> |
|
7776 <span class="type"></span> |
|
7777 </span> |
|
7778 |
|
7779 |
|
7780 |
|
7781 |
|
7782 |
|
7783 |
|
7784 |
|
7785 |
|
7786 |
|
7787 |
|
7788 |
|
7789 |
|
7790 |
|
7791 |
|
7792 <div class="meta"> |
|
7793 |
|
7794 |
|
7795 <p>Inherited from |
|
7796 <a href="../classes/EventTarget.html#method_before">EventTarget</a>: |
|
7797 |
|
7798 |
|
7799 |
|
7800 <a href="../files/event-custom_js_event-target.js.html#l870"><code>event-custom/js/event-target.js:870</code></a> |
|
7801 |
|
7802 </p> |
|
7803 |
|
7804 |
|
7805 |
|
7806 |
|
7807 |
|
7808 </div> |
|
7809 |
|
7810 <div class="description"> |
|
7811 <p>Executes the callback before a DOM event, custom event |
|
7812 or method. If the first argument is a function, it |
|
7813 is assumed the target is a method. For DOM and custom |
|
7814 events, this is an alias for Y.on.</p> |
|
7815 |
|
7816 <p>For DOM and custom events: |
|
7817 type, callback, context, 0-n arguments</p> |
|
7818 |
|
7819 <p>For methods: |
|
7820 callback, object (method host), methodName, context, 0-n arguments</p> |
|
7821 </div> |
|
7822 |
|
7823 |
|
7824 |
|
7825 |
|
7826 <div class="returns"> |
|
7827 <h4>Returns:</h4> |
|
7828 |
|
7829 <div class="returns-description"> |
|
7830 |
|
7831 |
|
7832 detach handle |
|
7833 |
|
7834 </div> |
|
7835 </div> |
|
7836 |
|
7837 |
|
7838 |
|
7839 </div> |
|
7840 |
|
7841 |
|
7842 <div id="method_bubble" class="method item inherited"> |
|
7843 <h3 class="name"><code>bubble</code></h3> |
|
7844 |
|
7845 |
|
7846 <div class="args"> |
|
7847 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7848 |
|
7849 <li class="arg"> |
|
7850 |
|
7851 <code>evt</code> |
|
7852 |
|
7853 </li> |
|
7854 |
|
7855 </ul><span class="paren">)</span> |
|
7856 </div> |
|
7857 |
|
7858 |
|
7859 |
|
7860 <span class="returns-inline"> |
|
7861 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
7862 </span> |
|
7863 |
|
7864 |
|
7865 |
|
7866 |
|
7867 |
|
7868 |
|
7869 |
|
7870 |
|
7871 |
|
7872 |
|
7873 |
|
7874 |
|
7875 |
|
7876 |
|
7877 <div class="meta"> |
|
7878 |
|
7879 |
|
7880 <p>Inherited from |
|
7881 <a href="../classes/EventTarget.html#method_bubble">EventTarget</a>: |
|
7882 |
|
7883 |
|
7884 |
|
7885 <a href="../files/event-custom_js_event-facade.js.html#l507"><code>event-custom/js/event-facade.js:507</code></a> |
|
7886 |
|
7887 </p> |
|
7888 |
|
7889 |
|
7890 |
|
7891 |
|
7892 |
|
7893 </div> |
|
7894 |
|
7895 <div class="description"> |
|
7896 <p>Propagate an event. Requires the event-custom-complex module.</p> |
|
7897 </div> |
|
7898 |
|
7899 |
|
7900 <div class="params"> |
|
7901 <h4>Parameters:</h4> |
|
7902 |
|
7903 <ul class="params-list"> |
|
7904 |
|
7905 <li class="param"> |
|
7906 |
|
7907 <code class="param-name">evt</code> |
|
7908 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
7909 |
|
7910 |
|
7911 |
|
7912 |
|
7913 <div class="param-description"> |
|
7914 <p>the custom event to propagate</p> |
|
7915 </div> |
|
7916 |
|
7917 |
|
7918 </li> |
|
7919 |
|
7920 </ul> |
|
7921 </div> |
|
7922 |
|
7923 |
|
7924 |
|
7925 <div class="returns"> |
|
7926 <h4>Returns:</h4> |
|
7927 |
|
7928 <div class="returns-description"> |
|
7929 |
|
7930 |
|
7931 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
7932 |
|
7933 the aggregated return value from Event.Custom.fire |
|
7934 |
|
7935 </div> |
|
7936 </div> |
|
7937 |
|
7938 |
|
7939 |
|
7940 </div> |
|
7941 |
|
7942 |
|
7943 <div id="method_destroy" class="method item inherited"> |
|
7944 <h3 class="name"><code>destroy</code></h3> |
|
7945 |
|
7946 |
|
7947 <span class="paren">()</span> |
|
7948 |
|
7949 |
|
7950 |
|
7951 <span class="returns-inline"> |
|
7952 <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span> |
|
7953 </span> |
|
7954 |
|
7955 |
|
7956 |
|
7957 |
|
7958 |
|
7959 |
|
7960 |
|
7961 |
|
7962 |
|
7963 |
|
7964 |
|
7965 <span class="flag chainable">chainable</span> |
|
7966 |
|
7967 |
|
7968 |
|
7969 |
|
7970 <div class="meta"> |
|
7971 |
|
7972 <p>Inherited from |
|
7973 <a href="../classes/BaseObservable.html#method_destroy"> |
|
7974 BaseObservable |
|
7975 </a> |
|
7976 |
|
7977 but overwritten in |
|
7978 |
|
7979 |
|
7980 |
|
7981 <a href="../files/base_js_BaseCore.js.html#l297"><code>base/js/BaseCore.js:297</code></a> |
|
7982 |
|
7983 </p> |
|
7984 |
|
7985 |
|
7986 |
|
7987 |
|
7988 |
|
7989 </div> |
|
7990 |
|
7991 <div class="description"> |
|
7992 <p>Destroy lifecycle method. Invokes destructors for the class hierarchy.</p> |
|
7993 </div> |
|
7994 |
|
7995 |
|
7996 |
|
7997 |
|
7998 <div class="returns"> |
|
7999 <h4>Returns:</h4> |
|
8000 |
|
8001 <div class="returns-description"> |
|
8002 |
|
8003 |
|
8004 <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span>: |
|
8005 |
|
8006 A reference to this object |
|
8007 |
|
8008 </div> |
|
8009 </div> |
|
8010 |
|
8011 |
|
8012 |
|
8013 </div> |
|
8014 |
|
8015 |
|
8016 <div id="method_detach" class="method item inherited"> |
|
8017 <h3 class="name"><code>detach</code></h3> |
|
8018 |
|
8019 |
|
8020 <div class="args"> |
|
8021 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8022 |
|
8023 <li class="arg"> |
|
8024 |
|
8025 <code>type</code> |
|
8026 |
|
8027 </li> |
|
8028 |
|
8029 <li class="arg"> |
|
8030 |
|
8031 <code>fn</code> |
|
8032 |
|
8033 </li> |
|
8034 |
|
8035 <li class="arg"> |
|
8036 |
|
8037 <code>context</code> |
|
8038 |
|
8039 </li> |
|
8040 |
|
8041 </ul><span class="paren">)</span> |
|
8042 </div> |
|
8043 |
|
8044 |
|
8045 |
|
8046 <span class="returns-inline"> |
|
8047 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
8048 </span> |
|
8049 |
|
8050 |
|
8051 |
|
8052 |
|
8053 |
|
8054 |
|
8055 |
|
8056 |
|
8057 |
|
8058 |
|
8059 |
|
8060 |
|
8061 |
|
8062 |
|
8063 <div class="meta"> |
|
8064 |
|
8065 |
|
8066 <p>Inherited from |
|
8067 <a href="../classes/EventTarget.html#method_detach">EventTarget</a>: |
|
8068 |
|
8069 |
|
8070 |
|
8071 <a href="../files/event-custom_js_event-target.js.html#l346"><code>event-custom/js/event-target.js:346</code></a> |
|
8072 |
|
8073 </p> |
|
8074 |
|
8075 |
|
8076 |
|
8077 |
|
8078 |
|
8079 </div> |
|
8080 |
|
8081 <div class="description"> |
|
8082 <p>Detach one or more listeners the from the specified event</p> |
|
8083 </div> |
|
8084 |
|
8085 |
|
8086 <div class="params"> |
|
8087 <h4>Parameters:</h4> |
|
8088 |
|
8089 <ul class="params-list"> |
|
8090 |
|
8091 <li class="param"> |
|
8092 |
|
8093 <code class="param-name">type</code> |
|
8094 <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> |
|
8095 |
|
8096 |
|
8097 |
|
8098 |
|
8099 <div class="param-description"> |
|
8100 <p>Either the handle to the subscriber or the |
|
8101 type of event. If the type |
|
8102 is not specified, it will attempt to remove |
|
8103 the listener from all hosted events.</p> |
|
8104 </div> |
|
8105 |
|
8106 |
|
8107 </li> |
|
8108 |
|
8109 <li class="param"> |
|
8110 |
|
8111 <code class="param-name">fn</code> |
|
8112 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
8113 |
|
8114 |
|
8115 |
|
8116 |
|
8117 <div class="param-description"> |
|
8118 <p>The subscribed function to unsubscribe, if not |
|
8119 supplied, all subscribers will be removed.</p> |
|
8120 </div> |
|
8121 |
|
8122 |
|
8123 </li> |
|
8124 |
|
8125 <li class="param"> |
|
8126 |
|
8127 <code class="param-name">context</code> |
|
8128 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8129 |
|
8130 |
|
8131 |
|
8132 |
|
8133 <div class="param-description"> |
|
8134 <p>The custom object passed to subscribe. This is |
|
8135 optional, but if supplied will be used to |
|
8136 disambiguate multiple listeners that are the same |
|
8137 (e.g., you subscribe many object using a function |
|
8138 that lives on the prototype)</p> |
|
8139 </div> |
|
8140 |
|
8141 |
|
8142 </li> |
|
8143 |
|
8144 </ul> |
|
8145 </div> |
|
8146 |
|
8147 |
|
8148 |
|
8149 <div class="returns"> |
|
8150 <h4>Returns:</h4> |
|
8151 |
|
8152 <div class="returns-description"> |
|
8153 |
|
8154 |
|
8155 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>: |
|
8156 |
|
8157 the host |
|
8158 |
|
8159 </div> |
|
8160 </div> |
|
8161 |
|
8162 |
|
8163 |
|
8164 </div> |
|
8165 |
|
8166 |
|
8167 <div id="method_detachAll" class="method item inherited"> |
|
8168 <h3 class="name"><code>detachAll</code></h3> |
|
8169 |
|
8170 |
|
8171 <div class="args"> |
|
8172 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8173 |
|
8174 <li class="arg"> |
|
8175 |
|
8176 <code>type</code> |
|
8177 |
|
8178 </li> |
|
8179 |
|
8180 </ul><span class="paren">)</span> |
|
8181 </div> |
|
8182 |
|
8183 |
|
8184 |
|
8185 |
|
8186 |
|
8187 |
|
8188 |
|
8189 |
|
8190 |
|
8191 |
|
8192 |
|
8193 |
|
8194 |
|
8195 |
|
8196 |
|
8197 |
|
8198 <div class="meta"> |
|
8199 |
|
8200 |
|
8201 <p>Inherited from |
|
8202 <a href="../classes/EventTarget.html#method_detachAll">EventTarget</a>: |
|
8203 |
|
8204 |
|
8205 |
|
8206 <a href="../files/event-custom_js_event-target.js.html#l469"><code>event-custom/js/event-target.js:469</code></a> |
|
8207 |
|
8208 </p> |
|
8209 |
|
8210 |
|
8211 |
|
8212 |
|
8213 |
|
8214 </div> |
|
8215 |
|
8216 <div class="description"> |
|
8217 <p>Removes all listeners from the specified event. If the event type |
|
8218 is not specified, all listeners from all hosted custom events will |
|
8219 be removed.</p> |
|
8220 </div> |
|
8221 |
|
8222 |
|
8223 <div class="params"> |
|
8224 <h4>Parameters:</h4> |
|
8225 |
|
8226 <ul class="params-list"> |
|
8227 |
|
8228 <li class="param"> |
|
8229 |
|
8230 <code class="param-name">type</code> |
|
8231 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8232 |
|
8233 |
|
8234 |
|
8235 |
|
8236 <div class="param-description"> |
|
8237 <p>The type, or name of the event</p> |
|
8238 </div> |
|
8239 |
|
8240 |
|
8241 </li> |
|
8242 |
|
8243 </ul> |
|
8244 </div> |
|
8245 |
|
8246 |
|
8247 |
|
8248 |
|
8249 |
|
8250 </div> |
|
8251 |
|
8252 |
|
8253 <div id="method_fire" class="method item inherited"> |
|
8254 <h3 class="name"><code>fire</code></h3> |
|
8255 |
|
8256 |
|
8257 <div class="args"> |
|
8258 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8259 |
|
8260 <li class="arg"> |
|
8261 |
|
8262 <code>type</code> |
|
8263 |
|
8264 </li> |
|
8265 |
|
8266 <li class="arg"> |
|
8267 |
|
8268 <code>arguments</code> |
|
8269 |
|
8270 </li> |
|
8271 |
|
8272 </ul><span class="paren">)</span> |
|
8273 </div> |
|
8274 |
|
8275 |
|
8276 |
|
8277 <span class="returns-inline"> |
|
8278 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
8279 </span> |
|
8280 |
|
8281 |
|
8282 |
|
8283 |
|
8284 |
|
8285 |
|
8286 |
|
8287 |
|
8288 |
|
8289 |
|
8290 |
|
8291 |
|
8292 |
|
8293 |
|
8294 <div class="meta"> |
|
8295 |
|
8296 |
|
8297 <p>Inherited from |
|
8298 <a href="../classes/EventTarget.html#method_fire">EventTarget</a>: |
|
8299 |
|
8300 |
|
8301 |
|
8302 <a href="../files/event-custom_js_event-target.js.html#l695"><code>event-custom/js/event-target.js:695</code></a> |
|
8303 |
|
8304 </p> |
|
8305 |
|
8306 |
|
8307 |
|
8308 |
|
8309 |
|
8310 </div> |
|
8311 |
|
8312 <div class="description"> |
|
8313 <p>Fire a custom event by name. The callback functions will be executed |
|
8314 from the context specified when the event was created, and with the |
|
8315 following parameters.</p> |
|
8316 |
|
8317 <p>If the custom event object hasn't been created, then the event hasn't |
|
8318 been published and it has no subscribers. For performance sake, we |
|
8319 immediate exit in this case. This means the event won't bubble, so |
|
8320 if the intention is that a bubble target be notified, the event must |
|
8321 be published on this object first.</p> |
|
8322 |
|
8323 <p>The first argument is the event type, and any additional arguments are |
|
8324 passed to the listeners as parameters. If the first of these is an |
|
8325 object literal, and the event is configured to emit an event facade, |
|
8326 that object is mixed into the event facade and the facade is provided |
|
8327 in place of the original object.</p> |
|
8328 </div> |
|
8329 |
|
8330 |
|
8331 <div class="params"> |
|
8332 <h4>Parameters:</h4> |
|
8333 |
|
8334 <ul class="params-list"> |
|
8335 |
|
8336 <li class="param"> |
|
8337 |
|
8338 <code class="param-name">type</code> |
|
8339 <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> |
|
8340 |
|
8341 |
|
8342 |
|
8343 |
|
8344 <div class="param-description"> |
|
8345 <p>The type of the event, or an object that contains |
|
8346 a 'type' property.</p> |
|
8347 </div> |
|
8348 |
|
8349 |
|
8350 </li> |
|
8351 |
|
8352 <li class="param"> |
|
8353 |
|
8354 <code class="param-name">arguments</code> |
|
8355 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object*</a></span> |
|
8356 |
|
8357 |
|
8358 |
|
8359 |
|
8360 <div class="param-description"> |
|
8361 <p>an arbitrary set of parameters to pass to |
|
8362 the handler. If the first of these is an object literal and the event is |
|
8363 configured to emit an event facade, the event facade will replace that |
|
8364 parameter after the properties the object literal contains are copied to |
|
8365 the event facade.</p> |
|
8366 </div> |
|
8367 |
|
8368 |
|
8369 </li> |
|
8370 |
|
8371 </ul> |
|
8372 </div> |
|
8373 |
|
8374 |
|
8375 |
|
8376 <div class="returns"> |
|
8377 <h4>Returns:</h4> |
|
8378 |
|
8379 <div class="returns-description"> |
|
8380 |
|
8381 |
|
8382 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>: |
|
8383 |
|
8384 the event host |
|
8385 |
|
8386 </div> |
|
8387 </div> |
|
8388 |
|
8389 |
|
8390 |
|
8391 </div> |
|
8392 |
|
8393 |
|
8394 <div id="method_get" class="method item inherited"> |
|
8395 <h3 class="name"><code>get</code></h3> |
|
8396 |
|
8397 |
|
8398 <div class="args"> |
|
8399 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8400 |
|
8401 <li class="arg"> |
|
8402 |
|
8403 <code>name</code> |
|
8404 |
|
8405 </li> |
|
8406 |
|
8407 </ul><span class="paren">)</span> |
|
8408 </div> |
|
8409 |
|
8410 |
|
8411 |
|
8412 <span class="returns-inline"> |
|
8413 <span class="type">Any</span> |
|
8414 </span> |
|
8415 |
|
8416 |
|
8417 |
|
8418 |
|
8419 |
|
8420 |
|
8421 |
|
8422 |
|
8423 |
|
8424 |
|
8425 |
|
8426 |
|
8427 |
|
8428 |
|
8429 <div class="meta"> |
|
8430 |
|
8431 |
|
8432 <p>Inherited from |
|
8433 <a href="../classes/AttributeCore.html#method_get">AttributeCore</a>: |
|
8434 |
|
8435 |
|
8436 |
|
8437 <a href="../files/attribute_js_AttributeCore.js.html#l353"><code>attribute/js/AttributeCore.js:353</code></a> |
|
8438 |
|
8439 </p> |
|
8440 |
|
8441 |
|
8442 |
|
8443 |
|
8444 |
|
8445 </div> |
|
8446 |
|
8447 <div class="description"> |
|
8448 <p>Returns the current value of the attribute. If the attribute |
|
8449 has been configured with a 'getter' function, this method will delegate |
|
8450 to the 'getter' to obtain the value of the attribute.</p> |
|
8451 </div> |
|
8452 |
|
8453 |
|
8454 <div class="params"> |
|
8455 <h4>Parameters:</h4> |
|
8456 |
|
8457 <ul class="params-list"> |
|
8458 |
|
8459 <li class="param"> |
|
8460 |
|
8461 <code class="param-name">name</code> |
|
8462 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8463 |
|
8464 |
|
8465 |
|
8466 |
|
8467 <div class="param-description"> |
|
8468 <p>The name of the attribute. If the value of the attribute is an Object, |
|
8469 dot notation can be used to obtain the value of a property of the object (e.g. <code>get("x.y.z")</code>)</p> |
|
8470 </div> |
|
8471 |
|
8472 |
|
8473 </li> |
|
8474 |
|
8475 </ul> |
|
8476 </div> |
|
8477 |
|
8478 |
|
8479 |
|
8480 <div class="returns"> |
|
8481 <h4>Returns:</h4> |
|
8482 |
|
8483 <div class="returns-description"> |
|
8484 |
|
8485 |
|
8486 <span class="type">Any</span>: |
|
8487 |
|
8488 The value of the attribute |
|
8489 |
|
8490 </div> |
|
8491 </div> |
|
8492 |
|
8493 |
|
8494 |
|
8495 </div> |
|
8496 |
|
8497 |
|
8498 <div id="method_getAttrs" class="method item inherited"> |
|
8499 <h3 class="name"><code>getAttrs</code></h3> |
|
8500 |
|
8501 |
|
8502 <div class="args"> |
|
8503 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8504 |
|
8505 <li class="arg"> |
|
8506 |
|
8507 <code>attrs</code> |
|
8508 |
|
8509 </li> |
|
8510 |
|
8511 </ul><span class="paren">)</span> |
|
8512 </div> |
|
8513 |
|
8514 |
|
8515 |
|
8516 <span class="returns-inline"> |
|
8517 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8518 </span> |
|
8519 |
|
8520 |
|
8521 |
|
8522 |
|
8523 |
|
8524 |
|
8525 |
|
8526 |
|
8527 |
|
8528 |
|
8529 |
|
8530 |
|
8531 |
|
8532 |
|
8533 <div class="meta"> |
|
8534 |
|
8535 |
|
8536 <p>Inherited from |
|
8537 <a href="../classes/AttributeCore.html#method_getAttrs">AttributeCore</a>: |
|
8538 |
|
8539 |
|
8540 |
|
8541 <a href="../files/attribute_js_AttributeCore.js.html#l762"><code>attribute/js/AttributeCore.js:762</code></a> |
|
8542 |
|
8543 </p> |
|
8544 |
|
8545 |
|
8546 |
|
8547 |
|
8548 |
|
8549 </div> |
|
8550 |
|
8551 <div class="description"> |
|
8552 <p>Gets multiple attribute values.</p> |
|
8553 </div> |
|
8554 |
|
8555 |
|
8556 <div class="params"> |
|
8557 <h4>Parameters:</h4> |
|
8558 |
|
8559 <ul class="params-list"> |
|
8560 |
|
8561 <li class="param"> |
|
8562 |
|
8563 <code class="param-name">attrs</code> |
|
8564 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span> |
|
8565 |
|
8566 |
|
8567 |
|
8568 |
|
8569 <div class="param-description"> |
|
8570 <p>Optional. An array of attribute names. If omitted, all attribute values are |
|
8571 returned. If set to true, all attributes modified from their initial values are returned.</p> |
|
8572 </div> |
|
8573 |
|
8574 |
|
8575 </li> |
|
8576 |
|
8577 </ul> |
|
8578 </div> |
|
8579 |
|
8580 |
|
8581 |
|
8582 <div class="returns"> |
|
8583 <h4>Returns:</h4> |
|
8584 |
|
8585 <div class="returns-description"> |
|
8586 |
|
8587 |
|
8588 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
8589 |
|
8590 An object with attribute name/value pairs. |
|
8591 |
|
8592 </div> |
|
8593 </div> |
|
8594 |
|
8595 |
|
8596 |
|
8597 </div> |
|
8598 |
|
8599 |
|
8600 <div id="method_getEvent" class="method item inherited"> |
|
8601 <h3 class="name"><code>getEvent</code></h3> |
|
8602 |
|
8603 |
|
8604 <div class="args"> |
|
8605 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8606 |
|
8607 <li class="arg"> |
|
8608 |
|
8609 <code>type</code> |
|
8610 |
|
8611 </li> |
|
8612 |
|
8613 <li class="arg"> |
|
8614 |
|
8615 <code>prefixed</code> |
|
8616 |
|
8617 </li> |
|
8618 |
|
8619 </ul><span class="paren">)</span> |
|
8620 </div> |
|
8621 |
|
8622 |
|
8623 |
|
8624 <span class="returns-inline"> |
|
8625 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
8626 </span> |
|
8627 |
|
8628 |
|
8629 |
|
8630 |
|
8631 |
|
8632 |
|
8633 |
|
8634 |
|
8635 |
|
8636 |
|
8637 |
|
8638 |
|
8639 |
|
8640 |
|
8641 <div class="meta"> |
|
8642 |
|
8643 |
|
8644 <p>Inherited from |
|
8645 <a href="../classes/EventTarget.html#method_getEvent">EventTarget</a>: |
|
8646 |
|
8647 |
|
8648 |
|
8649 <a href="../files/event-custom_js_event-target.js.html#l814"><code>event-custom/js/event-target.js:814</code></a> |
|
8650 |
|
8651 </p> |
|
8652 |
|
8653 |
|
8654 |
|
8655 |
|
8656 |
|
8657 </div> |
|
8658 |
|
8659 <div class="description"> |
|
8660 <p>Returns the custom event of the provided type has been created, a |
|
8661 falsy value otherwise</p> |
|
8662 </div> |
|
8663 |
|
8664 |
|
8665 <div class="params"> |
|
8666 <h4>Parameters:</h4> |
|
8667 |
|
8668 <ul class="params-list"> |
|
8669 |
|
8670 <li class="param"> |
|
8671 |
|
8672 <code class="param-name">type</code> |
|
8673 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8674 |
|
8675 |
|
8676 |
|
8677 |
|
8678 <div class="param-description"> |
|
8679 <p>the type, or name of the event</p> |
|
8680 </div> |
|
8681 |
|
8682 |
|
8683 </li> |
|
8684 |
|
8685 <li class="param"> |
|
8686 |
|
8687 <code class="param-name">prefixed</code> |
|
8688 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8689 |
|
8690 |
|
8691 |
|
8692 |
|
8693 <div class="param-description"> |
|
8694 <p>if true, the type is prefixed already</p> |
|
8695 </div> |
|
8696 |
|
8697 |
|
8698 </li> |
|
8699 |
|
8700 </ul> |
|
8701 </div> |
|
8702 |
|
8703 |
|
8704 |
|
8705 <div class="returns"> |
|
8706 <h4>Returns:</h4> |
|
8707 |
|
8708 <div class="returns-description"> |
|
8709 |
|
8710 |
|
8711 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>: |
|
8712 |
|
8713 the custom event or null |
|
8714 |
|
8715 </div> |
|
8716 </div> |
|
8717 |
|
8718 |
|
8719 |
|
8720 </div> |
|
8721 |
|
8722 |
|
8723 <div id="method_getTargets" class="method item inherited"> |
|
8724 <h3 class="name"><code>getTargets</code></h3> |
|
8725 |
|
8726 |
|
8727 <span class="paren">()</span> |
|
8728 |
|
8729 |
|
8730 |
|
8731 <span class="returns-inline"> |
|
8732 <span class="type"></span> |
|
8733 </span> |
|
8734 |
|
8735 |
|
8736 |
|
8737 |
|
8738 |
|
8739 |
|
8740 |
|
8741 |
|
8742 |
|
8743 |
|
8744 |
|
8745 |
|
8746 |
|
8747 |
|
8748 <div class="meta"> |
|
8749 |
|
8750 |
|
8751 <p>Inherited from |
|
8752 <a href="../classes/EventTarget.html#method_getTargets">EventTarget</a>: |
|
8753 |
|
8754 |
|
8755 |
|
8756 <a href="../files/event-custom_js_event-facade.js.html#l479"><code>event-custom/js/event-facade.js:479</code></a> |
|
8757 |
|
8758 </p> |
|
8759 |
|
8760 |
|
8761 |
|
8762 |
|
8763 |
|
8764 </div> |
|
8765 |
|
8766 <div class="description"> |
|
8767 <p>Returns an array of bubble targets for this object.</p> |
|
8768 </div> |
|
8769 |
|
8770 |
|
8771 |
|
8772 |
|
8773 <div class="returns"> |
|
8774 <h4>Returns:</h4> |
|
8775 |
|
8776 <div class="returns-description"> |
|
8777 |
|
8778 |
|
8779 EventTarget[] |
|
8780 |
|
8781 </div> |
|
8782 </div> |
|
8783 |
|
8784 |
|
8785 |
|
8786 </div> |
|
8787 |
|
8788 |
|
8789 <div id="method_init" class="method item inherited"> |
|
8790 <h3 class="name"><code>init</code></h3> |
|
8791 |
|
8792 |
|
8793 <div class="args"> |
|
8794 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8795 |
|
8796 <li class="arg"> |
|
8797 |
|
8798 <code>cfg</code> |
|
8799 |
|
8800 </li> |
|
8801 |
|
8802 </ul><span class="paren">)</span> |
|
8803 </div> |
|
8804 |
|
8805 |
|
8806 |
|
8807 <span class="returns-inline"> |
|
8808 <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span> |
|
8809 </span> |
|
8810 |
|
8811 |
|
8812 |
|
8813 |
|
8814 |
|
8815 |
|
8816 |
|
8817 |
|
8818 |
|
8819 |
|
8820 |
|
8821 <span class="flag chainable">chainable</span> |
|
8822 |
|
8823 |
|
8824 |
|
8825 |
|
8826 <div class="meta"> |
|
8827 |
|
8828 <p>Inherited from |
|
8829 <a href="../classes/BaseObservable.html#method_init"> |
|
8830 BaseObservable |
|
8831 </a> |
|
8832 |
|
8833 but overwritten in |
|
8834 |
|
8835 |
|
8836 |
|
8837 <a href="../files/base_js_BaseCore.js.html#l264"><code>base/js/BaseCore.js:264</code></a> |
|
8838 |
|
8839 </p> |
|
8840 |
|
8841 |
|
8842 |
|
8843 |
|
8844 |
|
8845 </div> |
|
8846 |
|
8847 <div class="description"> |
|
8848 <p>Init lifecycle method, invoked during construction. Sets up attributes |
|
8849 and invokes initializers for the class hierarchy.</p> |
|
8850 </div> |
|
8851 |
|
8852 |
|
8853 <div class="params"> |
|
8854 <h4>Parameters:</h4> |
|
8855 |
|
8856 <ul class="params-list"> |
|
8857 |
|
8858 <li class="param"> |
|
8859 |
|
8860 <code class="param-name">cfg</code> |
|
8861 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8862 |
|
8863 |
|
8864 |
|
8865 |
|
8866 <div class="param-description"> |
|
8867 <p>Object with configuration property name/value pairs</p> |
|
8868 </div> |
|
8869 |
|
8870 |
|
8871 </li> |
|
8872 |
|
8873 </ul> |
|
8874 </div> |
|
8875 |
|
8876 |
|
8877 |
|
8878 <div class="returns"> |
|
8879 <h4>Returns:</h4> |
|
8880 |
|
8881 <div class="returns-description"> |
|
8882 |
|
8883 |
|
8884 <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span>: |
|
8885 |
|
8886 A reference to this object |
|
8887 |
|
8888 </div> |
|
8889 </div> |
|
8890 |
|
8891 |
|
8892 |
|
8893 </div> |
|
8894 |
|
8895 |
|
8896 <div id="method_initializer" class="method item private inherited"> |
|
8897 <h3 class="name"><code>initializer</code></h3> |
|
8898 |
|
8899 |
|
8900 <div class="args"> |
|
8901 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8902 |
|
8903 <li class="arg"> |
|
8904 |
|
8905 <code>config</code> |
|
8906 |
|
8907 </li> |
|
8908 |
|
8909 </ul><span class="paren">)</span> |
|
8910 </div> |
|
8911 |
|
8912 |
|
8913 |
|
8914 |
|
8915 |
|
8916 |
|
8917 |
|
8918 <span class="flag private">private</span> |
|
8919 |
|
8920 |
|
8921 |
|
8922 |
|
8923 |
|
8924 |
|
8925 |
|
8926 |
|
8927 |
|
8928 |
|
8929 <div class="meta"> |
|
8930 |
|
8931 |
|
8932 <p>Inherited from |
|
8933 <a href="../classes/DataSource.Local.html#method_initializer">DataSource.Local</a>: |
|
8934 |
|
8935 |
|
8936 |
|
8937 <a href="../files/datasource_js_datasource-local.js.html#l113"><code>datasource/js/datasource-local.js:113</code></a> |
|
8938 |
|
8939 </p> |
|
8940 |
|
8941 |
|
8942 |
|
8943 |
|
8944 |
|
8945 </div> |
|
8946 |
|
8947 <div class="description"> |
|
8948 <p>Internal init() handler.</p> |
|
8949 </div> |
|
8950 |
|
8951 |
|
8952 <div class="params"> |
|
8953 <h4>Parameters:</h4> |
|
8954 |
|
8955 <ul class="params-list"> |
|
8956 |
|
8957 <li class="param"> |
|
8958 |
|
8959 <code class="param-name">config</code> |
|
8960 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8961 |
|
8962 |
|
8963 |
|
8964 |
|
8965 <div class="param-description"> |
|
8966 <p>Config object.</p> |
|
8967 </div> |
|
8968 |
|
8969 |
|
8970 </li> |
|
8971 |
|
8972 </ul> |
|
8973 </div> |
|
8974 |
|
8975 |
|
8976 |
|
8977 |
|
8978 |
|
8979 </div> |
|
8980 |
|
8981 |
|
8982 <div id="method_modifyAttr" class="method item inherited"> |
|
8983 <h3 class="name"><code>modifyAttr</code></h3> |
|
8984 |
|
8985 |
|
8986 <div class="args"> |
|
8987 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8988 |
|
8989 <li class="arg"> |
|
8990 |
|
8991 <code>name</code> |
|
8992 |
|
8993 </li> |
|
8994 |
|
8995 <li class="arg"> |
|
8996 |
|
8997 <code>config</code> |
|
8998 |
|
8999 </li> |
|
9000 |
|
9001 </ul><span class="paren">)</span> |
|
9002 </div> |
|
9003 |
|
9004 |
|
9005 |
|
9006 |
|
9007 |
|
9008 |
|
9009 |
|
9010 |
|
9011 |
|
9012 |
|
9013 |
|
9014 |
|
9015 |
|
9016 |
|
9017 |
|
9018 |
|
9019 <div class="meta"> |
|
9020 |
|
9021 |
|
9022 <p>Inherited from |
|
9023 <a href="../classes/AttributeExtras.html#method_modifyAttr">AttributeExtras</a>: |
|
9024 |
|
9025 |
|
9026 |
|
9027 <a href="../files/attribute_js_AttributeExtras.js.html#l40"><code>attribute/js/AttributeExtras.js:40</code></a> |
|
9028 |
|
9029 </p> |
|
9030 |
|
9031 |
|
9032 |
|
9033 |
|
9034 |
|
9035 </div> |
|
9036 |
|
9037 <div class="description"> |
|
9038 <p>Updates the configuration of an attribute which has already been added.</p> |
|
9039 |
|
9040 <p> |
|
9041 The properties which can be modified through this interface are limited |
|
9042 to the following subset of attributes, which can be safely modified |
|
9043 after a value has already been set on the attribute: readOnly, writeOnce, |
|
9044 broadcast and getter. |
|
9045 </p> |
|
9046 </div> |
|
9047 |
|
9048 |
|
9049 <div class="params"> |
|
9050 <h4>Parameters:</h4> |
|
9051 |
|
9052 <ul class="params-list"> |
|
9053 |
|
9054 <li class="param"> |
|
9055 |
|
9056 <code class="param-name">name</code> |
|
9057 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9058 |
|
9059 |
|
9060 |
|
9061 |
|
9062 <div class="param-description"> |
|
9063 <p>The name of the attribute whose configuration is to be updated.</p> |
|
9064 </div> |
|
9065 |
|
9066 |
|
9067 </li> |
|
9068 |
|
9069 <li class="param"> |
|
9070 |
|
9071 <code class="param-name">config</code> |
|
9072 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9073 |
|
9074 |
|
9075 |
|
9076 |
|
9077 <div class="param-description"> |
|
9078 <p>An object with configuration property/value pairs, specifying the configuration properties to modify.</p> |
|
9079 </div> |
|
9080 |
|
9081 |
|
9082 </li> |
|
9083 |
|
9084 </ul> |
|
9085 </div> |
|
9086 |
|
9087 |
|
9088 |
|
9089 |
|
9090 |
|
9091 </div> |
|
9092 |
|
9093 |
|
9094 <div id="method_on" class="method item inherited"> |
|
9095 <h3 class="name"><code>on</code></h3> |
|
9096 |
|
9097 |
|
9098 <div class="args"> |
|
9099 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9100 |
|
9101 <li class="arg"> |
|
9102 |
|
9103 <code>type</code> |
|
9104 |
|
9105 </li> |
|
9106 |
|
9107 <li class="arg"> |
|
9108 |
|
9109 <code>fn</code> |
|
9110 |
|
9111 </li> |
|
9112 |
|
9113 <li class="arg"> |
|
9114 |
|
9115 <code class="optional">[context]</code> |
|
9116 |
|
9117 </li> |
|
9118 |
|
9119 <li class="arg"> |
|
9120 |
|
9121 <code class="optional">[arg*]</code> |
|
9122 |
|
9123 </li> |
|
9124 |
|
9125 </ul><span class="paren">)</span> |
|
9126 </div> |
|
9127 |
|
9128 |
|
9129 |
|
9130 <span class="returns-inline"> |
|
9131 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
9132 </span> |
|
9133 |
|
9134 |
|
9135 |
|
9136 |
|
9137 |
|
9138 |
|
9139 |
|
9140 |
|
9141 |
|
9142 |
|
9143 |
|
9144 |
|
9145 |
|
9146 |
|
9147 <div class="meta"> |
|
9148 |
|
9149 |
|
9150 <p>Inherited from |
|
9151 <a href="../classes/EventTarget.html#method_on">EventTarget</a>: |
|
9152 |
|
9153 |
|
9154 |
|
9155 <a href="../files/event-custom_js_event-target.js.html#l188"><code>event-custom/js/event-target.js:188</code></a> |
|
9156 |
|
9157 </p> |
|
9158 |
|
9159 |
|
9160 |
|
9161 |
|
9162 |
|
9163 </div> |
|
9164 |
|
9165 <div class="description"> |
|
9166 <p>Subscribe a callback function to a custom event fired by this object or |
|
9167 from an object that bubbles its events to this object.</p> |
|
9168 |
|
9169 <p>Callback functions for events published with <code>emitFacade = true</code> will |
|
9170 receive an <code>EventFacade</code> as the first argument (typically named "e"). |
|
9171 These callbacks can then call <code>e.preventDefault()</code> to disable the |
|
9172 behavior published to that event's <code>defaultFn</code>. See the <code>EventFacade</code> |
|
9173 API for all available properties and methods. Subscribers to |
|
9174 non-<code>emitFacade</code> events will receive the arguments passed to <code>fire()</code> |
|
9175 after the event name.</p> |
|
9176 |
|
9177 <p>To subscribe to multiple events at once, pass an object as the first |
|
9178 argument, where the key:value pairs correspond to the eventName:callback, |
|
9179 or pass an array of event names as the first argument to subscribe to |
|
9180 all listed events with the same callback.</p> |
|
9181 |
|
9182 <p>Returning <code>false</code> from a callback is supported as an alternative to |
|
9183 calling <code>e.preventDefault(); e.stopPropagation();</code>. However, it is |
|
9184 recommended to use the event methods whenever possible.</p> |
|
9185 </div> |
|
9186 |
|
9187 |
|
9188 <div class="params"> |
|
9189 <h4>Parameters:</h4> |
|
9190 |
|
9191 <ul class="params-list"> |
|
9192 |
|
9193 <li class="param"> |
|
9194 |
|
9195 <code class="param-name">type</code> |
|
9196 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9197 |
|
9198 |
|
9199 |
|
9200 |
|
9201 <div class="param-description"> |
|
9202 <p>The name of the event</p> |
|
9203 </div> |
|
9204 |
|
9205 |
|
9206 </li> |
|
9207 |
|
9208 <li class="param"> |
|
9209 |
|
9210 <code class="param-name">fn</code> |
|
9211 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
9212 |
|
9213 |
|
9214 |
|
9215 |
|
9216 <div class="param-description"> |
|
9217 <p>The callback to execute in response to the event</p> |
|
9218 </div> |
|
9219 |
|
9220 |
|
9221 </li> |
|
9222 |
|
9223 <li class="param"> |
|
9224 |
|
9225 <code class="param-name optional">[context]</code> |
|
9226 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9227 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9228 |
|
9229 |
|
9230 |
|
9231 |
|
9232 <div class="param-description"> |
|
9233 <p>Override <code>this</code> object in callback</p> |
|
9234 </div> |
|
9235 |
|
9236 |
|
9237 </li> |
|
9238 |
|
9239 <li class="param"> |
|
9240 |
|
9241 <code class="param-name optional">[arg*]</code> |
|
9242 <span class="type">Any</span> |
|
9243 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9244 |
|
9245 |
|
9246 |
|
9247 |
|
9248 <div class="param-description"> |
|
9249 <p>0..n additional arguments to supply to the subscriber</p> |
|
9250 </div> |
|
9251 |
|
9252 |
|
9253 </li> |
|
9254 |
|
9255 </ul> |
|
9256 </div> |
|
9257 |
|
9258 |
|
9259 |
|
9260 <div class="returns"> |
|
9261 <h4>Returns:</h4> |
|
9262 |
|
9263 <div class="returns-description"> |
|
9264 |
|
9265 |
|
9266 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
9267 |
|
9268 A subscription handle capable of detaching that |
|
9269 subscription |
|
9270 |
|
9271 </div> |
|
9272 </div> |
|
9273 |
|
9274 |
|
9275 |
|
9276 </div> |
|
9277 |
|
9278 |
|
9279 <div id="method_once" class="method item inherited"> |
|
9280 <h3 class="name"><code>once</code></h3> |
|
9281 |
|
9282 |
|
9283 <div class="args"> |
|
9284 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9285 |
|
9286 <li class="arg"> |
|
9287 |
|
9288 <code>type</code> |
|
9289 |
|
9290 </li> |
|
9291 |
|
9292 <li class="arg"> |
|
9293 |
|
9294 <code>fn</code> |
|
9295 |
|
9296 </li> |
|
9297 |
|
9298 <li class="arg"> |
|
9299 |
|
9300 <code class="optional">[context]</code> |
|
9301 |
|
9302 </li> |
|
9303 |
|
9304 <li class="arg"> |
|
9305 |
|
9306 <code class="optional">[arg*]</code> |
|
9307 |
|
9308 </li> |
|
9309 |
|
9310 </ul><span class="paren">)</span> |
|
9311 </div> |
|
9312 |
|
9313 |
|
9314 |
|
9315 <span class="returns-inline"> |
|
9316 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
9317 </span> |
|
9318 |
|
9319 |
|
9320 |
|
9321 |
|
9322 |
|
9323 |
|
9324 |
|
9325 |
|
9326 |
|
9327 |
|
9328 |
|
9329 |
|
9330 |
|
9331 |
|
9332 <div class="meta"> |
|
9333 |
|
9334 |
|
9335 <p>Inherited from |
|
9336 <a href="../classes/EventTarget.html#method_once">EventTarget</a>: |
|
9337 |
|
9338 |
|
9339 |
|
9340 <a href="../files/event-custom_js_event-target.js.html#l124"><code>event-custom/js/event-target.js:124</code></a> |
|
9341 |
|
9342 </p> |
|
9343 |
|
9344 |
|
9345 |
|
9346 |
|
9347 |
|
9348 </div> |
|
9349 |
|
9350 <div class="description"> |
|
9351 <p>Listen to a custom event hosted by this object one time. |
|
9352 This is the equivalent to <code>on</code> except the |
|
9353 listener is immediatelly detached when it is executed.</p> |
|
9354 </div> |
|
9355 |
|
9356 |
|
9357 <div class="params"> |
|
9358 <h4>Parameters:</h4> |
|
9359 |
|
9360 <ul class="params-list"> |
|
9361 |
|
9362 <li class="param"> |
|
9363 |
|
9364 <code class="param-name">type</code> |
|
9365 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9366 |
|
9367 |
|
9368 |
|
9369 |
|
9370 <div class="param-description"> |
|
9371 <p>The name of the event</p> |
|
9372 </div> |
|
9373 |
|
9374 |
|
9375 </li> |
|
9376 |
|
9377 <li class="param"> |
|
9378 |
|
9379 <code class="param-name">fn</code> |
|
9380 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
9381 |
|
9382 |
|
9383 |
|
9384 |
|
9385 <div class="param-description"> |
|
9386 <p>The callback to execute in response to the event</p> |
|
9387 </div> |
|
9388 |
|
9389 |
|
9390 </li> |
|
9391 |
|
9392 <li class="param"> |
|
9393 |
|
9394 <code class="param-name optional">[context]</code> |
|
9395 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9396 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9397 |
|
9398 |
|
9399 |
|
9400 |
|
9401 <div class="param-description"> |
|
9402 <p>Override <code>this</code> object in callback</p> |
|
9403 </div> |
|
9404 |
|
9405 |
|
9406 </li> |
|
9407 |
|
9408 <li class="param"> |
|
9409 |
|
9410 <code class="param-name optional">[arg*]</code> |
|
9411 <span class="type">Any</span> |
|
9412 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9413 |
|
9414 |
|
9415 |
|
9416 |
|
9417 <div class="param-description"> |
|
9418 <p>0..n additional arguments to supply to the subscriber</p> |
|
9419 </div> |
|
9420 |
|
9421 |
|
9422 </li> |
|
9423 |
|
9424 </ul> |
|
9425 </div> |
|
9426 |
|
9427 |
|
9428 |
|
9429 <div class="returns"> |
|
9430 <h4>Returns:</h4> |
|
9431 |
|
9432 <div class="returns-description"> |
|
9433 |
|
9434 |
|
9435 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
9436 |
|
9437 A subscription handle capable of detaching the |
|
9438 subscription |
|
9439 |
|
9440 </div> |
|
9441 </div> |
|
9442 |
|
9443 |
|
9444 |
|
9445 </div> |
|
9446 |
|
9447 |
|
9448 <div id="method_onceAfter" class="method item inherited"> |
|
9449 <h3 class="name"><code>onceAfter</code></h3> |
|
9450 |
|
9451 |
|
9452 <div class="args"> |
|
9453 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9454 |
|
9455 <li class="arg"> |
|
9456 |
|
9457 <code>type</code> |
|
9458 |
|
9459 </li> |
|
9460 |
|
9461 <li class="arg"> |
|
9462 |
|
9463 <code>fn</code> |
|
9464 |
|
9465 </li> |
|
9466 |
|
9467 <li class="arg"> |
|
9468 |
|
9469 <code class="optional">[context]</code> |
|
9470 |
|
9471 </li> |
|
9472 |
|
9473 <li class="arg"> |
|
9474 |
|
9475 <code class="optional">[arg*]</code> |
|
9476 |
|
9477 </li> |
|
9478 |
|
9479 </ul><span class="paren">)</span> |
|
9480 </div> |
|
9481 |
|
9482 |
|
9483 |
|
9484 <span class="returns-inline"> |
|
9485 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
9486 </span> |
|
9487 |
|
9488 |
|
9489 |
|
9490 |
|
9491 |
|
9492 |
|
9493 |
|
9494 |
|
9495 |
|
9496 |
|
9497 |
|
9498 |
|
9499 |
|
9500 |
|
9501 <div class="meta"> |
|
9502 |
|
9503 |
|
9504 <p>Inherited from |
|
9505 <a href="../classes/EventTarget.html#method_onceAfter">EventTarget</a>: |
|
9506 |
|
9507 |
|
9508 |
|
9509 <a href="../files/event-custom_js_event-target.js.html#l146"><code>event-custom/js/event-target.js:146</code></a> |
|
9510 |
|
9511 </p> |
|
9512 |
|
9513 |
|
9514 |
|
9515 |
|
9516 |
|
9517 </div> |
|
9518 |
|
9519 <div class="description"> |
|
9520 <p>Listen to a custom event hosted by this object one time. |
|
9521 This is the equivalent to <code>after</code> except the |
|
9522 listener is immediatelly detached when it is executed.</p> |
|
9523 </div> |
|
9524 |
|
9525 |
|
9526 <div class="params"> |
|
9527 <h4>Parameters:</h4> |
|
9528 |
|
9529 <ul class="params-list"> |
|
9530 |
|
9531 <li class="param"> |
|
9532 |
|
9533 <code class="param-name">type</code> |
|
9534 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9535 |
|
9536 |
|
9537 |
|
9538 |
|
9539 <div class="param-description"> |
|
9540 <p>The name of the event</p> |
|
9541 </div> |
|
9542 |
|
9543 |
|
9544 </li> |
|
9545 |
|
9546 <li class="param"> |
|
9547 |
|
9548 <code class="param-name">fn</code> |
|
9549 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
9550 |
|
9551 |
|
9552 |
|
9553 |
|
9554 <div class="param-description"> |
|
9555 <p>The callback to execute in response to the event</p> |
|
9556 </div> |
|
9557 |
|
9558 |
|
9559 </li> |
|
9560 |
|
9561 <li class="param"> |
|
9562 |
|
9563 <code class="param-name optional">[context]</code> |
|
9564 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9565 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9566 |
|
9567 |
|
9568 |
|
9569 |
|
9570 <div class="param-description"> |
|
9571 <p>Override <code>this</code> object in callback</p> |
|
9572 </div> |
|
9573 |
|
9574 |
|
9575 </li> |
|
9576 |
|
9577 <li class="param"> |
|
9578 |
|
9579 <code class="param-name optional">[arg*]</code> |
|
9580 <span class="type">Any</span> |
|
9581 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9582 |
|
9583 |
|
9584 |
|
9585 |
|
9586 <div class="param-description"> |
|
9587 <p>0..n additional arguments to supply to the subscriber</p> |
|
9588 </div> |
|
9589 |
|
9590 |
|
9591 </li> |
|
9592 |
|
9593 </ul> |
|
9594 </div> |
|
9595 |
|
9596 |
|
9597 |
|
9598 <div class="returns"> |
|
9599 <h4>Returns:</h4> |
|
9600 |
|
9601 <div class="returns-description"> |
|
9602 |
|
9603 |
|
9604 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
9605 |
|
9606 A subscription handle capable of detaching that |
|
9607 subscription |
|
9608 |
|
9609 </div> |
|
9610 </div> |
|
9611 |
|
9612 |
|
9613 |
|
9614 </div> |
|
9615 |
|
9616 |
|
9617 <div id="method_parseType" class="method item inherited"> |
|
9618 <h3 class="name"><code>parseType</code></h3> |
|
9619 |
|
9620 |
|
9621 <div class="args"> |
|
9622 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9623 |
|
9624 <li class="arg"> |
|
9625 |
|
9626 <code>type</code> |
|
9627 |
|
9628 </li> |
|
9629 |
|
9630 <li class="arg"> |
|
9631 |
|
9632 <code class="optional">[pre=this._yuievt.config.prefix]</code> |
|
9633 |
|
9634 </li> |
|
9635 |
|
9636 </ul><span class="paren">)</span> |
|
9637 </div> |
|
9638 |
|
9639 |
|
9640 |
|
9641 <span class="returns-inline"> |
|
9642 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
9643 </span> |
|
9644 |
|
9645 |
|
9646 |
|
9647 |
|
9648 |
|
9649 |
|
9650 |
|
9651 |
|
9652 |
|
9653 |
|
9654 |
|
9655 |
|
9656 |
|
9657 |
|
9658 <div class="meta"> |
|
9659 |
|
9660 |
|
9661 <p>Inherited from |
|
9662 <a href="../classes/EventTarget.html#method_parseType">EventTarget</a>: |
|
9663 |
|
9664 |
|
9665 |
|
9666 <a href="../files/event-custom_js_event-target.js.html#l168"><code>event-custom/js/event-target.js:168</code></a> |
|
9667 |
|
9668 </p> |
|
9669 |
|
9670 |
|
9671 |
|
9672 |
|
9673 |
|
9674 <p>Available since 3.3.0</p> |
|
9675 |
|
9676 </div> |
|
9677 |
|
9678 <div class="description"> |
|
9679 <p>Takes the type parameter passed to 'on' and parses out the |
|
9680 various pieces that could be included in the type. If the |
|
9681 event type is passed without a prefix, it will be expanded |
|
9682 to include the prefix one is supplied or the event target |
|
9683 is configured with a default prefix.</p> |
|
9684 </div> |
|
9685 |
|
9686 |
|
9687 <div class="params"> |
|
9688 <h4>Parameters:</h4> |
|
9689 |
|
9690 <ul class="params-list"> |
|
9691 |
|
9692 <li class="param"> |
|
9693 |
|
9694 <code class="param-name">type</code> |
|
9695 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9696 |
|
9697 |
|
9698 |
|
9699 |
|
9700 <div class="param-description"> |
|
9701 <p>the type</p> |
|
9702 </div> |
|
9703 |
|
9704 |
|
9705 </li> |
|
9706 |
|
9707 <li class="param"> |
|
9708 |
|
9709 <code class="param-name optional">[pre=this._yuievt.config.prefix]</code> |
|
9710 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9711 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9712 |
|
9713 |
|
9714 |
|
9715 |
|
9716 <div class="param-description"> |
|
9717 <p>the prefix</p> |
|
9718 </div> |
|
9719 |
|
9720 |
|
9721 </li> |
|
9722 |
|
9723 </ul> |
|
9724 </div> |
|
9725 |
|
9726 |
|
9727 |
|
9728 <div class="returns"> |
|
9729 <h4>Returns:</h4> |
|
9730 |
|
9731 <div class="returns-description"> |
|
9732 |
|
9733 |
|
9734 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>: |
|
9735 |
|
9736 an array containing: |
|
9737 * the detach category, if supplied, |
|
9738 * the prefixed event type, |
|
9739 * whether or not this is an after listener, |
|
9740 * the supplied event type |
|
9741 |
|
9742 </div> |
|
9743 </div> |
|
9744 |
|
9745 |
|
9746 |
|
9747 </div> |
|
9748 |
|
9749 |
|
9750 <div id="method_publish" class="method item inherited"> |
|
9751 <h3 class="name"><code>publish</code></h3> |
|
9752 |
|
9753 |
|
9754 <div class="args"> |
|
9755 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9756 |
|
9757 <li class="arg"> |
|
9758 |
|
9759 <code>type</code> |
|
9760 |
|
9761 </li> |
|
9762 |
|
9763 <li class="arg"> |
|
9764 |
|
9765 <code>opts</code> |
|
9766 |
|
9767 </li> |
|
9768 |
|
9769 </ul><span class="paren">)</span> |
|
9770 </div> |
|
9771 |
|
9772 |
|
9773 |
|
9774 <span class="returns-inline"> |
|
9775 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
9776 </span> |
|
9777 |
|
9778 |
|
9779 |
|
9780 |
|
9781 |
|
9782 |
|
9783 |
|
9784 |
|
9785 |
|
9786 |
|
9787 |
|
9788 |
|
9789 |
|
9790 |
|
9791 <div class="meta"> |
|
9792 |
|
9793 |
|
9794 <p>Inherited from |
|
9795 <a href="../classes/EventTarget.html#method_publish">EventTarget</a>: |
|
9796 |
|
9797 |
|
9798 |
|
9799 <a href="../files/event-custom_js_event-target.js.html#l493"><code>event-custom/js/event-target.js:493</code></a> |
|
9800 |
|
9801 </p> |
|
9802 |
|
9803 |
|
9804 |
|
9805 |
|
9806 |
|
9807 </div> |
|
9808 |
|
9809 <div class="description"> |
|
9810 <p>Creates a new custom event of the specified type. If a custom event |
|
9811 by that name already exists, it will not be re-created. In either |
|
9812 case the custom event is returned.</p> |
|
9813 </div> |
|
9814 |
|
9815 |
|
9816 <div class="params"> |
|
9817 <h4>Parameters:</h4> |
|
9818 |
|
9819 <ul class="params-list"> |
|
9820 |
|
9821 <li class="param"> |
|
9822 |
|
9823 <code class="param-name">type</code> |
|
9824 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9825 |
|
9826 |
|
9827 |
|
9828 |
|
9829 <div class="param-description"> |
|
9830 <p>the type, or name of the event</p> |
|
9831 </div> |
|
9832 |
|
9833 |
|
9834 </li> |
|
9835 |
|
9836 <li class="param"> |
|
9837 |
|
9838 <code class="param-name">opts</code> |
|
9839 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9840 |
|
9841 |
|
9842 |
|
9843 |
|
9844 <div class="param-description"> |
|
9845 <p>optional config params. Valid properties are:</p> |
|
9846 |
|
9847 <p><ul> |
|
9848 <li> |
|
9849 'broadcast': whether or not the YUI instance and YUI global are notified when the event is fired (false) |
|
9850 </li> |
|
9851 <li> |
|
9852 'bubbles': whether or not this event bubbles (true) |
|
9853 Events can only bubble if emitFacade is true. |
|
9854 </li> |
|
9855 <li> |
|
9856 'context': the default execution context for the listeners (this) |
|
9857 </li> |
|
9858 <li> |
|
9859 'defaultFn': the default function to execute when this event fires if preventDefault was not called |
|
9860 </li> |
|
9861 <li> |
|
9862 'emitFacade': whether or not this event emits a facade (false) |
|
9863 </li> |
|
9864 <li> |
|
9865 'prefix': the prefix for this targets events, e.g., 'menu' in 'menu:click' |
|
9866 </li> |
|
9867 <li> |
|
9868 'fireOnce': if an event is configured to fire once, new subscribers after |
|
9869 the fire will be notified immediately. |
|
9870 </li> |
|
9871 <li> |
|
9872 'async': fireOnce event listeners will fire synchronously if the event has already |
|
9873 fired unless async is true. |
|
9874 </li> |
|
9875 <li> |
|
9876 'preventable': whether or not preventDefault() has an effect (true) |
|
9877 </li> |
|
9878 <li> |
|
9879 'preventedFn': a function that is executed when preventDefault is called |
|
9880 </li> |
|
9881 <li> |
|
9882 'queuable': whether or not this event can be queued during bubbling (false) |
|
9883 </li> |
|
9884 <li> |
|
9885 'silent': if silent is true, debug messages are not provided for this event. |
|
9886 </li> |
|
9887 <li> |
|
9888 'stoppedFn': a function that is executed when stopPropagation is called |
|
9889 </li></p> |
|
9890 |
|
9891 <p><li> |
|
9892 'monitored': specifies whether or not this event should send notifications about |
|
9893 when the event has been attached, detached, or published. |
|
9894 </li> |
|
9895 <li> |
|
9896 'type': the event type (valid option if not provided as the first parameter to publish) |
|
9897 </li> |
|
9898 </ul></p> |
|
9899 </div> |
|
9900 |
|
9901 |
|
9902 </li> |
|
9903 |
|
9904 </ul> |
|
9905 </div> |
|
9906 |
|
9907 |
|
9908 |
|
9909 <div class="returns"> |
|
9910 <h4>Returns:</h4> |
|
9911 |
|
9912 <div class="returns-description"> |
|
9913 |
|
9914 |
|
9915 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>: |
|
9916 |
|
9917 the custom event |
|
9918 |
|
9919 </div> |
|
9920 </div> |
|
9921 |
|
9922 |
|
9923 |
|
9924 </div> |
|
9925 |
|
9926 |
|
9927 <div id="method_removeAttr" class="method item inherited"> |
|
9928 <h3 class="name"><code>removeAttr</code></h3> |
|
9929 |
|
9930 |
|
9931 <div class="args"> |
|
9932 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9933 |
|
9934 <li class="arg"> |
|
9935 |
|
9936 <code>name</code> |
|
9937 |
|
9938 </li> |
|
9939 |
|
9940 </ul><span class="paren">)</span> |
|
9941 </div> |
|
9942 |
|
9943 |
|
9944 |
|
9945 |
|
9946 |
|
9947 |
|
9948 |
|
9949 |
|
9950 |
|
9951 |
|
9952 |
|
9953 |
|
9954 |
|
9955 |
|
9956 |
|
9957 |
|
9958 <div class="meta"> |
|
9959 |
|
9960 |
|
9961 <p>Inherited from |
|
9962 <a href="../classes/AttributeExtras.html#method_removeAttr">AttributeExtras</a>: |
|
9963 |
|
9964 |
|
9965 |
|
9966 <a href="../files/attribute_js_AttributeExtras.js.html#l79"><code>attribute/js/AttributeExtras.js:79</code></a> |
|
9967 |
|
9968 </p> |
|
9969 |
|
9970 |
|
9971 |
|
9972 |
|
9973 |
|
9974 </div> |
|
9975 |
|
9976 <div class="description"> |
|
9977 <p>Removes an attribute from the host object</p> |
|
9978 </div> |
|
9979 |
|
9980 |
|
9981 <div class="params"> |
|
9982 <h4>Parameters:</h4> |
|
9983 |
|
9984 <ul class="params-list"> |
|
9985 |
|
9986 <li class="param"> |
|
9987 |
|
9988 <code class="param-name">name</code> |
|
9989 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9990 |
|
9991 |
|
9992 |
|
9993 |
|
9994 <div class="param-description"> |
|
9995 <p>The name of the attribute to be removed.</p> |
|
9996 </div> |
|
9997 |
|
9998 |
|
9999 </li> |
|
10000 |
|
10001 </ul> |
|
10002 </div> |
|
10003 |
|
10004 |
|
10005 |
|
10006 |
|
10007 |
|
10008 </div> |
|
10009 |
|
10010 |
|
10011 <div id="method_removeTarget" class="method item inherited"> |
|
10012 <h3 class="name"><code>removeTarget</code></h3> |
|
10013 |
|
10014 |
|
10015 <div class="args"> |
|
10016 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10017 |
|
10018 <li class="arg"> |
|
10019 |
|
10020 <code>o</code> |
|
10021 |
|
10022 </li> |
|
10023 |
|
10024 </ul><span class="paren">)</span> |
|
10025 </div> |
|
10026 |
|
10027 |
|
10028 |
|
10029 |
|
10030 |
|
10031 |
|
10032 |
|
10033 |
|
10034 |
|
10035 |
|
10036 |
|
10037 |
|
10038 |
|
10039 |
|
10040 |
|
10041 |
|
10042 <div class="meta"> |
|
10043 |
|
10044 |
|
10045 <p>Inherited from |
|
10046 <a href="../classes/EventTarget.html#method_removeTarget">EventTarget</a>: |
|
10047 |
|
10048 |
|
10049 |
|
10050 <a href="../files/event-custom_js_event-facade.js.html#l489"><code>event-custom/js/event-facade.js:489</code></a> |
|
10051 |
|
10052 </p> |
|
10053 |
|
10054 |
|
10055 |
|
10056 |
|
10057 |
|
10058 </div> |
|
10059 |
|
10060 <div class="description"> |
|
10061 <p>Removes a bubble target</p> |
|
10062 </div> |
|
10063 |
|
10064 |
|
10065 <div class="params"> |
|
10066 <h4>Parameters:</h4> |
|
10067 |
|
10068 <ul class="params-list"> |
|
10069 |
|
10070 <li class="param"> |
|
10071 |
|
10072 <code class="param-name">o</code> |
|
10073 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
10074 |
|
10075 |
|
10076 |
|
10077 |
|
10078 <div class="param-description"> |
|
10079 <p>the target to remove</p> |
|
10080 </div> |
|
10081 |
|
10082 |
|
10083 </li> |
|
10084 |
|
10085 </ul> |
|
10086 </div> |
|
10087 |
|
10088 |
|
10089 |
|
10090 |
|
10091 |
|
10092 </div> |
|
10093 |
|
10094 |
|
10095 <div id="method_reset" class="method item inherited"> |
|
10096 <h3 class="name"><code>reset</code></h3> |
|
10097 |
|
10098 |
|
10099 <div class="args"> |
|
10100 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10101 |
|
10102 <li class="arg"> |
|
10103 |
|
10104 <code>name</code> |
|
10105 |
|
10106 </li> |
|
10107 |
|
10108 </ul><span class="paren">)</span> |
|
10109 </div> |
|
10110 |
|
10111 |
|
10112 |
|
10113 <span class="returns-inline"> |
|
10114 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
10115 </span> |
|
10116 |
|
10117 |
|
10118 |
|
10119 |
|
10120 |
|
10121 |
|
10122 |
|
10123 |
|
10124 |
|
10125 |
|
10126 |
|
10127 <span class="flag chainable">chainable</span> |
|
10128 |
|
10129 |
|
10130 |
|
10131 |
|
10132 <div class="meta"> |
|
10133 |
|
10134 |
|
10135 <p>Inherited from |
|
10136 <a href="../classes/AttributeExtras.html#method_reset">AttributeExtras</a>: |
|
10137 |
|
10138 |
|
10139 |
|
10140 <a href="../files/attribute_js_AttributeExtras.js.html#l89"><code>attribute/js/AttributeExtras.js:89</code></a> |
|
10141 |
|
10142 </p> |
|
10143 |
|
10144 |
|
10145 |
|
10146 |
|
10147 |
|
10148 </div> |
|
10149 |
|
10150 <div class="description"> |
|
10151 <p>Resets the attribute (or all attributes) to its initial value, as long as |
|
10152 the attribute is not readOnly, or writeOnce.</p> |
|
10153 </div> |
|
10154 |
|
10155 |
|
10156 <div class="params"> |
|
10157 <h4>Parameters:</h4> |
|
10158 |
|
10159 <ul class="params-list"> |
|
10160 |
|
10161 <li class="param"> |
|
10162 |
|
10163 <code class="param-name">name</code> |
|
10164 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10165 |
|
10166 |
|
10167 |
|
10168 |
|
10169 <div class="param-description"> |
|
10170 <p>Optional. The name of the attribute to reset. If omitted, all attributes are reset.</p> |
|
10171 </div> |
|
10172 |
|
10173 |
|
10174 </li> |
|
10175 |
|
10176 </ul> |
|
10177 </div> |
|
10178 |
|
10179 |
|
10180 |
|
10181 <div class="returns"> |
|
10182 <h4>Returns:</h4> |
|
10183 |
|
10184 <div class="returns-description"> |
|
10185 |
|
10186 |
|
10187 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
10188 |
|
10189 A reference to the host object. |
|
10190 |
|
10191 </div> |
|
10192 </div> |
|
10193 |
|
10194 |
|
10195 |
|
10196 </div> |
|
10197 |
|
10198 |
|
10199 <div id="method_sendRequest" class="method item inherited"> |
|
10200 <h3 class="name"><code>sendRequest</code></h3> |
|
10201 |
|
10202 |
|
10203 <div class="args"> |
|
10204 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10205 |
|
10206 <li class="arg"> |
|
10207 |
|
10208 <code class="optional">[request]</code> |
|
10209 |
|
10210 </li> |
|
10211 |
|
10212 </ul><span class="paren">)</span> |
|
10213 </div> |
|
10214 |
|
10215 |
|
10216 |
|
10217 <span class="returns-inline"> |
|
10218 <span class="type"><a href="../classes/Number.html" class="crosslink">Number</a></span> |
|
10219 </span> |
|
10220 |
|
10221 |
|
10222 |
|
10223 |
|
10224 |
|
10225 |
|
10226 |
|
10227 |
|
10228 |
|
10229 |
|
10230 |
|
10231 |
|
10232 |
|
10233 |
|
10234 <div class="meta"> |
|
10235 |
|
10236 |
|
10237 <p>Inherited from |
|
10238 <a href="../classes/DataSource.Local.html#method_sendRequest">DataSource.Local</a>: |
|
10239 |
|
10240 |
|
10241 |
|
10242 <a href="../files/datasource_js_datasource-local.js.html#l348"><code>datasource/js/datasource-local.js:348</code></a> |
|
10243 |
|
10244 </p> |
|
10245 |
|
10246 |
|
10247 |
|
10248 |
|
10249 |
|
10250 </div> |
|
10251 |
|
10252 <div class="description"> |
|
10253 <p>Generates a unique transaction ID and fires <code>request</code> event. |
|
10254 <strong>Note</strong>: the property <code>callback</code> is a |
|
10255 deprecated alias for the <code>on</code> transaction configuration |
|
10256 property described below.</p> |
|
10257 </div> |
|
10258 |
|
10259 |
|
10260 <div class="params"> |
|
10261 <h4>Parameters:</h4> |
|
10262 |
|
10263 <ul class="params-list"> |
|
10264 |
|
10265 <li class="param"> |
|
10266 |
|
10267 <code class="param-name optional">[request]</code> |
|
10268 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
10269 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
10270 |
|
10271 |
|
10272 |
|
10273 |
|
10274 <div class="param-description"> |
|
10275 <p>An object literal with the following properties: |
|
10276 <dl> |
|
10277 <dt><code>request</code></dt> |
|
10278 <dd>The request to send to the live data source, if any.</dd> |
|
10279 <dt><code>on</code></dt> |
|
10280 <dd>An object literal with the following properties: |
|
10281 <dl> |
|
10282 <dt><code>success</code></dt> |
|
10283 <dd>The function to call when the data is ready.</dd> |
|
10284 <dt><code>failure</code></dt> |
|
10285 <dd>The function to call upon a response failure condition.</dd> |
|
10286 <dt><code>argument</code></dt> |
|
10287 <dd>Arbitrary data payload that will be passed back to the success and failure handlers.</dd> |
|
10288 </dl> |
|
10289 </dd> |
|
10290 <dt><code>cfg</code></dt> |
|
10291 <dd>Configuration object, if any.</dd> |
|
10292 </dl></p> |
|
10293 </div> |
|
10294 |
|
10295 |
|
10296 </li> |
|
10297 |
|
10298 </ul> |
|
10299 </div> |
|
10300 |
|
10301 |
|
10302 |
|
10303 <div class="returns"> |
|
10304 <h4>Returns:</h4> |
|
10305 |
|
10306 <div class="returns-description"> |
|
10307 |
|
10308 |
|
10309 <span class="type"><a href="../classes/Number.html" class="crosslink">Number</a></span>: |
|
10310 |
|
10311 Transaction ID. |
|
10312 |
|
10313 </div> |
|
10314 </div> |
|
10315 |
|
10316 |
|
10317 |
|
10318 </div> |
|
10319 |
|
10320 |
|
10321 <div id="method_set" class="method item inherited"> |
|
10322 <h3 class="name"><code>set</code></h3> |
|
10323 |
|
10324 |
|
10325 <div class="args"> |
|
10326 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10327 |
|
10328 <li class="arg"> |
|
10329 |
|
10330 <code>name</code> |
|
10331 |
|
10332 </li> |
|
10333 |
|
10334 <li class="arg"> |
|
10335 |
|
10336 <code>value</code> |
|
10337 |
|
10338 </li> |
|
10339 |
|
10340 <li class="arg"> |
|
10341 |
|
10342 <code class="optional">[opts]</code> |
|
10343 |
|
10344 </li> |
|
10345 |
|
10346 </ul><span class="paren">)</span> |
|
10347 </div> |
|
10348 |
|
10349 |
|
10350 |
|
10351 <span class="returns-inline"> |
|
10352 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
10353 </span> |
|
10354 |
|
10355 |
|
10356 |
|
10357 |
|
10358 |
|
10359 |
|
10360 |
|
10361 |
|
10362 |
|
10363 |
|
10364 |
|
10365 <span class="flag chainable">chainable</span> |
|
10366 |
|
10367 |
|
10368 |
|
10369 |
|
10370 <div class="meta"> |
|
10371 |
|
10372 <p>Inherited from |
|
10373 <a href="../classes/AttributeObservable.html#method_set"> |
|
10374 AttributeObservable |
|
10375 </a> |
|
10376 |
|
10377 but overwritten in |
|
10378 |
|
10379 |
|
10380 |
|
10381 <a href="../files/attribute_js_AttributeCore.js.html#l410"><code>attribute/js/AttributeCore.js:410</code></a> |
|
10382 |
|
10383 </p> |
|
10384 |
|
10385 |
|
10386 |
|
10387 |
|
10388 |
|
10389 </div> |
|
10390 |
|
10391 <div class="description"> |
|
10392 <p>Sets the value of an attribute.</p> |
|
10393 </div> |
|
10394 |
|
10395 |
|
10396 <div class="params"> |
|
10397 <h4>Parameters:</h4> |
|
10398 |
|
10399 <ul class="params-list"> |
|
10400 |
|
10401 <li class="param"> |
|
10402 |
|
10403 <code class="param-name">name</code> |
|
10404 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10405 |
|
10406 |
|
10407 |
|
10408 |
|
10409 <div class="param-description"> |
|
10410 <p>The name of the attribute. If the |
|
10411 current value of the attribute is an Object, dot notation can be used |
|
10412 to set the value of a property within the object (e.g. <code>set("x.y.z", 5)</code>).</p> |
|
10413 </div> |
|
10414 |
|
10415 |
|
10416 </li> |
|
10417 |
|
10418 <li class="param"> |
|
10419 |
|
10420 <code class="param-name">value</code> |
|
10421 <span class="type">Any</span> |
|
10422 |
|
10423 |
|
10424 |
|
10425 |
|
10426 <div class="param-description"> |
|
10427 <p>The value to set the attribute to.</p> |
|
10428 </div> |
|
10429 |
|
10430 |
|
10431 </li> |
|
10432 |
|
10433 <li class="param"> |
|
10434 |
|
10435 <code class="param-name optional">[opts]</code> |
|
10436 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
10437 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
10438 |
|
10439 |
|
10440 |
|
10441 |
|
10442 <div class="param-description"> |
|
10443 <p>Optional data providing the circumstances for the change.</p> |
|
10444 </div> |
|
10445 |
|
10446 |
|
10447 </li> |
|
10448 |
|
10449 </ul> |
|
10450 </div> |
|
10451 |
|
10452 |
|
10453 |
|
10454 <div class="returns"> |
|
10455 <h4>Returns:</h4> |
|
10456 |
|
10457 <div class="returns-description"> |
|
10458 |
|
10459 |
|
10460 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
10461 |
|
10462 A reference to the host object. |
|
10463 |
|
10464 </div> |
|
10465 </div> |
|
10466 |
|
10467 |
|
10468 |
|
10469 </div> |
|
10470 |
|
10471 |
|
10472 <div id="method_setAttrs" class="method item inherited"> |
|
10473 <h3 class="name"><code>setAttrs</code></h3> |
|
10474 |
|
10475 |
|
10476 <div class="args"> |
|
10477 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10478 |
|
10479 <li class="arg"> |
|
10480 |
|
10481 <code>attrs</code> |
|
10482 |
|
10483 </li> |
|
10484 |
|
10485 <li class="arg"> |
|
10486 |
|
10487 <code class="optional">[opts]</code> |
|
10488 |
|
10489 </li> |
|
10490 |
|
10491 </ul><span class="paren">)</span> |
|
10492 </div> |
|
10493 |
|
10494 |
|
10495 |
|
10496 <span class="returns-inline"> |
|
10497 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
10498 </span> |
|
10499 |
|
10500 |
|
10501 |
|
10502 |
|
10503 |
|
10504 |
|
10505 |
|
10506 |
|
10507 |
|
10508 |
|
10509 |
|
10510 <span class="flag chainable">chainable</span> |
|
10511 |
|
10512 |
|
10513 |
|
10514 |
|
10515 <div class="meta"> |
|
10516 |
|
10517 <p>Inherited from |
|
10518 <a href="../classes/AttributeObservable.html#method_setAttrs"> |
|
10519 AttributeObservable |
|
10520 </a> |
|
10521 |
|
10522 but overwritten in |
|
10523 |
|
10524 |
|
10525 |
|
10526 <a href="../files/attribute_js_AttributeCore.js.html#l729"><code>attribute/js/AttributeCore.js:729</code></a> |
|
10527 |
|
10528 </p> |
|
10529 |
|
10530 |
|
10531 |
|
10532 |
|
10533 |
|
10534 </div> |
|
10535 |
|
10536 <div class="description"> |
|
10537 <p>Sets multiple attribute values.</p> |
|
10538 </div> |
|
10539 |
|
10540 |
|
10541 <div class="params"> |
|
10542 <h4>Parameters:</h4> |
|
10543 |
|
10544 <ul class="params-list"> |
|
10545 |
|
10546 <li class="param"> |
|
10547 |
|
10548 <code class="param-name">attrs</code> |
|
10549 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
10550 |
|
10551 |
|
10552 |
|
10553 |
|
10554 <div class="param-description"> |
|
10555 <p>An object with attributes name/value pairs.</p> |
|
10556 </div> |
|
10557 |
|
10558 |
|
10559 </li> |
|
10560 |
|
10561 <li class="param"> |
|
10562 |
|
10563 <code class="param-name optional">[opts]</code> |
|
10564 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
10565 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
10566 |
|
10567 |
|
10568 |
|
10569 |
|
10570 <div class="param-description"> |
|
10571 <p>Optional data providing the circumstances for the change.</p> |
|
10572 </div> |
|
10573 |
|
10574 |
|
10575 </li> |
|
10576 |
|
10577 </ul> |
|
10578 </div> |
|
10579 |
|
10580 |
|
10581 |
|
10582 <div class="returns"> |
|
10583 <h4>Returns:</h4> |
|
10584 |
|
10585 <div class="returns-description"> |
|
10586 |
|
10587 |
|
10588 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
10589 |
|
10590 A reference to the host object. |
|
10591 |
|
10592 </div> |
|
10593 </div> |
|
10594 |
|
10595 |
|
10596 |
|
10597 </div> |
|
10598 |
|
10599 |
|
10600 <div id="method_subscribe" class="method item deprecated inherited"> |
|
10601 <h3 class="name"><code>subscribe</code></h3> |
|
10602 |
|
10603 |
|
10604 <span class="paren">()</span> |
|
10605 |
|
10606 |
|
10607 |
|
10608 |
|
10609 |
|
10610 <span class="flag deprecated" title="use on">deprecated</span> |
|
10611 |
|
10612 |
|
10613 |
|
10614 |
|
10615 |
|
10616 |
|
10617 |
|
10618 |
|
10619 |
|
10620 |
|
10621 |
|
10622 |
|
10623 <div class="meta"> |
|
10624 |
|
10625 |
|
10626 <p>Inherited from |
|
10627 <a href="../classes/EventTarget.html#method_subscribe">EventTarget</a>: |
|
10628 |
|
10629 |
|
10630 |
|
10631 <a href="../files/event-custom_js_event-target.js.html#l336"><code>event-custom/js/event-target.js:336</code></a> |
|
10632 |
|
10633 </p> |
|
10634 |
|
10635 |
|
10636 |
|
10637 <p>Deprecated: use on</p> |
|
10638 |
|
10639 |
|
10640 |
|
10641 </div> |
|
10642 |
|
10643 <div class="description"> |
|
10644 <p>subscribe to an event</p> |
|
10645 </div> |
|
10646 |
|
10647 |
|
10648 |
|
10649 |
|
10650 |
|
10651 |
|
10652 </div> |
|
10653 |
|
10654 |
|
10655 <div id="method_toString" class="method item inherited"> |
|
10656 <h3 class="name"><code>toString</code></h3> |
|
10657 |
|
10658 |
|
10659 <span class="paren">()</span> |
|
10660 |
|
10661 |
|
10662 |
|
10663 <span class="returns-inline"> |
|
10664 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10665 </span> |
|
10666 |
|
10667 |
|
10668 |
|
10669 |
|
10670 |
|
10671 |
|
10672 |
|
10673 |
|
10674 |
|
10675 |
|
10676 |
|
10677 |
|
10678 |
|
10679 |
|
10680 <div class="meta"> |
|
10681 |
|
10682 |
|
10683 <p>Inherited from |
|
10684 <a href="../classes/BaseCore.html#method_toString">BaseCore</a>: |
|
10685 |
|
10686 |
|
10687 |
|
10688 <a href="../files/base_js_BaseCore.js.html#l754"><code>base/js/BaseCore.js:754</code></a> |
|
10689 |
|
10690 </p> |
|
10691 |
|
10692 |
|
10693 |
|
10694 |
|
10695 |
|
10696 </div> |
|
10697 |
|
10698 <div class="description"> |
|
10699 <p>Default toString implementation. Provides the constructor NAME |
|
10700 and the instance guid, if set.</p> |
|
10701 </div> |
|
10702 |
|
10703 |
|
10704 |
|
10705 |
|
10706 <div class="returns"> |
|
10707 <h4>Returns:</h4> |
|
10708 |
|
10709 <div class="returns-description"> |
|
10710 |
|
10711 |
|
10712 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
10713 |
|
10714 String representation for this object |
|
10715 |
|
10716 </div> |
|
10717 </div> |
|
10718 |
|
10719 |
|
10720 |
|
10721 </div> |
|
10722 |
|
10723 |
|
10724 <div id="method_unsubscribe" class="method item deprecated inherited"> |
|
10725 <h3 class="name"><code>unsubscribe</code></h3> |
|
10726 |
|
10727 |
|
10728 <span class="paren">()</span> |
|
10729 |
|
10730 |
|
10731 |
|
10732 |
|
10733 |
|
10734 <span class="flag deprecated" title="use detach">deprecated</span> |
|
10735 |
|
10736 |
|
10737 |
|
10738 |
|
10739 |
|
10740 |
|
10741 |
|
10742 |
|
10743 |
|
10744 |
|
10745 |
|
10746 |
|
10747 <div class="meta"> |
|
10748 |
|
10749 |
|
10750 <p>Inherited from |
|
10751 <a href="../classes/EventTarget.html#method_unsubscribe">EventTarget</a>: |
|
10752 |
|
10753 |
|
10754 |
|
10755 <a href="../files/event-custom_js_event-target.js.html#l459"><code>event-custom/js/event-target.js:459</code></a> |
|
10756 |
|
10757 </p> |
|
10758 |
|
10759 |
|
10760 |
|
10761 <p>Deprecated: use detach</p> |
|
10762 |
|
10763 |
|
10764 |
|
10765 </div> |
|
10766 |
|
10767 <div class="description"> |
|
10768 <p>detach a listener</p> |
|
10769 </div> |
|
10770 |
|
10771 |
|
10772 |
|
10773 |
|
10774 |
|
10775 |
|
10776 </div> |
|
10777 |
|
10778 |
|
10779 <div id="method_unsubscribeAll" class="method item deprecated inherited"> |
|
10780 <h3 class="name"><code>unsubscribeAll</code></h3> |
|
10781 |
|
10782 |
|
10783 <div class="args"> |
|
10784 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10785 |
|
10786 <li class="arg"> |
|
10787 |
|
10788 <code>type</code> |
|
10789 |
|
10790 </li> |
|
10791 |
|
10792 </ul><span class="paren">)</span> |
|
10793 </div> |
|
10794 |
|
10795 |
|
10796 |
|
10797 |
|
10798 |
|
10799 <span class="flag deprecated" title="use detachAll">deprecated</span> |
|
10800 |
|
10801 |
|
10802 |
|
10803 |
|
10804 |
|
10805 |
|
10806 |
|
10807 |
|
10808 |
|
10809 |
|
10810 |
|
10811 |
|
10812 <div class="meta"> |
|
10813 |
|
10814 |
|
10815 <p>Inherited from |
|
10816 <a href="../classes/EventTarget.html#method_unsubscribeAll">EventTarget</a>: |
|
10817 |
|
10818 |
|
10819 |
|
10820 <a href="../files/event-custom_js_event-target.js.html#l480"><code>event-custom/js/event-target.js:480</code></a> |
|
10821 |
|
10822 </p> |
|
10823 |
|
10824 |
|
10825 |
|
10826 <p>Deprecated: use detachAll</p> |
|
10827 |
|
10828 |
|
10829 |
|
10830 </div> |
|
10831 |
|
10832 <div class="description"> |
|
10833 <p>Removes all listeners from the specified event. If the event type |
|
10834 is not specified, all listeners from all hosted custom events will |
|
10835 be removed.</p> |
|
10836 </div> |
|
10837 |
|
10838 |
|
10839 <div class="params"> |
|
10840 <h4>Parameters:</h4> |
|
10841 |
|
10842 <ul class="params-list"> |
|
10843 |
|
10844 <li class="param"> |
|
10845 |
|
10846 <code class="param-name">type</code> |
|
10847 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10848 |
|
10849 |
|
10850 |
|
10851 |
|
10852 <div class="param-description"> |
|
10853 <p>The type, or name of the event</p> |
|
10854 </div> |
|
10855 |
|
10856 |
|
10857 </li> |
|
10858 |
|
10859 </ul> |
|
10860 </div> |
|
10861 |
|
10862 |
|
10863 |
|
10864 |
|
10865 |
|
10866 </div> |
|
10867 |
|
10868 |
|
10869 </div> |
|
10870 |
|
10871 |
|
10872 |
|
10873 <div id="properties" class="api-class-tabpanel"> |
|
10874 <h2 class="off-left">Properties</h2> |
|
10875 |
|
10876 |
|
10877 <div id="property__allowAdHocAttrs" class="property item protected inherited"> |
|
10878 <h3 class="name"><code>_allowAdHocAttrs</code></h3> |
|
10879 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
10880 |
|
10881 |
|
10882 |
|
10883 |
|
10884 <span class="flag protected">protected</span> |
|
10885 |
|
10886 |
|
10887 |
|
10888 |
|
10889 |
|
10890 |
|
10891 <div class="meta"> |
|
10892 |
|
10893 |
|
10894 <p>Inherited from |
|
10895 <a href="../classes/BaseCore.html#property__allowAdHocAttrs">BaseCore</a>: |
|
10896 |
|
10897 |
|
10898 |
|
10899 <a href="../files/base_js_BaseCore.js.html#l100"><code>base/js/BaseCore.js:100</code></a> |
|
10900 |
|
10901 </p> |
|
10902 |
|
10903 |
|
10904 |
|
10905 |
|
10906 </div> |
|
10907 |
|
10908 <div class="description"> |
|
10909 <p>This property controls whether or not instances of this class should |
|
10910 allow users to add ad-hoc attributes through the constructor configuration |
|
10911 hash.</p> |
|
10912 |
|
10913 <p>AdHoc attributes are attributes which are not defined by the class, and are |
|
10914 not handled by the MyClass.<em>NON</em>ATTRS_CFG</p> |
|
10915 </div> |
|
10916 |
|
10917 |
|
10918 <p><strong>Default:</strong> undefined (false)</p> |
|
10919 |
|
10920 |
|
10921 |
|
10922 |
|
10923 |
|
10924 </div> |
|
10925 |
|
10926 |
|
10927 <div id="property_NAME" class="property item"> |
|
10928 <h3 class="name"><code>NAME</code></h3> |
|
10929 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10930 |
|
10931 |
|
10932 |
|
10933 |
|
10934 |
|
10935 |
|
10936 <span class="flag final">final</span> |
|
10937 |
|
10938 |
|
10939 |
|
10940 <span class="flag static">static</span> |
|
10941 |
|
10942 |
|
10943 <div class="meta"> |
|
10944 |
|
10945 |
|
10946 |
|
10947 <p> |
|
10948 |
|
10949 Defined in |
|
10950 |
|
10951 |
|
10952 |
|
10953 |
|
10954 <a href="../files/datasource_js_datasource-function.js.html#l28"><code>datasource/js/datasource-function.js:28</code></a> |
|
10955 |
|
10956 </p> |
|
10957 |
|
10958 |
|
10959 |
|
10960 |
|
10961 </div> |
|
10962 |
|
10963 <div class="description"> |
|
10964 <p>Class name.</p> |
|
10965 </div> |
|
10966 |
|
10967 |
|
10968 |
|
10969 |
|
10970 |
|
10971 |
|
10972 </div> |
|
10973 |
|
10974 |
|
10975 <div id="property_name" class="property item deprecated inherited"> |
|
10976 <h3 class="name"><code>name</code></h3> |
|
10977 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10978 |
|
10979 |
|
10980 <span class="flag deprecated" title="Use this.constructor.NAME">deprecated</span> |
|
10981 |
|
10982 |
|
10983 |
|
10984 |
|
10985 |
|
10986 |
|
10987 |
|
10988 |
|
10989 <div class="meta"> |
|
10990 |
|
10991 |
|
10992 <p>Inherited from |
|
10993 <a href="../classes/BaseCore.html#property_name">BaseCore</a>: |
|
10994 |
|
10995 |
|
10996 |
|
10997 <a href="../files/base_js_BaseCore.js.html#l242"><code>base/js/BaseCore.js:242</code></a> |
|
10998 |
|
10999 </p> |
|
11000 |
|
11001 |
|
11002 <p>Deprecated: Use this.constructor.NAME</p> |
|
11003 |
|
11004 |
|
11005 |
|
11006 </div> |
|
11007 |
|
11008 <div class="description"> |
|
11009 <p>The string used to identify the class of this object.</p> |
|
11010 </div> |
|
11011 |
|
11012 |
|
11013 |
|
11014 |
|
11015 |
|
11016 |
|
11017 </div> |
|
11018 |
|
11019 |
|
11020 </div> |
|
11021 |
|
11022 |
|
11023 |
|
11024 <div id="attrs" class="api-class-tabpanel"> |
|
11025 <h2 class="off-left">Attributes</h2> |
|
11026 |
|
11027 |
|
11028 <div id="attr_destroyed" class="attr item inherited"> |
|
11029 <a name="config_destroyed"></a> |
|
11030 <h3 class="name"><code>destroyed</code></h3> |
|
11031 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
11032 |
|
11033 |
|
11034 |
|
11035 |
|
11036 |
|
11037 |
|
11038 |
|
11039 |
|
11040 |
|
11041 |
|
11042 |
|
11043 |
|
11044 |
|
11045 |
|
11046 <span class="flag readonly">readonly</span> |
|
11047 |
|
11048 |
|
11049 <div class="meta"> |
|
11050 |
|
11051 |
|
11052 <p>Inherited from |
|
11053 <a href="../classes/BaseCore.html#attr_destroyed">BaseCore</a>: |
|
11054 |
|
11055 |
|
11056 |
|
11057 <a href="../files/base_js_BaseCore.js.html#l157"><code>base/js/BaseCore.js:157</code></a> |
|
11058 |
|
11059 </p> |
|
11060 |
|
11061 |
|
11062 |
|
11063 |
|
11064 </div> |
|
11065 |
|
11066 <div class="description"> |
|
11067 <p>Flag indicating whether or not this object |
|
11068 has been through the destroy lifecycle phase.</p> |
|
11069 </div> |
|
11070 |
|
11071 |
|
11072 <p><strong>Default:</strong> false</p> |
|
11073 |
|
11074 |
|
11075 |
|
11076 <div class="emits box"> |
|
11077 <h4>Fires event <code>destroyedChange</code></h4> |
|
11078 |
|
11079 <p> |
|
11080 Fires when the value for the configuration attribute <code>destroyed</code> is |
|
11081 changed. You can listen for the event using the <code>on</code> method if you |
|
11082 wish to be notified before the attribute's value has changed, or |
|
11083 using the <code>after</code> method if you wish to be notified after the |
|
11084 attribute's value has changed. |
|
11085 </p> |
|
11086 |
|
11087 <div class="params"> |
|
11088 <h4>Parameters:</h4> |
|
11089 |
|
11090 <ul class="params-list"> |
|
11091 <li class="param"> |
|
11092 <code class="param-name">e</code> |
|
11093 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
11094 |
|
11095 <div class="param-description"> |
|
11096 An Event Facade object with the following |
|
11097 attribute-specific properties added: |
|
11098 </div> |
|
11099 |
|
11100 <ul class="params-list"> |
|
11101 <li class="param"> |
|
11102 <code class="param-name">prevVal</code> |
|
11103 <span class="type">Any</span> |
|
11104 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
11105 </li> |
|
11106 <li class="param"> |
|
11107 <code class="param-name">newVal</code> |
|
11108 <span class="type">Any</span> |
|
11109 <div class="param-description">The value the attribute is to be set to.</div> |
|
11110 </li> |
|
11111 <li class="param"> |
|
11112 <code class="param-name">attrName</code> |
|
11113 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11114 <div class="param-description">The name of the attribute being set.</div> |
|
11115 </li> |
|
11116 <li class="param"> |
|
11117 <code class="param-name">subAttrName</code> |
|
11118 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11119 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
11120 </li> |
|
11121 </ul> |
|
11122 </li> |
|
11123 </ul> |
|
11124 </div> |
|
11125 </div> |
|
11126 |
|
11127 |
|
11128 |
|
11129 </div> |
|
11130 |
|
11131 |
|
11132 <div id="attr_initialized" class="attr item inherited"> |
|
11133 <a name="config_initialized"></a> |
|
11134 <h3 class="name"><code>initialized</code></h3> |
|
11135 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
11136 |
|
11137 |
|
11138 |
|
11139 |
|
11140 |
|
11141 |
|
11142 |
|
11143 |
|
11144 |
|
11145 |
|
11146 |
|
11147 |
|
11148 |
|
11149 |
|
11150 <span class="flag readonly">readonly</span> |
|
11151 |
|
11152 |
|
11153 <div class="meta"> |
|
11154 |
|
11155 |
|
11156 <p>Inherited from |
|
11157 <a href="../classes/BaseCore.html#attr_initialized">BaseCore</a>: |
|
11158 |
|
11159 |
|
11160 |
|
11161 <a href="../files/base_js_BaseCore.js.html#l143"><code>base/js/BaseCore.js:143</code></a> |
|
11162 |
|
11163 </p> |
|
11164 |
|
11165 |
|
11166 |
|
11167 |
|
11168 </div> |
|
11169 |
|
11170 <div class="description"> |
|
11171 <p>Flag indicating whether or not this object |
|
11172 has been through the init lifecycle phase.</p> |
|
11173 </div> |
|
11174 |
|
11175 |
|
11176 <p><strong>Default:</strong> false</p> |
|
11177 |
|
11178 |
|
11179 |
|
11180 <div class="emits box"> |
|
11181 <h4>Fires event <code>initializedChange</code></h4> |
|
11182 |
|
11183 <p> |
|
11184 Fires when the value for the configuration attribute <code>initialized</code> is |
|
11185 changed. You can listen for the event using the <code>on</code> method if you |
|
11186 wish to be notified before the attribute's value has changed, or |
|
11187 using the <code>after</code> method if you wish to be notified after the |
|
11188 attribute's value has changed. |
|
11189 </p> |
|
11190 |
|
11191 <div class="params"> |
|
11192 <h4>Parameters:</h4> |
|
11193 |
|
11194 <ul class="params-list"> |
|
11195 <li class="param"> |
|
11196 <code class="param-name">e</code> |
|
11197 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
11198 |
|
11199 <div class="param-description"> |
|
11200 An Event Facade object with the following |
|
11201 attribute-specific properties added: |
|
11202 </div> |
|
11203 |
|
11204 <ul class="params-list"> |
|
11205 <li class="param"> |
|
11206 <code class="param-name">prevVal</code> |
|
11207 <span class="type">Any</span> |
|
11208 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
11209 </li> |
|
11210 <li class="param"> |
|
11211 <code class="param-name">newVal</code> |
|
11212 <span class="type">Any</span> |
|
11213 <div class="param-description">The value the attribute is to be set to.</div> |
|
11214 </li> |
|
11215 <li class="param"> |
|
11216 <code class="param-name">attrName</code> |
|
11217 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11218 <div class="param-description">The name of the attribute being set.</div> |
|
11219 </li> |
|
11220 <li class="param"> |
|
11221 <code class="param-name">subAttrName</code> |
|
11222 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11223 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
11224 </li> |
|
11225 </ul> |
|
11226 </li> |
|
11227 </ul> |
|
11228 </div> |
|
11229 </div> |
|
11230 |
|
11231 |
|
11232 |
|
11233 </div> |
|
11234 |
|
11235 |
|
11236 <div id="attr_source" class="attr item"> |
|
11237 <a name="config_source"></a> |
|
11238 <h3 class="name"><code>source</code></h3> |
|
11239 <span class="type">Any</span> |
|
11240 |
|
11241 |
|
11242 |
|
11243 |
|
11244 |
|
11245 |
|
11246 |
|
11247 |
|
11248 |
|
11249 |
|
11250 |
|
11251 |
|
11252 |
|
11253 |
|
11254 |
|
11255 <div class="meta"> |
|
11256 |
|
11257 <p>Inherited from |
|
11258 <a href="../classes/DataSource.Local.html#attr_source"> |
|
11259 DataSource.Local |
|
11260 </a> |
|
11261 |
|
11262 but overwritten in |
|
11263 |
|
11264 |
|
11265 |
|
11266 <a href="../files/datasource_js_datasource-function.js.html#l47"><code>datasource/js/datasource-function.js:47</code></a> |
|
11267 |
|
11268 </p> |
|
11269 |
|
11270 |
|
11271 |
|
11272 |
|
11273 </div> |
|
11274 |
|
11275 <div class="description"> |
|
11276 <p>Stores the function that will serve the response data.</p> |
|
11277 </div> |
|
11278 |
|
11279 |
|
11280 <p><strong>Default:</strong> null</p> |
|
11281 |
|
11282 |
|
11283 |
|
11284 <div class="emits box"> |
|
11285 <h4>Fires event <code>sourceChange</code></h4> |
|
11286 |
|
11287 <p> |
|
11288 Fires when the value for the configuration attribute <code>source</code> is |
|
11289 changed. You can listen for the event using the <code>on</code> method if you |
|
11290 wish to be notified before the attribute's value has changed, or |
|
11291 using the <code>after</code> method if you wish to be notified after the |
|
11292 attribute's value has changed. |
|
11293 </p> |
|
11294 |
|
11295 <div class="params"> |
|
11296 <h4>Parameters:</h4> |
|
11297 |
|
11298 <ul class="params-list"> |
|
11299 <li class="param"> |
|
11300 <code class="param-name">e</code> |
|
11301 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
11302 |
|
11303 <div class="param-description"> |
|
11304 An Event Facade object with the following |
|
11305 attribute-specific properties added: |
|
11306 </div> |
|
11307 |
|
11308 <ul class="params-list"> |
|
11309 <li class="param"> |
|
11310 <code class="param-name">prevVal</code> |
|
11311 <span class="type">Any</span> |
|
11312 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
11313 </li> |
|
11314 <li class="param"> |
|
11315 <code class="param-name">newVal</code> |
|
11316 <span class="type">Any</span> |
|
11317 <div class="param-description">The value the attribute is to be set to.</div> |
|
11318 </li> |
|
11319 <li class="param"> |
|
11320 <code class="param-name">attrName</code> |
|
11321 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11322 <div class="param-description">The name of the attribute being set.</div> |
|
11323 </li> |
|
11324 <li class="param"> |
|
11325 <code class="param-name">subAttrName</code> |
|
11326 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11327 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
11328 </li> |
|
11329 </ul> |
|
11330 </li> |
|
11331 </ul> |
|
11332 </div> |
|
11333 </div> |
|
11334 |
|
11335 |
|
11336 |
|
11337 </div> |
|
11338 |
|
11339 |
|
11340 </div> |
|
11341 |
|
11342 |
|
11343 |
|
11344 <div id="events" class="api-class-tabpanel"> |
|
11345 <h2 class="off-left">Events</h2> |
|
11346 |
|
11347 |
|
11348 <div id="event_data" class="events item inherited"> |
|
11349 <h3 class="name"><code>data</code></h3> |
|
11350 <span class="type"></span> |
|
11351 |
|
11352 |
|
11353 |
|
11354 |
|
11355 |
|
11356 |
|
11357 |
|
11358 |
|
11359 |
|
11360 <div class="meta"> |
|
11361 |
|
11362 |
|
11363 <p>Inherited from |
|
11364 <a href="../classes/DataSource.Local.html#event_data">DataSource.Local</a>: |
|
11365 |
|
11366 |
|
11367 |
|
11368 <a href="../files/datasource_js_datasource-local.js.html#l148"><code>datasource/js/datasource-local.js:148</code></a> |
|
11369 |
|
11370 </p> |
|
11371 |
|
11372 |
|
11373 |
|
11374 |
|
11375 </div> |
|
11376 |
|
11377 <div class="description"> |
|
11378 <p>Fired when raw data is received.</p> |
|
11379 </div> |
|
11380 |
|
11381 |
|
11382 <div class="params"> |
|
11383 <h4>Event Payload:</h4> |
|
11384 |
|
11385 <ul class="params-list"> |
|
11386 |
|
11387 <li class="param"> |
|
11388 |
|
11389 <code class="param-name">e</code> |
|
11390 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span> |
|
11391 |
|
11392 |
|
11393 |
|
11394 |
|
11395 <div class="param-description"> |
|
11396 <p>Event Facade with the following properties:</p> |
|
11397 |
|
11398 <dl> |
|
11399 <dt>tId (Number)</dt> <dd>Unique transaction ID.</dd> |
|
11400 <dt>request (Object)</dt> <dd>The request.</dd> |
|
11401 <dt>callback (Object)</dt> <dd>Deprecated alias for the |
|
11402 <strong>on</strong> property</dd> |
|
11403 <dt>on (Object)</dt> <dd>The map of configured transaction |
|
11404 callbacks. An object with the following properties: |
|
11405 <dl> |
|
11406 <dt>success (Function)</dt> <dd>Success handler.</dd> |
|
11407 <dt>failure (Function)</dt> <dd>Failure handler.</dd> |
|
11408 </dl> |
|
11409 </dd> |
|
11410 <dt>cfg (Object)</dt> <dd>Configuration object.</dd> |
|
11411 <dt>data (Object)</dt> <dd>Raw data.</dd> |
|
11412 </dl> |
|
11413 </div> |
|
11414 |
|
11415 |
|
11416 </li> |
|
11417 |
|
11418 </ul> |
|
11419 </div> |
|
11420 |
|
11421 |
|
11422 |
|
11423 |
|
11424 </div> |
|
11425 |
|
11426 |
|
11427 <div id="event_destroy" class="events item inherited"> |
|
11428 <h3 class="name"><code>destroy</code></h3> |
|
11429 <span class="type"></span> |
|
11430 |
|
11431 |
|
11432 |
|
11433 |
|
11434 |
|
11435 |
|
11436 |
|
11437 |
|
11438 |
|
11439 <div class="meta"> |
|
11440 |
|
11441 |
|
11442 <p>Inherited from |
|
11443 <a href="../classes/BaseObservable.html#event_destroy">BaseObservable</a>: |
|
11444 |
|
11445 |
|
11446 |
|
11447 <a href="../files/base_js_BaseObservable.js.html#l151"><code>base/js/BaseObservable.js:151</code></a> |
|
11448 |
|
11449 </p> |
|
11450 |
|
11451 |
|
11452 |
|
11453 |
|
11454 </div> |
|
11455 |
|
11456 <div class="description"> |
|
11457 <p> |
|
11458 Lifecycle event for the destroy phase, |
|
11459 fired prior to destruction. Invoking the preventDefault |
|
11460 method on the event object provided to subscribers will |
|
11461 prevent destruction from proceeding. |
|
11462 </p> |
|
11463 |
|
11464 <p> |
|
11465 Subscribers to the "after" moment of this event, will be notified |
|
11466 after destruction is complete (and as a result cannot prevent |
|
11467 destruction). |
|
11468 </p> |
|
11469 </div> |
|
11470 |
|
11471 |
|
11472 <div class="params"> |
|
11473 <h4>Event Payload:</h4> |
|
11474 |
|
11475 <ul class="params-list"> |
|
11476 |
|
11477 <li class="param"> |
|
11478 |
|
11479 <code class="param-name">e</code> |
|
11480 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
11481 |
|
11482 |
|
11483 |
|
11484 |
|
11485 <div class="param-description"> |
|
11486 <p>Event object</p> |
|
11487 </div> |
|
11488 |
|
11489 |
|
11490 </li> |
|
11491 |
|
11492 </ul> |
|
11493 </div> |
|
11494 |
|
11495 |
|
11496 |
|
11497 |
|
11498 </div> |
|
11499 |
|
11500 |
|
11501 <div id="event_error" class="events item inherited"> |
|
11502 <h3 class="name"><code>error</code></h3> |
|
11503 <span class="type"></span> |
|
11504 |
|
11505 |
|
11506 |
|
11507 |
|
11508 |
|
11509 |
|
11510 |
|
11511 |
|
11512 |
|
11513 <div class="meta"> |
|
11514 |
|
11515 |
|
11516 <p>Inherited from |
|
11517 <a href="../classes/DataSource.Local.html#event_error">DataSource.Local</a>: |
|
11518 |
|
11519 |
|
11520 |
|
11521 <a href="../files/datasource_js_datasource-local.js.html#l206"><code>datasource/js/datasource-local.js:206</code></a> |
|
11522 |
|
11523 </p> |
|
11524 |
|
11525 |
|
11526 |
|
11527 |
|
11528 </div> |
|
11529 |
|
11530 <div class="description"> |
|
11531 <p>Fired when an error is encountered.</p> |
|
11532 </div> |
|
11533 |
|
11534 |
|
11535 <div class="params"> |
|
11536 <h4>Event Payload:</h4> |
|
11537 |
|
11538 <ul class="params-list"> |
|
11539 |
|
11540 <li class="param"> |
|
11541 |
|
11542 <code class="param-name">e</code> |
|
11543 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span> |
|
11544 |
|
11545 |
|
11546 |
|
11547 |
|
11548 <div class="param-description"> |
|
11549 <p>Event Facade with the following properties:</p> |
|
11550 |
|
11551 <dl> |
|
11552 <dt>tId (Number)</dt> <dd>Unique transaction ID.</dd> |
|
11553 <dt>request (Object)</dt> <dd>The request.</dd> |
|
11554 <dt>callback (Object)</dt> <dd>Deprecated alias for the |
|
11555 <strong>on</strong> property</dd> |
|
11556 <dt>on (Object)</dt> <dd>The map of configured transaction |
|
11557 callbacks. An object with the following properties: |
|
11558 <dl> |
|
11559 <dt>success (Function)</dt> <dd>Success handler.</dd> |
|
11560 <dt>failure (Function)</dt> <dd>Failure handler.</dd> |
|
11561 </dl> |
|
11562 </dd> |
|
11563 <dt>cfg (Object)</dt> <dd>Configuration object.</dd> |
|
11564 <dt>data (Object)</dt> <dd>Raw data.</dd> |
|
11565 <dt>response (Object)</dt> |
|
11566 <dd>Normalized response object with the following properties: |
|
11567 <dl> |
|
11568 <dt>results (Object)</dt> <dd>Parsed results.</dd> |
|
11569 <dt>meta (Object)</dt> <dd>Parsed meta data.</dd> |
|
11570 <dt>error (Object)</dt> <dd>Error object.</dd> |
|
11571 </dl> |
|
11572 </dd> |
|
11573 <dt>error</dt> |
|
11574 <dd>Any error that occurred along the transaction lifecycle.</dd> |
|
11575 </dl> |
|
11576 </div> |
|
11577 |
|
11578 |
|
11579 </li> |
|
11580 |
|
11581 </ul> |
|
11582 </div> |
|
11583 |
|
11584 |
|
11585 |
|
11586 |
|
11587 </div> |
|
11588 |
|
11589 |
|
11590 <div id="event_init" class="events item inherited"> |
|
11591 <h3 class="name"><code>init</code></h3> |
|
11592 <span class="type"></span> |
|
11593 |
|
11594 |
|
11595 |
|
11596 |
|
11597 |
|
11598 |
|
11599 |
|
11600 |
|
11601 |
|
11602 <div class="meta"> |
|
11603 |
|
11604 |
|
11605 <p>Inherited from |
|
11606 <a href="../classes/BaseObservable.html#event_init">BaseObservable</a>: |
|
11607 |
|
11608 |
|
11609 |
|
11610 <a href="../files/base_js_BaseObservable.js.html#l62"><code>base/js/BaseObservable.js:62</code></a> |
|
11611 |
|
11612 </p> |
|
11613 |
|
11614 |
|
11615 |
|
11616 |
|
11617 </div> |
|
11618 |
|
11619 <div class="description"> |
|
11620 <p> |
|
11621 Lifecycle event for the init phase, fired prior to initialization. |
|
11622 Invoking the preventDefault() method on the event object provided |
|
11623 to subscribers will prevent initialization from occuring. |
|
11624 </p> |
|
11625 |
|
11626 <p> |
|
11627 Subscribers to the "after" momemt of this event, will be notified |
|
11628 after initialization of the object is complete (and therefore |
|
11629 cannot prevent initialization). |
|
11630 </p> |
|
11631 </div> |
|
11632 |
|
11633 |
|
11634 <div class="params"> |
|
11635 <h4>Event Payload:</h4> |
|
11636 |
|
11637 <ul class="params-list"> |
|
11638 |
|
11639 <li class="param"> |
|
11640 |
|
11641 <code class="param-name">e</code> |
|
11642 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
11643 |
|
11644 |
|
11645 |
|
11646 |
|
11647 <div class="param-description"> |
|
11648 <p>Event object, with a cfg property which |
|
11649 refers to the configuration object passed to the constructor.</p> |
|
11650 </div> |
|
11651 |
|
11652 |
|
11653 </li> |
|
11654 |
|
11655 </ul> |
|
11656 </div> |
|
11657 |
|
11658 |
|
11659 |
|
11660 |
|
11661 </div> |
|
11662 |
|
11663 |
|
11664 <div id="event_request" class="events item inherited"> |
|
11665 <h3 class="name"><code>request</code></h3> |
|
11666 <span class="type"></span> |
|
11667 |
|
11668 |
|
11669 |
|
11670 |
|
11671 |
|
11672 |
|
11673 |
|
11674 |
|
11675 |
|
11676 <div class="meta"> |
|
11677 |
|
11678 |
|
11679 <p>Inherited from |
|
11680 <a href="../classes/DataSource.Local.html#event_request">DataSource.Local</a>: |
|
11681 |
|
11682 |
|
11683 |
|
11684 <a href="../files/datasource_js_datasource-local.js.html#l130"><code>datasource/js/datasource-local.js:130</code></a> |
|
11685 |
|
11686 </p> |
|
11687 |
|
11688 |
|
11689 |
|
11690 |
|
11691 </div> |
|
11692 |
|
11693 <div class="description"> |
|
11694 <p>Fired when a data request is received.</p> |
|
11695 </div> |
|
11696 |
|
11697 |
|
11698 <div class="params"> |
|
11699 <h4>Event Payload:</h4> |
|
11700 |
|
11701 <ul class="params-list"> |
|
11702 |
|
11703 <li class="param"> |
|
11704 |
|
11705 <code class="param-name">e</code> |
|
11706 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span> |
|
11707 |
|
11708 |
|
11709 |
|
11710 |
|
11711 <div class="param-description"> |
|
11712 <p>Event Facade with the following properties:</p> |
|
11713 |
|
11714 <dl> |
|
11715 <dt>tId (Number)</dt> <dd>Unique transaction ID.</dd> |
|
11716 <dt>request (Object)</dt> <dd>The request.</dd> |
|
11717 <dt>callback (Object)</dt> <dd>The callback object |
|
11718 (deprecated, refer to <strong>on</strong></dd> |
|
11719 <dt>on (Object)</dt> <dd>The map of configured callback |
|
11720 functions.</dd> |
|
11721 <dt>cfg (Object)</dt> <dd>Configuration object.</dd> |
|
11722 </dl> |
|
11723 </div> |
|
11724 |
|
11725 |
|
11726 </li> |
|
11727 |
|
11728 </ul> |
|
11729 </div> |
|
11730 |
|
11731 |
|
11732 |
|
11733 |
|
11734 </div> |
|
11735 |
|
11736 |
|
11737 <div id="event_response" class="events item inherited"> |
|
11738 <h3 class="name"><code>response</code></h3> |
|
11739 <span class="type"></span> |
|
11740 |
|
11741 |
|
11742 |
|
11743 |
|
11744 |
|
11745 |
|
11746 |
|
11747 |
|
11748 |
|
11749 <div class="meta"> |
|
11750 |
|
11751 |
|
11752 <p>Inherited from |
|
11753 <a href="../classes/DataSource.Local.html#event_response">DataSource.Local</a>: |
|
11754 |
|
11755 |
|
11756 |
|
11757 <a href="../files/datasource_js_datasource-local.js.html#l172"><code>datasource/js/datasource-local.js:172</code></a> |
|
11758 |
|
11759 </p> |
|
11760 |
|
11761 |
|
11762 |
|
11763 |
|
11764 </div> |
|
11765 |
|
11766 <div class="description"> |
|
11767 <p>Fired when response is returned.</p> |
|
11768 </div> |
|
11769 |
|
11770 |
|
11771 <div class="params"> |
|
11772 <h4>Event Payload:</h4> |
|
11773 |
|
11774 <ul class="params-list"> |
|
11775 |
|
11776 <li class="param"> |
|
11777 |
|
11778 <code class="param-name">e</code> |
|
11779 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">Event.Facade</a></span> |
|
11780 |
|
11781 |
|
11782 |
|
11783 |
|
11784 <div class="param-description"> |
|
11785 <p>Event Facade with the following properties:</p> |
|
11786 |
|
11787 <dl> |
|
11788 <dt>tId (Number)</dt> <dd>Unique transaction ID.</dd> |
|
11789 <dt>request (Object)</dt> <dd>The request.</dd> |
|
11790 <dt>callback (Object)</dt> <dd>Deprecated alias for the |
|
11791 <strong>on</strong> property</dd> |
|
11792 <dt>on (Object)</dt> <dd>The map of configured transaction |
|
11793 callbacks. An object with the following properties: |
|
11794 <dl> |
|
11795 <dt>success (Function)</dt> <dd>Success handler.</dd> |
|
11796 <dt>failure (Function)</dt> <dd>Failure handler.</dd> |
|
11797 </dl> |
|
11798 </dd> |
|
11799 <dt>cfg (Object)</dt> <dd>Configuration object.</dd> |
|
11800 <dt>data (Object)</dt> <dd>Raw data.</dd> |
|
11801 <dt>response (Object)</dt> |
|
11802 <dd>Normalized response object with the following properties: |
|
11803 <dl> |
|
11804 <dt>results (Object)</dt> <dd>Parsed results.</dd> |
|
11805 <dt>meta (Object)</dt> <dd>Parsed meta data.</dd> |
|
11806 <dt>error (Boolean)</dt> <dd>Error flag.</dd> |
|
11807 </dl> |
|
11808 </dd> |
|
11809 <dt>error</dt> |
|
11810 <dd>Any error that occurred along the transaction lifecycle.</dd> |
|
11811 </dl> |
|
11812 </div> |
|
11813 |
|
11814 |
|
11815 </li> |
|
11816 |
|
11817 </ul> |
|
11818 </div> |
|
11819 |
|
11820 |
|
11821 |
|
11822 |
|
11823 </div> |
|
11824 |
|
11825 |
|
11826 </div> |
|
11827 |
|
11828 </div> |
|
11829 </div> |
|
11830 |
|
11831 </div> |
|
11832 </div> |
|
11833 </div> |
|
11834 </div> |
|
11835 </div> |
|
11836 </div> |
|
11837 <script src="../assets/vendor/prettify/prettify-min.js"></script> |
|
11838 <script>prettyPrint();</script> |
|
11839 <script src="../assets/js/yui-prettify.js"></script> |
|
11840 <script src="../assets/../api.js"></script> |
|
11841 <script src="../assets/js/api-filter.js"></script> |
|
11842 <script src="../assets/js/api-list.js"></script> |
|
11843 <script src="../assets/js/api-search.js"></script> |
|
11844 <script src="../assets/js/apidocs.js"></script> |
|
11845 </body> |
|
11846 </html> |