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