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