|
1 <!DOCTYPE html> |
|
2 <html lang="en"> |
|
3 <head> |
|
4 <meta charset="utf-8"> |
|
5 <title>DataTable.BodyView - 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>DataTable.BodyView Class</h1> |
|
1532 <div class="box meta"> |
|
1533 |
|
1534 |
|
1535 |
|
1536 <div class="extends"> |
|
1537 Extends <a href="../classes/View.html" class="crosslink">View</a> |
|
1538 </div> |
|
1539 |
|
1540 |
|
1541 |
|
1542 <div class="foundat"> |
|
1543 Defined in: <a href="../files/datatable_js_body.js.html#l20"><code>datatable/js/body.js:20</code></a> |
|
1544 </div> |
|
1545 |
|
1546 |
|
1547 |
|
1548 |
|
1549 Module: <a href="../modules/datatable-body.html">datatable-body</a><br> |
|
1550 Parent Module: <a href="../modules/datatable.html">datatable</a> |
|
1551 |
|
1552 |
|
1553 |
|
1554 |
|
1555 <p>Available since 3.5.0</p> |
|
1556 |
|
1557 </div> |
|
1558 |
|
1559 |
|
1560 |
|
1561 <div class="box intro"> |
|
1562 <p>View class responsible for rendering the <code><tbody></code> section of a table. Used as |
|
1563 the default <code>bodyView</code> for <code>Y.DataTable.Base</code> and <code>Y.DataTable</code> classes.</p> |
|
1564 |
|
1565 <p>Translates the provided <code>modelList</code> into a rendered <code><tbody></code> based on the data |
|
1566 in the constituent Models, altered or ammended by any special column |
|
1567 configurations.</p> |
|
1568 |
|
1569 <p>The <code>columns</code> configuration, passed to the constructor, determines which |
|
1570 columns will be rendered.</p> |
|
1571 |
|
1572 <p>The rendering process involves constructing an HTML template for a complete row |
|
1573 of data, built by concatenating a customized copy of the instance's |
|
1574 <code>CELL_TEMPLATE</code> into the <code>ROW_TEMPLATE</code> once for each column. This template is |
|
1575 then populated with values from each Model in the <code>modelList</code>, aggregating a |
|
1576 complete HTML string of all row and column data. A <code><tbody></code> Node is then created from the markup and any column <code>nodeFormatter</code>s are applied.</p> |
|
1577 |
|
1578 <p>Supported properties of the column objects include:</p> |
|
1579 |
|
1580 <ul> |
|
1581 <li><code>key</code> - Used to link a column to an attribute in a Model.</li> |
|
1582 <li><code>name</code> - Used for columns that don't relate to an attribute in the Model |
|
1583 (<code>formatter</code> or <code>nodeFormatter</code> only) if the implementer wants a |
|
1584 predictable name to refer to in their CSS.</li> |
|
1585 <li><code>cellTemplate</code> - Overrides the instance's <code>CELL_TEMPLATE</code> for cells in this |
|
1586 column only.</li> |
|
1587 <li><code>formatter</code> - Used to customize or override the content value from the |
|
1588 Model. These do not have access to the cell or row Nodes and should |
|
1589 return string (HTML) content.</li> |
|
1590 <li><code>nodeFormatter</code> - Used to provide content for a cell as well as perform any |
|
1591 custom modifications on the cell or row Node that could not be performed by |
|
1592 <code>formatter</code>s. Should be used sparingly for better performance.</li> |
|
1593 <li><code>emptyCellValue</code> - String (HTML) value to use if the Model data for a |
|
1594 column, or the content generated by a <code>formatter</code>, is the empty string, |
|
1595 <code>null</code>, or <code>undefined</code>.</li> |
|
1596 <li><code>allowHTML</code> - Set to <code>true</code> if a column value, <code>formatter</code>, or |
|
1597 <code>emptyCellValue</code> can contain HTML. This defaults to <code>false</code> to protect |
|
1598 against XSS.</li> |
|
1599 <li><code>className</code> - Space delimited CSS classes to add to all <code><td></code>s in a column.</li> |
|
1600 </ul> |
|
1601 |
|
1602 <p>A column <code>formatter</code> can be:</p> |
|
1603 |
|
1604 <ul> |
|
1605 <li>a function, as described below.</li> |
|
1606 <li>a string which can be: |
|
1607 <ul><li>the name of a pre-defined formatter function |
|
1608 which can be located in the <code>Y.DataTable.BodyView.Formatters</code> hash using the |
|
1609 value of the <code>formatter</code> property as the index.</li> |
|
1610 <li>A template that can use the <code>{value}</code> placeholder to include the value |
|
1611 for the current cell or the name of any field in the underlaying model |
|
1612 also enclosed in curly braces. Any number and type of these placeholders |
|
1613 can be used.</li></ul></li> |
|
1614 </ul> |
|
1615 |
|
1616 <p>Column <code>formatter</code>s are passed an object (<code>o</code>) with the following properties:</p> |
|
1617 |
|
1618 <ul> |
|
1619 <li><code>value</code> - The current value of the column's associated attribute, if any.</li> |
|
1620 <li><code>data</code> - An object map of Model keys to their current values.</li> |
|
1621 <li><code>record</code> - The Model instance.</li> |
|
1622 <li><code>column</code> - The column configuration object for the current column.</li> |
|
1623 <li><code>className</code> - Initially empty string to allow <code>formatter</code>s to add CSS |
|
1624 classes to the cell's <code><td></code>.</li> |
|
1625 <li><code>rowIndex</code> - The zero-based row number.</li> |
|
1626 <li><code>rowClass</code> - Initially empty string to allow <code>formatter</code>s to add CSS |
|
1627 classes to the cell's containing row <code><tr></code>.</li> |
|
1628 </ul> |
|
1629 |
|
1630 <p>They may return a value or update <code>o.value</code> to assign specific HTML content. A |
|
1631 returned value has higher precedence.</p> |
|
1632 |
|
1633 <p>Column <code>nodeFormatter</code>s are passed an object (<code>o</code>) with the following |
|
1634 properties:</p> |
|
1635 |
|
1636 <ul> |
|
1637 <li><code>value</code> - The current value of the column's associated attribute, if any.</li> |
|
1638 <li><code>td</code> - The <code><td></code> Node instance.</li> |
|
1639 <li><code>cell</code> - The <code><div></code> liner Node instance if present, otherwise, the <code><td></code>. |
|
1640 When adding content to the cell, prefer appending into this property.</li> |
|
1641 <li><code>data</code> - An object map of Model keys to their current values.</li> |
|
1642 <li><code>record</code> - The Model instance.</li> |
|
1643 <li><code>column</code> - The column configuration object for the current column.</li> |
|
1644 <li><code>rowIndex</code> - The zero-based row number.</li> |
|
1645 </ul> |
|
1646 |
|
1647 <p>They are expected to inject content into the cell's Node directly, including |
|
1648 any "empty" cell content. Each <code>nodeFormatter</code> will have access through the |
|
1649 Node API to all cells and rows in the <code><tbody></code>, but not to the <code><table></code>, as |
|
1650 it will not be attached yet.</p> |
|
1651 |
|
1652 <p>If a <code>nodeFormatter</code> returns <code>false</code>, the <code>o.td</code> and <code>o.cell</code> Nodes will be |
|
1653 <code>destroy()</code>ed to remove them from the Node cache and free up memory. The DOM |
|
1654 elements will remain as will any content added to them. <em>It is highly |
|
1655 advisable to always return <code>false</code> from your <code>nodeFormatter</code>s</em>.</p> |
|
1656 </div> |
|
1657 |
|
1658 |
|
1659 |
|
1660 <div id="classdocs" class="tabview"> |
|
1661 <ul class="api-class-tabs"> |
|
1662 <li class="api-class-tab index"><a href="#index">Index</a></li> |
|
1663 |
|
1664 |
|
1665 <li class="api-class-tab methods"><a href="#methods">Methods</a></li> |
|
1666 |
|
1667 |
|
1668 <li class="api-class-tab properties"><a href="#properties">Properties</a></li> |
|
1669 |
|
1670 |
|
1671 <li class="api-class-tab attrs"><a href="#attrs">Attributes</a></li> |
|
1672 |
|
1673 |
|
1674 <li class="api-class-tab events"><a href="#events">Events</a></li> |
|
1675 |
|
1676 </ul> |
|
1677 |
|
1678 <div> |
|
1679 <div id="index" class="api-class-tabpanel index"> |
|
1680 <h2 class="off-left">Item Index</h2> |
|
1681 |
|
1682 |
|
1683 <div class="index-section methods"> |
|
1684 <h3>Methods</h3> |
|
1685 |
|
1686 <ul class="index-list methods extends"> |
|
1687 |
|
1688 <li class="index-item method private inherited"> |
|
1689 <a href="#method__addAttrs">_addAttrs</a> |
|
1690 |
|
1691 |
|
1692 |
|
1693 </li> |
|
1694 |
|
1695 <li class="index-item method private inherited"> |
|
1696 <a href="#method__addLazyAttr">_addLazyAttr</a> |
|
1697 |
|
1698 |
|
1699 |
|
1700 </li> |
|
1701 |
|
1702 <li class="index-item method protected"> |
|
1703 <a href="#method__afterColumnsChange">_afterColumnsChange</a> |
|
1704 |
|
1705 |
|
1706 |
|
1707 </li> |
|
1708 |
|
1709 <li class="index-item method protected inherited"> |
|
1710 <a href="#method__afterContainerChange">_afterContainerChange</a> |
|
1711 |
|
1712 |
|
1713 |
|
1714 </li> |
|
1715 |
|
1716 <li class="index-item method protected"> |
|
1717 <a href="#method__afterDataChange">_afterDataChange</a> |
|
1718 |
|
1719 |
|
1720 |
|
1721 </li> |
|
1722 |
|
1723 <li class="index-item method protected"> |
|
1724 <a href="#method__afterModelListChange">_afterModelListChange</a> |
|
1725 |
|
1726 |
|
1727 |
|
1728 </li> |
|
1729 |
|
1730 <li class="index-item method private"> |
|
1731 <a href="#method__afterRenderCleanup">_afterRenderCleanup</a> |
|
1732 |
|
1733 |
|
1734 |
|
1735 </li> |
|
1736 |
|
1737 <li class="index-item method private inherited"> |
|
1738 <a href="#method__aggregateAttrs">_aggregateAttrs</a> |
|
1739 |
|
1740 |
|
1741 |
|
1742 </li> |
|
1743 |
|
1744 <li class="index-item method protected"> |
|
1745 <a href="#method__applyNodeFormatters">_applyNodeFormatters</a> |
|
1746 |
|
1747 |
|
1748 |
|
1749 </li> |
|
1750 |
|
1751 <li class="index-item method private inherited"> |
|
1752 <a href="#method__attrCfgHash">_attrCfgHash</a> |
|
1753 |
|
1754 |
|
1755 |
|
1756 </li> |
|
1757 |
|
1758 <li class="index-item method private inherited"> |
|
1759 <a href="#method__baseDestroy">_baseDestroy</a> |
|
1760 |
|
1761 |
|
1762 |
|
1763 </li> |
|
1764 |
|
1765 <li class="index-item method private inherited"> |
|
1766 <a href="#method__baseInit">_baseInit</a> |
|
1767 |
|
1768 |
|
1769 |
|
1770 </li> |
|
1771 |
|
1772 <li class="index-item method private inherited"> |
|
1773 <a href="#method__cloneDefaultValue">_cloneDefaultValue</a> |
|
1774 |
|
1775 |
|
1776 |
|
1777 </li> |
|
1778 |
|
1779 <li class="index-item method protected"> |
|
1780 <a href="#method__createDataHTML">_createDataHTML</a> |
|
1781 |
|
1782 |
|
1783 |
|
1784 </li> |
|
1785 |
|
1786 <li class="index-item method protected"> |
|
1787 <a href="#method__createRowHTML">_createRowHTML</a> |
|
1788 |
|
1789 |
|
1790 |
|
1791 </li> |
|
1792 |
|
1793 <li class="index-item method protected"> |
|
1794 <a href="#method__createRowTemplate">_createRowTemplate</a> |
|
1795 |
|
1796 |
|
1797 |
|
1798 </li> |
|
1799 |
|
1800 <li class="index-item method protected"> |
|
1801 <a href="#method__createTBodyNode">_createTBodyNode</a> |
|
1802 |
|
1803 |
|
1804 |
|
1805 </li> |
|
1806 |
|
1807 <li class="index-item method private inherited"> |
|
1808 <a href="#method__defAttrChangeFn">_defAttrChangeFn</a> |
|
1809 |
|
1810 |
|
1811 |
|
1812 </li> |
|
1813 |
|
1814 <li class="index-item method protected inherited"> |
|
1815 <a href="#method__defDestroyFn">_defDestroyFn</a> |
|
1816 |
|
1817 |
|
1818 |
|
1819 </li> |
|
1820 |
|
1821 <li class="index-item method protected inherited"> |
|
1822 <a href="#method__defInitFn">_defInitFn</a> |
|
1823 |
|
1824 |
|
1825 |
|
1826 </li> |
|
1827 |
|
1828 <li class="index-item method protected inherited"> |
|
1829 <a href="#method__destroyContainer">_destroyContainer</a> |
|
1830 |
|
1831 |
|
1832 |
|
1833 </li> |
|
1834 |
|
1835 <li class="index-item method private inherited"> |
|
1836 <a href="#method__destroyHierarchy">_destroyHierarchy</a> |
|
1837 |
|
1838 |
|
1839 |
|
1840 </li> |
|
1841 |
|
1842 <li class="index-item method private inherited"> |
|
1843 <a href="#method__filterAdHocAttrs">_filterAdHocAttrs</a> |
|
1844 |
|
1845 |
|
1846 |
|
1847 </li> |
|
1848 |
|
1849 <li class="index-item method private inherited"> |
|
1850 <a href="#method__filterAttrCfgs">_filterAttrCfgs</a> |
|
1851 |
|
1852 |
|
1853 |
|
1854 </li> |
|
1855 |
|
1856 <li class="index-item method private inherited"> |
|
1857 <a href="#method__fireAttrChange">_fireAttrChange</a> |
|
1858 |
|
1859 |
|
1860 |
|
1861 </li> |
|
1862 |
|
1863 <li class="index-item method protected inherited"> |
|
1864 <a href="#method__getAttr">_getAttr</a> |
|
1865 |
|
1866 |
|
1867 |
|
1868 </li> |
|
1869 |
|
1870 <li class="index-item method protected inherited"> |
|
1871 <a href="#method__getAttrCfg">_getAttrCfg</a> |
|
1872 |
|
1873 |
|
1874 |
|
1875 </li> |
|
1876 |
|
1877 <li class="index-item method protected inherited"> |
|
1878 <a href="#method__getAttrCfgs">_getAttrCfgs</a> |
|
1879 |
|
1880 |
|
1881 |
|
1882 </li> |
|
1883 |
|
1884 <li class="index-item method private inherited"> |
|
1885 <a href="#method__getAttrInitVal">_getAttrInitVal</a> |
|
1886 |
|
1887 |
|
1888 |
|
1889 </li> |
|
1890 |
|
1891 <li class="index-item method protected inherited"> |
|
1892 <a href="#method__getAttrs">_getAttrs</a> |
|
1893 |
|
1894 |
|
1895 |
|
1896 </li> |
|
1897 |
|
1898 <li class="index-item method protected inherited"> |
|
1899 <a href="#method__getClasses">_getClasses</a> |
|
1900 |
|
1901 |
|
1902 |
|
1903 </li> |
|
1904 |
|
1905 <li class="index-item method protected inherited"> |
|
1906 <a href="#method__getContainer">_getContainer</a> |
|
1907 |
|
1908 |
|
1909 |
|
1910 </li> |
|
1911 |
|
1912 <li class="index-item method private inherited"> |
|
1913 <a href="#method__getFullType">_getFullType</a> |
|
1914 |
|
1915 |
|
1916 |
|
1917 </li> |
|
1918 |
|
1919 <li class="index-item method protected"> |
|
1920 <a href="#method__getRowId">_getRowId</a> |
|
1921 |
|
1922 |
|
1923 |
|
1924 </li> |
|
1925 |
|
1926 <li class="index-item method private inherited"> |
|
1927 <a href="#method__getStateVal">_getStateVal</a> |
|
1928 |
|
1929 |
|
1930 |
|
1931 </li> |
|
1932 |
|
1933 <li class="index-item method private inherited"> |
|
1934 <a href="#method__getType">_getType</a> |
|
1935 |
|
1936 |
|
1937 |
|
1938 </li> |
|
1939 |
|
1940 <li class="index-item method private inherited"> |
|
1941 <a href="#method__initAttrHost">_initAttrHost</a> |
|
1942 |
|
1943 |
|
1944 |
|
1945 </li> |
|
1946 |
|
1947 <li class="index-item method private inherited inherited"> |
|
1948 <a href="#method__initAttribute">_initAttribute</a> |
|
1949 |
|
1950 |
|
1951 |
|
1952 </li> |
|
1953 |
|
1954 <li class="index-item method protected inherited"> |
|
1955 <a href="#method__initAttrs">_initAttrs</a> |
|
1956 |
|
1957 |
|
1958 |
|
1959 </li> |
|
1960 |
|
1961 <li class="index-item method private inherited"> |
|
1962 <a href="#method__initBase">_initBase</a> |
|
1963 |
|
1964 |
|
1965 |
|
1966 </li> |
|
1967 |
|
1968 <li class="index-item method private inherited"> |
|
1969 <a href="#method__initHierarchy">_initHierarchy</a> |
|
1970 |
|
1971 |
|
1972 |
|
1973 </li> |
|
1974 |
|
1975 <li class="index-item method private inherited"> |
|
1976 <a href="#method__initHierarchyData">_initHierarchyData</a> |
|
1977 |
|
1978 |
|
1979 |
|
1980 </li> |
|
1981 |
|
1982 <li class="index-item method private inherited"> |
|
1983 <a href="#method__isLazyAttr">_isLazyAttr</a> |
|
1984 |
|
1985 |
|
1986 |
|
1987 </li> |
|
1988 |
|
1989 <li class="index-item method private inherited"> |
|
1990 <a href="#method__monitor">_monitor</a> |
|
1991 |
|
1992 |
|
1993 |
|
1994 </li> |
|
1995 |
|
1996 <li class="index-item method private inherited"> |
|
1997 <a href="#method__normAttrVals">_normAttrVals</a> |
|
1998 |
|
1999 |
|
2000 |
|
2001 </li> |
|
2002 |
|
2003 <li class="index-item method private inherited"> |
|
2004 <a href="#method__parseType">_parseType</a> |
|
2005 |
|
2006 |
|
2007 |
|
2008 </li> |
|
2009 |
|
2010 <li class="index-item method private inherited"> |
|
2011 <a href="#method__preInitEventCfg">_preInitEventCfg</a> |
|
2012 |
|
2013 |
|
2014 |
|
2015 </li> |
|
2016 |
|
2017 <li class="index-item method protected deprecated inherited"> |
|
2018 <a href="#method__protectAttrs">_protectAttrs</a> |
|
2019 |
|
2020 |
|
2021 |
|
2022 <span class="flag deprecated">deprecated</span> |
|
2023 |
|
2024 </li> |
|
2025 |
|
2026 <li class="index-item method private inherited"> |
|
2027 <a href="#method__publish">_publish</a> |
|
2028 |
|
2029 |
|
2030 |
|
2031 </li> |
|
2032 |
|
2033 <li class="index-item method protected inherited inherited"> |
|
2034 <a href="#method__set">_set</a> |
|
2035 |
|
2036 |
|
2037 |
|
2038 </li> |
|
2039 |
|
2040 <li class="index-item method protected inherited"> |
|
2041 <a href="#method__setAttr">_setAttr</a> |
|
2042 |
|
2043 |
|
2044 |
|
2045 </li> |
|
2046 |
|
2047 <li class="index-item method protected inherited inherited"> |
|
2048 <a href="#method__setAttrs">_setAttrs</a> |
|
2049 |
|
2050 |
|
2051 |
|
2052 </li> |
|
2053 |
|
2054 <li class="index-item method private inherited"> |
|
2055 <a href="#method__setAttrVal">_setAttrVal</a> |
|
2056 |
|
2057 |
|
2058 |
|
2059 </li> |
|
2060 |
|
2061 <li class="index-item method private inherited"> |
|
2062 <a href="#method__setStateVal">_setStateVal</a> |
|
2063 |
|
2064 |
|
2065 |
|
2066 </li> |
|
2067 |
|
2068 <li class="index-item method inherited"> |
|
2069 <a href="#method_addAttr">addAttr</a> |
|
2070 |
|
2071 |
|
2072 |
|
2073 </li> |
|
2074 |
|
2075 <li class="index-item method inherited"> |
|
2076 <a href="#method_addAttrs">addAttrs</a> |
|
2077 |
|
2078 |
|
2079 |
|
2080 </li> |
|
2081 |
|
2082 <li class="index-item method inherited"> |
|
2083 <a href="#method_addTarget">addTarget</a> |
|
2084 |
|
2085 |
|
2086 |
|
2087 </li> |
|
2088 |
|
2089 <li class="index-item method inherited"> |
|
2090 <a href="#method_after">after</a> |
|
2091 |
|
2092 |
|
2093 |
|
2094 </li> |
|
2095 |
|
2096 <li class="index-item method inherited"> |
|
2097 <a href="#method_attachEvents">attachEvents</a> |
|
2098 |
|
2099 |
|
2100 |
|
2101 </li> |
|
2102 |
|
2103 <li class="index-item method inherited"> |
|
2104 <a href="#method_attrAdded">attrAdded</a> |
|
2105 |
|
2106 |
|
2107 |
|
2108 </li> |
|
2109 |
|
2110 <li class="index-item method inherited"> |
|
2111 <a href="#method_before">before</a> |
|
2112 |
|
2113 |
|
2114 |
|
2115 </li> |
|
2116 |
|
2117 <li class="index-item method protected"> |
|
2118 <a href="#method_bindUI">bindUI</a> |
|
2119 |
|
2120 |
|
2121 |
|
2122 </li> |
|
2123 |
|
2124 <li class="index-item method inherited"> |
|
2125 <a href="#method_bubble">bubble</a> |
|
2126 |
|
2127 |
|
2128 |
|
2129 </li> |
|
2130 |
|
2131 <li class="index-item method inherited"> |
|
2132 <a href="#method_create">create</a> |
|
2133 |
|
2134 |
|
2135 |
|
2136 </li> |
|
2137 |
|
2138 <li class="index-item method inherited inherited"> |
|
2139 <a href="#method_destroy">destroy</a> |
|
2140 |
|
2141 |
|
2142 |
|
2143 </li> |
|
2144 |
|
2145 <li class="index-item method protected"> |
|
2146 <a href="#method_destructor">destructor</a> |
|
2147 |
|
2148 |
|
2149 |
|
2150 </li> |
|
2151 |
|
2152 <li class="index-item method inherited"> |
|
2153 <a href="#method_detach">detach</a> |
|
2154 |
|
2155 |
|
2156 |
|
2157 </li> |
|
2158 |
|
2159 <li class="index-item method inherited"> |
|
2160 <a href="#method_detachAll">detachAll</a> |
|
2161 |
|
2162 |
|
2163 |
|
2164 </li> |
|
2165 |
|
2166 <li class="index-item method inherited"> |
|
2167 <a href="#method_detachEvents">detachEvents</a> |
|
2168 |
|
2169 |
|
2170 |
|
2171 </li> |
|
2172 |
|
2173 <li class="index-item method inherited"> |
|
2174 <a href="#method_fire">fire</a> |
|
2175 |
|
2176 |
|
2177 |
|
2178 </li> |
|
2179 |
|
2180 <li class="index-item method inherited"> |
|
2181 <a href="#method_get">get</a> |
|
2182 |
|
2183 |
|
2184 |
|
2185 </li> |
|
2186 |
|
2187 <li class="index-item method inherited"> |
|
2188 <a href="#method_getAttrs">getAttrs</a> |
|
2189 |
|
2190 |
|
2191 |
|
2192 </li> |
|
2193 |
|
2194 <li class="index-item method"> |
|
2195 <a href="#method_getCell">getCell</a> |
|
2196 |
|
2197 |
|
2198 |
|
2199 </li> |
|
2200 |
|
2201 <li class="index-item method protected"> |
|
2202 <a href="#method_getClassName">getClassName</a> |
|
2203 |
|
2204 |
|
2205 |
|
2206 </li> |
|
2207 |
|
2208 <li class="index-item method inherited"> |
|
2209 <a href="#method_getEvent">getEvent</a> |
|
2210 |
|
2211 |
|
2212 |
|
2213 </li> |
|
2214 |
|
2215 <li class="index-item method"> |
|
2216 <a href="#method_getRecord">getRecord</a> |
|
2217 |
|
2218 |
|
2219 |
|
2220 </li> |
|
2221 |
|
2222 <li class="index-item method"> |
|
2223 <a href="#method_getRow">getRow</a> |
|
2224 |
|
2225 |
|
2226 |
|
2227 </li> |
|
2228 |
|
2229 <li class="index-item method inherited"> |
|
2230 <a href="#method_getTargets">getTargets</a> |
|
2231 |
|
2232 |
|
2233 |
|
2234 </li> |
|
2235 |
|
2236 <li class="index-item method inherited inherited"> |
|
2237 <a href="#method_init">init</a> |
|
2238 |
|
2239 |
|
2240 |
|
2241 </li> |
|
2242 |
|
2243 <li class="index-item method protected"> |
|
2244 <a href="#method_initializer">initializer</a> |
|
2245 |
|
2246 |
|
2247 |
|
2248 </li> |
|
2249 |
|
2250 <li class="index-item method inherited"> |
|
2251 <a href="#method_modifyAttr">modifyAttr</a> |
|
2252 |
|
2253 |
|
2254 |
|
2255 </li> |
|
2256 |
|
2257 <li class="index-item method inherited"> |
|
2258 <a href="#method_on">on</a> |
|
2259 |
|
2260 |
|
2261 |
|
2262 </li> |
|
2263 |
|
2264 <li class="index-item method inherited"> |
|
2265 <a href="#method_once">once</a> |
|
2266 |
|
2267 |
|
2268 |
|
2269 </li> |
|
2270 |
|
2271 <li class="index-item method inherited"> |
|
2272 <a href="#method_onceAfter">onceAfter</a> |
|
2273 |
|
2274 |
|
2275 |
|
2276 </li> |
|
2277 |
|
2278 <li class="index-item method inherited"> |
|
2279 <a href="#method_parseType">parseType</a> |
|
2280 |
|
2281 |
|
2282 |
|
2283 </li> |
|
2284 |
|
2285 <li class="index-item method inherited"> |
|
2286 <a href="#method_publish">publish</a> |
|
2287 |
|
2288 |
|
2289 |
|
2290 </li> |
|
2291 |
|
2292 <li class="index-item method inherited"> |
|
2293 <a href="#method_remove">remove</a> |
|
2294 |
|
2295 |
|
2296 |
|
2297 </li> |
|
2298 |
|
2299 <li class="index-item method inherited"> |
|
2300 <a href="#method_removeAttr">removeAttr</a> |
|
2301 |
|
2302 |
|
2303 |
|
2304 </li> |
|
2305 |
|
2306 <li class="index-item method inherited"> |
|
2307 <a href="#method_removeTarget">removeTarget</a> |
|
2308 |
|
2309 |
|
2310 |
|
2311 </li> |
|
2312 |
|
2313 <li class="index-item method inherited"> |
|
2314 <a href="#method_render">render</a> |
|
2315 |
|
2316 |
|
2317 |
|
2318 </li> |
|
2319 |
|
2320 <li class="index-item method inherited"> |
|
2321 <a href="#method_reset">reset</a> |
|
2322 |
|
2323 |
|
2324 |
|
2325 </li> |
|
2326 |
|
2327 <li class="index-item method inherited inherited"> |
|
2328 <a href="#method_set">set</a> |
|
2329 |
|
2330 |
|
2331 |
|
2332 </li> |
|
2333 |
|
2334 <li class="index-item method inherited inherited"> |
|
2335 <a href="#method_setAttrs">setAttrs</a> |
|
2336 |
|
2337 |
|
2338 |
|
2339 </li> |
|
2340 |
|
2341 <li class="index-item method deprecated inherited"> |
|
2342 <a href="#method_subscribe">subscribe</a> |
|
2343 |
|
2344 |
|
2345 |
|
2346 <span class="flag deprecated">deprecated</span> |
|
2347 |
|
2348 </li> |
|
2349 |
|
2350 <li class="index-item method inherited"> |
|
2351 <a href="#method_toString">toString</a> |
|
2352 |
|
2353 |
|
2354 |
|
2355 </li> |
|
2356 |
|
2357 <li class="index-item method deprecated inherited"> |
|
2358 <a href="#method_unsubscribe">unsubscribe</a> |
|
2359 |
|
2360 |
|
2361 |
|
2362 <span class="flag deprecated">deprecated</span> |
|
2363 |
|
2364 </li> |
|
2365 |
|
2366 <li class="index-item method deprecated inherited"> |
|
2367 <a href="#method_unsubscribeAll">unsubscribeAll</a> |
|
2368 |
|
2369 |
|
2370 |
|
2371 <span class="flag deprecated">deprecated</span> |
|
2372 |
|
2373 </li> |
|
2374 |
|
2375 </ul> |
|
2376 </div> |
|
2377 |
|
2378 |
|
2379 |
|
2380 <div class="index-section properties"> |
|
2381 <h3>Properties</h3> |
|
2382 |
|
2383 <ul class="index-list properties extends"> |
|
2384 |
|
2385 <li class="index-item property protected inherited inherited"> |
|
2386 <a href="#property__allowAdHocAttrs">_allowAdHocAttrs</a> |
|
2387 |
|
2388 |
|
2389 |
|
2390 </li> |
|
2391 |
|
2392 <li class="index-item property protected"> |
|
2393 <a href="#property__eventHandles">_eventHandles</a> |
|
2394 |
|
2395 |
|
2396 |
|
2397 </li> |
|
2398 |
|
2399 <li class="index-item property protected"> |
|
2400 <a href="#property__idMap">_idMap</a> |
|
2401 |
|
2402 |
|
2403 |
|
2404 </li> |
|
2405 |
|
2406 <li class="index-item property protected"> |
|
2407 <a href="#property__rowTemplate">_rowTemplate</a> |
|
2408 |
|
2409 |
|
2410 |
|
2411 </li> |
|
2412 |
|
2413 <li class="index-item property"> |
|
2414 <a href="#property_CELL_TEMPLATE">CELL_TEMPLATE</a> |
|
2415 |
|
2416 |
|
2417 |
|
2418 </li> |
|
2419 |
|
2420 <li class="index-item property"> |
|
2421 <a href="#property_CLASS_EVEN">CLASS_EVEN</a> |
|
2422 |
|
2423 |
|
2424 |
|
2425 </li> |
|
2426 |
|
2427 <li class="index-item property"> |
|
2428 <a href="#property_CLASS_ODD">CLASS_ODD</a> |
|
2429 |
|
2430 |
|
2431 |
|
2432 </li> |
|
2433 |
|
2434 <li class="index-item property inherited"> |
|
2435 <a href="#property_containerTemplate">containerTemplate</a> |
|
2436 |
|
2437 |
|
2438 |
|
2439 </li> |
|
2440 |
|
2441 <li class="index-item property inherited"> |
|
2442 <a href="#property_events">events</a> |
|
2443 |
|
2444 |
|
2445 |
|
2446 </li> |
|
2447 |
|
2448 <li class="index-item property"> |
|
2449 <a href="#property_Formatters">Formatters</a> |
|
2450 |
|
2451 |
|
2452 <span class="flag static">static</span> |
|
2453 |
|
2454 |
|
2455 </li> |
|
2456 |
|
2457 <li class="index-item property"> |
|
2458 <a href="#property_host">host</a> |
|
2459 |
|
2460 |
|
2461 |
|
2462 </li> |
|
2463 |
|
2464 <li class="index-item property deprecated inherited"> |
|
2465 <a href="#property_name">name</a> |
|
2466 |
|
2467 |
|
2468 |
|
2469 <span class="flag deprecated">deprecated</span> |
|
2470 |
|
2471 </li> |
|
2472 |
|
2473 <li class="index-item property"> |
|
2474 <a href="#property_ROW_TEMPLATE">ROW_TEMPLATE</a> |
|
2475 |
|
2476 |
|
2477 |
|
2478 </li> |
|
2479 |
|
2480 <li class="index-item property"> |
|
2481 <a href="#property_TBODY_TEMPLATE">TBODY_TEMPLATE</a> |
|
2482 |
|
2483 |
|
2484 |
|
2485 </li> |
|
2486 |
|
2487 <li class="index-item property inherited"> |
|
2488 <a href="#property_template">template</a> |
|
2489 |
|
2490 |
|
2491 |
|
2492 </li> |
|
2493 |
|
2494 </ul> |
|
2495 </div> |
|
2496 |
|
2497 |
|
2498 |
|
2499 <div class="index-section attrs"> |
|
2500 <h3>Attributes</h3> |
|
2501 |
|
2502 <ul class="index-list attrs extends"> |
|
2503 |
|
2504 <li class="index-item attr inherited"> |
|
2505 <a href="#attr_container">container</a> |
|
2506 </li> |
|
2507 |
|
2508 <li class="index-item attr inherited"> |
|
2509 <a href="#attr_destroyed">destroyed</a> |
|
2510 </li> |
|
2511 |
|
2512 <li class="index-item attr inherited"> |
|
2513 <a href="#attr_initialized">initialized</a> |
|
2514 </li> |
|
2515 |
|
2516 </ul> |
|
2517 </div> |
|
2518 |
|
2519 |
|
2520 |
|
2521 <div class="index-section events"> |
|
2522 <h3>Events</h3> |
|
2523 |
|
2524 <ul class="index-list events extends"> |
|
2525 |
|
2526 <li class="index-item event inherited"> |
|
2527 <a href="#event_destroy">destroy</a> |
|
2528 |
|
2529 |
|
2530 |
|
2531 </li> |
|
2532 |
|
2533 <li class="index-item event inherited"> |
|
2534 <a href="#event_init">init</a> |
|
2535 |
|
2536 |
|
2537 |
|
2538 </li> |
|
2539 |
|
2540 </ul> |
|
2541 </div> |
|
2542 |
|
2543 </div> |
|
2544 |
|
2545 |
|
2546 <div id="methods" class="api-class-tabpanel"> |
|
2547 <h2 class="off-left">Methods</h2> |
|
2548 |
|
2549 |
|
2550 <div id="method__addAttrs" class="method item private inherited"> |
|
2551 <h3 class="name"><code>_addAttrs</code></h3> |
|
2552 |
|
2553 |
|
2554 <div class="args"> |
|
2555 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2556 |
|
2557 <li class="arg"> |
|
2558 |
|
2559 <code>cfgs</code> |
|
2560 |
|
2561 </li> |
|
2562 |
|
2563 <li class="arg"> |
|
2564 |
|
2565 <code>values</code> |
|
2566 |
|
2567 </li> |
|
2568 |
|
2569 <li class="arg"> |
|
2570 |
|
2571 <code>lazy</code> |
|
2572 |
|
2573 </li> |
|
2574 |
|
2575 </ul><span class="paren">)</span> |
|
2576 </div> |
|
2577 |
|
2578 |
|
2579 |
|
2580 |
|
2581 |
|
2582 |
|
2583 |
|
2584 <span class="flag private">private</span> |
|
2585 |
|
2586 |
|
2587 |
|
2588 |
|
2589 |
|
2590 |
|
2591 |
|
2592 |
|
2593 |
|
2594 |
|
2595 <div class="meta"> |
|
2596 |
|
2597 |
|
2598 <p>Inherited from |
|
2599 <a href="../classes/AttributeCore.html#method__addAttrs">AttributeCore</a>: |
|
2600 |
|
2601 |
|
2602 |
|
2603 <a href="../files/attribute_js_AttributeCore.js.html#l836"><code>attribute/js/AttributeCore.js:836</code></a> |
|
2604 |
|
2605 </p> |
|
2606 |
|
2607 |
|
2608 |
|
2609 |
|
2610 |
|
2611 </div> |
|
2612 |
|
2613 <div class="description"> |
|
2614 <p>Implementation behind the public addAttrs method.</p> |
|
2615 |
|
2616 <p>This method is invoked directly by get if it encounters a scenario |
|
2617 in which an attribute's valueFn attempts to obtain the |
|
2618 value an attribute in the same group of attributes, which has not yet |
|
2619 been added (on demand initialization).</p> |
|
2620 </div> |
|
2621 |
|
2622 |
|
2623 <div class="params"> |
|
2624 <h4>Parameters:</h4> |
|
2625 |
|
2626 <ul class="params-list"> |
|
2627 |
|
2628 <li class="param"> |
|
2629 |
|
2630 <code class="param-name">cfgs</code> |
|
2631 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2632 |
|
2633 |
|
2634 |
|
2635 |
|
2636 <div class="param-description"> |
|
2637 <p>An object with attribute name/configuration pairs.</p> |
|
2638 </div> |
|
2639 |
|
2640 |
|
2641 </li> |
|
2642 |
|
2643 <li class="param"> |
|
2644 |
|
2645 <code class="param-name">values</code> |
|
2646 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2647 |
|
2648 |
|
2649 |
|
2650 |
|
2651 <div class="param-description"> |
|
2652 <p>An object with attribute name/value pairs, defining the initial values to apply. |
|
2653 Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p> |
|
2654 </div> |
|
2655 |
|
2656 |
|
2657 </li> |
|
2658 |
|
2659 <li class="param"> |
|
2660 |
|
2661 <code class="param-name">lazy</code> |
|
2662 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
2663 |
|
2664 |
|
2665 |
|
2666 |
|
2667 <div class="param-description"> |
|
2668 <p>Whether or not to delay the intialization of these attributes until the first call to get/set. |
|
2669 Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration. |
|
2670 See <a href="#method_addAttr">addAttr</a>.</p> |
|
2671 </div> |
|
2672 |
|
2673 |
|
2674 </li> |
|
2675 |
|
2676 </ul> |
|
2677 </div> |
|
2678 |
|
2679 |
|
2680 |
|
2681 |
|
2682 |
|
2683 </div> |
|
2684 |
|
2685 |
|
2686 <div id="method__addLazyAttr" class="method item private inherited"> |
|
2687 <h3 class="name"><code>_addLazyAttr</code></h3> |
|
2688 |
|
2689 |
|
2690 <div class="args"> |
|
2691 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2692 |
|
2693 <li class="arg"> |
|
2694 |
|
2695 <code>name</code> |
|
2696 |
|
2697 </li> |
|
2698 |
|
2699 <li class="arg"> |
|
2700 |
|
2701 <code class="optional">[lazyCfg]</code> |
|
2702 |
|
2703 </li> |
|
2704 |
|
2705 </ul><span class="paren">)</span> |
|
2706 </div> |
|
2707 |
|
2708 |
|
2709 |
|
2710 |
|
2711 |
|
2712 |
|
2713 |
|
2714 <span class="flag private">private</span> |
|
2715 |
|
2716 |
|
2717 |
|
2718 |
|
2719 |
|
2720 |
|
2721 |
|
2722 |
|
2723 |
|
2724 |
|
2725 <div class="meta"> |
|
2726 |
|
2727 |
|
2728 <p>Inherited from |
|
2729 <a href="../classes/AttributeCore.html#method__addLazyAttr">AttributeCore</a>: |
|
2730 |
|
2731 |
|
2732 |
|
2733 <a href="../files/attribute_js_AttributeCore.js.html#l382"><code>attribute/js/AttributeCore.js:382</code></a> |
|
2734 |
|
2735 </p> |
|
2736 |
|
2737 |
|
2738 |
|
2739 |
|
2740 |
|
2741 </div> |
|
2742 |
|
2743 <div class="description"> |
|
2744 <p>Finishes initializing an attribute which has been lazily added.</p> |
|
2745 </div> |
|
2746 |
|
2747 |
|
2748 <div class="params"> |
|
2749 <h4>Parameters:</h4> |
|
2750 |
|
2751 <ul class="params-list"> |
|
2752 |
|
2753 <li class="param"> |
|
2754 |
|
2755 <code class="param-name">name</code> |
|
2756 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2757 |
|
2758 |
|
2759 |
|
2760 |
|
2761 <div class="param-description"> |
|
2762 <p>The name of the attribute</p> |
|
2763 </div> |
|
2764 |
|
2765 |
|
2766 </li> |
|
2767 |
|
2768 <li class="param"> |
|
2769 |
|
2770 <code class="param-name optional">[lazyCfg]</code> |
|
2771 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2772 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
2773 |
|
2774 |
|
2775 |
|
2776 |
|
2777 <div class="param-description"> |
|
2778 <p>Optional config hash for the attribute. This is added for performance |
|
2779 along the critical path, where the calling method has already obtained lazy config from state.</p> |
|
2780 </div> |
|
2781 |
|
2782 |
|
2783 </li> |
|
2784 |
|
2785 </ul> |
|
2786 </div> |
|
2787 |
|
2788 |
|
2789 |
|
2790 |
|
2791 |
|
2792 </div> |
|
2793 |
|
2794 |
|
2795 <div id="method__afterColumnsChange" class="method item protected"> |
|
2796 <h3 class="name"><code>_afterColumnsChange</code></h3> |
|
2797 |
|
2798 |
|
2799 <div class="args"> |
|
2800 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2801 |
|
2802 <li class="arg"> |
|
2803 |
|
2804 <code>e</code> |
|
2805 |
|
2806 </li> |
|
2807 |
|
2808 </ul><span class="paren">)</span> |
|
2809 </div> |
|
2810 |
|
2811 |
|
2812 |
|
2813 |
|
2814 |
|
2815 |
|
2816 |
|
2817 <span class="flag protected">protected</span> |
|
2818 |
|
2819 |
|
2820 |
|
2821 |
|
2822 |
|
2823 |
|
2824 |
|
2825 |
|
2826 |
|
2827 |
|
2828 <div class="meta"> |
|
2829 |
|
2830 |
|
2831 |
|
2832 <p> |
|
2833 |
|
2834 Defined in |
|
2835 |
|
2836 |
|
2837 |
|
2838 |
|
2839 <a href="../files/datatable_js_body.js.html#l458"><code>datatable/js/body.js:458</code></a> |
|
2840 |
|
2841 </p> |
|
2842 |
|
2843 |
|
2844 |
|
2845 |
|
2846 |
|
2847 <p>Available since 3.5.0</p> |
|
2848 |
|
2849 </div> |
|
2850 |
|
2851 <div class="description"> |
|
2852 <p>Handles changes in the source's columns attribute. Redraws the table data.</p> |
|
2853 </div> |
|
2854 |
|
2855 |
|
2856 <div class="params"> |
|
2857 <h4>Parameters:</h4> |
|
2858 |
|
2859 <ul class="params-list"> |
|
2860 |
|
2861 <li class="param"> |
|
2862 |
|
2863 <code class="param-name">e</code> |
|
2864 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
2865 |
|
2866 |
|
2867 |
|
2868 |
|
2869 <div class="param-description"> |
|
2870 <p>The <code>columnsChange</code> event object</p> |
|
2871 </div> |
|
2872 |
|
2873 |
|
2874 </li> |
|
2875 |
|
2876 </ul> |
|
2877 </div> |
|
2878 |
|
2879 |
|
2880 |
|
2881 |
|
2882 |
|
2883 </div> |
|
2884 |
|
2885 |
|
2886 <div id="method__afterContainerChange" class="method item protected inherited"> |
|
2887 <h3 class="name"><code>_afterContainerChange</code></h3> |
|
2888 |
|
2889 |
|
2890 <span class="paren">()</span> |
|
2891 |
|
2892 |
|
2893 |
|
2894 |
|
2895 |
|
2896 |
|
2897 |
|
2898 <span class="flag protected">protected</span> |
|
2899 |
|
2900 |
|
2901 |
|
2902 |
|
2903 |
|
2904 |
|
2905 |
|
2906 |
|
2907 |
|
2908 |
|
2909 <div class="meta"> |
|
2910 |
|
2911 |
|
2912 <p>Inherited from |
|
2913 <a href="../classes/View.html#method__afterContainerChange">View</a>: |
|
2914 |
|
2915 |
|
2916 |
|
2917 <a href="../files/app_js_view.js.html#l357"><code>app/js/view.js:357</code></a> |
|
2918 |
|
2919 </p> |
|
2920 |
|
2921 |
|
2922 |
|
2923 |
|
2924 |
|
2925 <p>Available since 3.5.0</p> |
|
2926 |
|
2927 </div> |
|
2928 |
|
2929 <div class="description"> |
|
2930 <p>Handles <code>containerChange</code> events. Detaches event handlers from the old |
|
2931 container (if any) and attaches them to the new container.</p> |
|
2932 |
|
2933 <p>Right now the <code>container</code> attr is initOnly so this event should only ever |
|
2934 fire the first time the container is created, but in the future (once Y.App |
|
2935 can handle it) we may allow runtime container changes.</p> |
|
2936 </div> |
|
2937 |
|
2938 |
|
2939 |
|
2940 |
|
2941 |
|
2942 |
|
2943 </div> |
|
2944 |
|
2945 |
|
2946 <div id="method__afterDataChange" class="method item protected"> |
|
2947 <h3 class="name"><code>_afterDataChange</code></h3> |
|
2948 |
|
2949 |
|
2950 <div class="args"> |
|
2951 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2952 |
|
2953 <li class="arg"> |
|
2954 |
|
2955 <code>e</code> |
|
2956 |
|
2957 </li> |
|
2958 |
|
2959 </ul><span class="paren">)</span> |
|
2960 </div> |
|
2961 |
|
2962 |
|
2963 |
|
2964 |
|
2965 |
|
2966 |
|
2967 |
|
2968 <span class="flag protected">protected</span> |
|
2969 |
|
2970 |
|
2971 |
|
2972 |
|
2973 |
|
2974 |
|
2975 |
|
2976 |
|
2977 |
|
2978 |
|
2979 <div class="meta"> |
|
2980 |
|
2981 |
|
2982 |
|
2983 <p> |
|
2984 |
|
2985 Defined in |
|
2986 |
|
2987 |
|
2988 |
|
2989 |
|
2990 <a href="../files/datatable_js_body.js.html#l477"><code>datatable/js/body.js:477</code></a> |
|
2991 |
|
2992 </p> |
|
2993 |
|
2994 |
|
2995 |
|
2996 |
|
2997 |
|
2998 <p>Available since 3.5.0</p> |
|
2999 |
|
3000 </div> |
|
3001 |
|
3002 <div class="description"> |
|
3003 <p>Handles modelList changes, including additions, deletions, and updates.</p> |
|
3004 |
|
3005 <p>Modifies the existing table DOM accordingly.</p> |
|
3006 </div> |
|
3007 |
|
3008 |
|
3009 <div class="params"> |
|
3010 <h4>Parameters:</h4> |
|
3011 |
|
3012 <ul class="params-list"> |
|
3013 |
|
3014 <li class="param"> |
|
3015 |
|
3016 <code class="param-name">e</code> |
|
3017 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
3018 |
|
3019 |
|
3020 |
|
3021 |
|
3022 <div class="param-description"> |
|
3023 <p>The <code>change</code> event from the ModelList</p> |
|
3024 </div> |
|
3025 |
|
3026 |
|
3027 </li> |
|
3028 |
|
3029 </ul> |
|
3030 </div> |
|
3031 |
|
3032 |
|
3033 |
|
3034 |
|
3035 |
|
3036 </div> |
|
3037 |
|
3038 |
|
3039 <div id="method__afterModelListChange" class="method item protected"> |
|
3040 <h3 class="name"><code>_afterModelListChange</code></h3> |
|
3041 |
|
3042 |
|
3043 <div class="args"> |
|
3044 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3045 |
|
3046 <li class="arg"> |
|
3047 |
|
3048 <code>e</code> |
|
3049 |
|
3050 </li> |
|
3051 |
|
3052 </ul><span class="paren">)</span> |
|
3053 </div> |
|
3054 |
|
3055 |
|
3056 |
|
3057 |
|
3058 |
|
3059 |
|
3060 |
|
3061 <span class="flag protected">protected</span> |
|
3062 |
|
3063 |
|
3064 |
|
3065 |
|
3066 |
|
3067 |
|
3068 |
|
3069 |
|
3070 |
|
3071 |
|
3072 <div class="meta"> |
|
3073 |
|
3074 |
|
3075 |
|
3076 <p> |
|
3077 |
|
3078 Defined in |
|
3079 |
|
3080 |
|
3081 |
|
3082 |
|
3083 <a href="../files/datatable_js_body.js.html#l494"><code>datatable/js/body.js:494</code></a> |
|
3084 |
|
3085 </p> |
|
3086 |
|
3087 |
|
3088 |
|
3089 |
|
3090 |
|
3091 <p>Available since 3.6.0</p> |
|
3092 |
|
3093 </div> |
|
3094 |
|
3095 <div class="description"> |
|
3096 <p>Handles replacement of the modelList.</p> |
|
3097 |
|
3098 <p>Rerenders the <code><tbody></code> contents.</p> |
|
3099 </div> |
|
3100 |
|
3101 |
|
3102 <div class="params"> |
|
3103 <h4>Parameters:</h4> |
|
3104 |
|
3105 <ul class="params-list"> |
|
3106 |
|
3107 <li class="param"> |
|
3108 |
|
3109 <code class="param-name">e</code> |
|
3110 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
3111 |
|
3112 |
|
3113 |
|
3114 |
|
3115 <div class="param-description"> |
|
3116 <p>The <code>modelListChange</code> event</p> |
|
3117 </div> |
|
3118 |
|
3119 |
|
3120 </li> |
|
3121 |
|
3122 </ul> |
|
3123 </div> |
|
3124 |
|
3125 |
|
3126 |
|
3127 |
|
3128 |
|
3129 </div> |
|
3130 |
|
3131 |
|
3132 <div id="method__afterRenderCleanup" class="method item private"> |
|
3133 <h3 class="name"><code>_afterRenderCleanup</code></h3> |
|
3134 |
|
3135 |
|
3136 <span class="paren">()</span> |
|
3137 |
|
3138 |
|
3139 |
|
3140 |
|
3141 |
|
3142 |
|
3143 |
|
3144 <span class="flag private">private</span> |
|
3145 |
|
3146 |
|
3147 |
|
3148 |
|
3149 |
|
3150 |
|
3151 |
|
3152 |
|
3153 |
|
3154 |
|
3155 <div class="meta"> |
|
3156 |
|
3157 |
|
3158 |
|
3159 <p> |
|
3160 |
|
3161 Defined in |
|
3162 |
|
3163 |
|
3164 |
|
3165 |
|
3166 <a href="../files/datatable_js_body.js.html#l781"><code>datatable/js/body.js:781</code></a> |
|
3167 |
|
3168 </p> |
|
3169 |
|
3170 |
|
3171 |
|
3172 |
|
3173 |
|
3174 </div> |
|
3175 |
|
3176 <div class="description"> |
|
3177 <p>Cleans up temporary values created during rendering.</p> |
|
3178 </div> |
|
3179 |
|
3180 |
|
3181 |
|
3182 |
|
3183 |
|
3184 |
|
3185 </div> |
|
3186 |
|
3187 |
|
3188 <div id="method__aggregateAttrs" class="method item private inherited"> |
|
3189 <h3 class="name"><code>_aggregateAttrs</code></h3> |
|
3190 |
|
3191 |
|
3192 <div class="args"> |
|
3193 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3194 |
|
3195 <li class="arg"> |
|
3196 |
|
3197 <code>allAttrs</code> |
|
3198 |
|
3199 </li> |
|
3200 |
|
3201 </ul><span class="paren">)</span> |
|
3202 </div> |
|
3203 |
|
3204 |
|
3205 |
|
3206 <span class="returns-inline"> |
|
3207 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3208 </span> |
|
3209 |
|
3210 |
|
3211 |
|
3212 |
|
3213 |
|
3214 <span class="flag private">private</span> |
|
3215 |
|
3216 |
|
3217 |
|
3218 |
|
3219 |
|
3220 |
|
3221 |
|
3222 |
|
3223 |
|
3224 |
|
3225 <div class="meta"> |
|
3226 |
|
3227 |
|
3228 <p>Inherited from |
|
3229 <a href="../classes/BaseCore.html#method__aggregateAttrs">BaseCore</a>: |
|
3230 |
|
3231 |
|
3232 |
|
3233 <a href="../files/base_js_BaseCore.js.html#l575"><code>base/js/BaseCore.js:575</code></a> |
|
3234 |
|
3235 </p> |
|
3236 |
|
3237 |
|
3238 |
|
3239 |
|
3240 |
|
3241 </div> |
|
3242 |
|
3243 <div class="description"> |
|
3244 <p>A helper method, used by _initHierarchyData to aggregate |
|
3245 attribute configuration across the instances class hierarchy.</p> |
|
3246 |
|
3247 <p>The method will protect the attribute configuration value to protect the statically defined |
|
3248 default value in ATTRS if required (if the value is an object literal, array or the |
|
3249 attribute configuration has cloneDefaultValue set to shallow or deep).</p> |
|
3250 </div> |
|
3251 |
|
3252 |
|
3253 <div class="params"> |
|
3254 <h4>Parameters:</h4> |
|
3255 |
|
3256 <ul class="params-list"> |
|
3257 |
|
3258 <li class="param"> |
|
3259 |
|
3260 <code class="param-name">allAttrs</code> |
|
3261 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
3262 |
|
3263 |
|
3264 |
|
3265 |
|
3266 <div class="param-description"> |
|
3267 <p>An array of ATTRS definitions across classes in the hierarchy |
|
3268 (subclass first, Base last)</p> |
|
3269 </div> |
|
3270 |
|
3271 |
|
3272 </li> |
|
3273 |
|
3274 </ul> |
|
3275 </div> |
|
3276 |
|
3277 |
|
3278 |
|
3279 <div class="returns"> |
|
3280 <h4>Returns:</h4> |
|
3281 |
|
3282 <div class="returns-description"> |
|
3283 |
|
3284 |
|
3285 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
3286 |
|
3287 The aggregate set of ATTRS definitions for the instance |
|
3288 |
|
3289 </div> |
|
3290 </div> |
|
3291 |
|
3292 |
|
3293 |
|
3294 </div> |
|
3295 |
|
3296 |
|
3297 <div id="method__applyNodeFormatters" class="method item protected"> |
|
3298 <h3 class="name"><code>_applyNodeFormatters</code></h3> |
|
3299 |
|
3300 |
|
3301 <div class="args"> |
|
3302 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3303 |
|
3304 <li class="arg"> |
|
3305 |
|
3306 <code>tbody</code> |
|
3307 |
|
3308 </li> |
|
3309 |
|
3310 <li class="arg"> |
|
3311 |
|
3312 <code>columns</code> |
|
3313 |
|
3314 </li> |
|
3315 |
|
3316 </ul><span class="paren">)</span> |
|
3317 </div> |
|
3318 |
|
3319 |
|
3320 |
|
3321 |
|
3322 |
|
3323 |
|
3324 |
|
3325 <span class="flag protected">protected</span> |
|
3326 |
|
3327 |
|
3328 |
|
3329 |
|
3330 |
|
3331 |
|
3332 |
|
3333 |
|
3334 |
|
3335 |
|
3336 <div class="meta"> |
|
3337 |
|
3338 |
|
3339 |
|
3340 <p> |
|
3341 |
|
3342 Defined in |
|
3343 |
|
3344 |
|
3345 |
|
3346 |
|
3347 <a href="../files/datatable_js_body.js.html#l518"><code>datatable/js/body.js:518</code></a> |
|
3348 |
|
3349 </p> |
|
3350 |
|
3351 |
|
3352 |
|
3353 |
|
3354 |
|
3355 <p>Available since 3.5.0</p> |
|
3356 |
|
3357 </div> |
|
3358 |
|
3359 <div class="description"> |
|
3360 <p>Iterates the <code>modelList</code>, and calls any <code>nodeFormatter</code>s found in the |
|
3361 <code>columns</code> param on the appropriate cell Nodes in the <code>tbody</code>.</p> |
|
3362 </div> |
|
3363 |
|
3364 |
|
3365 <div class="params"> |
|
3366 <h4>Parameters:</h4> |
|
3367 |
|
3368 <ul class="params-list"> |
|
3369 |
|
3370 <li class="param"> |
|
3371 |
|
3372 <code class="param-name">tbody</code> |
|
3373 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
3374 |
|
3375 |
|
3376 |
|
3377 |
|
3378 <div class="param-description"> |
|
3379 <p>The <code><tbody></code> Node whose columns to update</p> |
|
3380 </div> |
|
3381 |
|
3382 |
|
3383 </li> |
|
3384 |
|
3385 <li class="param"> |
|
3386 |
|
3387 <code class="param-name">columns</code> |
|
3388 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span> |
|
3389 |
|
3390 |
|
3391 |
|
3392 |
|
3393 <div class="param-description"> |
|
3394 <p>The column configurations</p> |
|
3395 </div> |
|
3396 |
|
3397 |
|
3398 </li> |
|
3399 |
|
3400 </ul> |
|
3401 </div> |
|
3402 |
|
3403 |
|
3404 |
|
3405 |
|
3406 |
|
3407 </div> |
|
3408 |
|
3409 |
|
3410 <div id="method__attrCfgHash" class="method item private inherited"> |
|
3411 <h3 class="name"><code>_attrCfgHash</code></h3> |
|
3412 |
|
3413 |
|
3414 <span class="paren">()</span> |
|
3415 |
|
3416 |
|
3417 |
|
3418 |
|
3419 |
|
3420 |
|
3421 |
|
3422 <span class="flag private">private</span> |
|
3423 |
|
3424 |
|
3425 |
|
3426 |
|
3427 |
|
3428 |
|
3429 |
|
3430 |
|
3431 |
|
3432 |
|
3433 <div class="meta"> |
|
3434 |
|
3435 |
|
3436 <p>Inherited from |
|
3437 <a href="../classes/BaseCore.html#method__attrCfgHash">BaseCore</a>: |
|
3438 |
|
3439 |
|
3440 |
|
3441 <a href="../files/base_js_BaseCore.js.html#l538"><code>base/js/BaseCore.js:538</code></a> |
|
3442 |
|
3443 </p> |
|
3444 |
|
3445 |
|
3446 |
|
3447 |
|
3448 |
|
3449 </div> |
|
3450 |
|
3451 <div class="description"> |
|
3452 <p>Utility method to define the attribute hash used to filter/whitelist property mixes for |
|
3453 this class for iteration performance reasons.</p> |
|
3454 </div> |
|
3455 |
|
3456 |
|
3457 |
|
3458 |
|
3459 |
|
3460 |
|
3461 </div> |
|
3462 |
|
3463 |
|
3464 <div id="method__baseDestroy" class="method item private inherited"> |
|
3465 <h3 class="name"><code>_baseDestroy</code></h3> |
|
3466 |
|
3467 |
|
3468 <span class="paren">()</span> |
|
3469 |
|
3470 |
|
3471 |
|
3472 |
|
3473 |
|
3474 |
|
3475 |
|
3476 <span class="flag private">private</span> |
|
3477 |
|
3478 |
|
3479 |
|
3480 |
|
3481 |
|
3482 |
|
3483 |
|
3484 |
|
3485 |
|
3486 |
|
3487 <div class="meta"> |
|
3488 |
|
3489 |
|
3490 <p>Inherited from |
|
3491 <a href="../classes/BaseCore.html#method__baseDestroy">BaseCore</a>: |
|
3492 |
|
3493 |
|
3494 |
|
3495 <a href="../files/base_js_BaseCore.js.html#l309"><code>base/js/BaseCore.js:309</code></a> |
|
3496 |
|
3497 </p> |
|
3498 |
|
3499 |
|
3500 |
|
3501 |
|
3502 |
|
3503 </div> |
|
3504 |
|
3505 <div class="description"> |
|
3506 <p>Internal destroy implementation for BaseCore</p> |
|
3507 </div> |
|
3508 |
|
3509 |
|
3510 |
|
3511 |
|
3512 |
|
3513 |
|
3514 </div> |
|
3515 |
|
3516 |
|
3517 <div id="method__baseInit" class="method item private inherited"> |
|
3518 <h3 class="name"><code>_baseInit</code></h3> |
|
3519 |
|
3520 |
|
3521 <span class="paren">()</span> |
|
3522 |
|
3523 |
|
3524 |
|
3525 |
|
3526 |
|
3527 |
|
3528 |
|
3529 <span class="flag private">private</span> |
|
3530 |
|
3531 |
|
3532 |
|
3533 |
|
3534 |
|
3535 |
|
3536 |
|
3537 |
|
3538 |
|
3539 |
|
3540 <div class="meta"> |
|
3541 |
|
3542 |
|
3543 <p>Inherited from |
|
3544 <a href="../classes/BaseCore.html#method__baseInit">BaseCore</a>: |
|
3545 |
|
3546 |
|
3547 |
|
3548 <a href="../files/base_js_BaseCore.js.html#l281"><code>base/js/BaseCore.js:281</code></a> |
|
3549 |
|
3550 </p> |
|
3551 |
|
3552 |
|
3553 |
|
3554 |
|
3555 |
|
3556 </div> |
|
3557 |
|
3558 <div class="description"> |
|
3559 <p>Internal initialization implementation for BaseCore</p> |
|
3560 </div> |
|
3561 |
|
3562 |
|
3563 |
|
3564 |
|
3565 |
|
3566 |
|
3567 </div> |
|
3568 |
|
3569 |
|
3570 <div id="method__cloneDefaultValue" class="method item private inherited"> |
|
3571 <h3 class="name"><code>_cloneDefaultValue</code></h3> |
|
3572 |
|
3573 |
|
3574 <div class="args"> |
|
3575 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3576 |
|
3577 <li class="arg"> |
|
3578 |
|
3579 <code>cfg</code> |
|
3580 |
|
3581 </li> |
|
3582 |
|
3583 </ul><span class="paren">)</span> |
|
3584 </div> |
|
3585 |
|
3586 |
|
3587 |
|
3588 |
|
3589 |
|
3590 |
|
3591 |
|
3592 <span class="flag private">private</span> |
|
3593 |
|
3594 |
|
3595 |
|
3596 |
|
3597 |
|
3598 |
|
3599 |
|
3600 |
|
3601 |
|
3602 |
|
3603 <div class="meta"> |
|
3604 |
|
3605 |
|
3606 <p>Inherited from |
|
3607 <a href="../classes/BaseCore.html#method__cloneDefaultValue">BaseCore</a>: |
|
3608 |
|
3609 |
|
3610 |
|
3611 <a href="../files/base_js_BaseCore.js.html#l549"><code>base/js/BaseCore.js:549</code></a> |
|
3612 |
|
3613 </p> |
|
3614 |
|
3615 |
|
3616 |
|
3617 |
|
3618 |
|
3619 </div> |
|
3620 |
|
3621 <div class="description"> |
|
3622 <p>This method assumes that the value has already been checked to be an object. |
|
3623 Since it's on a critical path, we don't want to re-do the check.</p> |
|
3624 </div> |
|
3625 |
|
3626 |
|
3627 <div class="params"> |
|
3628 <h4>Parameters:</h4> |
|
3629 |
|
3630 <ul class="params-list"> |
|
3631 |
|
3632 <li class="param"> |
|
3633 |
|
3634 <code class="param-name">cfg</code> |
|
3635 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3636 |
|
3637 |
|
3638 |
|
3639 |
|
3640 <div class="param-description"> |
|
3641 |
|
3642 </div> |
|
3643 |
|
3644 |
|
3645 </li> |
|
3646 |
|
3647 </ul> |
|
3648 </div> |
|
3649 |
|
3650 |
|
3651 |
|
3652 |
|
3653 |
|
3654 </div> |
|
3655 |
|
3656 |
|
3657 <div id="method__createDataHTML" class="method item protected"> |
|
3658 <h3 class="name"><code>_createDataHTML</code></h3> |
|
3659 |
|
3660 |
|
3661 <div class="args"> |
|
3662 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3663 |
|
3664 <li class="arg"> |
|
3665 |
|
3666 <code>columns</code> |
|
3667 |
|
3668 </li> |
|
3669 |
|
3670 </ul><span class="paren">)</span> |
|
3671 </div> |
|
3672 |
|
3673 |
|
3674 |
|
3675 <span class="returns-inline"> |
|
3676 <span class="type">HTML</span> |
|
3677 </span> |
|
3678 |
|
3679 |
|
3680 |
|
3681 |
|
3682 |
|
3683 <span class="flag protected">protected</span> |
|
3684 |
|
3685 |
|
3686 |
|
3687 |
|
3688 |
|
3689 |
|
3690 |
|
3691 |
|
3692 |
|
3693 |
|
3694 <div class="meta"> |
|
3695 |
|
3696 |
|
3697 |
|
3698 <p> |
|
3699 |
|
3700 Defined in |
|
3701 |
|
3702 |
|
3703 |
|
3704 |
|
3705 <a href="../files/datatable_js_body.js.html#l609"><code>datatable/js/body.js:609</code></a> |
|
3706 |
|
3707 </p> |
|
3708 |
|
3709 |
|
3710 |
|
3711 |
|
3712 |
|
3713 <p>Available since 3.5.0</p> |
|
3714 |
|
3715 </div> |
|
3716 |
|
3717 <div class="description"> |
|
3718 <p>Iterates the <code>modelList</code> and applies each Model to the <code>_rowTemplate</code>, |
|
3719 allowing any column <code>formatter</code> or <code>emptyCellValue</code> to override cell |
|
3720 content for the appropriate column. The aggregated HTML string is |
|
3721 returned.</p> |
|
3722 </div> |
|
3723 |
|
3724 |
|
3725 <div class="params"> |
|
3726 <h4>Parameters:</h4> |
|
3727 |
|
3728 <ul class="params-list"> |
|
3729 |
|
3730 <li class="param"> |
|
3731 |
|
3732 <code class="param-name">columns</code> |
|
3733 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span> |
|
3734 |
|
3735 |
|
3736 |
|
3737 |
|
3738 <div class="param-description"> |
|
3739 <p>The column configurations to customize the |
|
3740 generated cell content or class names</p> |
|
3741 </div> |
|
3742 |
|
3743 |
|
3744 </li> |
|
3745 |
|
3746 </ul> |
|
3747 </div> |
|
3748 |
|
3749 |
|
3750 |
|
3751 <div class="returns"> |
|
3752 <h4>Returns:</h4> |
|
3753 |
|
3754 <div class="returns-description"> |
|
3755 |
|
3756 |
|
3757 <span class="type">HTML</span>: |
|
3758 |
|
3759 The markup for all Models in the <code>modelList</code>, each applied |
|
3760 to the <code>_rowTemplate</code> |
|
3761 |
|
3762 </div> |
|
3763 </div> |
|
3764 |
|
3765 |
|
3766 |
|
3767 </div> |
|
3768 |
|
3769 |
|
3770 <div id="method__createRowHTML" class="method item protected"> |
|
3771 <h3 class="name"><code>_createRowHTML</code></h3> |
|
3772 |
|
3773 |
|
3774 <div class="args"> |
|
3775 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3776 |
|
3777 <li class="arg"> |
|
3778 |
|
3779 <code>model</code> |
|
3780 |
|
3781 </li> |
|
3782 |
|
3783 <li class="arg"> |
|
3784 |
|
3785 <code>index</code> |
|
3786 |
|
3787 </li> |
|
3788 |
|
3789 <li class="arg"> |
|
3790 |
|
3791 <code>columns</code> |
|
3792 |
|
3793 </li> |
|
3794 |
|
3795 </ul><span class="paren">)</span> |
|
3796 </div> |
|
3797 |
|
3798 |
|
3799 |
|
3800 <span class="returns-inline"> |
|
3801 <span class="type">HTML</span> |
|
3802 </span> |
|
3803 |
|
3804 |
|
3805 |
|
3806 |
|
3807 |
|
3808 <span class="flag protected">protected</span> |
|
3809 |
|
3810 |
|
3811 |
|
3812 |
|
3813 |
|
3814 |
|
3815 |
|
3816 |
|
3817 |
|
3818 |
|
3819 <div class="meta"> |
|
3820 |
|
3821 |
|
3822 |
|
3823 <p> |
|
3824 |
|
3825 Defined in |
|
3826 |
|
3827 |
|
3828 |
|
3829 |
|
3830 <a href="../files/datatable_js_body.js.html#l636"><code>datatable/js/body.js:636</code></a> |
|
3831 |
|
3832 </p> |
|
3833 |
|
3834 |
|
3835 |
|
3836 |
|
3837 |
|
3838 <p>Available since 3.5.0</p> |
|
3839 |
|
3840 </div> |
|
3841 |
|
3842 <div class="description"> |
|
3843 <p>Applies the data of a given Model, modified by any column formatters and |
|
3844 supplemented by other template values to the instance's <code>_rowTemplate</code> (see |
|
3845 <code>_createRowTemplate</code>). The generated string is then returned.</p> |
|
3846 |
|
3847 <p>The data from Model's attributes is fetched by <code>toJSON</code> and this data |
|
3848 object is appended with other properties to supply values to {placeholders} |
|
3849 in the template. For a template generated from a Model with 'foo' and 'bar' |
|
3850 attributes, the data object would end up with the following properties |
|
3851 before being used to populate the <code>_rowTemplate</code>:</p> |
|
3852 |
|
3853 <ul> |
|
3854 <li><code>clientID</code> - From Model, used the assign the <code><tr></code>'s 'id' attribute.</li> |
|
3855 <li><code>foo</code> - The value to populate the 'foo' column cell content. This |
|
3856 value will be the value stored in the Model's <code>foo</code> attribute, or the |
|
3857 result of the column's <code>formatter</code> if assigned. If the value is '', |
|
3858 <code>null</code>, or <code>undefined</code>, and the column's <code>emptyCellValue</code> is assigned, |
|
3859 that value will be used.</li> |
|
3860 <li><code>bar</code> - Same for the 'bar' column cell content.</li> |
|
3861 <li><code>foo-className</code> - String of CSS classes to apply to the <code><td></code>.</li> |
|
3862 <li><code>bar-className</code> - Same.</li> |
|
3863 <li><code>rowClass</code> - String of CSS classes to apply to the <code><tr></code>. This |
|
3864 will be the odd/even class per the specified index plus any additional |
|
3865 classes assigned by column formatters (via <code>o.rowClass</code>).</li> |
|
3866 </ul> |
|
3867 |
|
3868 <p>Because this object is available to formatters, any additional properties |
|
3869 can be added to fill in custom {placeholders} in the <code>_rowTemplate</code>.</p> |
|
3870 </div> |
|
3871 |
|
3872 |
|
3873 <div class="params"> |
|
3874 <h4>Parameters:</h4> |
|
3875 |
|
3876 <ul class="params-list"> |
|
3877 |
|
3878 <li class="param"> |
|
3879 |
|
3880 <code class="param-name">model</code> |
|
3881 <span class="type"><a href="../classes/Model.html" class="crosslink">Model</a></span> |
|
3882 |
|
3883 |
|
3884 |
|
3885 |
|
3886 <div class="param-description"> |
|
3887 <p>The Model instance to apply to the row template</p> |
|
3888 </div> |
|
3889 |
|
3890 |
|
3891 </li> |
|
3892 |
|
3893 <li class="param"> |
|
3894 |
|
3895 <code class="param-name">index</code> |
|
3896 <span class="type"><a href="../classes/Number.html" class="crosslink">Number</a></span> |
|
3897 |
|
3898 |
|
3899 |
|
3900 |
|
3901 <div class="param-description"> |
|
3902 <p>The index the row will be appearing</p> |
|
3903 </div> |
|
3904 |
|
3905 |
|
3906 </li> |
|
3907 |
|
3908 <li class="param"> |
|
3909 |
|
3910 <code class="param-name">columns</code> |
|
3911 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span> |
|
3912 |
|
3913 |
|
3914 |
|
3915 |
|
3916 <div class="param-description"> |
|
3917 <p>The column configurations</p> |
|
3918 </div> |
|
3919 |
|
3920 |
|
3921 </li> |
|
3922 |
|
3923 </ul> |
|
3924 </div> |
|
3925 |
|
3926 |
|
3927 |
|
3928 <div class="returns"> |
|
3929 <h4>Returns:</h4> |
|
3930 |
|
3931 <div class="returns-description"> |
|
3932 |
|
3933 |
|
3934 <span class="type">HTML</span>: |
|
3935 |
|
3936 The markup for the provided Model, less any <code>nodeFormatter</code>s |
|
3937 |
|
3938 </div> |
|
3939 </div> |
|
3940 |
|
3941 |
|
3942 |
|
3943 </div> |
|
3944 |
|
3945 |
|
3946 <div id="method__createRowTemplate" class="method item protected"> |
|
3947 <h3 class="name"><code>_createRowTemplate</code></h3> |
|
3948 |
|
3949 |
|
3950 <div class="args"> |
|
3951 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3952 |
|
3953 <li class="arg"> |
|
3954 |
|
3955 <code>columns</code> |
|
3956 |
|
3957 </li> |
|
3958 |
|
3959 </ul><span class="paren">)</span> |
|
3960 </div> |
|
3961 |
|
3962 |
|
3963 |
|
3964 |
|
3965 |
|
3966 |
|
3967 |
|
3968 <span class="flag protected">protected</span> |
|
3969 |
|
3970 |
|
3971 |
|
3972 |
|
3973 |
|
3974 |
|
3975 |
|
3976 |
|
3977 |
|
3978 |
|
3979 <div class="meta"> |
|
3980 |
|
3981 |
|
3982 |
|
3983 <p> |
|
3984 |
|
3985 Defined in |
|
3986 |
|
3987 |
|
3988 |
|
3989 |
|
3990 <a href="../files/datatable_js_body.js.html#l724"><code>datatable/js/body.js:724</code></a> |
|
3991 |
|
3992 </p> |
|
3993 |
|
3994 |
|
3995 |
|
3996 |
|
3997 |
|
3998 <p>Available since 3.5.0</p> |
|
3999 |
|
4000 </div> |
|
4001 |
|
4002 <div class="description"> |
|
4003 <p>Creates a custom HTML template string for use in generating the markup for |
|
4004 individual table rows with {placeholder}s to capture data from the Models |
|
4005 in the <code>modelList</code> attribute or from column <code>formatter</code>s.</p> |
|
4006 |
|
4007 <p>Assigns the <code>_rowTemplate</code> property.</p> |
|
4008 </div> |
|
4009 |
|
4010 |
|
4011 <div class="params"> |
|
4012 <h4>Parameters:</h4> |
|
4013 |
|
4014 <ul class="params-list"> |
|
4015 |
|
4016 <li class="param"> |
|
4017 |
|
4018 <code class="param-name">columns</code> |
|
4019 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span> |
|
4020 |
|
4021 |
|
4022 |
|
4023 |
|
4024 <div class="param-description"> |
|
4025 <p>Array of column configuration objects</p> |
|
4026 </div> |
|
4027 |
|
4028 |
|
4029 </li> |
|
4030 |
|
4031 </ul> |
|
4032 </div> |
|
4033 |
|
4034 |
|
4035 |
|
4036 |
|
4037 |
|
4038 </div> |
|
4039 |
|
4040 |
|
4041 <div id="method__createTBodyNode" class="method item protected"> |
|
4042 <h3 class="name"><code>_createTBodyNode</code></h3> |
|
4043 |
|
4044 |
|
4045 <span class="paren">()</span> |
|
4046 |
|
4047 |
|
4048 |
|
4049 <span class="returns-inline"> |
|
4050 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
4051 </span> |
|
4052 |
|
4053 |
|
4054 |
|
4055 |
|
4056 |
|
4057 <span class="flag protected">protected</span> |
|
4058 |
|
4059 |
|
4060 |
|
4061 |
|
4062 |
|
4063 |
|
4064 |
|
4065 |
|
4066 |
|
4067 |
|
4068 <div class="meta"> |
|
4069 |
|
4070 |
|
4071 |
|
4072 <p> |
|
4073 |
|
4074 Defined in |
|
4075 |
|
4076 |
|
4077 |
|
4078 |
|
4079 <a href="../files/datatable_js_body.js.html#l796"><code>datatable/js/body.js:796</code></a> |
|
4080 |
|
4081 </p> |
|
4082 |
|
4083 |
|
4084 |
|
4085 |
|
4086 |
|
4087 <p>Available since 3.6.0</p> |
|
4088 |
|
4089 </div> |
|
4090 |
|
4091 <div class="description"> |
|
4092 <p>Creates the <code><tbody></code> node that will store the data rows.</p> |
|
4093 </div> |
|
4094 |
|
4095 |
|
4096 |
|
4097 |
|
4098 <div class="returns"> |
|
4099 <h4>Returns:</h4> |
|
4100 |
|
4101 <div class="returns-description"> |
|
4102 |
|
4103 |
|
4104 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>: |
|
4105 |
|
4106 |
|
4107 </div> |
|
4108 </div> |
|
4109 |
|
4110 |
|
4111 |
|
4112 </div> |
|
4113 |
|
4114 |
|
4115 <div id="method__defAttrChangeFn" class="method item private inherited"> |
|
4116 <h3 class="name"><code>_defAttrChangeFn</code></h3> |
|
4117 |
|
4118 |
|
4119 <div class="args"> |
|
4120 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4121 |
|
4122 <li class="arg"> |
|
4123 |
|
4124 <code>e</code> |
|
4125 |
|
4126 </li> |
|
4127 |
|
4128 </ul><span class="paren">)</span> |
|
4129 </div> |
|
4130 |
|
4131 |
|
4132 |
|
4133 |
|
4134 |
|
4135 |
|
4136 |
|
4137 <span class="flag private">private</span> |
|
4138 |
|
4139 |
|
4140 |
|
4141 |
|
4142 |
|
4143 |
|
4144 |
|
4145 |
|
4146 |
|
4147 |
|
4148 <div class="meta"> |
|
4149 |
|
4150 |
|
4151 <p>Inherited from |
|
4152 <a href="../classes/AttributeObservable.html#method__defAttrChangeFn">AttributeObservable</a>: |
|
4153 |
|
4154 |
|
4155 |
|
4156 <a href="../files/attribute_js_AttributeObservable.js.html#l186"><code>attribute/js/AttributeObservable.js:186</code></a> |
|
4157 |
|
4158 </p> |
|
4159 |
|
4160 |
|
4161 |
|
4162 |
|
4163 |
|
4164 </div> |
|
4165 |
|
4166 <div class="description"> |
|
4167 <p>Default function for attribute change events.</p> |
|
4168 </div> |
|
4169 |
|
4170 |
|
4171 <div class="params"> |
|
4172 <h4>Parameters:</h4> |
|
4173 |
|
4174 <ul class="params-list"> |
|
4175 |
|
4176 <li class="param"> |
|
4177 |
|
4178 <code class="param-name">e</code> |
|
4179 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4180 |
|
4181 |
|
4182 |
|
4183 |
|
4184 <div class="param-description"> |
|
4185 <p>The event object for attribute change events.</p> |
|
4186 </div> |
|
4187 |
|
4188 |
|
4189 </li> |
|
4190 |
|
4191 </ul> |
|
4192 </div> |
|
4193 |
|
4194 |
|
4195 |
|
4196 |
|
4197 |
|
4198 </div> |
|
4199 |
|
4200 |
|
4201 <div id="method__defDestroyFn" class="method item protected inherited"> |
|
4202 <h3 class="name"><code>_defDestroyFn</code></h3> |
|
4203 |
|
4204 |
|
4205 <div class="args"> |
|
4206 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4207 |
|
4208 <li class="arg"> |
|
4209 |
|
4210 <code>e</code> |
|
4211 |
|
4212 </li> |
|
4213 |
|
4214 </ul><span class="paren">)</span> |
|
4215 </div> |
|
4216 |
|
4217 |
|
4218 |
|
4219 |
|
4220 |
|
4221 |
|
4222 |
|
4223 <span class="flag protected">protected</span> |
|
4224 |
|
4225 |
|
4226 |
|
4227 |
|
4228 |
|
4229 |
|
4230 |
|
4231 |
|
4232 |
|
4233 |
|
4234 <div class="meta"> |
|
4235 |
|
4236 |
|
4237 <p>Inherited from |
|
4238 <a href="../classes/BaseObservable.html#method__defDestroyFn">BaseObservable</a>: |
|
4239 |
|
4240 |
|
4241 |
|
4242 <a href="../files/base_js_BaseObservable.js.html#l190"><code>base/js/BaseObservable.js:190</code></a> |
|
4243 |
|
4244 </p> |
|
4245 |
|
4246 |
|
4247 |
|
4248 |
|
4249 |
|
4250 </div> |
|
4251 |
|
4252 <div class="description"> |
|
4253 <p>Default destroy event handler</p> |
|
4254 </div> |
|
4255 |
|
4256 |
|
4257 <div class="params"> |
|
4258 <h4>Parameters:</h4> |
|
4259 |
|
4260 <ul class="params-list"> |
|
4261 |
|
4262 <li class="param"> |
|
4263 |
|
4264 <code class="param-name">e</code> |
|
4265 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4266 |
|
4267 |
|
4268 |
|
4269 |
|
4270 <div class="param-description"> |
|
4271 <p>Event object</p> |
|
4272 </div> |
|
4273 |
|
4274 |
|
4275 </li> |
|
4276 |
|
4277 </ul> |
|
4278 </div> |
|
4279 |
|
4280 |
|
4281 |
|
4282 |
|
4283 |
|
4284 </div> |
|
4285 |
|
4286 |
|
4287 <div id="method__defInitFn" class="method item protected inherited"> |
|
4288 <h3 class="name"><code>_defInitFn</code></h3> |
|
4289 |
|
4290 |
|
4291 <div class="args"> |
|
4292 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4293 |
|
4294 <li class="arg"> |
|
4295 |
|
4296 <code>e</code> |
|
4297 |
|
4298 </li> |
|
4299 |
|
4300 </ul><span class="paren">)</span> |
|
4301 </div> |
|
4302 |
|
4303 |
|
4304 |
|
4305 |
|
4306 |
|
4307 |
|
4308 |
|
4309 <span class="flag protected">protected</span> |
|
4310 |
|
4311 |
|
4312 |
|
4313 |
|
4314 |
|
4315 |
|
4316 |
|
4317 |
|
4318 |
|
4319 |
|
4320 <div class="meta"> |
|
4321 |
|
4322 |
|
4323 <p>Inherited from |
|
4324 <a href="../classes/BaseObservable.html#method__defInitFn">BaseObservable</a>: |
|
4325 |
|
4326 |
|
4327 |
|
4328 <a href="../files/base_js_BaseObservable.js.html#l178"><code>base/js/BaseObservable.js:178</code></a> |
|
4329 |
|
4330 </p> |
|
4331 |
|
4332 |
|
4333 |
|
4334 |
|
4335 |
|
4336 </div> |
|
4337 |
|
4338 <div class="description"> |
|
4339 <p>Default init event handler</p> |
|
4340 </div> |
|
4341 |
|
4342 |
|
4343 <div class="params"> |
|
4344 <h4>Parameters:</h4> |
|
4345 |
|
4346 <ul class="params-list"> |
|
4347 |
|
4348 <li class="param"> |
|
4349 |
|
4350 <code class="param-name">e</code> |
|
4351 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4352 |
|
4353 |
|
4354 |
|
4355 |
|
4356 <div class="param-description"> |
|
4357 <p>Event object, with a cfg property which |
|
4358 refers to the configuration object passed to the constructor.</p> |
|
4359 </div> |
|
4360 |
|
4361 |
|
4362 </li> |
|
4363 |
|
4364 </ul> |
|
4365 </div> |
|
4366 |
|
4367 |
|
4368 |
|
4369 |
|
4370 |
|
4371 </div> |
|
4372 |
|
4373 |
|
4374 <div id="method__destroyContainer" class="method item protected inherited"> |
|
4375 <h3 class="name"><code>_destroyContainer</code></h3> |
|
4376 |
|
4377 |
|
4378 <span class="paren">()</span> |
|
4379 |
|
4380 |
|
4381 |
|
4382 |
|
4383 |
|
4384 |
|
4385 |
|
4386 <span class="flag protected">protected</span> |
|
4387 |
|
4388 |
|
4389 |
|
4390 |
|
4391 |
|
4392 |
|
4393 |
|
4394 |
|
4395 |
|
4396 |
|
4397 <div class="meta"> |
|
4398 |
|
4399 |
|
4400 <p>Inherited from |
|
4401 <a href="../classes/View.html#method__destroyContainer">View</a>: |
|
4402 |
|
4403 |
|
4404 |
|
4405 <a href="../files/app_js_view.js.html#l312"><code>app/js/view.js:312</code></a> |
|
4406 |
|
4407 </p> |
|
4408 |
|
4409 |
|
4410 |
|
4411 |
|
4412 |
|
4413 </div> |
|
4414 |
|
4415 <div class="description"> |
|
4416 <p>Removes the <code>container</code> from the DOM and purges all its event listeners.</p> |
|
4417 </div> |
|
4418 |
|
4419 |
|
4420 |
|
4421 |
|
4422 |
|
4423 |
|
4424 </div> |
|
4425 |
|
4426 |
|
4427 <div id="method__destroyHierarchy" class="method item private inherited"> |
|
4428 <h3 class="name"><code>_destroyHierarchy</code></h3> |
|
4429 |
|
4430 |
|
4431 <span class="paren">()</span> |
|
4432 |
|
4433 |
|
4434 |
|
4435 |
|
4436 |
|
4437 |
|
4438 |
|
4439 <span class="flag private">private</span> |
|
4440 |
|
4441 |
|
4442 |
|
4443 |
|
4444 |
|
4445 |
|
4446 |
|
4447 |
|
4448 |
|
4449 |
|
4450 <div class="meta"> |
|
4451 |
|
4452 |
|
4453 <p>Inherited from |
|
4454 <a href="../classes/BaseCore.html#method__destroyHierarchy">BaseCore</a>: |
|
4455 |
|
4456 |
|
4457 |
|
4458 <a href="../files/base_js_BaseCore.js.html#l721"><code>base/js/BaseCore.js:721</code></a> |
|
4459 |
|
4460 </p> |
|
4461 |
|
4462 |
|
4463 |
|
4464 |
|
4465 |
|
4466 </div> |
|
4467 |
|
4468 <div class="description"> |
|
4469 <p>Destroys the class hierarchy for this instance by invoking |
|
4470 the destructor method on the prototype of each class in the hierarchy.</p> |
|
4471 </div> |
|
4472 |
|
4473 |
|
4474 |
|
4475 |
|
4476 |
|
4477 |
|
4478 </div> |
|
4479 |
|
4480 |
|
4481 <div id="method__filterAdHocAttrs" class="method item private inherited"> |
|
4482 <h3 class="name"><code>_filterAdHocAttrs</code></h3> |
|
4483 |
|
4484 |
|
4485 <div class="args"> |
|
4486 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4487 |
|
4488 <li class="arg"> |
|
4489 |
|
4490 <code>allAttrs</code> |
|
4491 |
|
4492 </li> |
|
4493 |
|
4494 <li class="arg"> |
|
4495 |
|
4496 <code>userVals</code> |
|
4497 |
|
4498 </li> |
|
4499 |
|
4500 </ul><span class="paren">)</span> |
|
4501 </div> |
|
4502 |
|
4503 |
|
4504 |
|
4505 <span class="returns-inline"> |
|
4506 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4507 </span> |
|
4508 |
|
4509 |
|
4510 |
|
4511 |
|
4512 |
|
4513 <span class="flag private">private</span> |
|
4514 |
|
4515 |
|
4516 |
|
4517 |
|
4518 |
|
4519 |
|
4520 |
|
4521 |
|
4522 |
|
4523 |
|
4524 <div class="meta"> |
|
4525 |
|
4526 |
|
4527 <p>Inherited from |
|
4528 <a href="../classes/BaseCore.html#method__filterAdHocAttrs">BaseCore</a>: |
|
4529 |
|
4530 |
|
4531 |
|
4532 <a href="../files/base_js_BaseCore.js.html#l427"><code>base/js/BaseCore.js:427</code></a> |
|
4533 |
|
4534 </p> |
|
4535 |
|
4536 |
|
4537 |
|
4538 |
|
4539 |
|
4540 </div> |
|
4541 |
|
4542 <div class="description"> |
|
4543 |
|
4544 </div> |
|
4545 |
|
4546 |
|
4547 <div class="params"> |
|
4548 <h4>Parameters:</h4> |
|
4549 |
|
4550 <ul class="params-list"> |
|
4551 |
|
4552 <li class="param"> |
|
4553 |
|
4554 <code class="param-name">allAttrs</code> |
|
4555 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4556 |
|
4557 |
|
4558 |
|
4559 |
|
4560 <div class="param-description"> |
|
4561 <p>The set of all attribute configurations for this instance. |
|
4562 Attributes will be removed from this set, if they belong to the filtered class, so |
|
4563 that by the time all classes are processed, allCfgs will be empty.</p> |
|
4564 </div> |
|
4565 |
|
4566 |
|
4567 </li> |
|
4568 |
|
4569 <li class="param"> |
|
4570 |
|
4571 <code class="param-name">userVals</code> |
|
4572 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4573 |
|
4574 |
|
4575 |
|
4576 |
|
4577 <div class="param-description"> |
|
4578 <p>The config object passed in by the user, from which adhoc attrs are to be filtered.</p> |
|
4579 </div> |
|
4580 |
|
4581 |
|
4582 </li> |
|
4583 |
|
4584 </ul> |
|
4585 </div> |
|
4586 |
|
4587 |
|
4588 |
|
4589 <div class="returns"> |
|
4590 <h4>Returns:</h4> |
|
4591 |
|
4592 <div class="returns-description"> |
|
4593 |
|
4594 |
|
4595 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
4596 |
|
4597 The set of adhoc attributes passed in, in the form |
|
4598 of an object with attribute name/configuration pairs. |
|
4599 |
|
4600 </div> |
|
4601 </div> |
|
4602 |
|
4603 |
|
4604 |
|
4605 </div> |
|
4606 |
|
4607 |
|
4608 <div id="method__filterAttrCfgs" class="method item private inherited"> |
|
4609 <h3 class="name"><code>_filterAttrCfgs</code></h3> |
|
4610 |
|
4611 |
|
4612 <div class="args"> |
|
4613 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4614 |
|
4615 <li class="arg"> |
|
4616 |
|
4617 <code>clazz</code> |
|
4618 |
|
4619 </li> |
|
4620 |
|
4621 <li class="arg"> |
|
4622 |
|
4623 <code>allCfgs</code> |
|
4624 |
|
4625 </li> |
|
4626 |
|
4627 </ul><span class="paren">)</span> |
|
4628 </div> |
|
4629 |
|
4630 |
|
4631 |
|
4632 <span class="returns-inline"> |
|
4633 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4634 </span> |
|
4635 |
|
4636 |
|
4637 |
|
4638 |
|
4639 |
|
4640 <span class="flag private">private</span> |
|
4641 |
|
4642 |
|
4643 |
|
4644 |
|
4645 |
|
4646 |
|
4647 |
|
4648 |
|
4649 |
|
4650 |
|
4651 <div class="meta"> |
|
4652 |
|
4653 |
|
4654 <p>Inherited from |
|
4655 <a href="../classes/BaseCore.html#method__filterAttrCfgs">BaseCore</a>: |
|
4656 |
|
4657 |
|
4658 |
|
4659 <a href="../files/base_js_BaseCore.js.html#l356"><code>base/js/BaseCore.js:356</code></a> |
|
4660 |
|
4661 </p> |
|
4662 |
|
4663 |
|
4664 |
|
4665 |
|
4666 |
|
4667 </div> |
|
4668 |
|
4669 <div class="description"> |
|
4670 <p>A helper method used when processing ATTRS across the class hierarchy during |
|
4671 initialization. Returns a disposable object with the attributes defined for |
|
4672 the provided class, extracted from the set of all attributes passed in.</p> |
|
4673 </div> |
|
4674 |
|
4675 |
|
4676 <div class="params"> |
|
4677 <h4>Parameters:</h4> |
|
4678 |
|
4679 <ul class="params-list"> |
|
4680 |
|
4681 <li class="param"> |
|
4682 |
|
4683 <code class="param-name">clazz</code> |
|
4684 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
4685 |
|
4686 |
|
4687 |
|
4688 |
|
4689 <div class="param-description"> |
|
4690 <p>The class for which the desired attributes are required.</p> |
|
4691 </div> |
|
4692 |
|
4693 |
|
4694 </li> |
|
4695 |
|
4696 <li class="param"> |
|
4697 |
|
4698 <code class="param-name">allCfgs</code> |
|
4699 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4700 |
|
4701 |
|
4702 |
|
4703 |
|
4704 <div class="param-description"> |
|
4705 <p>The set of all attribute configurations for this instance. |
|
4706 Attributes will be removed from this set, if they belong to the filtered class, so |
|
4707 that by the time all classes are processed, allCfgs will be empty.</p> |
|
4708 </div> |
|
4709 |
|
4710 |
|
4711 </li> |
|
4712 |
|
4713 </ul> |
|
4714 </div> |
|
4715 |
|
4716 |
|
4717 |
|
4718 <div class="returns"> |
|
4719 <h4>Returns:</h4> |
|
4720 |
|
4721 <div class="returns-description"> |
|
4722 |
|
4723 |
|
4724 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
4725 |
|
4726 The set of attributes belonging to the class passed in, in the form |
|
4727 of an object with attribute name/configuration pairs. |
|
4728 |
|
4729 </div> |
|
4730 </div> |
|
4731 |
|
4732 |
|
4733 |
|
4734 </div> |
|
4735 |
|
4736 |
|
4737 <div id="method__fireAttrChange" class="method item private inherited"> |
|
4738 <h3 class="name"><code>_fireAttrChange</code></h3> |
|
4739 |
|
4740 |
|
4741 <div class="args"> |
|
4742 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4743 |
|
4744 <li class="arg"> |
|
4745 |
|
4746 <code>attrName</code> |
|
4747 |
|
4748 </li> |
|
4749 |
|
4750 <li class="arg"> |
|
4751 |
|
4752 <code>subAttrName</code> |
|
4753 |
|
4754 </li> |
|
4755 |
|
4756 <li class="arg"> |
|
4757 |
|
4758 <code>currVal</code> |
|
4759 |
|
4760 </li> |
|
4761 |
|
4762 <li class="arg"> |
|
4763 |
|
4764 <code>newVal</code> |
|
4765 |
|
4766 </li> |
|
4767 |
|
4768 <li class="arg"> |
|
4769 |
|
4770 <code>opts</code> |
|
4771 |
|
4772 </li> |
|
4773 |
|
4774 <li class="arg"> |
|
4775 |
|
4776 <code class="optional">[cfg]</code> |
|
4777 |
|
4778 </li> |
|
4779 |
|
4780 </ul><span class="paren">)</span> |
|
4781 </div> |
|
4782 |
|
4783 |
|
4784 |
|
4785 |
|
4786 |
|
4787 |
|
4788 |
|
4789 <span class="flag private">private</span> |
|
4790 |
|
4791 |
|
4792 |
|
4793 |
|
4794 |
|
4795 |
|
4796 |
|
4797 |
|
4798 |
|
4799 |
|
4800 <div class="meta"> |
|
4801 |
|
4802 |
|
4803 <p>Inherited from |
|
4804 <a href="../classes/AttributeObservable.html#method__fireAttrChange">AttributeObservable</a>: |
|
4805 |
|
4806 |
|
4807 |
|
4808 <a href="../files/attribute_js_AttributeObservable.js.html#l120"><code>attribute/js/AttributeObservable.js:120</code></a> |
|
4809 |
|
4810 </p> |
|
4811 |
|
4812 |
|
4813 |
|
4814 |
|
4815 |
|
4816 </div> |
|
4817 |
|
4818 <div class="description"> |
|
4819 <p>Utility method to help setup the event payload and fire the attribute change event.</p> |
|
4820 </div> |
|
4821 |
|
4822 |
|
4823 <div class="params"> |
|
4824 <h4>Parameters:</h4> |
|
4825 |
|
4826 <ul class="params-list"> |
|
4827 |
|
4828 <li class="param"> |
|
4829 |
|
4830 <code class="param-name">attrName</code> |
|
4831 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4832 |
|
4833 |
|
4834 |
|
4835 |
|
4836 <div class="param-description"> |
|
4837 <p>The name of the attribute</p> |
|
4838 </div> |
|
4839 |
|
4840 |
|
4841 </li> |
|
4842 |
|
4843 <li class="param"> |
|
4844 |
|
4845 <code class="param-name">subAttrName</code> |
|
4846 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4847 |
|
4848 |
|
4849 |
|
4850 |
|
4851 <div class="param-description"> |
|
4852 <p>The full path of the property being changed, |
|
4853 if this is a sub-attribute value being change. Otherwise null.</p> |
|
4854 </div> |
|
4855 |
|
4856 |
|
4857 </li> |
|
4858 |
|
4859 <li class="param"> |
|
4860 |
|
4861 <code class="param-name">currVal</code> |
|
4862 <span class="type">Any</span> |
|
4863 |
|
4864 |
|
4865 |
|
4866 |
|
4867 <div class="param-description"> |
|
4868 <p>The current value of the attribute</p> |
|
4869 </div> |
|
4870 |
|
4871 |
|
4872 </li> |
|
4873 |
|
4874 <li class="param"> |
|
4875 |
|
4876 <code class="param-name">newVal</code> |
|
4877 <span class="type">Any</span> |
|
4878 |
|
4879 |
|
4880 |
|
4881 |
|
4882 <div class="param-description"> |
|
4883 <p>The new value of the attribute</p> |
|
4884 </div> |
|
4885 |
|
4886 |
|
4887 </li> |
|
4888 |
|
4889 <li class="param"> |
|
4890 |
|
4891 <code class="param-name">opts</code> |
|
4892 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4893 |
|
4894 |
|
4895 |
|
4896 |
|
4897 <div class="param-description"> |
|
4898 <p>Any additional event data to mix into the attribute change event's event facade.</p> |
|
4899 </div> |
|
4900 |
|
4901 |
|
4902 </li> |
|
4903 |
|
4904 <li class="param"> |
|
4905 |
|
4906 <code class="param-name optional">[cfg]</code> |
|
4907 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4908 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
4909 |
|
4910 |
|
4911 |
|
4912 |
|
4913 <div class="param-description"> |
|
4914 <p>The attribute config stored in State, if already available.</p> |
|
4915 </div> |
|
4916 |
|
4917 |
|
4918 </li> |
|
4919 |
|
4920 </ul> |
|
4921 </div> |
|
4922 |
|
4923 |
|
4924 |
|
4925 |
|
4926 |
|
4927 </div> |
|
4928 |
|
4929 |
|
4930 <div id="method__getAttr" class="method item protected inherited"> |
|
4931 <h3 class="name"><code>_getAttr</code></h3> |
|
4932 |
|
4933 |
|
4934 <div class="args"> |
|
4935 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4936 |
|
4937 <li class="arg"> |
|
4938 |
|
4939 <code>name</code> |
|
4940 |
|
4941 </li> |
|
4942 |
|
4943 </ul><span class="paren">)</span> |
|
4944 </div> |
|
4945 |
|
4946 |
|
4947 |
|
4948 <span class="returns-inline"> |
|
4949 <span class="type">Any</span> |
|
4950 </span> |
|
4951 |
|
4952 |
|
4953 |
|
4954 |
|
4955 |
|
4956 <span class="flag protected">protected</span> |
|
4957 |
|
4958 |
|
4959 |
|
4960 |
|
4961 |
|
4962 |
|
4963 |
|
4964 <span class="flag chainable">chainable</span> |
|
4965 |
|
4966 |
|
4967 |
|
4968 |
|
4969 <div class="meta"> |
|
4970 |
|
4971 |
|
4972 <p>Inherited from |
|
4973 <a href="../classes/AttributeCore.html#method__getAttr">AttributeCore</a>: |
|
4974 |
|
4975 |
|
4976 |
|
4977 <a href="../files/attribute_js_AttributeCore.js.html#l543"><code>attribute/js/AttributeCore.js:543</code></a> |
|
4978 |
|
4979 </p> |
|
4980 |
|
4981 |
|
4982 |
|
4983 |
|
4984 |
|
4985 </div> |
|
4986 |
|
4987 <div class="description"> |
|
4988 <p>Provides the common implementation for the public get method, |
|
4989 allowing Attribute hosts to over-ride either method.</p> |
|
4990 |
|
4991 <p>See <a href="#method_get">get</a> for argument details.</p> |
|
4992 </div> |
|
4993 |
|
4994 |
|
4995 <div class="params"> |
|
4996 <h4>Parameters:</h4> |
|
4997 |
|
4998 <ul class="params-list"> |
|
4999 |
|
5000 <li class="param"> |
|
5001 |
|
5002 <code class="param-name">name</code> |
|
5003 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5004 |
|
5005 |
|
5006 |
|
5007 |
|
5008 <div class="param-description"> |
|
5009 <p>The name of the attribute.</p> |
|
5010 </div> |
|
5011 |
|
5012 |
|
5013 </li> |
|
5014 |
|
5015 </ul> |
|
5016 </div> |
|
5017 |
|
5018 |
|
5019 |
|
5020 <div class="returns"> |
|
5021 <h4>Returns:</h4> |
|
5022 |
|
5023 <div class="returns-description"> |
|
5024 |
|
5025 |
|
5026 <span class="type">Any</span>: |
|
5027 |
|
5028 The value of the attribute. |
|
5029 |
|
5030 </div> |
|
5031 </div> |
|
5032 |
|
5033 |
|
5034 |
|
5035 </div> |
|
5036 |
|
5037 |
|
5038 <div id="method__getAttrCfg" class="method item protected inherited"> |
|
5039 <h3 class="name"><code>_getAttrCfg</code></h3> |
|
5040 |
|
5041 |
|
5042 <div class="args"> |
|
5043 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5044 |
|
5045 <li class="arg"> |
|
5046 |
|
5047 <code>name</code> |
|
5048 |
|
5049 </li> |
|
5050 |
|
5051 </ul><span class="paren">)</span> |
|
5052 </div> |
|
5053 |
|
5054 |
|
5055 |
|
5056 <span class="returns-inline"> |
|
5057 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5058 </span> |
|
5059 |
|
5060 |
|
5061 |
|
5062 |
|
5063 |
|
5064 <span class="flag protected">protected</span> |
|
5065 |
|
5066 |
|
5067 |
|
5068 |
|
5069 |
|
5070 |
|
5071 |
|
5072 |
|
5073 |
|
5074 |
|
5075 <div class="meta"> |
|
5076 |
|
5077 |
|
5078 <p>Inherited from |
|
5079 <a href="../classes/AttributeExtras.html#method__getAttrCfg">AttributeExtras</a>: |
|
5080 |
|
5081 |
|
5082 |
|
5083 <a href="../files/attribute_js_AttributeExtras.js.html#l114"><code>attribute/js/AttributeExtras.js:114</code></a> |
|
5084 |
|
5085 </p> |
|
5086 |
|
5087 |
|
5088 |
|
5089 |
|
5090 |
|
5091 </div> |
|
5092 |
|
5093 <div class="description"> |
|
5094 <p>Returns an object with the configuration properties (and value) |
|
5095 for the given attribute. If attrName is not provided, returns the |
|
5096 configuration properties for all attributes.</p> |
|
5097 </div> |
|
5098 |
|
5099 |
|
5100 <div class="params"> |
|
5101 <h4>Parameters:</h4> |
|
5102 |
|
5103 <ul class="params-list"> |
|
5104 |
|
5105 <li class="param"> |
|
5106 |
|
5107 <code class="param-name">name</code> |
|
5108 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5109 |
|
5110 |
|
5111 |
|
5112 |
|
5113 <div class="param-description"> |
|
5114 <p>Optional. The attribute name. If not provided, the method will return the configuration for all attributes.</p> |
|
5115 </div> |
|
5116 |
|
5117 |
|
5118 </li> |
|
5119 |
|
5120 </ul> |
|
5121 </div> |
|
5122 |
|
5123 |
|
5124 |
|
5125 <div class="returns"> |
|
5126 <h4>Returns:</h4> |
|
5127 |
|
5128 <div class="returns-description"> |
|
5129 |
|
5130 |
|
5131 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
5132 |
|
5133 The configuration properties for the given attribute, or all attributes. |
|
5134 |
|
5135 </div> |
|
5136 </div> |
|
5137 |
|
5138 |
|
5139 |
|
5140 </div> |
|
5141 |
|
5142 |
|
5143 <div id="method__getAttrCfgs" class="method item protected inherited"> |
|
5144 <h3 class="name"><code>_getAttrCfgs</code></h3> |
|
5145 |
|
5146 |
|
5147 <span class="paren">()</span> |
|
5148 |
|
5149 |
|
5150 |
|
5151 <span class="returns-inline"> |
|
5152 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5153 </span> |
|
5154 |
|
5155 |
|
5156 |
|
5157 |
|
5158 |
|
5159 <span class="flag protected">protected</span> |
|
5160 |
|
5161 |
|
5162 |
|
5163 |
|
5164 |
|
5165 |
|
5166 |
|
5167 |
|
5168 |
|
5169 |
|
5170 <div class="meta"> |
|
5171 |
|
5172 |
|
5173 <p>Inherited from |
|
5174 <a href="../classes/BaseCore.html#method__getAttrCfgs">BaseCore</a>: |
|
5175 |
|
5176 |
|
5177 |
|
5178 <a href="../files/base_js_BaseCore.js.html#l339"><code>base/js/BaseCore.js:339</code></a> |
|
5179 |
|
5180 </p> |
|
5181 |
|
5182 |
|
5183 |
|
5184 |
|
5185 |
|
5186 </div> |
|
5187 |
|
5188 <div class="description"> |
|
5189 <p>Returns an aggregated set of attribute configurations, by traversing |
|
5190 the class hierarchy.</p> |
|
5191 </div> |
|
5192 |
|
5193 |
|
5194 |
|
5195 |
|
5196 <div class="returns"> |
|
5197 <h4>Returns:</h4> |
|
5198 |
|
5199 <div class="returns-description"> |
|
5200 |
|
5201 |
|
5202 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
5203 |
|
5204 The hash of attribute configurations, aggregated across classes in the hierarchy |
|
5205 This value is cached the first time the method, or _getClasses, is invoked. Subsequent invocations return |
|
5206 the cached value. |
|
5207 |
|
5208 </div> |
|
5209 </div> |
|
5210 |
|
5211 |
|
5212 |
|
5213 </div> |
|
5214 |
|
5215 |
|
5216 <div id="method__getAttrInitVal" class="method item private inherited"> |
|
5217 <h3 class="name"><code>_getAttrInitVal</code></h3> |
|
5218 |
|
5219 |
|
5220 <div class="args"> |
|
5221 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5222 |
|
5223 <li class="arg"> |
|
5224 |
|
5225 <code>attr</code> |
|
5226 |
|
5227 </li> |
|
5228 |
|
5229 <li class="arg"> |
|
5230 |
|
5231 <code>cfg</code> |
|
5232 |
|
5233 </li> |
|
5234 |
|
5235 <li class="arg"> |
|
5236 |
|
5237 <code>initValues</code> |
|
5238 |
|
5239 </li> |
|
5240 |
|
5241 </ul><span class="paren">)</span> |
|
5242 </div> |
|
5243 |
|
5244 |
|
5245 |
|
5246 <span class="returns-inline"> |
|
5247 <span class="type">Any</span> |
|
5248 </span> |
|
5249 |
|
5250 |
|
5251 |
|
5252 |
|
5253 |
|
5254 <span class="flag private">private</span> |
|
5255 |
|
5256 |
|
5257 |
|
5258 |
|
5259 |
|
5260 |
|
5261 |
|
5262 |
|
5263 |
|
5264 |
|
5265 <div class="meta"> |
|
5266 |
|
5267 |
|
5268 <p>Inherited from |
|
5269 <a href="../classes/AttributeCore.html#method__getAttrInitVal">AttributeCore</a>: |
|
5270 |
|
5271 |
|
5272 |
|
5273 <a href="../files/attribute_js_AttributeCore.js.html#l945"><code>attribute/js/AttributeCore.js:945</code></a> |
|
5274 |
|
5275 </p> |
|
5276 |
|
5277 |
|
5278 |
|
5279 |
|
5280 |
|
5281 </div> |
|
5282 |
|
5283 <div class="description"> |
|
5284 <p>Returns the initial value of the given attribute from |
|
5285 either the default configuration provided, or the |
|
5286 over-ridden value if it exists in the set of initValues |
|
5287 provided and the attribute is not read-only.</p> |
|
5288 </div> |
|
5289 |
|
5290 |
|
5291 <div class="params"> |
|
5292 <h4>Parameters:</h4> |
|
5293 |
|
5294 <ul class="params-list"> |
|
5295 |
|
5296 <li class="param"> |
|
5297 |
|
5298 <code class="param-name">attr</code> |
|
5299 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5300 |
|
5301 |
|
5302 |
|
5303 |
|
5304 <div class="param-description"> |
|
5305 <p>The name of the attribute</p> |
|
5306 </div> |
|
5307 |
|
5308 |
|
5309 </li> |
|
5310 |
|
5311 <li class="param"> |
|
5312 |
|
5313 <code class="param-name">cfg</code> |
|
5314 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5315 |
|
5316 |
|
5317 |
|
5318 |
|
5319 <div class="param-description"> |
|
5320 <p>The attribute configuration object</p> |
|
5321 </div> |
|
5322 |
|
5323 |
|
5324 </li> |
|
5325 |
|
5326 <li class="param"> |
|
5327 |
|
5328 <code class="param-name">initValues</code> |
|
5329 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5330 |
|
5331 |
|
5332 |
|
5333 |
|
5334 <div class="param-description"> |
|
5335 <p>The object with simple and complex attribute name/value pairs returned from _normAttrVals</p> |
|
5336 </div> |
|
5337 |
|
5338 |
|
5339 </li> |
|
5340 |
|
5341 </ul> |
|
5342 </div> |
|
5343 |
|
5344 |
|
5345 |
|
5346 <div class="returns"> |
|
5347 <h4>Returns:</h4> |
|
5348 |
|
5349 <div class="returns-description"> |
|
5350 |
|
5351 |
|
5352 <span class="type">Any</span>: |
|
5353 |
|
5354 The initial value of the attribute. |
|
5355 |
|
5356 </div> |
|
5357 </div> |
|
5358 |
|
5359 |
|
5360 |
|
5361 </div> |
|
5362 |
|
5363 |
|
5364 <div id="method__getAttrs" class="method item protected inherited"> |
|
5365 <h3 class="name"><code>_getAttrs</code></h3> |
|
5366 |
|
5367 |
|
5368 <div class="args"> |
|
5369 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5370 |
|
5371 <li class="arg"> |
|
5372 |
|
5373 <code>attrs</code> |
|
5374 |
|
5375 </li> |
|
5376 |
|
5377 </ul><span class="paren">)</span> |
|
5378 </div> |
|
5379 |
|
5380 |
|
5381 |
|
5382 <span class="returns-inline"> |
|
5383 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5384 </span> |
|
5385 |
|
5386 |
|
5387 |
|
5388 |
|
5389 |
|
5390 <span class="flag protected">protected</span> |
|
5391 |
|
5392 |
|
5393 |
|
5394 |
|
5395 |
|
5396 |
|
5397 |
|
5398 |
|
5399 |
|
5400 |
|
5401 <div class="meta"> |
|
5402 |
|
5403 |
|
5404 <p>Inherited from |
|
5405 <a href="../classes/AttributeCore.html#method__getAttrs">AttributeCore</a>: |
|
5406 |
|
5407 |
|
5408 |
|
5409 <a href="../files/attribute_js_AttributeCore.js.html#l774"><code>attribute/js/AttributeCore.js:774</code></a> |
|
5410 |
|
5411 </p> |
|
5412 |
|
5413 |
|
5414 |
|
5415 |
|
5416 |
|
5417 </div> |
|
5418 |
|
5419 <div class="description"> |
|
5420 <p>Implementation behind the public getAttrs method, to get multiple attribute values.</p> |
|
5421 </div> |
|
5422 |
|
5423 |
|
5424 <div class="params"> |
|
5425 <h4>Parameters:</h4> |
|
5426 |
|
5427 <ul class="params-list"> |
|
5428 |
|
5429 <li class="param"> |
|
5430 |
|
5431 <code class="param-name">attrs</code> |
|
5432 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span> |
|
5433 |
|
5434 |
|
5435 |
|
5436 |
|
5437 <div class="param-description"> |
|
5438 <p>Optional. An array of attribute names. If omitted, all attribute values are |
|
5439 returned. If set to true, all attributes modified from their initial values are returned.</p> |
|
5440 </div> |
|
5441 |
|
5442 |
|
5443 </li> |
|
5444 |
|
5445 </ul> |
|
5446 </div> |
|
5447 |
|
5448 |
|
5449 |
|
5450 <div class="returns"> |
|
5451 <h4>Returns:</h4> |
|
5452 |
|
5453 <div class="returns-description"> |
|
5454 |
|
5455 |
|
5456 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
5457 |
|
5458 An object with attribute name/value pairs. |
|
5459 |
|
5460 </div> |
|
5461 </div> |
|
5462 |
|
5463 |
|
5464 |
|
5465 </div> |
|
5466 |
|
5467 |
|
5468 <div id="method__getClasses" class="method item protected inherited"> |
|
5469 <h3 class="name"><code>_getClasses</code></h3> |
|
5470 |
|
5471 |
|
5472 <span class="paren">()</span> |
|
5473 |
|
5474 |
|
5475 |
|
5476 <span class="returns-inline"> |
|
5477 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span> |
|
5478 </span> |
|
5479 |
|
5480 |
|
5481 |
|
5482 |
|
5483 |
|
5484 <span class="flag protected">protected</span> |
|
5485 |
|
5486 |
|
5487 |
|
5488 |
|
5489 |
|
5490 |
|
5491 |
|
5492 |
|
5493 |
|
5494 |
|
5495 <div class="meta"> |
|
5496 |
|
5497 |
|
5498 <p>Inherited from |
|
5499 <a href="../classes/BaseCore.html#method__getClasses">BaseCore</a>: |
|
5500 |
|
5501 |
|
5502 |
|
5503 <a href="../files/base_js_BaseCore.js.html#l323"><code>base/js/BaseCore.js:323</code></a> |
|
5504 |
|
5505 </p> |
|
5506 |
|
5507 |
|
5508 |
|
5509 |
|
5510 |
|
5511 </div> |
|
5512 |
|
5513 <div class="description"> |
|
5514 <p>Returns the class hierarchy for this object, with BaseCore being the last class in the array.</p> |
|
5515 </div> |
|
5516 |
|
5517 |
|
5518 |
|
5519 |
|
5520 <div class="returns"> |
|
5521 <h4>Returns:</h4> |
|
5522 |
|
5523 <div class="returns-description"> |
|
5524 |
|
5525 |
|
5526 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>: |
|
5527 |
|
5528 An array of classes (constructor functions), making up the class hierarchy for this object. |
|
5529 This value is cached the first time the method, or _getAttrCfgs, is invoked. Subsequent invocations return the |
|
5530 cached value. |
|
5531 |
|
5532 </div> |
|
5533 </div> |
|
5534 |
|
5535 |
|
5536 |
|
5537 </div> |
|
5538 |
|
5539 |
|
5540 <div id="method__getContainer" class="method item protected inherited"> |
|
5541 <h3 class="name"><code>_getContainer</code></h3> |
|
5542 |
|
5543 |
|
5544 <div class="args"> |
|
5545 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5546 |
|
5547 <li class="arg"> |
|
5548 |
|
5549 <code>value</code> |
|
5550 |
|
5551 </li> |
|
5552 |
|
5553 </ul><span class="paren">)</span> |
|
5554 </div> |
|
5555 |
|
5556 |
|
5557 |
|
5558 <span class="returns-inline"> |
|
5559 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
5560 </span> |
|
5561 |
|
5562 |
|
5563 |
|
5564 |
|
5565 |
|
5566 <span class="flag protected">protected</span> |
|
5567 |
|
5568 |
|
5569 |
|
5570 |
|
5571 |
|
5572 |
|
5573 |
|
5574 |
|
5575 |
|
5576 |
|
5577 <div class="meta"> |
|
5578 |
|
5579 |
|
5580 <p>Inherited from |
|
5581 <a href="../classes/View.html#method__getContainer">View</a>: |
|
5582 |
|
5583 |
|
5584 |
|
5585 <a href="../files/app_js_view.js.html#l323"><code>app/js/view.js:323</code></a> |
|
5586 |
|
5587 </p> |
|
5588 |
|
5589 |
|
5590 |
|
5591 |
|
5592 |
|
5593 <p>Available since 3.5.0</p> |
|
5594 |
|
5595 </div> |
|
5596 |
|
5597 <div class="description"> |
|
5598 <p>Getter for the <code>container</code> attribute.</p> |
|
5599 </div> |
|
5600 |
|
5601 |
|
5602 <div class="params"> |
|
5603 <h4>Parameters:</h4> |
|
5604 |
|
5605 <ul class="params-list"> |
|
5606 |
|
5607 <li class="param"> |
|
5608 |
|
5609 <code class="param-name">value</code> |
|
5610 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a> | Null</span> |
|
5611 |
|
5612 |
|
5613 |
|
5614 |
|
5615 <div class="param-description"> |
|
5616 <p>Current attribute value.</p> |
|
5617 </div> |
|
5618 |
|
5619 |
|
5620 </li> |
|
5621 |
|
5622 </ul> |
|
5623 </div> |
|
5624 |
|
5625 |
|
5626 |
|
5627 <div class="returns"> |
|
5628 <h4>Returns:</h4> |
|
5629 |
|
5630 <div class="returns-description"> |
|
5631 |
|
5632 |
|
5633 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>: |
|
5634 |
|
5635 Container node. |
|
5636 |
|
5637 </div> |
|
5638 </div> |
|
5639 |
|
5640 |
|
5641 |
|
5642 </div> |
|
5643 |
|
5644 |
|
5645 <div id="method__getFullType" class="method item private inherited"> |
|
5646 <h3 class="name"><code>_getFullType</code></h3> |
|
5647 |
|
5648 |
|
5649 <div class="args"> |
|
5650 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5651 |
|
5652 <li class="arg"> |
|
5653 |
|
5654 <code>type</code> |
|
5655 |
|
5656 </li> |
|
5657 |
|
5658 </ul><span class="paren">)</span> |
|
5659 </div> |
|
5660 |
|
5661 |
|
5662 |
|
5663 <span class="returns-inline"> |
|
5664 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5665 </span> |
|
5666 |
|
5667 |
|
5668 |
|
5669 |
|
5670 |
|
5671 <span class="flag private">private</span> |
|
5672 |
|
5673 |
|
5674 |
|
5675 |
|
5676 |
|
5677 |
|
5678 |
|
5679 |
|
5680 |
|
5681 |
|
5682 <div class="meta"> |
|
5683 |
|
5684 |
|
5685 <p>Inherited from |
|
5686 <a href="../classes/EventTarget.html#method__getFullType">EventTarget</a>: |
|
5687 |
|
5688 |
|
5689 |
|
5690 <a href="../files/event-custom_js_event-target.js.html#l586"><code>event-custom/js/event-target.js:586</code></a> |
|
5691 |
|
5692 </p> |
|
5693 |
|
5694 |
|
5695 |
|
5696 |
|
5697 |
|
5698 </div> |
|
5699 |
|
5700 <div class="description"> |
|
5701 <p>Returns the fully qualified type, given a short type string. |
|
5702 That is, returns "foo:bar" when given "bar" if "foo" is the configured prefix.</p> |
|
5703 |
|
5704 <p>NOTE: This method, unlike _getType, does no checking of the value passed in, and |
|
5705 is designed to be used with the low level _publish() method, for critical path |
|
5706 implementations which need to fast-track publish for performance reasons.</p> |
|
5707 </div> |
|
5708 |
|
5709 |
|
5710 <div class="params"> |
|
5711 <h4>Parameters:</h4> |
|
5712 |
|
5713 <ul class="params-list"> |
|
5714 |
|
5715 <li class="param"> |
|
5716 |
|
5717 <code class="param-name">type</code> |
|
5718 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5719 |
|
5720 |
|
5721 |
|
5722 |
|
5723 <div class="param-description"> |
|
5724 <p>The short type to prefix</p> |
|
5725 </div> |
|
5726 |
|
5727 |
|
5728 </li> |
|
5729 |
|
5730 </ul> |
|
5731 </div> |
|
5732 |
|
5733 |
|
5734 |
|
5735 <div class="returns"> |
|
5736 <h4>Returns:</h4> |
|
5737 |
|
5738 <div class="returns-description"> |
|
5739 |
|
5740 |
|
5741 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
5742 |
|
5743 The prefixed type, if a prefix is set, otherwise the type passed in |
|
5744 |
|
5745 </div> |
|
5746 </div> |
|
5747 |
|
5748 |
|
5749 |
|
5750 </div> |
|
5751 |
|
5752 |
|
5753 <div id="method__getRowId" class="method item protected"> |
|
5754 <h3 class="name"><code>_getRowId</code></h3> |
|
5755 |
|
5756 |
|
5757 <div class="args"> |
|
5758 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5759 |
|
5760 <li class="arg"> |
|
5761 |
|
5762 <code>clientId</code> |
|
5763 |
|
5764 </li> |
|
5765 |
|
5766 </ul><span class="paren">)</span> |
|
5767 </div> |
|
5768 |
|
5769 |
|
5770 |
|
5771 <span class="returns-inline"> |
|
5772 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5773 </span> |
|
5774 |
|
5775 |
|
5776 |
|
5777 |
|
5778 |
|
5779 <span class="flag protected">protected</span> |
|
5780 |
|
5781 |
|
5782 |
|
5783 |
|
5784 |
|
5785 |
|
5786 |
|
5787 |
|
5788 |
|
5789 |
|
5790 <div class="meta"> |
|
5791 |
|
5792 |
|
5793 |
|
5794 <p> |
|
5795 |
|
5796 Defined in |
|
5797 |
|
5798 |
|
5799 |
|
5800 |
|
5801 <a href="../files/datatable_js_body.js.html#l833"><code>datatable/js/body.js:833</code></a> |
|
5802 |
|
5803 </p> |
|
5804 |
|
5805 |
|
5806 |
|
5807 |
|
5808 |
|
5809 </div> |
|
5810 |
|
5811 <div class="description"> |
|
5812 <p>Returns the row ID associated with a Model's clientId.</p> |
|
5813 </div> |
|
5814 |
|
5815 |
|
5816 <div class="params"> |
|
5817 <h4>Parameters:</h4> |
|
5818 |
|
5819 <ul class="params-list"> |
|
5820 |
|
5821 <li class="param"> |
|
5822 |
|
5823 <code class="param-name">clientId</code> |
|
5824 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5825 |
|
5826 |
|
5827 |
|
5828 |
|
5829 <div class="param-description"> |
|
5830 <p>The Model clientId</p> |
|
5831 </div> |
|
5832 |
|
5833 |
|
5834 </li> |
|
5835 |
|
5836 </ul> |
|
5837 </div> |
|
5838 |
|
5839 |
|
5840 |
|
5841 <div class="returns"> |
|
5842 <h4>Returns:</h4> |
|
5843 |
|
5844 <div class="returns-description"> |
|
5845 |
|
5846 |
|
5847 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
5848 |
|
5849 |
|
5850 </div> |
|
5851 </div> |
|
5852 |
|
5853 |
|
5854 |
|
5855 </div> |
|
5856 |
|
5857 |
|
5858 <div id="method__getStateVal" class="method item private inherited"> |
|
5859 <h3 class="name"><code>_getStateVal</code></h3> |
|
5860 |
|
5861 |
|
5862 <div class="args"> |
|
5863 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5864 |
|
5865 <li class="arg"> |
|
5866 |
|
5867 <code>name</code> |
|
5868 |
|
5869 </li> |
|
5870 |
|
5871 <li class="arg"> |
|
5872 |
|
5873 <code class="optional">[cfg]</code> |
|
5874 |
|
5875 </li> |
|
5876 |
|
5877 </ul><span class="paren">)</span> |
|
5878 </div> |
|
5879 |
|
5880 |
|
5881 |
|
5882 <span class="returns-inline"> |
|
5883 <span class="type">Any</span> |
|
5884 </span> |
|
5885 |
|
5886 |
|
5887 |
|
5888 |
|
5889 |
|
5890 <span class="flag private">private</span> |
|
5891 |
|
5892 |
|
5893 |
|
5894 |
|
5895 |
|
5896 |
|
5897 |
|
5898 |
|
5899 |
|
5900 |
|
5901 <div class="meta"> |
|
5902 |
|
5903 |
|
5904 <p>Inherited from |
|
5905 <a href="../classes/AttributeCore.html#method__getStateVal">AttributeCore</a>: |
|
5906 |
|
5907 |
|
5908 |
|
5909 <a href="../files/attribute_js_AttributeCore.js.html#l600"><code>attribute/js/AttributeCore.js:600</code></a> |
|
5910 |
|
5911 </p> |
|
5912 |
|
5913 |
|
5914 |
|
5915 |
|
5916 |
|
5917 </div> |
|
5918 |
|
5919 <div class="description"> |
|
5920 <p>Gets the stored value for the attribute, from either the |
|
5921 internal state object, or the state proxy if it exits</p> |
|
5922 </div> |
|
5923 |
|
5924 |
|
5925 <div class="params"> |
|
5926 <h4>Parameters:</h4> |
|
5927 |
|
5928 <ul class="params-list"> |
|
5929 |
|
5930 <li class="param"> |
|
5931 |
|
5932 <code class="param-name">name</code> |
|
5933 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5934 |
|
5935 |
|
5936 |
|
5937 |
|
5938 <div class="param-description"> |
|
5939 <p>The name of the attribute</p> |
|
5940 </div> |
|
5941 |
|
5942 |
|
5943 </li> |
|
5944 |
|
5945 <li class="param"> |
|
5946 |
|
5947 <code class="param-name optional">[cfg]</code> |
|
5948 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5949 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
5950 |
|
5951 |
|
5952 |
|
5953 |
|
5954 <div class="param-description"> |
|
5955 <p>Optional config hash for the attribute. This is added for performance along the critical path, |
|
5956 where the calling method has already obtained the config from state.</p> |
|
5957 </div> |
|
5958 |
|
5959 |
|
5960 </li> |
|
5961 |
|
5962 </ul> |
|
5963 </div> |
|
5964 |
|
5965 |
|
5966 |
|
5967 <div class="returns"> |
|
5968 <h4>Returns:</h4> |
|
5969 |
|
5970 <div class="returns-description"> |
|
5971 |
|
5972 |
|
5973 <span class="type">Any</span>: |
|
5974 |
|
5975 The stored value of the attribute |
|
5976 |
|
5977 </div> |
|
5978 </div> |
|
5979 |
|
5980 |
|
5981 |
|
5982 </div> |
|
5983 |
|
5984 |
|
5985 <div id="method__getType" class="method item private inherited"> |
|
5986 <h3 class="name"><code>_getType</code></h3> |
|
5987 |
|
5988 |
|
5989 <span class="paren">()</span> |
|
5990 |
|
5991 |
|
5992 |
|
5993 |
|
5994 |
|
5995 |
|
5996 |
|
5997 <span class="flag private">private</span> |
|
5998 |
|
5999 |
|
6000 |
|
6001 |
|
6002 |
|
6003 |
|
6004 |
|
6005 |
|
6006 |
|
6007 |
|
6008 <div class="meta"> |
|
6009 |
|
6010 |
|
6011 <p>Inherited from |
|
6012 <a href="../classes/EventTarget.html#method__getType">EventTarget</a>: |
|
6013 |
|
6014 |
|
6015 |
|
6016 <a href="../files/event-custom_js_event-target.js.html#l36"><code>event-custom/js/event-target.js:36</code></a> |
|
6017 |
|
6018 </p> |
|
6019 |
|
6020 |
|
6021 |
|
6022 |
|
6023 |
|
6024 </div> |
|
6025 |
|
6026 <div class="description"> |
|
6027 <p>If the instance has a prefix attribute and the |
|
6028 event type is not prefixed, the instance prefix is |
|
6029 applied to the supplied type.</p> |
|
6030 </div> |
|
6031 |
|
6032 |
|
6033 |
|
6034 |
|
6035 |
|
6036 |
|
6037 </div> |
|
6038 |
|
6039 |
|
6040 <div id="method__initAttrHost" class="method item private inherited"> |
|
6041 <h3 class="name"><code>_initAttrHost</code></h3> |
|
6042 |
|
6043 |
|
6044 <div class="args"> |
|
6045 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6046 |
|
6047 <li class="arg"> |
|
6048 |
|
6049 <code>attrs</code> |
|
6050 |
|
6051 </li> |
|
6052 |
|
6053 <li class="arg"> |
|
6054 |
|
6055 <code>values</code> |
|
6056 |
|
6057 </li> |
|
6058 |
|
6059 <li class="arg"> |
|
6060 |
|
6061 <code>lazy</code> |
|
6062 |
|
6063 </li> |
|
6064 |
|
6065 </ul><span class="paren">)</span> |
|
6066 </div> |
|
6067 |
|
6068 |
|
6069 |
|
6070 |
|
6071 |
|
6072 |
|
6073 |
|
6074 <span class="flag private">private</span> |
|
6075 |
|
6076 |
|
6077 |
|
6078 |
|
6079 |
|
6080 |
|
6081 |
|
6082 |
|
6083 |
|
6084 |
|
6085 <div class="meta"> |
|
6086 |
|
6087 |
|
6088 <p>Inherited from |
|
6089 <a href="../classes/AttributeCore.html#method__initAttrHost">AttributeCore</a>: |
|
6090 |
|
6091 |
|
6092 |
|
6093 <a href="../files/attribute_js_AttributeCore.js.html#l140"><code>attribute/js/AttributeCore.js:140</code></a> |
|
6094 |
|
6095 </p> |
|
6096 |
|
6097 |
|
6098 |
|
6099 |
|
6100 |
|
6101 </div> |
|
6102 |
|
6103 <div class="description"> |
|
6104 <p>Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the |
|
6105 constructor.</p> |
|
6106 </div> |
|
6107 |
|
6108 |
|
6109 <div class="params"> |
|
6110 <h4>Parameters:</h4> |
|
6111 |
|
6112 <ul class="params-list"> |
|
6113 |
|
6114 <li class="param"> |
|
6115 |
|
6116 <code class="param-name">attrs</code> |
|
6117 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6118 |
|
6119 |
|
6120 |
|
6121 |
|
6122 <div class="param-description"> |
|
6123 <p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
6124 These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p> |
|
6125 </div> |
|
6126 |
|
6127 |
|
6128 </li> |
|
6129 |
|
6130 <li class="param"> |
|
6131 |
|
6132 <code class="param-name">values</code> |
|
6133 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6134 |
|
6135 |
|
6136 |
|
6137 |
|
6138 <div class="param-description"> |
|
6139 <p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
6140 These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p> |
|
6141 </div> |
|
6142 |
|
6143 |
|
6144 </li> |
|
6145 |
|
6146 <li class="param"> |
|
6147 |
|
6148 <code class="param-name">lazy</code> |
|
6149 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
6150 |
|
6151 |
|
6152 |
|
6153 |
|
6154 <div class="param-description"> |
|
6155 <p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p> |
|
6156 </div> |
|
6157 |
|
6158 |
|
6159 </li> |
|
6160 |
|
6161 </ul> |
|
6162 </div> |
|
6163 |
|
6164 |
|
6165 |
|
6166 |
|
6167 |
|
6168 </div> |
|
6169 |
|
6170 |
|
6171 <div id="method__initAttribute" class="method item private inherited"> |
|
6172 <h3 class="name"><code>_initAttribute</code></h3> |
|
6173 |
|
6174 |
|
6175 <span class="paren">()</span> |
|
6176 |
|
6177 |
|
6178 |
|
6179 |
|
6180 |
|
6181 |
|
6182 |
|
6183 <span class="flag private">private</span> |
|
6184 |
|
6185 |
|
6186 |
|
6187 |
|
6188 |
|
6189 |
|
6190 |
|
6191 |
|
6192 |
|
6193 |
|
6194 <div class="meta"> |
|
6195 |
|
6196 <p>Inherited from |
|
6197 <a href="../classes/BaseObservable.html#method__initAttribute"> |
|
6198 BaseObservable |
|
6199 </a> |
|
6200 |
|
6201 but overwritten in |
|
6202 |
|
6203 |
|
6204 |
|
6205 <a href="../files/base_js_BaseCore.js.html#l254"><code>base/js/BaseCore.js:254</code></a> |
|
6206 |
|
6207 </p> |
|
6208 |
|
6209 |
|
6210 |
|
6211 |
|
6212 |
|
6213 </div> |
|
6214 |
|
6215 <div class="description"> |
|
6216 <p>Initializes AttributeCore</p> |
|
6217 </div> |
|
6218 |
|
6219 |
|
6220 |
|
6221 |
|
6222 |
|
6223 |
|
6224 </div> |
|
6225 |
|
6226 |
|
6227 <div id="method__initAttrs" class="method item protected inherited"> |
|
6228 <h3 class="name"><code>_initAttrs</code></h3> |
|
6229 |
|
6230 |
|
6231 <div class="args"> |
|
6232 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6233 |
|
6234 <li class="arg"> |
|
6235 |
|
6236 <code>attrs</code> |
|
6237 |
|
6238 </li> |
|
6239 |
|
6240 <li class="arg"> |
|
6241 |
|
6242 <code>values</code> |
|
6243 |
|
6244 </li> |
|
6245 |
|
6246 <li class="arg"> |
|
6247 |
|
6248 <code>lazy</code> |
|
6249 |
|
6250 </li> |
|
6251 |
|
6252 </ul><span class="paren">)</span> |
|
6253 </div> |
|
6254 |
|
6255 |
|
6256 |
|
6257 |
|
6258 |
|
6259 |
|
6260 |
|
6261 <span class="flag protected">protected</span> |
|
6262 |
|
6263 |
|
6264 |
|
6265 |
|
6266 |
|
6267 |
|
6268 |
|
6269 |
|
6270 |
|
6271 |
|
6272 <div class="meta"> |
|
6273 |
|
6274 |
|
6275 <p>Inherited from |
|
6276 <a href="../classes/AttributeCore.html#method__initAttrs">AttributeCore</a>: |
|
6277 |
|
6278 |
|
6279 |
|
6280 <a href="../files/attribute_js_AttributeCore.js.html#l1011"><code>attribute/js/AttributeCore.js:1011</code></a> |
|
6281 |
|
6282 </p> |
|
6283 |
|
6284 |
|
6285 |
|
6286 |
|
6287 |
|
6288 </div> |
|
6289 |
|
6290 <div class="description"> |
|
6291 <p>Utility method to set up initial attributes defined during construction, |
|
6292 either through the constructor.ATTRS property, or explicitly passed in.</p> |
|
6293 </div> |
|
6294 |
|
6295 |
|
6296 <div class="params"> |
|
6297 <h4>Parameters:</h4> |
|
6298 |
|
6299 <ul class="params-list"> |
|
6300 |
|
6301 <li class="param"> |
|
6302 |
|
6303 <code class="param-name">attrs</code> |
|
6304 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6305 |
|
6306 |
|
6307 |
|
6308 |
|
6309 <div class="param-description"> |
|
6310 <p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
6311 These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p> |
|
6312 </div> |
|
6313 |
|
6314 |
|
6315 </li> |
|
6316 |
|
6317 <li class="param"> |
|
6318 |
|
6319 <code class="param-name">values</code> |
|
6320 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6321 |
|
6322 |
|
6323 |
|
6324 |
|
6325 <div class="param-description"> |
|
6326 <p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
6327 These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p> |
|
6328 </div> |
|
6329 |
|
6330 |
|
6331 </li> |
|
6332 |
|
6333 <li class="param"> |
|
6334 |
|
6335 <code class="param-name">lazy</code> |
|
6336 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
6337 |
|
6338 |
|
6339 |
|
6340 |
|
6341 <div class="param-description"> |
|
6342 <p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p> |
|
6343 </div> |
|
6344 |
|
6345 |
|
6346 </li> |
|
6347 |
|
6348 </ul> |
|
6349 </div> |
|
6350 |
|
6351 |
|
6352 |
|
6353 |
|
6354 |
|
6355 </div> |
|
6356 |
|
6357 |
|
6358 <div id="method__initBase" class="method item private inherited"> |
|
6359 <h3 class="name"><code>_initBase</code></h3> |
|
6360 |
|
6361 |
|
6362 <div class="args"> |
|
6363 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6364 |
|
6365 <li class="arg"> |
|
6366 |
|
6367 <code>config</code> |
|
6368 |
|
6369 </li> |
|
6370 |
|
6371 </ul><span class="paren">)</span> |
|
6372 </div> |
|
6373 |
|
6374 |
|
6375 |
|
6376 |
|
6377 |
|
6378 |
|
6379 |
|
6380 <span class="flag private">private</span> |
|
6381 |
|
6382 |
|
6383 |
|
6384 |
|
6385 |
|
6386 |
|
6387 |
|
6388 |
|
6389 |
|
6390 |
|
6391 <div class="meta"> |
|
6392 |
|
6393 |
|
6394 <p>Inherited from |
|
6395 <a href="../classes/BaseCore.html#method__initBase">BaseCore</a>: |
|
6396 |
|
6397 |
|
6398 |
|
6399 <a href="../files/base_js_BaseCore.js.html#l219"><code>base/js/BaseCore.js:219</code></a> |
|
6400 |
|
6401 </p> |
|
6402 |
|
6403 |
|
6404 |
|
6405 |
|
6406 |
|
6407 </div> |
|
6408 |
|
6409 <div class="description"> |
|
6410 <p>Internal construction logic for BaseCore.</p> |
|
6411 </div> |
|
6412 |
|
6413 |
|
6414 <div class="params"> |
|
6415 <h4>Parameters:</h4> |
|
6416 |
|
6417 <ul class="params-list"> |
|
6418 |
|
6419 <li class="param"> |
|
6420 |
|
6421 <code class="param-name">config</code> |
|
6422 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6423 |
|
6424 |
|
6425 |
|
6426 |
|
6427 <div class="param-description"> |
|
6428 <p>The constructor configuration object</p> |
|
6429 </div> |
|
6430 |
|
6431 |
|
6432 </li> |
|
6433 |
|
6434 </ul> |
|
6435 </div> |
|
6436 |
|
6437 |
|
6438 |
|
6439 |
|
6440 |
|
6441 </div> |
|
6442 |
|
6443 |
|
6444 <div id="method__initHierarchy" class="method item private inherited"> |
|
6445 <h3 class="name"><code>_initHierarchy</code></h3> |
|
6446 |
|
6447 |
|
6448 <div class="args"> |
|
6449 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6450 |
|
6451 <li class="arg"> |
|
6452 |
|
6453 <code>userVals</code> |
|
6454 |
|
6455 </li> |
|
6456 |
|
6457 </ul><span class="paren">)</span> |
|
6458 </div> |
|
6459 |
|
6460 |
|
6461 |
|
6462 |
|
6463 |
|
6464 |
|
6465 |
|
6466 <span class="flag private">private</span> |
|
6467 |
|
6468 |
|
6469 |
|
6470 |
|
6471 |
|
6472 |
|
6473 |
|
6474 |
|
6475 |
|
6476 |
|
6477 <div class="meta"> |
|
6478 |
|
6479 |
|
6480 <p>Inherited from |
|
6481 <a href="../classes/BaseCore.html#method__initHierarchy">BaseCore</a>: |
|
6482 |
|
6483 |
|
6484 |
|
6485 <a href="../files/base_js_BaseCore.js.html#l659"><code>base/js/BaseCore.js:659</code></a> |
|
6486 |
|
6487 </p> |
|
6488 |
|
6489 |
|
6490 |
|
6491 |
|
6492 |
|
6493 </div> |
|
6494 |
|
6495 <div class="description"> |
|
6496 <p>Initializes the class hierarchy for the instance, which includes |
|
6497 initializing attributes for each class defined in the class's |
|
6498 static <a href="#property_BaseCore.ATTRS">ATTRS</a> property and |
|
6499 invoking the initializer method on the prototype of each class in the hierarchy.</p> |
|
6500 </div> |
|
6501 |
|
6502 |
|
6503 <div class="params"> |
|
6504 <h4>Parameters:</h4> |
|
6505 |
|
6506 <ul class="params-list"> |
|
6507 |
|
6508 <li class="param"> |
|
6509 |
|
6510 <code class="param-name">userVals</code> |
|
6511 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6512 |
|
6513 |
|
6514 |
|
6515 |
|
6516 <div class="param-description"> |
|
6517 <p>Object with configuration property name/value pairs</p> |
|
6518 </div> |
|
6519 |
|
6520 |
|
6521 </li> |
|
6522 |
|
6523 </ul> |
|
6524 </div> |
|
6525 |
|
6526 |
|
6527 |
|
6528 |
|
6529 |
|
6530 </div> |
|
6531 |
|
6532 |
|
6533 <div id="method__initHierarchyData" class="method item private inherited"> |
|
6534 <h3 class="name"><code>_initHierarchyData</code></h3> |
|
6535 |
|
6536 |
|
6537 <span class="paren">()</span> |
|
6538 |
|
6539 |
|
6540 |
|
6541 |
|
6542 |
|
6543 |
|
6544 |
|
6545 <span class="flag private">private</span> |
|
6546 |
|
6547 |
|
6548 |
|
6549 |
|
6550 |
|
6551 |
|
6552 |
|
6553 |
|
6554 |
|
6555 |
|
6556 <div class="meta"> |
|
6557 |
|
6558 |
|
6559 <p>Inherited from |
|
6560 <a href="../classes/BaseCore.html#method__initHierarchyData">BaseCore</a>: |
|
6561 |
|
6562 |
|
6563 |
|
6564 <a href="../files/base_js_BaseCore.js.html#l457"><code>base/js/BaseCore.js:457</code></a> |
|
6565 |
|
6566 </p> |
|
6567 |
|
6568 |
|
6569 |
|
6570 |
|
6571 |
|
6572 </div> |
|
6573 |
|
6574 <div class="description"> |
|
6575 <p>A helper method used by _getClasses and _getAttrCfgs, which determines both |
|
6576 the array of classes and aggregate set of attribute configurations |
|
6577 across the class hierarchy for the instance.</p> |
|
6578 </div> |
|
6579 |
|
6580 |
|
6581 |
|
6582 |
|
6583 |
|
6584 |
|
6585 </div> |
|
6586 |
|
6587 |
|
6588 <div id="method__isLazyAttr" class="method item private inherited"> |
|
6589 <h3 class="name"><code>_isLazyAttr</code></h3> |
|
6590 |
|
6591 |
|
6592 <div class="args"> |
|
6593 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6594 |
|
6595 <li class="arg"> |
|
6596 |
|
6597 <code>name</code> |
|
6598 |
|
6599 </li> |
|
6600 |
|
6601 </ul><span class="paren">)</span> |
|
6602 </div> |
|
6603 |
|
6604 |
|
6605 |
|
6606 <span class="returns-inline"> |
|
6607 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
6608 </span> |
|
6609 |
|
6610 |
|
6611 |
|
6612 |
|
6613 |
|
6614 <span class="flag private">private</span> |
|
6615 |
|
6616 |
|
6617 |
|
6618 |
|
6619 |
|
6620 |
|
6621 |
|
6622 |
|
6623 |
|
6624 |
|
6625 <div class="meta"> |
|
6626 |
|
6627 |
|
6628 <p>Inherited from |
|
6629 <a href="../classes/AttributeCore.html#method__isLazyAttr">AttributeCore</a>: |
|
6630 |
|
6631 |
|
6632 |
|
6633 <a href="../files/attribute_js_AttributeCore.js.html#l369"><code>attribute/js/AttributeCore.js:369</code></a> |
|
6634 |
|
6635 </p> |
|
6636 |
|
6637 |
|
6638 |
|
6639 |
|
6640 |
|
6641 </div> |
|
6642 |
|
6643 <div class="description"> |
|
6644 <p>Checks whether or not the attribute is one which has been |
|
6645 added lazily and still requires initialization.</p> |
|
6646 </div> |
|
6647 |
|
6648 |
|
6649 <div class="params"> |
|
6650 <h4>Parameters:</h4> |
|
6651 |
|
6652 <ul class="params-list"> |
|
6653 |
|
6654 <li class="param"> |
|
6655 |
|
6656 <code class="param-name">name</code> |
|
6657 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6658 |
|
6659 |
|
6660 |
|
6661 |
|
6662 <div class="param-description"> |
|
6663 <p>The name of the attribute</p> |
|
6664 </div> |
|
6665 |
|
6666 |
|
6667 </li> |
|
6668 |
|
6669 </ul> |
|
6670 </div> |
|
6671 |
|
6672 |
|
6673 |
|
6674 <div class="returns"> |
|
6675 <h4>Returns:</h4> |
|
6676 |
|
6677 <div class="returns-description"> |
|
6678 |
|
6679 |
|
6680 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
6681 |
|
6682 true if it's a lazily added attribute, false otherwise. |
|
6683 |
|
6684 </div> |
|
6685 </div> |
|
6686 |
|
6687 |
|
6688 |
|
6689 </div> |
|
6690 |
|
6691 |
|
6692 <div id="method__monitor" class="method item private inherited"> |
|
6693 <h3 class="name"><code>_monitor</code></h3> |
|
6694 |
|
6695 |
|
6696 <div class="args"> |
|
6697 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6698 |
|
6699 <li class="arg"> |
|
6700 |
|
6701 <code>what</code> |
|
6702 |
|
6703 </li> |
|
6704 |
|
6705 <li class="arg"> |
|
6706 |
|
6707 <code>eventType</code> |
|
6708 |
|
6709 </li> |
|
6710 |
|
6711 <li class="arg"> |
|
6712 |
|
6713 <code>o</code> |
|
6714 |
|
6715 </li> |
|
6716 |
|
6717 </ul><span class="paren">)</span> |
|
6718 </div> |
|
6719 |
|
6720 |
|
6721 |
|
6722 |
|
6723 |
|
6724 |
|
6725 |
|
6726 <span class="flag private">private</span> |
|
6727 |
|
6728 |
|
6729 |
|
6730 |
|
6731 |
|
6732 |
|
6733 |
|
6734 |
|
6735 |
|
6736 |
|
6737 <div class="meta"> |
|
6738 |
|
6739 |
|
6740 <p>Inherited from |
|
6741 <a href="../classes/EventTarget.html#method__monitor">EventTarget</a>: |
|
6742 |
|
6743 |
|
6744 |
|
6745 <a href="../files/event-custom_js_event-target.js.html#l658"><code>event-custom/js/event-target.js:658</code></a> |
|
6746 |
|
6747 </p> |
|
6748 |
|
6749 |
|
6750 |
|
6751 |
|
6752 |
|
6753 </div> |
|
6754 |
|
6755 <div class="description"> |
|
6756 <p>This is the entry point for the event monitoring system. |
|
6757 You can monitor 'attach', 'detach', 'fire', and 'publish'. |
|
6758 When configured, these events generate an event. click -> |
|
6759 click<em>attach, click</em>detach, click_publish -- these can |
|
6760 be subscribed to like other events to monitor the event |
|
6761 system. Inividual published events can have monitoring |
|
6762 turned on or off (publish can't be turned off before it |
|
6763 it published) by setting the events 'monitor' config.</p> |
|
6764 </div> |
|
6765 |
|
6766 |
|
6767 <div class="params"> |
|
6768 <h4>Parameters:</h4> |
|
6769 |
|
6770 <ul class="params-list"> |
|
6771 |
|
6772 <li class="param"> |
|
6773 |
|
6774 <code class="param-name">what</code> |
|
6775 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6776 |
|
6777 |
|
6778 |
|
6779 |
|
6780 <div class="param-description"> |
|
6781 <p>'attach', 'detach', 'fire', or 'publish'</p> |
|
6782 </div> |
|
6783 |
|
6784 |
|
6785 </li> |
|
6786 |
|
6787 <li class="param"> |
|
6788 |
|
6789 <code class="param-name">eventType</code> |
|
6790 <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> |
|
6791 |
|
6792 |
|
6793 |
|
6794 |
|
6795 <div class="param-description"> |
|
6796 <p>The prefixed name of the event being monitored, or the CustomEvent object.</p> |
|
6797 </div> |
|
6798 |
|
6799 |
|
6800 </li> |
|
6801 |
|
6802 <li class="param"> |
|
6803 |
|
6804 <code class="param-name">o</code> |
|
6805 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6806 |
|
6807 |
|
6808 |
|
6809 |
|
6810 <div class="param-description"> |
|
6811 <p>Information about the event interaction, such as |
|
6812 fire() args, subscription category, publish config</p> |
|
6813 </div> |
|
6814 |
|
6815 |
|
6816 </li> |
|
6817 |
|
6818 </ul> |
|
6819 </div> |
|
6820 |
|
6821 |
|
6822 |
|
6823 |
|
6824 |
|
6825 </div> |
|
6826 |
|
6827 |
|
6828 <div id="method__normAttrVals" class="method item private inherited"> |
|
6829 <h3 class="name"><code>_normAttrVals</code></h3> |
|
6830 |
|
6831 |
|
6832 <div class="args"> |
|
6833 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6834 |
|
6835 <li class="arg"> |
|
6836 |
|
6837 <code>valueHash</code> |
|
6838 |
|
6839 </li> |
|
6840 |
|
6841 </ul><span class="paren">)</span> |
|
6842 </div> |
|
6843 |
|
6844 |
|
6845 |
|
6846 <span class="returns-inline"> |
|
6847 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6848 </span> |
|
6849 |
|
6850 |
|
6851 |
|
6852 |
|
6853 |
|
6854 <span class="flag private">private</span> |
|
6855 |
|
6856 |
|
6857 |
|
6858 |
|
6859 |
|
6860 |
|
6861 |
|
6862 |
|
6863 |
|
6864 |
|
6865 <div class="meta"> |
|
6866 |
|
6867 |
|
6868 <p>Inherited from |
|
6869 <a href="../classes/AttributeCore.html#method__normAttrVals">AttributeCore</a>: |
|
6870 |
|
6871 |
|
6872 |
|
6873 <a href="../files/attribute_js_AttributeCore.js.html#l897"><code>attribute/js/AttributeCore.js:897</code></a> |
|
6874 |
|
6875 </p> |
|
6876 |
|
6877 |
|
6878 |
|
6879 |
|
6880 |
|
6881 </div> |
|
6882 |
|
6883 <div class="description"> |
|
6884 <p>Utility method to normalize attribute values. The base implementation |
|
6885 simply merges the hash to protect the original.</p> |
|
6886 </div> |
|
6887 |
|
6888 |
|
6889 <div class="params"> |
|
6890 <h4>Parameters:</h4> |
|
6891 |
|
6892 <ul class="params-list"> |
|
6893 |
|
6894 <li class="param"> |
|
6895 |
|
6896 <code class="param-name">valueHash</code> |
|
6897 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6898 |
|
6899 |
|
6900 |
|
6901 |
|
6902 <div class="param-description"> |
|
6903 <p>An object with attribute name/value pairs</p> |
|
6904 </div> |
|
6905 |
|
6906 |
|
6907 </li> |
|
6908 |
|
6909 </ul> |
|
6910 </div> |
|
6911 |
|
6912 |
|
6913 |
|
6914 <div class="returns"> |
|
6915 <h4>Returns:</h4> |
|
6916 |
|
6917 <div class="returns-description"> |
|
6918 |
|
6919 |
|
6920 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
6921 |
|
6922 An object literal with 2 properties - "simple" and "complex", |
|
6923 containing simple and complex attribute values respectively keyed |
|
6924 by the top level attribute name, or null, if valueHash is falsey. |
|
6925 |
|
6926 </div> |
|
6927 </div> |
|
6928 |
|
6929 |
|
6930 |
|
6931 </div> |
|
6932 |
|
6933 |
|
6934 <div id="method__parseType" class="method item private inherited"> |
|
6935 <h3 class="name"><code>_parseType</code></h3> |
|
6936 |
|
6937 |
|
6938 <span class="paren">()</span> |
|
6939 |
|
6940 |
|
6941 |
|
6942 |
|
6943 |
|
6944 |
|
6945 |
|
6946 <span class="flag private">private</span> |
|
6947 |
|
6948 |
|
6949 |
|
6950 |
|
6951 |
|
6952 |
|
6953 |
|
6954 |
|
6955 |
|
6956 |
|
6957 <div class="meta"> |
|
6958 |
|
6959 |
|
6960 <p>Inherited from |
|
6961 <a href="../classes/EventTarget.html#method__parseType">EventTarget</a>: |
|
6962 |
|
6963 |
|
6964 |
|
6965 <a href="../files/event-custom_js_event-target.js.html#l52"><code>event-custom/js/event-target.js:52</code></a> |
|
6966 |
|
6967 </p> |
|
6968 |
|
6969 |
|
6970 |
|
6971 |
|
6972 |
|
6973 </div> |
|
6974 |
|
6975 <div class="description"> |
|
6976 <p>Returns an array with the detach key (if provided), |
|
6977 and the prefixed event name from _getType |
|
6978 Y.on('detachcategory| menu:click', fn)</p> |
|
6979 </div> |
|
6980 |
|
6981 |
|
6982 |
|
6983 |
|
6984 |
|
6985 |
|
6986 </div> |
|
6987 |
|
6988 |
|
6989 <div id="method__preInitEventCfg" class="method item private inherited"> |
|
6990 <h3 class="name"><code>_preInitEventCfg</code></h3> |
|
6991 |
|
6992 |
|
6993 <div class="args"> |
|
6994 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6995 |
|
6996 <li class="arg"> |
|
6997 |
|
6998 <code>config</code> |
|
6999 |
|
7000 </li> |
|
7001 |
|
7002 </ul><span class="paren">)</span> |
|
7003 </div> |
|
7004 |
|
7005 |
|
7006 |
|
7007 |
|
7008 |
|
7009 |
|
7010 |
|
7011 <span class="flag private">private</span> |
|
7012 |
|
7013 |
|
7014 |
|
7015 |
|
7016 |
|
7017 |
|
7018 |
|
7019 |
|
7020 |
|
7021 |
|
7022 <div class="meta"> |
|
7023 |
|
7024 |
|
7025 <p>Inherited from |
|
7026 <a href="../classes/BaseObservable.html#method__preInitEventCfg">BaseObservable</a>: |
|
7027 |
|
7028 |
|
7029 |
|
7030 <a href="../files/base_js_BaseObservable.js.html#l98"><code>base/js/BaseObservable.js:98</code></a> |
|
7031 |
|
7032 </p> |
|
7033 |
|
7034 |
|
7035 |
|
7036 |
|
7037 |
|
7038 </div> |
|
7039 |
|
7040 <div class="description"> |
|
7041 <p>Handles the special on, after and target properties which allow the user to |
|
7042 easily configure on and after listeners as well as bubble targets during |
|
7043 construction, prior to init.</p> |
|
7044 </div> |
|
7045 |
|
7046 |
|
7047 <div class="params"> |
|
7048 <h4>Parameters:</h4> |
|
7049 |
|
7050 <ul class="params-list"> |
|
7051 |
|
7052 <li class="param"> |
|
7053 |
|
7054 <code class="param-name">config</code> |
|
7055 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7056 |
|
7057 |
|
7058 |
|
7059 |
|
7060 <div class="param-description"> |
|
7061 <p>The user configuration object</p> |
|
7062 </div> |
|
7063 |
|
7064 |
|
7065 </li> |
|
7066 |
|
7067 </ul> |
|
7068 </div> |
|
7069 |
|
7070 |
|
7071 |
|
7072 |
|
7073 |
|
7074 </div> |
|
7075 |
|
7076 |
|
7077 <div id="method__protectAttrs" class="method item protected deprecated inherited"> |
|
7078 <h3 class="name"><code>_protectAttrs</code></h3> |
|
7079 |
|
7080 |
|
7081 <div class="args"> |
|
7082 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7083 |
|
7084 <li class="arg"> |
|
7085 |
|
7086 <code>attrs</code> |
|
7087 |
|
7088 </li> |
|
7089 |
|
7090 </ul><span class="paren">)</span> |
|
7091 </div> |
|
7092 |
|
7093 |
|
7094 |
|
7095 <span class="returns-inline"> |
|
7096 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7097 </span> |
|
7098 |
|
7099 |
|
7100 |
|
7101 <span class="flag deprecated" title="Use `AttributeCore.protectAttrs()` or |
|
7102 `Attribute.protectAttrs()` which are the same static utility method.">deprecated</span> |
|
7103 |
|
7104 |
|
7105 |
|
7106 <span class="flag protected">protected</span> |
|
7107 |
|
7108 |
|
7109 |
|
7110 |
|
7111 |
|
7112 |
|
7113 |
|
7114 |
|
7115 |
|
7116 |
|
7117 <div class="meta"> |
|
7118 |
|
7119 |
|
7120 <p>Inherited from |
|
7121 <a href="../classes/AttributeCore.html#method__protectAttrs">AttributeCore</a>: |
|
7122 |
|
7123 |
|
7124 |
|
7125 <a href="../files/attribute_js_AttributeCore.js.html#l883"><code>attribute/js/AttributeCore.js:883</code></a> |
|
7126 |
|
7127 </p> |
|
7128 |
|
7129 |
|
7130 |
|
7131 <p>Deprecated: Use `AttributeCore.protectAttrs()` or |
|
7132 `Attribute.protectAttrs()` which are the same static utility method.</p> |
|
7133 |
|
7134 |
|
7135 |
|
7136 </div> |
|
7137 |
|
7138 <div class="description"> |
|
7139 <p>Utility method to protect an attribute configuration |
|
7140 hash, by merging the entire object and the individual |
|
7141 attr config objects.</p> |
|
7142 </div> |
|
7143 |
|
7144 |
|
7145 <div class="params"> |
|
7146 <h4>Parameters:</h4> |
|
7147 |
|
7148 <ul class="params-list"> |
|
7149 |
|
7150 <li class="param"> |
|
7151 |
|
7152 <code class="param-name">attrs</code> |
|
7153 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7154 |
|
7155 |
|
7156 |
|
7157 |
|
7158 <div class="param-description"> |
|
7159 <p>A hash of attribute to configuration object pairs.</p> |
|
7160 </div> |
|
7161 |
|
7162 |
|
7163 </li> |
|
7164 |
|
7165 </ul> |
|
7166 </div> |
|
7167 |
|
7168 |
|
7169 |
|
7170 <div class="returns"> |
|
7171 <h4>Returns:</h4> |
|
7172 |
|
7173 <div class="returns-description"> |
|
7174 |
|
7175 |
|
7176 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
7177 |
|
7178 A protected version of the attrs argument. |
|
7179 |
|
7180 </div> |
|
7181 </div> |
|
7182 |
|
7183 |
|
7184 |
|
7185 </div> |
|
7186 |
|
7187 |
|
7188 <div id="method__publish" class="method item private inherited"> |
|
7189 <h3 class="name"><code>_publish</code></h3> |
|
7190 |
|
7191 |
|
7192 <div class="args"> |
|
7193 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7194 |
|
7195 <li class="arg"> |
|
7196 |
|
7197 <code>fullType</code> |
|
7198 |
|
7199 </li> |
|
7200 |
|
7201 <li class="arg"> |
|
7202 |
|
7203 <code>etOpts</code> |
|
7204 |
|
7205 </li> |
|
7206 |
|
7207 <li class="arg"> |
|
7208 |
|
7209 <code>ceOpts</code> |
|
7210 |
|
7211 </li> |
|
7212 |
|
7213 </ul><span class="paren">)</span> |
|
7214 </div> |
|
7215 |
|
7216 |
|
7217 |
|
7218 <span class="returns-inline"> |
|
7219 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
7220 </span> |
|
7221 |
|
7222 |
|
7223 |
|
7224 |
|
7225 |
|
7226 <span class="flag private">private</span> |
|
7227 |
|
7228 |
|
7229 |
|
7230 |
|
7231 |
|
7232 |
|
7233 |
|
7234 |
|
7235 |
|
7236 |
|
7237 <div class="meta"> |
|
7238 |
|
7239 |
|
7240 <p>Inherited from |
|
7241 <a href="../classes/EventTarget.html#method__publish">EventTarget</a>: |
|
7242 |
|
7243 |
|
7244 |
|
7245 <a href="../files/event-custom_js_event-target.js.html#l610"><code>event-custom/js/event-target.js:610</code></a> |
|
7246 |
|
7247 </p> |
|
7248 |
|
7249 |
|
7250 |
|
7251 |
|
7252 |
|
7253 </div> |
|
7254 |
|
7255 <div class="description"> |
|
7256 <p>The low level event publish implementation. It expects all the massaging to have been done |
|
7257 outside of this method. e.g. the <code>type</code> to <code>fullType</code> conversion. It's designed to be a fast |
|
7258 path publish, which can be used by critical code paths to improve performance.</p> |
|
7259 </div> |
|
7260 |
|
7261 |
|
7262 <div class="params"> |
|
7263 <h4>Parameters:</h4> |
|
7264 |
|
7265 <ul class="params-list"> |
|
7266 |
|
7267 <li class="param"> |
|
7268 |
|
7269 <code class="param-name">fullType</code> |
|
7270 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7271 |
|
7272 |
|
7273 |
|
7274 |
|
7275 <div class="param-description"> |
|
7276 <p>The prefixed type of the event to publish.</p> |
|
7277 </div> |
|
7278 |
|
7279 |
|
7280 </li> |
|
7281 |
|
7282 <li class="param"> |
|
7283 |
|
7284 <code class="param-name">etOpts</code> |
|
7285 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7286 |
|
7287 |
|
7288 |
|
7289 |
|
7290 <div class="param-description"> |
|
7291 <p>The EventTarget specific configuration to mix into the published event.</p> |
|
7292 </div> |
|
7293 |
|
7294 |
|
7295 </li> |
|
7296 |
|
7297 <li class="param"> |
|
7298 |
|
7299 <code class="param-name">ceOpts</code> |
|
7300 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7301 |
|
7302 |
|
7303 |
|
7304 |
|
7305 <div class="param-description"> |
|
7306 <p>The publish specific configuration to mix into the published event.</p> |
|
7307 </div> |
|
7308 |
|
7309 |
|
7310 </li> |
|
7311 |
|
7312 </ul> |
|
7313 </div> |
|
7314 |
|
7315 |
|
7316 |
|
7317 <div class="returns"> |
|
7318 <h4>Returns:</h4> |
|
7319 |
|
7320 <div class="returns-description"> |
|
7321 |
|
7322 |
|
7323 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>: |
|
7324 |
|
7325 The published event. If called without <code>etOpts</code> or <code>ceOpts</code>, this will |
|
7326 be the default <code>CustomEvent</code> instance, and can be configured independently. |
|
7327 |
|
7328 </div> |
|
7329 </div> |
|
7330 |
|
7331 |
|
7332 |
|
7333 </div> |
|
7334 |
|
7335 |
|
7336 <div id="method__set" class="method item protected inherited"> |
|
7337 <h3 class="name"><code>_set</code></h3> |
|
7338 |
|
7339 |
|
7340 <div class="args"> |
|
7341 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7342 |
|
7343 <li class="arg"> |
|
7344 |
|
7345 <code>name</code> |
|
7346 |
|
7347 </li> |
|
7348 |
|
7349 <li class="arg"> |
|
7350 |
|
7351 <code>val</code> |
|
7352 |
|
7353 </li> |
|
7354 |
|
7355 <li class="arg"> |
|
7356 |
|
7357 <code class="optional">[opts]</code> |
|
7358 |
|
7359 </li> |
|
7360 |
|
7361 </ul><span class="paren">)</span> |
|
7362 </div> |
|
7363 |
|
7364 |
|
7365 |
|
7366 <span class="returns-inline"> |
|
7367 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7368 </span> |
|
7369 |
|
7370 |
|
7371 |
|
7372 |
|
7373 |
|
7374 <span class="flag protected">protected</span> |
|
7375 |
|
7376 |
|
7377 |
|
7378 |
|
7379 |
|
7380 |
|
7381 |
|
7382 <span class="flag chainable">chainable</span> |
|
7383 |
|
7384 |
|
7385 |
|
7386 |
|
7387 <div class="meta"> |
|
7388 |
|
7389 <p>Inherited from |
|
7390 <a href="../classes/AttributeObservable.html#method__set"> |
|
7391 AttributeObservable |
|
7392 </a> |
|
7393 |
|
7394 but overwritten in |
|
7395 |
|
7396 |
|
7397 |
|
7398 <a href="../files/attribute_js_AttributeCore.js.html#l427"><code>attribute/js/AttributeCore.js:427</code></a> |
|
7399 |
|
7400 </p> |
|
7401 |
|
7402 |
|
7403 |
|
7404 |
|
7405 |
|
7406 </div> |
|
7407 |
|
7408 <div class="description"> |
|
7409 <p>Allows setting of readOnly/writeOnce attributes. See <a href="#method_set">set</a> for argument details.</p> |
|
7410 </div> |
|
7411 |
|
7412 |
|
7413 <div class="params"> |
|
7414 <h4>Parameters:</h4> |
|
7415 |
|
7416 <ul class="params-list"> |
|
7417 |
|
7418 <li class="param"> |
|
7419 |
|
7420 <code class="param-name">name</code> |
|
7421 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7422 |
|
7423 |
|
7424 |
|
7425 |
|
7426 <div class="param-description"> |
|
7427 <p>The name of the attribute.</p> |
|
7428 </div> |
|
7429 |
|
7430 |
|
7431 </li> |
|
7432 |
|
7433 <li class="param"> |
|
7434 |
|
7435 <code class="param-name">val</code> |
|
7436 <span class="type">Any</span> |
|
7437 |
|
7438 |
|
7439 |
|
7440 |
|
7441 <div class="param-description"> |
|
7442 <p>The value to set the attribute to.</p> |
|
7443 </div> |
|
7444 |
|
7445 |
|
7446 </li> |
|
7447 |
|
7448 <li class="param"> |
|
7449 |
|
7450 <code class="param-name optional">[opts]</code> |
|
7451 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7452 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
7453 |
|
7454 |
|
7455 |
|
7456 |
|
7457 <div class="param-description"> |
|
7458 <p>Optional data providing the circumstances for the change.</p> |
|
7459 </div> |
|
7460 |
|
7461 |
|
7462 </li> |
|
7463 |
|
7464 </ul> |
|
7465 </div> |
|
7466 |
|
7467 |
|
7468 |
|
7469 <div class="returns"> |
|
7470 <h4>Returns:</h4> |
|
7471 |
|
7472 <div class="returns-description"> |
|
7473 |
|
7474 |
|
7475 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
7476 |
|
7477 A reference to the host object. |
|
7478 |
|
7479 </div> |
|
7480 </div> |
|
7481 |
|
7482 |
|
7483 |
|
7484 </div> |
|
7485 |
|
7486 |
|
7487 <div id="method__setAttr" class="method item protected inherited"> |
|
7488 <h3 class="name"><code>_setAttr</code></h3> |
|
7489 |
|
7490 |
|
7491 <div class="args"> |
|
7492 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7493 |
|
7494 <li class="arg"> |
|
7495 |
|
7496 <code>name</code> |
|
7497 |
|
7498 </li> |
|
7499 |
|
7500 <li class="arg"> |
|
7501 |
|
7502 <code>value</code> |
|
7503 |
|
7504 </li> |
|
7505 |
|
7506 <li class="arg"> |
|
7507 |
|
7508 <code class="optional">[opts]</code> |
|
7509 |
|
7510 </li> |
|
7511 |
|
7512 <li class="arg"> |
|
7513 |
|
7514 <code>force</code> |
|
7515 |
|
7516 </li> |
|
7517 |
|
7518 </ul><span class="paren">)</span> |
|
7519 </div> |
|
7520 |
|
7521 |
|
7522 |
|
7523 <span class="returns-inline"> |
|
7524 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7525 </span> |
|
7526 |
|
7527 |
|
7528 |
|
7529 |
|
7530 |
|
7531 <span class="flag protected">protected</span> |
|
7532 |
|
7533 |
|
7534 |
|
7535 |
|
7536 |
|
7537 |
|
7538 |
|
7539 <span class="flag chainable">chainable</span> |
|
7540 |
|
7541 |
|
7542 |
|
7543 |
|
7544 <div class="meta"> |
|
7545 |
|
7546 |
|
7547 <p>Inherited from |
|
7548 <a href="../classes/AttributeCore.html#method__setAttr">AttributeCore</a>: |
|
7549 |
|
7550 |
|
7551 |
|
7552 <a href="../files/attribute_js_AttributeCore.js.html#l443"><code>attribute/js/AttributeCore.js:443</code></a> |
|
7553 |
|
7554 </p> |
|
7555 |
|
7556 |
|
7557 |
|
7558 |
|
7559 |
|
7560 </div> |
|
7561 |
|
7562 <div class="description"> |
|
7563 <p>Provides the common implementation for the public set and protected _set methods.</p> |
|
7564 |
|
7565 <p>See <a href="#method_set">set</a> for argument details.</p> |
|
7566 </div> |
|
7567 |
|
7568 |
|
7569 <div class="params"> |
|
7570 <h4>Parameters:</h4> |
|
7571 |
|
7572 <ul class="params-list"> |
|
7573 |
|
7574 <li class="param"> |
|
7575 |
|
7576 <code class="param-name">name</code> |
|
7577 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7578 |
|
7579 |
|
7580 |
|
7581 |
|
7582 <div class="param-description"> |
|
7583 <p>The name of the attribute.</p> |
|
7584 </div> |
|
7585 |
|
7586 |
|
7587 </li> |
|
7588 |
|
7589 <li class="param"> |
|
7590 |
|
7591 <code class="param-name">value</code> |
|
7592 <span class="type">Any</span> |
|
7593 |
|
7594 |
|
7595 |
|
7596 |
|
7597 <div class="param-description"> |
|
7598 <p>The value to set the attribute to.</p> |
|
7599 </div> |
|
7600 |
|
7601 |
|
7602 </li> |
|
7603 |
|
7604 <li class="param"> |
|
7605 |
|
7606 <code class="param-name optional">[opts]</code> |
|
7607 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7608 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
7609 |
|
7610 |
|
7611 |
|
7612 |
|
7613 <div class="param-description"> |
|
7614 <p>Optional data providing the circumstances for the change.</p> |
|
7615 </div> |
|
7616 |
|
7617 |
|
7618 </li> |
|
7619 |
|
7620 <li class="param"> |
|
7621 |
|
7622 <code class="param-name">force</code> |
|
7623 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
7624 |
|
7625 |
|
7626 |
|
7627 |
|
7628 <div class="param-description"> |
|
7629 <p>If true, allows the caller to set values for |
|
7630 readOnly or writeOnce attributes which have already been set.</p> |
|
7631 </div> |
|
7632 |
|
7633 |
|
7634 </li> |
|
7635 |
|
7636 </ul> |
|
7637 </div> |
|
7638 |
|
7639 |
|
7640 |
|
7641 <div class="returns"> |
|
7642 <h4>Returns:</h4> |
|
7643 |
|
7644 <div class="returns-description"> |
|
7645 |
|
7646 |
|
7647 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
7648 |
|
7649 A reference to the host object. |
|
7650 |
|
7651 </div> |
|
7652 </div> |
|
7653 |
|
7654 |
|
7655 |
|
7656 </div> |
|
7657 |
|
7658 |
|
7659 <div id="method__setAttrs" class="method item protected inherited"> |
|
7660 <h3 class="name"><code>_setAttrs</code></h3> |
|
7661 |
|
7662 |
|
7663 <div class="args"> |
|
7664 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7665 |
|
7666 <li class="arg"> |
|
7667 |
|
7668 <code>attrs</code> |
|
7669 |
|
7670 </li> |
|
7671 |
|
7672 <li class="arg"> |
|
7673 |
|
7674 <code class="optional">[opts]</code> |
|
7675 |
|
7676 </li> |
|
7677 |
|
7678 </ul><span class="paren">)</span> |
|
7679 </div> |
|
7680 |
|
7681 |
|
7682 |
|
7683 <span class="returns-inline"> |
|
7684 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7685 </span> |
|
7686 |
|
7687 |
|
7688 |
|
7689 |
|
7690 |
|
7691 <span class="flag protected">protected</span> |
|
7692 |
|
7693 |
|
7694 |
|
7695 |
|
7696 |
|
7697 |
|
7698 |
|
7699 <span class="flag chainable">chainable</span> |
|
7700 |
|
7701 |
|
7702 |
|
7703 |
|
7704 <div class="meta"> |
|
7705 |
|
7706 <p>Inherited from |
|
7707 <a href="../classes/AttributeObservable.html#method__setAttrs"> |
|
7708 AttributeObservable |
|
7709 </a> |
|
7710 |
|
7711 but overwritten in |
|
7712 |
|
7713 |
|
7714 |
|
7715 <a href="../files/attribute_js_AttributeCore.js.html#l742"><code>attribute/js/AttributeCore.js:742</code></a> |
|
7716 |
|
7717 </p> |
|
7718 |
|
7719 |
|
7720 |
|
7721 |
|
7722 |
|
7723 </div> |
|
7724 |
|
7725 <div class="description"> |
|
7726 <p>Implementation behind the public setAttrs method, to set multiple attribute values.</p> |
|
7727 </div> |
|
7728 |
|
7729 |
|
7730 <div class="params"> |
|
7731 <h4>Parameters:</h4> |
|
7732 |
|
7733 <ul class="params-list"> |
|
7734 |
|
7735 <li class="param"> |
|
7736 |
|
7737 <code class="param-name">attrs</code> |
|
7738 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7739 |
|
7740 |
|
7741 |
|
7742 |
|
7743 <div class="param-description"> |
|
7744 <p>An object with attributes name/value pairs.</p> |
|
7745 </div> |
|
7746 |
|
7747 |
|
7748 </li> |
|
7749 |
|
7750 <li class="param"> |
|
7751 |
|
7752 <code class="param-name optional">[opts]</code> |
|
7753 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7754 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
7755 |
|
7756 |
|
7757 |
|
7758 |
|
7759 <div class="param-description"> |
|
7760 <p>Optional data providing the circumstances for the change</p> |
|
7761 </div> |
|
7762 |
|
7763 |
|
7764 </li> |
|
7765 |
|
7766 </ul> |
|
7767 </div> |
|
7768 |
|
7769 |
|
7770 |
|
7771 <div class="returns"> |
|
7772 <h4>Returns:</h4> |
|
7773 |
|
7774 <div class="returns-description"> |
|
7775 |
|
7776 |
|
7777 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
7778 |
|
7779 A reference to the host object. |
|
7780 |
|
7781 </div> |
|
7782 </div> |
|
7783 |
|
7784 |
|
7785 |
|
7786 </div> |
|
7787 |
|
7788 |
|
7789 <div id="method__setAttrVal" class="method item private inherited"> |
|
7790 <h3 class="name"><code>_setAttrVal</code></h3> |
|
7791 |
|
7792 |
|
7793 <div class="args"> |
|
7794 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7795 |
|
7796 <li class="arg"> |
|
7797 |
|
7798 <code>attrName</code> |
|
7799 |
|
7800 </li> |
|
7801 |
|
7802 <li class="arg"> |
|
7803 |
|
7804 <code>subAttrName</code> |
|
7805 |
|
7806 </li> |
|
7807 |
|
7808 <li class="arg"> |
|
7809 |
|
7810 <code>prevVal</code> |
|
7811 |
|
7812 </li> |
|
7813 |
|
7814 <li class="arg"> |
|
7815 |
|
7816 <code>newVal</code> |
|
7817 |
|
7818 </li> |
|
7819 |
|
7820 <li class="arg"> |
|
7821 |
|
7822 <code class="optional">[opts]</code> |
|
7823 |
|
7824 </li> |
|
7825 |
|
7826 <li class="arg"> |
|
7827 |
|
7828 <code class="optional">[attrCfg]</code> |
|
7829 |
|
7830 </li> |
|
7831 |
|
7832 </ul><span class="paren">)</span> |
|
7833 </div> |
|
7834 |
|
7835 |
|
7836 |
|
7837 <span class="returns-inline"> |
|
7838 <span class="type">Booolean</span> |
|
7839 </span> |
|
7840 |
|
7841 |
|
7842 |
|
7843 |
|
7844 |
|
7845 <span class="flag private">private</span> |
|
7846 |
|
7847 |
|
7848 |
|
7849 |
|
7850 |
|
7851 |
|
7852 |
|
7853 |
|
7854 |
|
7855 |
|
7856 <div class="meta"> |
|
7857 |
|
7858 |
|
7859 <p>Inherited from |
|
7860 <a href="../classes/AttributeCore.html#method__setAttrVal">AttributeCore</a>: |
|
7861 |
|
7862 |
|
7863 |
|
7864 <a href="../files/attribute_js_AttributeCore.js.html#l640"><code>attribute/js/AttributeCore.js:640</code></a> |
|
7865 |
|
7866 </p> |
|
7867 |
|
7868 |
|
7869 |
|
7870 |
|
7871 |
|
7872 </div> |
|
7873 |
|
7874 <div class="description"> |
|
7875 <p>Updates the stored value of the attribute in the privately held State object, |
|
7876 if validation and setter passes.</p> |
|
7877 </div> |
|
7878 |
|
7879 |
|
7880 <div class="params"> |
|
7881 <h4>Parameters:</h4> |
|
7882 |
|
7883 <ul class="params-list"> |
|
7884 |
|
7885 <li class="param"> |
|
7886 |
|
7887 <code class="param-name">attrName</code> |
|
7888 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7889 |
|
7890 |
|
7891 |
|
7892 |
|
7893 <div class="param-description"> |
|
7894 <p>The attribute name.</p> |
|
7895 </div> |
|
7896 |
|
7897 |
|
7898 </li> |
|
7899 |
|
7900 <li class="param"> |
|
7901 |
|
7902 <code class="param-name">subAttrName</code> |
|
7903 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7904 |
|
7905 |
|
7906 |
|
7907 |
|
7908 <div class="param-description"> |
|
7909 <p>The sub-attribute name, if setting a sub-attribute property ("x.y.z").</p> |
|
7910 </div> |
|
7911 |
|
7912 |
|
7913 </li> |
|
7914 |
|
7915 <li class="param"> |
|
7916 |
|
7917 <code class="param-name">prevVal</code> |
|
7918 <span class="type">Any</span> |
|
7919 |
|
7920 |
|
7921 |
|
7922 |
|
7923 <div class="param-description"> |
|
7924 <p>The currently stored value of the attribute.</p> |
|
7925 </div> |
|
7926 |
|
7927 |
|
7928 </li> |
|
7929 |
|
7930 <li class="param"> |
|
7931 |
|
7932 <code class="param-name">newVal</code> |
|
7933 <span class="type">Any</span> |
|
7934 |
|
7935 |
|
7936 |
|
7937 |
|
7938 <div class="param-description"> |
|
7939 <p>The value which is going to be stored.</p> |
|
7940 </div> |
|
7941 |
|
7942 |
|
7943 </li> |
|
7944 |
|
7945 <li class="param"> |
|
7946 |
|
7947 <code class="param-name optional">[opts]</code> |
|
7948 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7949 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
7950 |
|
7951 |
|
7952 |
|
7953 |
|
7954 <div class="param-description"> |
|
7955 <p>Optional data providing the circumstances for the change.</p> |
|
7956 </div> |
|
7957 |
|
7958 |
|
7959 </li> |
|
7960 |
|
7961 <li class="param"> |
|
7962 |
|
7963 <code class="param-name optional">[attrCfg]</code> |
|
7964 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7965 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
7966 |
|
7967 |
|
7968 |
|
7969 |
|
7970 <div class="param-description"> |
|
7971 <p>Optional config hash for the attribute. This is added for performance along the critical path, |
|
7972 where the calling method has already obtained the config from state.</p> |
|
7973 </div> |
|
7974 |
|
7975 |
|
7976 </li> |
|
7977 |
|
7978 </ul> |
|
7979 </div> |
|
7980 |
|
7981 |
|
7982 |
|
7983 <div class="returns"> |
|
7984 <h4>Returns:</h4> |
|
7985 |
|
7986 <div class="returns-description"> |
|
7987 |
|
7988 |
|
7989 <span class="type">Booolean</span>: |
|
7990 |
|
7991 true if the new attribute value was stored, false if not. |
|
7992 |
|
7993 </div> |
|
7994 </div> |
|
7995 |
|
7996 |
|
7997 |
|
7998 </div> |
|
7999 |
|
8000 |
|
8001 <div id="method__setStateVal" class="method item private inherited"> |
|
8002 <h3 class="name"><code>_setStateVal</code></h3> |
|
8003 |
|
8004 |
|
8005 <div class="args"> |
|
8006 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8007 |
|
8008 <li class="arg"> |
|
8009 |
|
8010 <code>name</code> |
|
8011 |
|
8012 </li> |
|
8013 |
|
8014 <li class="arg"> |
|
8015 |
|
8016 <code>value</code> |
|
8017 |
|
8018 </li> |
|
8019 |
|
8020 </ul><span class="paren">)</span> |
|
8021 </div> |
|
8022 |
|
8023 |
|
8024 |
|
8025 |
|
8026 |
|
8027 |
|
8028 |
|
8029 <span class="flag private">private</span> |
|
8030 |
|
8031 |
|
8032 |
|
8033 |
|
8034 |
|
8035 |
|
8036 |
|
8037 |
|
8038 |
|
8039 |
|
8040 <div class="meta"> |
|
8041 |
|
8042 |
|
8043 <p>Inherited from |
|
8044 <a href="../classes/AttributeCore.html#method__setStateVal">AttributeCore</a>: |
|
8045 |
|
8046 |
|
8047 |
|
8048 <a href="../files/attribute_js_AttributeCore.js.html#l622"><code>attribute/js/AttributeCore.js:622</code></a> |
|
8049 |
|
8050 </p> |
|
8051 |
|
8052 |
|
8053 |
|
8054 |
|
8055 |
|
8056 </div> |
|
8057 |
|
8058 <div class="description"> |
|
8059 <p>Sets the stored value for the attribute, in either the |
|
8060 internal state object, or the state proxy if it exits</p> |
|
8061 </div> |
|
8062 |
|
8063 |
|
8064 <div class="params"> |
|
8065 <h4>Parameters:</h4> |
|
8066 |
|
8067 <ul class="params-list"> |
|
8068 |
|
8069 <li class="param"> |
|
8070 |
|
8071 <code class="param-name">name</code> |
|
8072 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8073 |
|
8074 |
|
8075 |
|
8076 |
|
8077 <div class="param-description"> |
|
8078 <p>The name of the attribute</p> |
|
8079 </div> |
|
8080 |
|
8081 |
|
8082 </li> |
|
8083 |
|
8084 <li class="param"> |
|
8085 |
|
8086 <code class="param-name">value</code> |
|
8087 <span class="type">Any</span> |
|
8088 |
|
8089 |
|
8090 |
|
8091 |
|
8092 <div class="param-description"> |
|
8093 <p>The value of the attribute</p> |
|
8094 </div> |
|
8095 |
|
8096 |
|
8097 </li> |
|
8098 |
|
8099 </ul> |
|
8100 </div> |
|
8101 |
|
8102 |
|
8103 |
|
8104 |
|
8105 |
|
8106 </div> |
|
8107 |
|
8108 |
|
8109 <div id="method_addAttr" class="method item inherited"> |
|
8110 <h3 class="name"><code>addAttr</code></h3> |
|
8111 |
|
8112 |
|
8113 <div class="args"> |
|
8114 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8115 |
|
8116 <li class="arg"> |
|
8117 |
|
8118 <code>name</code> |
|
8119 |
|
8120 </li> |
|
8121 |
|
8122 <li class="arg"> |
|
8123 |
|
8124 <code>config</code> |
|
8125 |
|
8126 </li> |
|
8127 |
|
8128 <li class="arg"> |
|
8129 |
|
8130 <code>lazy</code> |
|
8131 |
|
8132 </li> |
|
8133 |
|
8134 </ul><span class="paren">)</span> |
|
8135 </div> |
|
8136 |
|
8137 |
|
8138 |
|
8139 <span class="returns-inline"> |
|
8140 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8141 </span> |
|
8142 |
|
8143 |
|
8144 |
|
8145 |
|
8146 |
|
8147 |
|
8148 |
|
8149 |
|
8150 |
|
8151 |
|
8152 |
|
8153 <span class="flag chainable">chainable</span> |
|
8154 |
|
8155 |
|
8156 |
|
8157 |
|
8158 <div class="meta"> |
|
8159 |
|
8160 |
|
8161 <p>Inherited from |
|
8162 <a href="../classes/AttributeCore.html#method_addAttr">AttributeCore</a>: |
|
8163 |
|
8164 |
|
8165 |
|
8166 <a href="../files/attribute_js_AttributeCore.js.html#l157"><code>attribute/js/AttributeCore.js:157</code></a> |
|
8167 |
|
8168 </p> |
|
8169 |
|
8170 |
|
8171 |
|
8172 |
|
8173 |
|
8174 </div> |
|
8175 |
|
8176 <div class="description"> |
|
8177 <p> |
|
8178 Adds an attribute with the provided configuration to the host object. |
|
8179 </p> |
|
8180 |
|
8181 <p> |
|
8182 The config argument object supports the following properties: |
|
8183 </p> |
|
8184 |
|
8185 <dl> |
|
8186 <dt>value <Any></dt> |
|
8187 <dd>The initial value to set on the attribute</dd> |
|
8188 |
|
8189 <dt>valueFn <Function | String></dt> |
|
8190 <dd> |
|
8191 <p>A function, which will return the initial value to set on the attribute. This is useful |
|
8192 for cases where the attribute configuration is defined statically, but needs to |
|
8193 reference the host instance ("this") to obtain an initial value. If both the value and valueFn properties are defined, |
|
8194 the value returned by the valueFn has precedence over the value property, unless it returns undefined, in which |
|
8195 case the value property is used.</p> |
|
8196 |
|
8197 <p>valueFn can also be set to a string, representing the name of the instance method to be used to retrieve the value.</p> |
|
8198 </dd> |
|
8199 |
|
8200 <dt>readOnly <boolean></dt> |
|
8201 <dd>Whether or not the attribute is read only. Attributes having readOnly set to true |
|
8202 cannot be modified by invoking the set method.</dd> |
|
8203 |
|
8204 <dt>writeOnce <boolean> or <string></dt> |
|
8205 <dd> |
|
8206 Whether or not the attribute is "write once". Attributes having writeOnce set to true, |
|
8207 can only have their values set once, be it through the default configuration, |
|
8208 constructor configuration arguments, or by invoking set. |
|
8209 <p>The writeOnce attribute can also be set to the string "initOnly", |
|
8210 in which case the attribute can only be set during initialization |
|
8211 (when used with Base, this means it can only be set during construction)</p> |
|
8212 </dd> |
|
8213 |
|
8214 <dt>setter <Function | String></dt> |
|
8215 <dd> |
|
8216 <p>The setter function used to massage or normalize the value passed to the set method for the attribute. |
|
8217 The value returned by the setter will be the final stored value. Returning |
|
8218 <a href="#property_Attribute.INVALID_VALUE">Attribute.INVALID_VALUE</a>, from the setter will prevent |
|
8219 the value from being stored. |
|
8220 </p> |
|
8221 |
|
8222 <p>setter can also be set to a string, representing the name of the instance method to be used as the setter function.</p> |
|
8223 </dd> |
|
8224 |
|
8225 <dt>getter <Function | String></dt> |
|
8226 <dd> |
|
8227 <p> |
|
8228 The getter function used to massage or normalize the value returned by the get method for the attribute. |
|
8229 The value returned by the getter function is the value which will be returned to the user when they |
|
8230 invoke get. |
|
8231 </p> |
|
8232 |
|
8233 <p>getter can also be set to a string, representing the name of the instance method to be used as the getter function.</p> |
|
8234 </dd> |
|
8235 |
|
8236 <dt>validator <Function | String></dt> |
|
8237 <dd> |
|
8238 <p> |
|
8239 The validator function invoked prior to setting the stored value. Returning |
|
8240 false from the validator function will prevent the value from being stored. |
|
8241 </p> |
|
8242 |
|
8243 <p>validator can also be set to a string, representing the name of the instance method to be used as the validator function.</p> |
|
8244 </dd> |
|
8245 |
|
8246 <dt>lazyAdd <boolean></dt> |
|
8247 <dd>Whether or not to delay initialization of the attribute until the first call to get/set it. |
|
8248 This flag can be used to over-ride lazy initialization on a per attribute basis, when adding multiple attributes through |
|
8249 the <a href="#method_addAttrs">addAttrs</a> method.</dd> |
|
8250 |
|
8251 </dl> |
|
8252 |
|
8253 <p>The setter, getter and validator are invoked with the value and name passed in as the first and second arguments, and with |
|
8254 the context ("this") set to the host object.</p> |
|
8255 |
|
8256 <p>Configuration properties outside of the list mentioned above are considered private properties used internally by attribute, |
|
8257 and are not intended for public use.</p> |
|
8258 </div> |
|
8259 |
|
8260 |
|
8261 <div class="params"> |
|
8262 <h4>Parameters:</h4> |
|
8263 |
|
8264 <ul class="params-list"> |
|
8265 |
|
8266 <li class="param"> |
|
8267 |
|
8268 <code class="param-name">name</code> |
|
8269 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8270 |
|
8271 |
|
8272 |
|
8273 |
|
8274 <div class="param-description"> |
|
8275 <p>The name of the attribute.</p> |
|
8276 </div> |
|
8277 |
|
8278 |
|
8279 </li> |
|
8280 |
|
8281 <li class="param"> |
|
8282 |
|
8283 <code class="param-name">config</code> |
|
8284 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8285 |
|
8286 |
|
8287 |
|
8288 |
|
8289 <div class="param-description"> |
|
8290 <p>An object with attribute configuration property/value pairs, specifying the configuration for the attribute.</p> |
|
8291 |
|
8292 <p> |
|
8293 <strong>NOTE:</strong> The configuration object is modified when adding an attribute, so if you need |
|
8294 to protect the original values, you will need to merge the object. |
|
8295 </p> |
|
8296 </div> |
|
8297 |
|
8298 |
|
8299 </li> |
|
8300 |
|
8301 <li class="param"> |
|
8302 |
|
8303 <code class="param-name">lazy</code> |
|
8304 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
8305 |
|
8306 |
|
8307 |
|
8308 |
|
8309 <div class="param-description"> |
|
8310 <p>(optional) Whether or not to add this attribute lazily (on the first call to get/set).</p> |
|
8311 </div> |
|
8312 |
|
8313 |
|
8314 </li> |
|
8315 |
|
8316 </ul> |
|
8317 </div> |
|
8318 |
|
8319 |
|
8320 |
|
8321 <div class="returns"> |
|
8322 <h4>Returns:</h4> |
|
8323 |
|
8324 <div class="returns-description"> |
|
8325 |
|
8326 |
|
8327 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
8328 |
|
8329 A reference to the host object. |
|
8330 |
|
8331 </div> |
|
8332 </div> |
|
8333 |
|
8334 |
|
8335 |
|
8336 </div> |
|
8337 |
|
8338 |
|
8339 <div id="method_addAttrs" class="method item inherited"> |
|
8340 <h3 class="name"><code>addAttrs</code></h3> |
|
8341 |
|
8342 |
|
8343 <div class="args"> |
|
8344 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8345 |
|
8346 <li class="arg"> |
|
8347 |
|
8348 <code>cfgs</code> |
|
8349 |
|
8350 </li> |
|
8351 |
|
8352 <li class="arg"> |
|
8353 |
|
8354 <code>values</code> |
|
8355 |
|
8356 </li> |
|
8357 |
|
8358 <li class="arg"> |
|
8359 |
|
8360 <code>lazy</code> |
|
8361 |
|
8362 </li> |
|
8363 |
|
8364 </ul><span class="paren">)</span> |
|
8365 </div> |
|
8366 |
|
8367 |
|
8368 |
|
8369 <span class="returns-inline"> |
|
8370 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8371 </span> |
|
8372 |
|
8373 |
|
8374 |
|
8375 |
|
8376 |
|
8377 |
|
8378 |
|
8379 |
|
8380 |
|
8381 |
|
8382 |
|
8383 <span class="flag chainable">chainable</span> |
|
8384 |
|
8385 |
|
8386 |
|
8387 |
|
8388 <div class="meta"> |
|
8389 |
|
8390 |
|
8391 <p>Inherited from |
|
8392 <a href="../classes/AttributeCore.html#method_addAttrs">AttributeCore</a>: |
|
8393 |
|
8394 |
|
8395 |
|
8396 <a href="../files/attribute_js_AttributeCore.js.html#l805"><code>attribute/js/AttributeCore.js:805</code></a> |
|
8397 |
|
8398 </p> |
|
8399 |
|
8400 |
|
8401 |
|
8402 |
|
8403 |
|
8404 </div> |
|
8405 |
|
8406 <div class="description"> |
|
8407 <p>Configures a group of attributes, and sets initial values.</p> |
|
8408 |
|
8409 <p> |
|
8410 <strong>NOTE:</strong> This method does not isolate the configuration object by merging/cloning. |
|
8411 The caller is responsible for merging/cloning the configuration object if required. |
|
8412 </p> |
|
8413 </div> |
|
8414 |
|
8415 |
|
8416 <div class="params"> |
|
8417 <h4>Parameters:</h4> |
|
8418 |
|
8419 <ul class="params-list"> |
|
8420 |
|
8421 <li class="param"> |
|
8422 |
|
8423 <code class="param-name">cfgs</code> |
|
8424 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8425 |
|
8426 |
|
8427 |
|
8428 |
|
8429 <div class="param-description"> |
|
8430 <p>An object with attribute name/configuration pairs.</p> |
|
8431 </div> |
|
8432 |
|
8433 |
|
8434 </li> |
|
8435 |
|
8436 <li class="param"> |
|
8437 |
|
8438 <code class="param-name">values</code> |
|
8439 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8440 |
|
8441 |
|
8442 |
|
8443 |
|
8444 <div class="param-description"> |
|
8445 <p>An object with attribute name/value pairs, defining the initial values to apply. |
|
8446 Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p> |
|
8447 </div> |
|
8448 |
|
8449 |
|
8450 </li> |
|
8451 |
|
8452 <li class="param"> |
|
8453 |
|
8454 <code class="param-name">lazy</code> |
|
8455 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
8456 |
|
8457 |
|
8458 |
|
8459 |
|
8460 <div class="param-description"> |
|
8461 <p>Whether or not to delay the intialization of these attributes until the first call to get/set. |
|
8462 Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration. |
|
8463 See <a href="#method_addAttr">addAttr</a>.</p> |
|
8464 </div> |
|
8465 |
|
8466 |
|
8467 </li> |
|
8468 |
|
8469 </ul> |
|
8470 </div> |
|
8471 |
|
8472 |
|
8473 |
|
8474 <div class="returns"> |
|
8475 <h4>Returns:</h4> |
|
8476 |
|
8477 <div class="returns-description"> |
|
8478 |
|
8479 |
|
8480 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
8481 |
|
8482 A reference to the host object. |
|
8483 |
|
8484 </div> |
|
8485 </div> |
|
8486 |
|
8487 |
|
8488 |
|
8489 </div> |
|
8490 |
|
8491 |
|
8492 <div id="method_addTarget" class="method item inherited"> |
|
8493 <h3 class="name"><code>addTarget</code></h3> |
|
8494 |
|
8495 |
|
8496 <div class="args"> |
|
8497 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8498 |
|
8499 <li class="arg"> |
|
8500 |
|
8501 <code>o</code> |
|
8502 |
|
8503 </li> |
|
8504 |
|
8505 </ul><span class="paren">)</span> |
|
8506 </div> |
|
8507 |
|
8508 |
|
8509 |
|
8510 |
|
8511 |
|
8512 |
|
8513 |
|
8514 |
|
8515 |
|
8516 |
|
8517 |
|
8518 |
|
8519 |
|
8520 |
|
8521 |
|
8522 |
|
8523 <div class="meta"> |
|
8524 |
|
8525 |
|
8526 <p>Inherited from |
|
8527 <a href="../classes/EventTarget.html#method_addTarget">EventTarget</a>: |
|
8528 |
|
8529 |
|
8530 |
|
8531 <a href="../files/event-custom_js_event-facade.js.html#l455"><code>event-custom/js/event-facade.js:455</code></a> |
|
8532 |
|
8533 </p> |
|
8534 |
|
8535 |
|
8536 |
|
8537 |
|
8538 |
|
8539 </div> |
|
8540 |
|
8541 <div class="description"> |
|
8542 <p>Registers another EventTarget as a bubble target. Bubble order |
|
8543 is determined by the order registered. Multiple targets can |
|
8544 be specified.</p> |
|
8545 |
|
8546 <p>Events can only bubble if emitFacade is true.</p> |
|
8547 |
|
8548 <p>Included in the event-custom-complex submodule.</p> |
|
8549 </div> |
|
8550 |
|
8551 |
|
8552 <div class="params"> |
|
8553 <h4>Parameters:</h4> |
|
8554 |
|
8555 <ul class="params-list"> |
|
8556 |
|
8557 <li class="param"> |
|
8558 |
|
8559 <code class="param-name">o</code> |
|
8560 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
8561 |
|
8562 |
|
8563 |
|
8564 |
|
8565 <div class="param-description"> |
|
8566 <p>the target to add</p> |
|
8567 </div> |
|
8568 |
|
8569 |
|
8570 </li> |
|
8571 |
|
8572 </ul> |
|
8573 </div> |
|
8574 |
|
8575 |
|
8576 |
|
8577 |
|
8578 |
|
8579 </div> |
|
8580 |
|
8581 |
|
8582 <div id="method_after" class="method item inherited"> |
|
8583 <h3 class="name"><code>after</code></h3> |
|
8584 |
|
8585 |
|
8586 <div class="args"> |
|
8587 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8588 |
|
8589 <li class="arg"> |
|
8590 |
|
8591 <code>type</code> |
|
8592 |
|
8593 </li> |
|
8594 |
|
8595 <li class="arg"> |
|
8596 |
|
8597 <code>fn</code> |
|
8598 |
|
8599 </li> |
|
8600 |
|
8601 <li class="arg"> |
|
8602 |
|
8603 <code class="optional">[context]</code> |
|
8604 |
|
8605 </li> |
|
8606 |
|
8607 <li class="arg"> |
|
8608 |
|
8609 <code class="optional">[arg*]</code> |
|
8610 |
|
8611 </li> |
|
8612 |
|
8613 </ul><span class="paren">)</span> |
|
8614 </div> |
|
8615 |
|
8616 |
|
8617 |
|
8618 <span class="returns-inline"> |
|
8619 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
8620 </span> |
|
8621 |
|
8622 |
|
8623 |
|
8624 |
|
8625 |
|
8626 |
|
8627 |
|
8628 |
|
8629 |
|
8630 |
|
8631 |
|
8632 |
|
8633 |
|
8634 |
|
8635 <div class="meta"> |
|
8636 |
|
8637 |
|
8638 <p>Inherited from |
|
8639 <a href="../classes/EventTarget.html#method_after">EventTarget</a>: |
|
8640 |
|
8641 |
|
8642 |
|
8643 <a href="../files/event-custom_js_event-target.js.html#l833"><code>event-custom/js/event-target.js:833</code></a> |
|
8644 |
|
8645 </p> |
|
8646 |
|
8647 |
|
8648 |
|
8649 |
|
8650 |
|
8651 </div> |
|
8652 |
|
8653 <div class="description"> |
|
8654 <p>Subscribe to a custom event hosted by this object. The |
|
8655 supplied callback will execute after any listeners add |
|
8656 via the subscribe method, and after the default function, |
|
8657 if configured for the event, has executed.</p> |
|
8658 </div> |
|
8659 |
|
8660 |
|
8661 <div class="params"> |
|
8662 <h4>Parameters:</h4> |
|
8663 |
|
8664 <ul class="params-list"> |
|
8665 |
|
8666 <li class="param"> |
|
8667 |
|
8668 <code class="param-name">type</code> |
|
8669 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8670 |
|
8671 |
|
8672 |
|
8673 |
|
8674 <div class="param-description"> |
|
8675 <p>The name of the event</p> |
|
8676 </div> |
|
8677 |
|
8678 |
|
8679 </li> |
|
8680 |
|
8681 <li class="param"> |
|
8682 |
|
8683 <code class="param-name">fn</code> |
|
8684 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
8685 |
|
8686 |
|
8687 |
|
8688 |
|
8689 <div class="param-description"> |
|
8690 <p>The callback to execute in response to the event</p> |
|
8691 </div> |
|
8692 |
|
8693 |
|
8694 </li> |
|
8695 |
|
8696 <li class="param"> |
|
8697 |
|
8698 <code class="param-name optional">[context]</code> |
|
8699 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8700 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
8701 |
|
8702 |
|
8703 |
|
8704 |
|
8705 <div class="param-description"> |
|
8706 <p>Override <code>this</code> object in callback</p> |
|
8707 </div> |
|
8708 |
|
8709 |
|
8710 </li> |
|
8711 |
|
8712 <li class="param"> |
|
8713 |
|
8714 <code class="param-name optional">[arg*]</code> |
|
8715 <span class="type">Any</span> |
|
8716 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
8717 |
|
8718 |
|
8719 |
|
8720 |
|
8721 <div class="param-description"> |
|
8722 <p>0..n additional arguments to supply to the subscriber</p> |
|
8723 </div> |
|
8724 |
|
8725 |
|
8726 </li> |
|
8727 |
|
8728 </ul> |
|
8729 </div> |
|
8730 |
|
8731 |
|
8732 |
|
8733 <div class="returns"> |
|
8734 <h4>Returns:</h4> |
|
8735 |
|
8736 <div class="returns-description"> |
|
8737 |
|
8738 |
|
8739 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
8740 |
|
8741 A subscription handle capable of detaching the |
|
8742 subscription |
|
8743 |
|
8744 </div> |
|
8745 </div> |
|
8746 |
|
8747 |
|
8748 |
|
8749 </div> |
|
8750 |
|
8751 |
|
8752 <div id="method_attachEvents" class="method item inherited"> |
|
8753 <h3 class="name"><code>attachEvents</code></h3> |
|
8754 |
|
8755 |
|
8756 <div class="args"> |
|
8757 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8758 |
|
8759 <li class="arg"> |
|
8760 |
|
8761 <code class="optional">[events]</code> |
|
8762 |
|
8763 </li> |
|
8764 |
|
8765 </ul><span class="paren">)</span> |
|
8766 </div> |
|
8767 |
|
8768 |
|
8769 |
|
8770 |
|
8771 |
|
8772 |
|
8773 |
|
8774 |
|
8775 |
|
8776 |
|
8777 |
|
8778 |
|
8779 |
|
8780 <span class="flag chainable">chainable</span> |
|
8781 |
|
8782 |
|
8783 |
|
8784 |
|
8785 <div class="meta"> |
|
8786 |
|
8787 |
|
8788 <p>Inherited from |
|
8789 <a href="../classes/View.html#method_attachEvents">View</a>: |
|
8790 |
|
8791 |
|
8792 |
|
8793 <a href="../files/app_js_view.js.html#l181"><code>app/js/view.js:181</code></a> |
|
8794 |
|
8795 </p> |
|
8796 |
|
8797 |
|
8798 |
|
8799 |
|
8800 |
|
8801 </div> |
|
8802 |
|
8803 <div class="description"> |
|
8804 <p>Attaches delegated event handlers to this view's container element. This |
|
8805 method is called internally to subscribe to events configured in the |
|
8806 <code>events</code> attribute when the view is initialized.</p> |
|
8807 |
|
8808 <p>You may override this method to customize the event attaching logic.</p> |
|
8809 </div> |
|
8810 |
|
8811 |
|
8812 <div class="params"> |
|
8813 <h4>Parameters:</h4> |
|
8814 |
|
8815 <ul class="params-list"> |
|
8816 |
|
8817 <li class="param"> |
|
8818 |
|
8819 <code class="param-name optional">[events]</code> |
|
8820 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8821 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
8822 |
|
8823 |
|
8824 |
|
8825 |
|
8826 <div class="param-description"> |
|
8827 <p>Hash of events to attach. See the docs for the |
|
8828 <code>events</code> attribute for details on the format. If not specified, this |
|
8829 view's <code>events</code> property will be used.</p> |
|
8830 </div> |
|
8831 |
|
8832 |
|
8833 </li> |
|
8834 |
|
8835 </ul> |
|
8836 </div> |
|
8837 |
|
8838 |
|
8839 |
|
8840 |
|
8841 |
|
8842 </div> |
|
8843 |
|
8844 |
|
8845 <div id="method_attrAdded" class="method item inherited"> |
|
8846 <h3 class="name"><code>attrAdded</code></h3> |
|
8847 |
|
8848 |
|
8849 <div class="args"> |
|
8850 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8851 |
|
8852 <li class="arg"> |
|
8853 |
|
8854 <code>name</code> |
|
8855 |
|
8856 </li> |
|
8857 |
|
8858 </ul><span class="paren">)</span> |
|
8859 </div> |
|
8860 |
|
8861 |
|
8862 |
|
8863 <span class="returns-inline"> |
|
8864 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
8865 </span> |
|
8866 |
|
8867 |
|
8868 |
|
8869 |
|
8870 |
|
8871 |
|
8872 |
|
8873 |
|
8874 |
|
8875 |
|
8876 |
|
8877 |
|
8878 |
|
8879 |
|
8880 <div class="meta"> |
|
8881 |
|
8882 |
|
8883 <p>Inherited from |
|
8884 <a href="../classes/AttributeCore.html#method_attrAdded">AttributeCore</a>: |
|
8885 |
|
8886 |
|
8887 |
|
8888 <a href="../files/attribute_js_AttributeCore.js.html#l341"><code>attribute/js/AttributeCore.js:341</code></a> |
|
8889 |
|
8890 </p> |
|
8891 |
|
8892 |
|
8893 |
|
8894 |
|
8895 |
|
8896 </div> |
|
8897 |
|
8898 <div class="description"> |
|
8899 <p>Checks if the given attribute has been added to the host</p> |
|
8900 </div> |
|
8901 |
|
8902 |
|
8903 <div class="params"> |
|
8904 <h4>Parameters:</h4> |
|
8905 |
|
8906 <ul class="params-list"> |
|
8907 |
|
8908 <li class="param"> |
|
8909 |
|
8910 <code class="param-name">name</code> |
|
8911 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8912 |
|
8913 |
|
8914 |
|
8915 |
|
8916 <div class="param-description"> |
|
8917 <p>The name of the attribute to check.</p> |
|
8918 </div> |
|
8919 |
|
8920 |
|
8921 </li> |
|
8922 |
|
8923 </ul> |
|
8924 </div> |
|
8925 |
|
8926 |
|
8927 |
|
8928 <div class="returns"> |
|
8929 <h4>Returns:</h4> |
|
8930 |
|
8931 <div class="returns-description"> |
|
8932 |
|
8933 |
|
8934 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
8935 |
|
8936 true if an attribute with the given name has been added, false if it hasn't. |
|
8937 This method will return true for lazily added attributes. |
|
8938 |
|
8939 </div> |
|
8940 </div> |
|
8941 |
|
8942 |
|
8943 |
|
8944 </div> |
|
8945 |
|
8946 |
|
8947 <div id="method_before" class="method item inherited"> |
|
8948 <h3 class="name"><code>before</code></h3> |
|
8949 |
|
8950 |
|
8951 <span class="paren">()</span> |
|
8952 |
|
8953 |
|
8954 |
|
8955 <span class="returns-inline"> |
|
8956 <span class="type"></span> |
|
8957 </span> |
|
8958 |
|
8959 |
|
8960 |
|
8961 |
|
8962 |
|
8963 |
|
8964 |
|
8965 |
|
8966 |
|
8967 |
|
8968 |
|
8969 |
|
8970 |
|
8971 |
|
8972 <div class="meta"> |
|
8973 |
|
8974 |
|
8975 <p>Inherited from |
|
8976 <a href="../classes/EventTarget.html#method_before">EventTarget</a>: |
|
8977 |
|
8978 |
|
8979 |
|
8980 <a href="../files/event-custom_js_event-target.js.html#l870"><code>event-custom/js/event-target.js:870</code></a> |
|
8981 |
|
8982 </p> |
|
8983 |
|
8984 |
|
8985 |
|
8986 |
|
8987 |
|
8988 </div> |
|
8989 |
|
8990 <div class="description"> |
|
8991 <p>Executes the callback before a DOM event, custom event |
|
8992 or method. If the first argument is a function, it |
|
8993 is assumed the target is a method. For DOM and custom |
|
8994 events, this is an alias for Y.on.</p> |
|
8995 |
|
8996 <p>For DOM and custom events: |
|
8997 type, callback, context, 0-n arguments</p> |
|
8998 |
|
8999 <p>For methods: |
|
9000 callback, object (method host), methodName, context, 0-n arguments</p> |
|
9001 </div> |
|
9002 |
|
9003 |
|
9004 |
|
9005 |
|
9006 <div class="returns"> |
|
9007 <h4>Returns:</h4> |
|
9008 |
|
9009 <div class="returns-description"> |
|
9010 |
|
9011 |
|
9012 detach handle |
|
9013 |
|
9014 </div> |
|
9015 </div> |
|
9016 |
|
9017 |
|
9018 |
|
9019 </div> |
|
9020 |
|
9021 |
|
9022 <div id="method_bindUI" class="method item protected"> |
|
9023 <h3 class="name"><code>bindUI</code></h3> |
|
9024 |
|
9025 |
|
9026 <span class="paren">()</span> |
|
9027 |
|
9028 |
|
9029 |
|
9030 |
|
9031 |
|
9032 |
|
9033 |
|
9034 <span class="flag protected">protected</span> |
|
9035 |
|
9036 |
|
9037 |
|
9038 |
|
9039 |
|
9040 |
|
9041 |
|
9042 |
|
9043 |
|
9044 |
|
9045 <div class="meta"> |
|
9046 |
|
9047 |
|
9048 |
|
9049 <p> |
|
9050 |
|
9051 Defined in |
|
9052 |
|
9053 |
|
9054 |
|
9055 |
|
9056 <a href="../files/datatable_js_body.js.html#l585"><code>datatable/js/body.js:585</code></a> |
|
9057 |
|
9058 </p> |
|
9059 |
|
9060 |
|
9061 |
|
9062 |
|
9063 |
|
9064 <p>Available since 3.5.0</p> |
|
9065 |
|
9066 </div> |
|
9067 |
|
9068 <div class="description"> |
|
9069 <p>Binds event subscriptions from the UI and the host (if assigned).</p> |
|
9070 </div> |
|
9071 |
|
9072 |
|
9073 |
|
9074 |
|
9075 |
|
9076 |
|
9077 </div> |
|
9078 |
|
9079 |
|
9080 <div id="method_bubble" class="method item inherited"> |
|
9081 <h3 class="name"><code>bubble</code></h3> |
|
9082 |
|
9083 |
|
9084 <div class="args"> |
|
9085 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9086 |
|
9087 <li class="arg"> |
|
9088 |
|
9089 <code>evt</code> |
|
9090 |
|
9091 </li> |
|
9092 |
|
9093 </ul><span class="paren">)</span> |
|
9094 </div> |
|
9095 |
|
9096 |
|
9097 |
|
9098 <span class="returns-inline"> |
|
9099 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
9100 </span> |
|
9101 |
|
9102 |
|
9103 |
|
9104 |
|
9105 |
|
9106 |
|
9107 |
|
9108 |
|
9109 |
|
9110 |
|
9111 |
|
9112 |
|
9113 |
|
9114 |
|
9115 <div class="meta"> |
|
9116 |
|
9117 |
|
9118 <p>Inherited from |
|
9119 <a href="../classes/EventTarget.html#method_bubble">EventTarget</a>: |
|
9120 |
|
9121 |
|
9122 |
|
9123 <a href="../files/event-custom_js_event-facade.js.html#l507"><code>event-custom/js/event-facade.js:507</code></a> |
|
9124 |
|
9125 </p> |
|
9126 |
|
9127 |
|
9128 |
|
9129 |
|
9130 |
|
9131 </div> |
|
9132 |
|
9133 <div class="description"> |
|
9134 <p>Propagate an event. Requires the event-custom-complex module.</p> |
|
9135 </div> |
|
9136 |
|
9137 |
|
9138 <div class="params"> |
|
9139 <h4>Parameters:</h4> |
|
9140 |
|
9141 <ul class="params-list"> |
|
9142 |
|
9143 <li class="param"> |
|
9144 |
|
9145 <code class="param-name">evt</code> |
|
9146 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
9147 |
|
9148 |
|
9149 |
|
9150 |
|
9151 <div class="param-description"> |
|
9152 <p>the custom event to propagate</p> |
|
9153 </div> |
|
9154 |
|
9155 |
|
9156 </li> |
|
9157 |
|
9158 </ul> |
|
9159 </div> |
|
9160 |
|
9161 |
|
9162 |
|
9163 <div class="returns"> |
|
9164 <h4>Returns:</h4> |
|
9165 |
|
9166 <div class="returns-description"> |
|
9167 |
|
9168 |
|
9169 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
9170 |
|
9171 the aggregated return value from Event.Custom.fire |
|
9172 |
|
9173 </div> |
|
9174 </div> |
|
9175 |
|
9176 |
|
9177 |
|
9178 </div> |
|
9179 |
|
9180 |
|
9181 <div id="method_create" class="method item inherited"> |
|
9182 <h3 class="name"><code>create</code></h3> |
|
9183 |
|
9184 |
|
9185 <div class="args"> |
|
9186 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9187 |
|
9188 <li class="arg"> |
|
9189 |
|
9190 <code class="optional">[container]</code> |
|
9191 |
|
9192 </li> |
|
9193 |
|
9194 </ul><span class="paren">)</span> |
|
9195 </div> |
|
9196 |
|
9197 |
|
9198 |
|
9199 <span class="returns-inline"> |
|
9200 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
9201 </span> |
|
9202 |
|
9203 |
|
9204 |
|
9205 |
|
9206 |
|
9207 |
|
9208 |
|
9209 |
|
9210 |
|
9211 |
|
9212 |
|
9213 |
|
9214 |
|
9215 |
|
9216 <div class="meta"> |
|
9217 |
|
9218 |
|
9219 <p>Inherited from |
|
9220 <a href="../classes/View.html#method_create">View</a>: |
|
9221 |
|
9222 |
|
9223 |
|
9224 <a href="../files/app_js_view.js.html#l233"><code>app/js/view.js:233</code></a> |
|
9225 |
|
9226 </p> |
|
9227 |
|
9228 |
|
9229 |
|
9230 |
|
9231 |
|
9232 </div> |
|
9233 |
|
9234 <div class="description"> |
|
9235 <p>Creates and returns a container node for this view.</p> |
|
9236 |
|
9237 <p>By default, the container is created from the HTML template specified in the |
|
9238 <code>containerTemplate</code> property, and is <em>not</em> added to the DOM automatically.</p> |
|
9239 |
|
9240 <p>You may override this method to customize how the container node is created |
|
9241 (such as by rendering it from a custom template format). Your method must |
|
9242 return a <code>Y.Node</code> instance.</p> |
|
9243 </div> |
|
9244 |
|
9245 |
|
9246 <div class="params"> |
|
9247 <h4>Parameters:</h4> |
|
9248 |
|
9249 <ul class="params-list"> |
|
9250 |
|
9251 <li class="param"> |
|
9252 |
|
9253 <code class="param-name optional">[container]</code> |
|
9254 <span class="type"><a href="https://developer.mozilla.org/en/Document_Object_Model_(DOM)/HTMLElement" class="crosslink external" target="_blank">HTMLElement</a> | <a href="../classes/Node.html" class="crosslink">Node</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9255 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9256 |
|
9257 |
|
9258 |
|
9259 |
|
9260 <div class="param-description"> |
|
9261 <p>Selector string, <code>Y.Node</code> |
|
9262 instance, or DOM element to use at the container node.</p> |
|
9263 </div> |
|
9264 |
|
9265 |
|
9266 </li> |
|
9267 |
|
9268 </ul> |
|
9269 </div> |
|
9270 |
|
9271 |
|
9272 |
|
9273 <div class="returns"> |
|
9274 <h4>Returns:</h4> |
|
9275 |
|
9276 <div class="returns-description"> |
|
9277 |
|
9278 |
|
9279 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>: |
|
9280 |
|
9281 Node instance of the created container node. |
|
9282 |
|
9283 </div> |
|
9284 </div> |
|
9285 |
|
9286 |
|
9287 |
|
9288 </div> |
|
9289 |
|
9290 |
|
9291 <div id="method_destroy" class="method item inherited"> |
|
9292 <h3 class="name"><code>destroy</code></h3> |
|
9293 |
|
9294 |
|
9295 <div class="args"> |
|
9296 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9297 |
|
9298 <li class="arg"> |
|
9299 |
|
9300 <code class="optional">[options]</code> |
|
9301 |
|
9302 </li> |
|
9303 |
|
9304 </ul><span class="paren">)</span> |
|
9305 </div> |
|
9306 |
|
9307 |
|
9308 |
|
9309 |
|
9310 |
|
9311 |
|
9312 |
|
9313 |
|
9314 |
|
9315 |
|
9316 |
|
9317 |
|
9318 |
|
9319 <span class="flag chainable">chainable</span> |
|
9320 |
|
9321 |
|
9322 |
|
9323 |
|
9324 <div class="meta"> |
|
9325 |
|
9326 <p>Inherited from |
|
9327 <a href="../classes/BaseObservable.html#method_destroy"> |
|
9328 BaseObservable |
|
9329 </a> |
|
9330 |
|
9331 but overwritten in |
|
9332 |
|
9333 |
|
9334 |
|
9335 <a href="../files/app_js_view.js.html#l146"><code>app/js/view.js:146</code></a> |
|
9336 |
|
9337 </p> |
|
9338 |
|
9339 |
|
9340 |
|
9341 |
|
9342 |
|
9343 </div> |
|
9344 |
|
9345 <div class="description"> |
|
9346 <p>Destroys this View, detaching any DOM events and optionally also destroying |
|
9347 its container node.</p> |
|
9348 |
|
9349 <p>By default, the container node will not be destroyed. Pass an <em>options</em> |
|
9350 object with a truthy <code>remove</code> property to destroy the container as well.</p> |
|
9351 </div> |
|
9352 |
|
9353 |
|
9354 <div class="params"> |
|
9355 <h4>Parameters:</h4> |
|
9356 |
|
9357 <ul class="params-list"> |
|
9358 |
|
9359 <li class="param"> |
|
9360 |
|
9361 <code class="param-name optional">[options]</code> |
|
9362 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9363 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9364 |
|
9365 |
|
9366 |
|
9367 |
|
9368 <div class="param-description"> |
|
9369 <p>Options.</p> |
|
9370 </div> |
|
9371 |
|
9372 |
|
9373 <ul class="params-list"> |
|
9374 |
|
9375 <li class="param"> |
|
9376 |
|
9377 <code class="param-name optional">[remove=false]</code> |
|
9378 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
9379 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9380 |
|
9381 |
|
9382 <div class="param-description"> |
|
9383 <p>If <code>true</code>, this View's container |
|
9384 will be removed from the DOM and destroyed as well.</p> |
|
9385 </div> |
|
9386 |
|
9387 |
|
9388 </li> |
|
9389 |
|
9390 </ul> |
|
9391 |
|
9392 </li> |
|
9393 |
|
9394 </ul> |
|
9395 </div> |
|
9396 |
|
9397 |
|
9398 |
|
9399 |
|
9400 |
|
9401 </div> |
|
9402 |
|
9403 |
|
9404 <div id="method_destructor" class="method item protected"> |
|
9405 <h3 class="name"><code>destructor</code></h3> |
|
9406 |
|
9407 |
|
9408 <span class="paren">()</span> |
|
9409 |
|
9410 |
|
9411 |
|
9412 |
|
9413 |
|
9414 |
|
9415 |
|
9416 <span class="flag protected">protected</span> |
|
9417 |
|
9418 |
|
9419 |
|
9420 |
|
9421 |
|
9422 |
|
9423 |
|
9424 |
|
9425 |
|
9426 |
|
9427 <div class="meta"> |
|
9428 |
|
9429 |
|
9430 |
|
9431 <p> |
|
9432 |
|
9433 Defined in |
|
9434 |
|
9435 |
|
9436 |
|
9437 |
|
9438 <a href="../files/datatable_js_body.js.html#l810"><code>datatable/js/body.js:810</code></a> |
|
9439 |
|
9440 </p> |
|
9441 |
|
9442 |
|
9443 |
|
9444 |
|
9445 |
|
9446 <p>Available since 3.5.0</p> |
|
9447 |
|
9448 </div> |
|
9449 |
|
9450 <div class="description"> |
|
9451 <p>Destroys the instance.</p> |
|
9452 </div> |
|
9453 |
|
9454 |
|
9455 |
|
9456 |
|
9457 |
|
9458 |
|
9459 </div> |
|
9460 |
|
9461 |
|
9462 <div id="method_detach" class="method item inherited"> |
|
9463 <h3 class="name"><code>detach</code></h3> |
|
9464 |
|
9465 |
|
9466 <div class="args"> |
|
9467 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9468 |
|
9469 <li class="arg"> |
|
9470 |
|
9471 <code>type</code> |
|
9472 |
|
9473 </li> |
|
9474 |
|
9475 <li class="arg"> |
|
9476 |
|
9477 <code>fn</code> |
|
9478 |
|
9479 </li> |
|
9480 |
|
9481 <li class="arg"> |
|
9482 |
|
9483 <code>context</code> |
|
9484 |
|
9485 </li> |
|
9486 |
|
9487 </ul><span class="paren">)</span> |
|
9488 </div> |
|
9489 |
|
9490 |
|
9491 |
|
9492 <span class="returns-inline"> |
|
9493 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
9494 </span> |
|
9495 |
|
9496 |
|
9497 |
|
9498 |
|
9499 |
|
9500 |
|
9501 |
|
9502 |
|
9503 |
|
9504 |
|
9505 |
|
9506 |
|
9507 |
|
9508 |
|
9509 <div class="meta"> |
|
9510 |
|
9511 |
|
9512 <p>Inherited from |
|
9513 <a href="../classes/EventTarget.html#method_detach">EventTarget</a>: |
|
9514 |
|
9515 |
|
9516 |
|
9517 <a href="../files/event-custom_js_event-target.js.html#l346"><code>event-custom/js/event-target.js:346</code></a> |
|
9518 |
|
9519 </p> |
|
9520 |
|
9521 |
|
9522 |
|
9523 |
|
9524 |
|
9525 </div> |
|
9526 |
|
9527 <div class="description"> |
|
9528 <p>Detach one or more listeners the from the specified event</p> |
|
9529 </div> |
|
9530 |
|
9531 |
|
9532 <div class="params"> |
|
9533 <h4>Parameters:</h4> |
|
9534 |
|
9535 <ul class="params-list"> |
|
9536 |
|
9537 <li class="param"> |
|
9538 |
|
9539 <code class="param-name">type</code> |
|
9540 <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> |
|
9541 |
|
9542 |
|
9543 |
|
9544 |
|
9545 <div class="param-description"> |
|
9546 <p>Either the handle to the subscriber or the |
|
9547 type of event. If the type |
|
9548 is not specified, it will attempt to remove |
|
9549 the listener from all hosted events.</p> |
|
9550 </div> |
|
9551 |
|
9552 |
|
9553 </li> |
|
9554 |
|
9555 <li class="param"> |
|
9556 |
|
9557 <code class="param-name">fn</code> |
|
9558 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
9559 |
|
9560 |
|
9561 |
|
9562 |
|
9563 <div class="param-description"> |
|
9564 <p>The subscribed function to unsubscribe, if not |
|
9565 supplied, all subscribers will be removed.</p> |
|
9566 </div> |
|
9567 |
|
9568 |
|
9569 </li> |
|
9570 |
|
9571 <li class="param"> |
|
9572 |
|
9573 <code class="param-name">context</code> |
|
9574 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9575 |
|
9576 |
|
9577 |
|
9578 |
|
9579 <div class="param-description"> |
|
9580 <p>The custom object passed to subscribe. This is |
|
9581 optional, but if supplied will be used to |
|
9582 disambiguate multiple listeners that are the same |
|
9583 (e.g., you subscribe many object using a function |
|
9584 that lives on the prototype)</p> |
|
9585 </div> |
|
9586 |
|
9587 |
|
9588 </li> |
|
9589 |
|
9590 </ul> |
|
9591 </div> |
|
9592 |
|
9593 |
|
9594 |
|
9595 <div class="returns"> |
|
9596 <h4>Returns:</h4> |
|
9597 |
|
9598 <div class="returns-description"> |
|
9599 |
|
9600 |
|
9601 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>: |
|
9602 |
|
9603 the host |
|
9604 |
|
9605 </div> |
|
9606 </div> |
|
9607 |
|
9608 |
|
9609 |
|
9610 </div> |
|
9611 |
|
9612 |
|
9613 <div id="method_detachAll" class="method item inherited"> |
|
9614 <h3 class="name"><code>detachAll</code></h3> |
|
9615 |
|
9616 |
|
9617 <div class="args"> |
|
9618 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9619 |
|
9620 <li class="arg"> |
|
9621 |
|
9622 <code>type</code> |
|
9623 |
|
9624 </li> |
|
9625 |
|
9626 </ul><span class="paren">)</span> |
|
9627 </div> |
|
9628 |
|
9629 |
|
9630 |
|
9631 |
|
9632 |
|
9633 |
|
9634 |
|
9635 |
|
9636 |
|
9637 |
|
9638 |
|
9639 |
|
9640 |
|
9641 |
|
9642 |
|
9643 |
|
9644 <div class="meta"> |
|
9645 |
|
9646 |
|
9647 <p>Inherited from |
|
9648 <a href="../classes/EventTarget.html#method_detachAll">EventTarget</a>: |
|
9649 |
|
9650 |
|
9651 |
|
9652 <a href="../files/event-custom_js_event-target.js.html#l469"><code>event-custom/js/event-target.js:469</code></a> |
|
9653 |
|
9654 </p> |
|
9655 |
|
9656 |
|
9657 |
|
9658 |
|
9659 |
|
9660 </div> |
|
9661 |
|
9662 <div class="description"> |
|
9663 <p>Removes all listeners from the specified event. If the event type |
|
9664 is not specified, all listeners from all hosted custom events will |
|
9665 be removed.</p> |
|
9666 </div> |
|
9667 |
|
9668 |
|
9669 <div class="params"> |
|
9670 <h4>Parameters:</h4> |
|
9671 |
|
9672 <ul class="params-list"> |
|
9673 |
|
9674 <li class="param"> |
|
9675 |
|
9676 <code class="param-name">type</code> |
|
9677 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9678 |
|
9679 |
|
9680 |
|
9681 |
|
9682 <div class="param-description"> |
|
9683 <p>The type, or name of the event</p> |
|
9684 </div> |
|
9685 |
|
9686 |
|
9687 </li> |
|
9688 |
|
9689 </ul> |
|
9690 </div> |
|
9691 |
|
9692 |
|
9693 |
|
9694 |
|
9695 |
|
9696 </div> |
|
9697 |
|
9698 |
|
9699 <div id="method_detachEvents" class="method item inherited"> |
|
9700 <h3 class="name"><code>detachEvents</code></h3> |
|
9701 |
|
9702 |
|
9703 <span class="paren">()</span> |
|
9704 |
|
9705 |
|
9706 |
|
9707 |
|
9708 |
|
9709 |
|
9710 |
|
9711 |
|
9712 |
|
9713 |
|
9714 |
|
9715 |
|
9716 |
|
9717 <span class="flag chainable">chainable</span> |
|
9718 |
|
9719 |
|
9720 |
|
9721 |
|
9722 <div class="meta"> |
|
9723 |
|
9724 |
|
9725 <p>Inherited from |
|
9726 <a href="../classes/View.html#method_detachEvents">View</a>: |
|
9727 |
|
9728 |
|
9729 |
|
9730 <a href="../files/app_js_view.js.html#l253"><code>app/js/view.js:253</code></a> |
|
9731 |
|
9732 </p> |
|
9733 |
|
9734 |
|
9735 |
|
9736 |
|
9737 |
|
9738 </div> |
|
9739 |
|
9740 <div class="description"> |
|
9741 <p>Detaches DOM events that have previously been attached to the container by |
|
9742 <code>attachEvents()</code>.</p> |
|
9743 </div> |
|
9744 |
|
9745 |
|
9746 |
|
9747 |
|
9748 |
|
9749 |
|
9750 </div> |
|
9751 |
|
9752 |
|
9753 <div id="method_fire" class="method item inherited"> |
|
9754 <h3 class="name"><code>fire</code></h3> |
|
9755 |
|
9756 |
|
9757 <div class="args"> |
|
9758 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9759 |
|
9760 <li class="arg"> |
|
9761 |
|
9762 <code>type</code> |
|
9763 |
|
9764 </li> |
|
9765 |
|
9766 <li class="arg"> |
|
9767 |
|
9768 <code>arguments</code> |
|
9769 |
|
9770 </li> |
|
9771 |
|
9772 </ul><span class="paren">)</span> |
|
9773 </div> |
|
9774 |
|
9775 |
|
9776 |
|
9777 <span class="returns-inline"> |
|
9778 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
9779 </span> |
|
9780 |
|
9781 |
|
9782 |
|
9783 |
|
9784 |
|
9785 |
|
9786 |
|
9787 |
|
9788 |
|
9789 |
|
9790 |
|
9791 |
|
9792 |
|
9793 |
|
9794 <div class="meta"> |
|
9795 |
|
9796 |
|
9797 <p>Inherited from |
|
9798 <a href="../classes/EventTarget.html#method_fire">EventTarget</a>: |
|
9799 |
|
9800 |
|
9801 |
|
9802 <a href="../files/event-custom_js_event-target.js.html#l695"><code>event-custom/js/event-target.js:695</code></a> |
|
9803 |
|
9804 </p> |
|
9805 |
|
9806 |
|
9807 |
|
9808 |
|
9809 |
|
9810 </div> |
|
9811 |
|
9812 <div class="description"> |
|
9813 <p>Fire a custom event by name. The callback functions will be executed |
|
9814 from the context specified when the event was created, and with the |
|
9815 following parameters.</p> |
|
9816 |
|
9817 <p>If the custom event object hasn't been created, then the event hasn't |
|
9818 been published and it has no subscribers. For performance sake, we |
|
9819 immediate exit in this case. This means the event won't bubble, so |
|
9820 if the intention is that a bubble target be notified, the event must |
|
9821 be published on this object first.</p> |
|
9822 |
|
9823 <p>The first argument is the event type, and any additional arguments are |
|
9824 passed to the listeners as parameters. If the first of these is an |
|
9825 object literal, and the event is configured to emit an event facade, |
|
9826 that object is mixed into the event facade and the facade is provided |
|
9827 in place of the original object.</p> |
|
9828 </div> |
|
9829 |
|
9830 |
|
9831 <div class="params"> |
|
9832 <h4>Parameters:</h4> |
|
9833 |
|
9834 <ul class="params-list"> |
|
9835 |
|
9836 <li class="param"> |
|
9837 |
|
9838 <code class="param-name">type</code> |
|
9839 <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> |
|
9840 |
|
9841 |
|
9842 |
|
9843 |
|
9844 <div class="param-description"> |
|
9845 <p>The type of the event, or an object that contains |
|
9846 a 'type' property.</p> |
|
9847 </div> |
|
9848 |
|
9849 |
|
9850 </li> |
|
9851 |
|
9852 <li class="param"> |
|
9853 |
|
9854 <code class="param-name">arguments</code> |
|
9855 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object*</a></span> |
|
9856 |
|
9857 |
|
9858 |
|
9859 |
|
9860 <div class="param-description"> |
|
9861 <p>an arbitrary set of parameters to pass to |
|
9862 the handler. If the first of these is an object literal and the event is |
|
9863 configured to emit an event facade, the event facade will replace that |
|
9864 parameter after the properties the object literal contains are copied to |
|
9865 the event facade.</p> |
|
9866 </div> |
|
9867 |
|
9868 |
|
9869 </li> |
|
9870 |
|
9871 </ul> |
|
9872 </div> |
|
9873 |
|
9874 |
|
9875 |
|
9876 <div class="returns"> |
|
9877 <h4>Returns:</h4> |
|
9878 |
|
9879 <div class="returns-description"> |
|
9880 |
|
9881 |
|
9882 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>: |
|
9883 |
|
9884 the event host |
|
9885 |
|
9886 </div> |
|
9887 </div> |
|
9888 |
|
9889 |
|
9890 |
|
9891 </div> |
|
9892 |
|
9893 |
|
9894 <div id="method_get" class="method item inherited"> |
|
9895 <h3 class="name"><code>get</code></h3> |
|
9896 |
|
9897 |
|
9898 <div class="args"> |
|
9899 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9900 |
|
9901 <li class="arg"> |
|
9902 |
|
9903 <code>name</code> |
|
9904 |
|
9905 </li> |
|
9906 |
|
9907 </ul><span class="paren">)</span> |
|
9908 </div> |
|
9909 |
|
9910 |
|
9911 |
|
9912 <span class="returns-inline"> |
|
9913 <span class="type">Any</span> |
|
9914 </span> |
|
9915 |
|
9916 |
|
9917 |
|
9918 |
|
9919 |
|
9920 |
|
9921 |
|
9922 |
|
9923 |
|
9924 |
|
9925 |
|
9926 |
|
9927 |
|
9928 |
|
9929 <div class="meta"> |
|
9930 |
|
9931 |
|
9932 <p>Inherited from |
|
9933 <a href="../classes/AttributeCore.html#method_get">AttributeCore</a>: |
|
9934 |
|
9935 |
|
9936 |
|
9937 <a href="../files/attribute_js_AttributeCore.js.html#l353"><code>attribute/js/AttributeCore.js:353</code></a> |
|
9938 |
|
9939 </p> |
|
9940 |
|
9941 |
|
9942 |
|
9943 |
|
9944 |
|
9945 </div> |
|
9946 |
|
9947 <div class="description"> |
|
9948 <p>Returns the current value of the attribute. If the attribute |
|
9949 has been configured with a 'getter' function, this method will delegate |
|
9950 to the 'getter' to obtain the value of the attribute.</p> |
|
9951 </div> |
|
9952 |
|
9953 |
|
9954 <div class="params"> |
|
9955 <h4>Parameters:</h4> |
|
9956 |
|
9957 <ul class="params-list"> |
|
9958 |
|
9959 <li class="param"> |
|
9960 |
|
9961 <code class="param-name">name</code> |
|
9962 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9963 |
|
9964 |
|
9965 |
|
9966 |
|
9967 <div class="param-description"> |
|
9968 <p>The name of the attribute. If the value of the attribute is an Object, |
|
9969 dot notation can be used to obtain the value of a property of the object (e.g. <code>get("x.y.z")</code>)</p> |
|
9970 </div> |
|
9971 |
|
9972 |
|
9973 </li> |
|
9974 |
|
9975 </ul> |
|
9976 </div> |
|
9977 |
|
9978 |
|
9979 |
|
9980 <div class="returns"> |
|
9981 <h4>Returns:</h4> |
|
9982 |
|
9983 <div class="returns-description"> |
|
9984 |
|
9985 |
|
9986 <span class="type">Any</span>: |
|
9987 |
|
9988 The value of the attribute |
|
9989 |
|
9990 </div> |
|
9991 </div> |
|
9992 |
|
9993 |
|
9994 |
|
9995 </div> |
|
9996 |
|
9997 |
|
9998 <div id="method_getAttrs" class="method item inherited"> |
|
9999 <h3 class="name"><code>getAttrs</code></h3> |
|
10000 |
|
10001 |
|
10002 <div class="args"> |
|
10003 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10004 |
|
10005 <li class="arg"> |
|
10006 |
|
10007 <code>attrs</code> |
|
10008 |
|
10009 </li> |
|
10010 |
|
10011 </ul><span class="paren">)</span> |
|
10012 </div> |
|
10013 |
|
10014 |
|
10015 |
|
10016 <span class="returns-inline"> |
|
10017 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
10018 </span> |
|
10019 |
|
10020 |
|
10021 |
|
10022 |
|
10023 |
|
10024 |
|
10025 |
|
10026 |
|
10027 |
|
10028 |
|
10029 |
|
10030 |
|
10031 |
|
10032 |
|
10033 <div class="meta"> |
|
10034 |
|
10035 |
|
10036 <p>Inherited from |
|
10037 <a href="../classes/AttributeCore.html#method_getAttrs">AttributeCore</a>: |
|
10038 |
|
10039 |
|
10040 |
|
10041 <a href="../files/attribute_js_AttributeCore.js.html#l762"><code>attribute/js/AttributeCore.js:762</code></a> |
|
10042 |
|
10043 </p> |
|
10044 |
|
10045 |
|
10046 |
|
10047 |
|
10048 |
|
10049 </div> |
|
10050 |
|
10051 <div class="description"> |
|
10052 <p>Gets multiple attribute values.</p> |
|
10053 </div> |
|
10054 |
|
10055 |
|
10056 <div class="params"> |
|
10057 <h4>Parameters:</h4> |
|
10058 |
|
10059 <ul class="params-list"> |
|
10060 |
|
10061 <li class="param"> |
|
10062 |
|
10063 <code class="param-name">attrs</code> |
|
10064 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span> |
|
10065 |
|
10066 |
|
10067 |
|
10068 |
|
10069 <div class="param-description"> |
|
10070 <p>Optional. An array of attribute names. If omitted, all attribute values are |
|
10071 returned. If set to true, all attributes modified from their initial values are returned.</p> |
|
10072 </div> |
|
10073 |
|
10074 |
|
10075 </li> |
|
10076 |
|
10077 </ul> |
|
10078 </div> |
|
10079 |
|
10080 |
|
10081 |
|
10082 <div class="returns"> |
|
10083 <h4>Returns:</h4> |
|
10084 |
|
10085 <div class="returns-description"> |
|
10086 |
|
10087 |
|
10088 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
10089 |
|
10090 An object with attribute name/value pairs. |
|
10091 |
|
10092 </div> |
|
10093 </div> |
|
10094 |
|
10095 |
|
10096 |
|
10097 </div> |
|
10098 |
|
10099 |
|
10100 <div id="method_getCell" class="method item"> |
|
10101 <h3 class="name"><code>getCell</code></h3> |
|
10102 |
|
10103 |
|
10104 <div class="args"> |
|
10105 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10106 |
|
10107 <li class="arg"> |
|
10108 |
|
10109 <code>seed</code> |
|
10110 |
|
10111 </li> |
|
10112 |
|
10113 <li class="arg"> |
|
10114 |
|
10115 <code class="optional">[shift]</code> |
|
10116 |
|
10117 </li> |
|
10118 |
|
10119 </ul><span class="paren">)</span> |
|
10120 </div> |
|
10121 |
|
10122 |
|
10123 |
|
10124 <span class="returns-inline"> |
|
10125 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
10126 </span> |
|
10127 |
|
10128 |
|
10129 |
|
10130 |
|
10131 |
|
10132 |
|
10133 |
|
10134 |
|
10135 |
|
10136 |
|
10137 |
|
10138 |
|
10139 |
|
10140 |
|
10141 <div class="meta"> |
|
10142 |
|
10143 |
|
10144 |
|
10145 <p> |
|
10146 |
|
10147 Defined in |
|
10148 |
|
10149 |
|
10150 |
|
10151 |
|
10152 <a href="../files/datatable_js_body.js.html#l185"><code>datatable/js/body.js:185</code></a> |
|
10153 |
|
10154 </p> |
|
10155 |
|
10156 |
|
10157 |
|
10158 |
|
10159 |
|
10160 <p>Available since 3.5.0</p> |
|
10161 |
|
10162 </div> |
|
10163 |
|
10164 <div class="description"> |
|
10165 <p>Returns the <code><td></code> Node from the given row and column index. Alternately, |
|
10166 the <code>seed</code> can be a Node. If so, the nearest ancestor cell is returned. |
|
10167 If the <code>seed</code> is a cell, it is returned. If there is no cell at the given |
|
10168 coordinates, <code>null</code> is returned.</p> |
|
10169 |
|
10170 <p>Optionally, include an offset array or string to return a cell near the |
|
10171 cell identified by the <code>seed</code>. The offset can be an array containing the |
|
10172 number of rows to shift followed by the number of columns to shift, or one |
|
10173 of "above", "below", "next", or "previous".</p> |
|
10174 |
|
10175 <p><pre class="code prettyprint"><code>// Previous cell in the previous row |
|
10176 var cell = table.getCell(e.target, [-1, -1]);</p> |
|
10177 |
|
10178 <p>// Next cell |
|
10179 var cell = table.getCell(e.target, 'next'); |
|
10180 var cell = table.getCell(e.taregt, [0, 1];</pre></code></p> |
|
10181 </div> |
|
10182 |
|
10183 |
|
10184 <div class="params"> |
|
10185 <h4>Parameters:</h4> |
|
10186 |
|
10187 <ul class="params-list"> |
|
10188 |
|
10189 <li class="param"> |
|
10190 |
|
10191 <code class="param-name">seed</code> |
|
10192 <span class="type"><a href="../classes/Number.html" class="crosslink">Number[]</a> | <a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
10193 |
|
10194 |
|
10195 |
|
10196 |
|
10197 <div class="param-description"> |
|
10198 <p>Array of row and column indexes, or a Node that |
|
10199 is either the cell itself or a descendant of one.</p> |
|
10200 </div> |
|
10201 |
|
10202 |
|
10203 </li> |
|
10204 |
|
10205 <li class="param"> |
|
10206 |
|
10207 <code class="param-name optional">[shift]</code> |
|
10208 <span class="type"><a href="../classes/Number.html" class="crosslink">Number[]</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10209 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
10210 |
|
10211 |
|
10212 |
|
10213 |
|
10214 <div class="param-description"> |
|
10215 <p>Offset by which to identify the returned |
|
10216 cell Node</p> |
|
10217 </div> |
|
10218 |
|
10219 |
|
10220 </li> |
|
10221 |
|
10222 </ul> |
|
10223 </div> |
|
10224 |
|
10225 |
|
10226 |
|
10227 <div class="returns"> |
|
10228 <h4>Returns:</h4> |
|
10229 |
|
10230 <div class="returns-description"> |
|
10231 |
|
10232 |
|
10233 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>: |
|
10234 |
|
10235 |
|
10236 </div> |
|
10237 </div> |
|
10238 |
|
10239 |
|
10240 |
|
10241 </div> |
|
10242 |
|
10243 |
|
10244 <div id="method_getClassName" class="method item protected"> |
|
10245 <h3 class="name"><code>getClassName</code></h3> |
|
10246 |
|
10247 |
|
10248 <div class="args"> |
|
10249 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10250 |
|
10251 <li class="arg"> |
|
10252 |
|
10253 <code>token</code> |
|
10254 |
|
10255 </li> |
|
10256 |
|
10257 </ul><span class="paren">)</span> |
|
10258 </div> |
|
10259 |
|
10260 |
|
10261 |
|
10262 <span class="returns-inline"> |
|
10263 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10264 </span> |
|
10265 |
|
10266 |
|
10267 |
|
10268 |
|
10269 |
|
10270 <span class="flag protected">protected</span> |
|
10271 |
|
10272 |
|
10273 |
|
10274 |
|
10275 |
|
10276 |
|
10277 |
|
10278 |
|
10279 |
|
10280 |
|
10281 <div class="meta"> |
|
10282 |
|
10283 |
|
10284 |
|
10285 <p> |
|
10286 |
|
10287 Defined in |
|
10288 |
|
10289 |
|
10290 |
|
10291 |
|
10292 <a href="../files/datatable_js_body.js.html#l249"><code>datatable/js/body.js:249</code></a> |
|
10293 |
|
10294 </p> |
|
10295 |
|
10296 |
|
10297 |
|
10298 |
|
10299 |
|
10300 <p>Available since 3.5.0</p> |
|
10301 |
|
10302 </div> |
|
10303 |
|
10304 <div class="description"> |
|
10305 <p>Returns the generated CSS classname based on the input. If the <code>host</code> |
|
10306 attribute is configured, it will attempt to relay to its <code>getClassName</code> |
|
10307 or use its static <code>NAME</code> property as a string base.</p> |
|
10308 |
|
10309 <p>If <code>host</code> is absent or has neither method nor <code>NAME</code>, a CSS classname |
|
10310 will be generated using this class's <code>NAME</code>.</p> |
|
10311 </div> |
|
10312 |
|
10313 |
|
10314 <div class="params"> |
|
10315 <h4>Parameters:</h4> |
|
10316 |
|
10317 <ul class="params-list"> |
|
10318 |
|
10319 <li class="param"> |
|
10320 |
|
10321 <code class="param-name">token</code> |
|
10322 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10323 |
|
10324 |
|
10325 |
|
10326 <span class="flag multiple" title="This argument may occur one or more times.">multiple</span> |
|
10327 |
|
10328 |
|
10329 <div class="param-description"> |
|
10330 <p>Any number of token strings to assemble the |
|
10331 classname from.</p> |
|
10332 </div> |
|
10333 |
|
10334 |
|
10335 </li> |
|
10336 |
|
10337 </ul> |
|
10338 </div> |
|
10339 |
|
10340 |
|
10341 |
|
10342 <div class="returns"> |
|
10343 <h4>Returns:</h4> |
|
10344 |
|
10345 <div class="returns-description"> |
|
10346 |
|
10347 |
|
10348 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
10349 |
|
10350 |
|
10351 </div> |
|
10352 </div> |
|
10353 |
|
10354 |
|
10355 |
|
10356 </div> |
|
10357 |
|
10358 |
|
10359 <div id="method_getEvent" class="method item inherited"> |
|
10360 <h3 class="name"><code>getEvent</code></h3> |
|
10361 |
|
10362 |
|
10363 <div class="args"> |
|
10364 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10365 |
|
10366 <li class="arg"> |
|
10367 |
|
10368 <code>type</code> |
|
10369 |
|
10370 </li> |
|
10371 |
|
10372 <li class="arg"> |
|
10373 |
|
10374 <code>prefixed</code> |
|
10375 |
|
10376 </li> |
|
10377 |
|
10378 </ul><span class="paren">)</span> |
|
10379 </div> |
|
10380 |
|
10381 |
|
10382 |
|
10383 <span class="returns-inline"> |
|
10384 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
10385 </span> |
|
10386 |
|
10387 |
|
10388 |
|
10389 |
|
10390 |
|
10391 |
|
10392 |
|
10393 |
|
10394 |
|
10395 |
|
10396 |
|
10397 |
|
10398 |
|
10399 |
|
10400 <div class="meta"> |
|
10401 |
|
10402 |
|
10403 <p>Inherited from |
|
10404 <a href="../classes/EventTarget.html#method_getEvent">EventTarget</a>: |
|
10405 |
|
10406 |
|
10407 |
|
10408 <a href="../files/event-custom_js_event-target.js.html#l814"><code>event-custom/js/event-target.js:814</code></a> |
|
10409 |
|
10410 </p> |
|
10411 |
|
10412 |
|
10413 |
|
10414 |
|
10415 |
|
10416 </div> |
|
10417 |
|
10418 <div class="description"> |
|
10419 <p>Returns the custom event of the provided type has been created, a |
|
10420 falsy value otherwise</p> |
|
10421 </div> |
|
10422 |
|
10423 |
|
10424 <div class="params"> |
|
10425 <h4>Parameters:</h4> |
|
10426 |
|
10427 <ul class="params-list"> |
|
10428 |
|
10429 <li class="param"> |
|
10430 |
|
10431 <code class="param-name">type</code> |
|
10432 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10433 |
|
10434 |
|
10435 |
|
10436 |
|
10437 <div class="param-description"> |
|
10438 <p>the type, or name of the event</p> |
|
10439 </div> |
|
10440 |
|
10441 |
|
10442 </li> |
|
10443 |
|
10444 <li class="param"> |
|
10445 |
|
10446 <code class="param-name">prefixed</code> |
|
10447 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10448 |
|
10449 |
|
10450 |
|
10451 |
|
10452 <div class="param-description"> |
|
10453 <p>if true, the type is prefixed already</p> |
|
10454 </div> |
|
10455 |
|
10456 |
|
10457 </li> |
|
10458 |
|
10459 </ul> |
|
10460 </div> |
|
10461 |
|
10462 |
|
10463 |
|
10464 <div class="returns"> |
|
10465 <h4>Returns:</h4> |
|
10466 |
|
10467 <div class="returns-description"> |
|
10468 |
|
10469 |
|
10470 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>: |
|
10471 |
|
10472 the custom event or null |
|
10473 |
|
10474 </div> |
|
10475 </div> |
|
10476 |
|
10477 |
|
10478 |
|
10479 </div> |
|
10480 |
|
10481 |
|
10482 <div id="method_getRecord" class="method item"> |
|
10483 <h3 class="name"><code>getRecord</code></h3> |
|
10484 |
|
10485 |
|
10486 <div class="args"> |
|
10487 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10488 |
|
10489 <li class="arg"> |
|
10490 |
|
10491 <code>seed</code> |
|
10492 |
|
10493 </li> |
|
10494 |
|
10495 </ul><span class="paren">)</span> |
|
10496 </div> |
|
10497 |
|
10498 |
|
10499 |
|
10500 <span class="returns-inline"> |
|
10501 <span class="type"><a href="../classes/Model.html" class="crosslink">Model</a></span> |
|
10502 </span> |
|
10503 |
|
10504 |
|
10505 |
|
10506 |
|
10507 |
|
10508 |
|
10509 |
|
10510 |
|
10511 |
|
10512 |
|
10513 |
|
10514 |
|
10515 |
|
10516 |
|
10517 <div class="meta"> |
|
10518 |
|
10519 |
|
10520 |
|
10521 <p> |
|
10522 |
|
10523 Defined in |
|
10524 |
|
10525 |
|
10526 |
|
10527 |
|
10528 <a href="../files/datatable_js_body.js.html#l278"><code>datatable/js/body.js:278</code></a> |
|
10529 |
|
10530 </p> |
|
10531 |
|
10532 |
|
10533 |
|
10534 |
|
10535 |
|
10536 <p>Available since 3.5.0</p> |
|
10537 |
|
10538 </div> |
|
10539 |
|
10540 <div class="description"> |
|
10541 <p>Returns the Model associated to the row Node or id provided. Passing the |
|
10542 Node or id for a descendant of the row also works.</p> |
|
10543 |
|
10544 <p>If no Model can be found, <code>null</code> is returned.</p> |
|
10545 </div> |
|
10546 |
|
10547 |
|
10548 <div class="params"> |
|
10549 <h4>Parameters:</h4> |
|
10550 |
|
10551 <ul class="params-list"> |
|
10552 |
|
10553 <li class="param"> |
|
10554 |
|
10555 <code class="param-name">seed</code> |
|
10556 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
10557 |
|
10558 |
|
10559 |
|
10560 |
|
10561 <div class="param-description"> |
|
10562 <p>Row Node or <code>id</code>, or one for a descendant of a row</p> |
|
10563 </div> |
|
10564 |
|
10565 |
|
10566 </li> |
|
10567 |
|
10568 </ul> |
|
10569 </div> |
|
10570 |
|
10571 |
|
10572 |
|
10573 <div class="returns"> |
|
10574 <h4>Returns:</h4> |
|
10575 |
|
10576 <div class="returns-description"> |
|
10577 |
|
10578 |
|
10579 <span class="type"><a href="../classes/Model.html" class="crosslink">Model</a></span>: |
|
10580 |
|
10581 |
|
10582 </div> |
|
10583 </div> |
|
10584 |
|
10585 |
|
10586 |
|
10587 </div> |
|
10588 |
|
10589 |
|
10590 <div id="method_getRow" class="method item"> |
|
10591 <h3 class="name"><code>getRow</code></h3> |
|
10592 |
|
10593 |
|
10594 <div class="args"> |
|
10595 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10596 |
|
10597 <li class="arg"> |
|
10598 |
|
10599 <code>id</code> |
|
10600 |
|
10601 </li> |
|
10602 |
|
10603 </ul><span class="paren">)</span> |
|
10604 </div> |
|
10605 |
|
10606 |
|
10607 |
|
10608 <span class="returns-inline"> |
|
10609 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
10610 </span> |
|
10611 |
|
10612 |
|
10613 |
|
10614 |
|
10615 |
|
10616 |
|
10617 |
|
10618 |
|
10619 |
|
10620 |
|
10621 |
|
10622 |
|
10623 |
|
10624 |
|
10625 <div class="meta"> |
|
10626 |
|
10627 |
|
10628 |
|
10629 <p> |
|
10630 |
|
10631 Defined in |
|
10632 |
|
10633 |
|
10634 |
|
10635 |
|
10636 <a href="../files/datatable_js_body.js.html#l313"><code>datatable/js/body.js:313</code></a> |
|
10637 |
|
10638 </p> |
|
10639 |
|
10640 |
|
10641 |
|
10642 |
|
10643 |
|
10644 <p>Available since 3.5.0</p> |
|
10645 |
|
10646 </div> |
|
10647 |
|
10648 <div class="description"> |
|
10649 <p>Returns the <code><tr></code> Node from the given row index, Model, or Model's |
|
10650 <code>clientId</code>. If the rows haven't been rendered yet, or if the row can't be |
|
10651 found by the input, <code>null</code> is returned.</p> |
|
10652 </div> |
|
10653 |
|
10654 |
|
10655 <div class="params"> |
|
10656 <h4>Parameters:</h4> |
|
10657 |
|
10658 <ul class="params-list"> |
|
10659 |
|
10660 <li class="param"> |
|
10661 |
|
10662 <code class="param-name">id</code> |
|
10663 <span class="type"><a href="../classes/Number.html" class="crosslink">Number</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="../classes/Model.html" class="crosslink">Model</a></span> |
|
10664 |
|
10665 |
|
10666 |
|
10667 |
|
10668 <div class="param-description"> |
|
10669 <p>Row index, Model instance, or clientId</p> |
|
10670 </div> |
|
10671 |
|
10672 |
|
10673 </li> |
|
10674 |
|
10675 </ul> |
|
10676 </div> |
|
10677 |
|
10678 |
|
10679 |
|
10680 <div class="returns"> |
|
10681 <h4>Returns:</h4> |
|
10682 |
|
10683 <div class="returns-description"> |
|
10684 |
|
10685 |
|
10686 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>: |
|
10687 |
|
10688 |
|
10689 </div> |
|
10690 </div> |
|
10691 |
|
10692 |
|
10693 |
|
10694 </div> |
|
10695 |
|
10696 |
|
10697 <div id="method_getTargets" class="method item inherited"> |
|
10698 <h3 class="name"><code>getTargets</code></h3> |
|
10699 |
|
10700 |
|
10701 <span class="paren">()</span> |
|
10702 |
|
10703 |
|
10704 |
|
10705 <span class="returns-inline"> |
|
10706 <span class="type"></span> |
|
10707 </span> |
|
10708 |
|
10709 |
|
10710 |
|
10711 |
|
10712 |
|
10713 |
|
10714 |
|
10715 |
|
10716 |
|
10717 |
|
10718 |
|
10719 |
|
10720 |
|
10721 |
|
10722 <div class="meta"> |
|
10723 |
|
10724 |
|
10725 <p>Inherited from |
|
10726 <a href="../classes/EventTarget.html#method_getTargets">EventTarget</a>: |
|
10727 |
|
10728 |
|
10729 |
|
10730 <a href="../files/event-custom_js_event-facade.js.html#l479"><code>event-custom/js/event-facade.js:479</code></a> |
|
10731 |
|
10732 </p> |
|
10733 |
|
10734 |
|
10735 |
|
10736 |
|
10737 |
|
10738 </div> |
|
10739 |
|
10740 <div class="description"> |
|
10741 <p>Returns an array of bubble targets for this object.</p> |
|
10742 </div> |
|
10743 |
|
10744 |
|
10745 |
|
10746 |
|
10747 <div class="returns"> |
|
10748 <h4>Returns:</h4> |
|
10749 |
|
10750 <div class="returns-description"> |
|
10751 |
|
10752 |
|
10753 EventTarget[] |
|
10754 |
|
10755 </div> |
|
10756 </div> |
|
10757 |
|
10758 |
|
10759 |
|
10760 </div> |
|
10761 |
|
10762 |
|
10763 <div id="method_init" class="method item inherited"> |
|
10764 <h3 class="name"><code>init</code></h3> |
|
10765 |
|
10766 |
|
10767 <div class="args"> |
|
10768 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10769 |
|
10770 <li class="arg"> |
|
10771 |
|
10772 <code>cfg</code> |
|
10773 |
|
10774 </li> |
|
10775 |
|
10776 </ul><span class="paren">)</span> |
|
10777 </div> |
|
10778 |
|
10779 |
|
10780 |
|
10781 <span class="returns-inline"> |
|
10782 <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span> |
|
10783 </span> |
|
10784 |
|
10785 |
|
10786 |
|
10787 |
|
10788 |
|
10789 |
|
10790 |
|
10791 |
|
10792 |
|
10793 |
|
10794 |
|
10795 <span class="flag chainable">chainable</span> |
|
10796 |
|
10797 |
|
10798 |
|
10799 |
|
10800 <div class="meta"> |
|
10801 |
|
10802 <p>Inherited from |
|
10803 <a href="../classes/BaseObservable.html#method_init"> |
|
10804 BaseObservable |
|
10805 </a> |
|
10806 |
|
10807 but overwritten in |
|
10808 |
|
10809 |
|
10810 |
|
10811 <a href="../files/base_js_BaseCore.js.html#l264"><code>base/js/BaseCore.js:264</code></a> |
|
10812 |
|
10813 </p> |
|
10814 |
|
10815 |
|
10816 |
|
10817 |
|
10818 |
|
10819 </div> |
|
10820 |
|
10821 <div class="description"> |
|
10822 <p>Init lifecycle method, invoked during construction. Sets up attributes |
|
10823 and invokes initializers for the class hierarchy.</p> |
|
10824 </div> |
|
10825 |
|
10826 |
|
10827 <div class="params"> |
|
10828 <h4>Parameters:</h4> |
|
10829 |
|
10830 <ul class="params-list"> |
|
10831 |
|
10832 <li class="param"> |
|
10833 |
|
10834 <code class="param-name">cfg</code> |
|
10835 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
10836 |
|
10837 |
|
10838 |
|
10839 |
|
10840 <div class="param-description"> |
|
10841 <p>Object with configuration property name/value pairs</p> |
|
10842 </div> |
|
10843 |
|
10844 |
|
10845 </li> |
|
10846 |
|
10847 </ul> |
|
10848 </div> |
|
10849 |
|
10850 |
|
10851 |
|
10852 <div class="returns"> |
|
10853 <h4>Returns:</h4> |
|
10854 |
|
10855 <div class="returns-description"> |
|
10856 |
|
10857 |
|
10858 <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span>: |
|
10859 |
|
10860 A reference to this object |
|
10861 |
|
10862 </div> |
|
10863 </div> |
|
10864 |
|
10865 |
|
10866 |
|
10867 </div> |
|
10868 |
|
10869 |
|
10870 <div id="method_initializer" class="method item protected"> |
|
10871 <h3 class="name"><code>initializer</code></h3> |
|
10872 |
|
10873 |
|
10874 <div class="args"> |
|
10875 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10876 |
|
10877 <li class="arg"> |
|
10878 |
|
10879 <code>config</code> |
|
10880 |
|
10881 </li> |
|
10882 |
|
10883 </ul><span class="paren">)</span> |
|
10884 </div> |
|
10885 |
|
10886 |
|
10887 |
|
10888 |
|
10889 |
|
10890 |
|
10891 |
|
10892 <span class="flag protected">protected</span> |
|
10893 |
|
10894 |
|
10895 |
|
10896 |
|
10897 |
|
10898 |
|
10899 |
|
10900 |
|
10901 |
|
10902 |
|
10903 <div class="meta"> |
|
10904 |
|
10905 |
|
10906 |
|
10907 <p> |
|
10908 |
|
10909 Defined in |
|
10910 |
|
10911 |
|
10912 |
|
10913 |
|
10914 <a href="../files/datatable_js_body.js.html#l854"><code>datatable/js/body.js:854</code></a> |
|
10915 |
|
10916 </p> |
|
10917 |
|
10918 |
|
10919 |
|
10920 |
|
10921 |
|
10922 <p>Available since 3.5.0</p> |
|
10923 |
|
10924 </div> |
|
10925 |
|
10926 <div class="description"> |
|
10927 <p>Initializes the instance. Reads the following configuration properties in |
|
10928 addition to the instance attributes:</p> |
|
10929 |
|
10930 <ul> |
|
10931 <li><code>columns</code> - (REQUIRED) The initial column information</li> |
|
10932 <li><code>host</code> - The object to serve as source of truth for column info and |
|
10933 for generating class names</li> |
|
10934 </ul> |
|
10935 </div> |
|
10936 |
|
10937 |
|
10938 <div class="params"> |
|
10939 <h4>Parameters:</h4> |
|
10940 |
|
10941 <ul class="params-list"> |
|
10942 |
|
10943 <li class="param"> |
|
10944 |
|
10945 <code class="param-name">config</code> |
|
10946 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
10947 |
|
10948 |
|
10949 |
|
10950 |
|
10951 <div class="param-description"> |
|
10952 <p>Configuration data</p> |
|
10953 </div> |
|
10954 |
|
10955 |
|
10956 </li> |
|
10957 |
|
10958 </ul> |
|
10959 </div> |
|
10960 |
|
10961 |
|
10962 |
|
10963 |
|
10964 |
|
10965 </div> |
|
10966 |
|
10967 |
|
10968 <div id="method_modifyAttr" class="method item inherited"> |
|
10969 <h3 class="name"><code>modifyAttr</code></h3> |
|
10970 |
|
10971 |
|
10972 <div class="args"> |
|
10973 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10974 |
|
10975 <li class="arg"> |
|
10976 |
|
10977 <code>name</code> |
|
10978 |
|
10979 </li> |
|
10980 |
|
10981 <li class="arg"> |
|
10982 |
|
10983 <code>config</code> |
|
10984 |
|
10985 </li> |
|
10986 |
|
10987 </ul><span class="paren">)</span> |
|
10988 </div> |
|
10989 |
|
10990 |
|
10991 |
|
10992 |
|
10993 |
|
10994 |
|
10995 |
|
10996 |
|
10997 |
|
10998 |
|
10999 |
|
11000 |
|
11001 |
|
11002 |
|
11003 |
|
11004 |
|
11005 <div class="meta"> |
|
11006 |
|
11007 |
|
11008 <p>Inherited from |
|
11009 <a href="../classes/AttributeExtras.html#method_modifyAttr">AttributeExtras</a>: |
|
11010 |
|
11011 |
|
11012 |
|
11013 <a href="../files/attribute_js_AttributeExtras.js.html#l40"><code>attribute/js/AttributeExtras.js:40</code></a> |
|
11014 |
|
11015 </p> |
|
11016 |
|
11017 |
|
11018 |
|
11019 |
|
11020 |
|
11021 </div> |
|
11022 |
|
11023 <div class="description"> |
|
11024 <p>Updates the configuration of an attribute which has already been added.</p> |
|
11025 |
|
11026 <p> |
|
11027 The properties which can be modified through this interface are limited |
|
11028 to the following subset of attributes, which can be safely modified |
|
11029 after a value has already been set on the attribute: readOnly, writeOnce, |
|
11030 broadcast and getter. |
|
11031 </p> |
|
11032 </div> |
|
11033 |
|
11034 |
|
11035 <div class="params"> |
|
11036 <h4>Parameters:</h4> |
|
11037 |
|
11038 <ul class="params-list"> |
|
11039 |
|
11040 <li class="param"> |
|
11041 |
|
11042 <code class="param-name">name</code> |
|
11043 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11044 |
|
11045 |
|
11046 |
|
11047 |
|
11048 <div class="param-description"> |
|
11049 <p>The name of the attribute whose configuration is to be updated.</p> |
|
11050 </div> |
|
11051 |
|
11052 |
|
11053 </li> |
|
11054 |
|
11055 <li class="param"> |
|
11056 |
|
11057 <code class="param-name">config</code> |
|
11058 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11059 |
|
11060 |
|
11061 |
|
11062 |
|
11063 <div class="param-description"> |
|
11064 <p>An object with configuration property/value pairs, specifying the configuration properties to modify.</p> |
|
11065 </div> |
|
11066 |
|
11067 |
|
11068 </li> |
|
11069 |
|
11070 </ul> |
|
11071 </div> |
|
11072 |
|
11073 |
|
11074 |
|
11075 |
|
11076 |
|
11077 </div> |
|
11078 |
|
11079 |
|
11080 <div id="method_on" class="method item inherited"> |
|
11081 <h3 class="name"><code>on</code></h3> |
|
11082 |
|
11083 |
|
11084 <div class="args"> |
|
11085 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11086 |
|
11087 <li class="arg"> |
|
11088 |
|
11089 <code>type</code> |
|
11090 |
|
11091 </li> |
|
11092 |
|
11093 <li class="arg"> |
|
11094 |
|
11095 <code>fn</code> |
|
11096 |
|
11097 </li> |
|
11098 |
|
11099 <li class="arg"> |
|
11100 |
|
11101 <code class="optional">[context]</code> |
|
11102 |
|
11103 </li> |
|
11104 |
|
11105 <li class="arg"> |
|
11106 |
|
11107 <code class="optional">[arg*]</code> |
|
11108 |
|
11109 </li> |
|
11110 |
|
11111 </ul><span class="paren">)</span> |
|
11112 </div> |
|
11113 |
|
11114 |
|
11115 |
|
11116 <span class="returns-inline"> |
|
11117 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
11118 </span> |
|
11119 |
|
11120 |
|
11121 |
|
11122 |
|
11123 |
|
11124 |
|
11125 |
|
11126 |
|
11127 |
|
11128 |
|
11129 |
|
11130 |
|
11131 |
|
11132 |
|
11133 <div class="meta"> |
|
11134 |
|
11135 |
|
11136 <p>Inherited from |
|
11137 <a href="../classes/EventTarget.html#method_on">EventTarget</a>: |
|
11138 |
|
11139 |
|
11140 |
|
11141 <a href="../files/event-custom_js_event-target.js.html#l188"><code>event-custom/js/event-target.js:188</code></a> |
|
11142 |
|
11143 </p> |
|
11144 |
|
11145 |
|
11146 |
|
11147 |
|
11148 |
|
11149 </div> |
|
11150 |
|
11151 <div class="description"> |
|
11152 <p>Subscribe a callback function to a custom event fired by this object or |
|
11153 from an object that bubbles its events to this object.</p> |
|
11154 |
|
11155 <p>Callback functions for events published with <code>emitFacade = true</code> will |
|
11156 receive an <code>EventFacade</code> as the first argument (typically named "e"). |
|
11157 These callbacks can then call <code>e.preventDefault()</code> to disable the |
|
11158 behavior published to that event's <code>defaultFn</code>. See the <code>EventFacade</code> |
|
11159 API for all available properties and methods. Subscribers to |
|
11160 non-<code>emitFacade</code> events will receive the arguments passed to <code>fire()</code> |
|
11161 after the event name.</p> |
|
11162 |
|
11163 <p>To subscribe to multiple events at once, pass an object as the first |
|
11164 argument, where the key:value pairs correspond to the eventName:callback, |
|
11165 or pass an array of event names as the first argument to subscribe to |
|
11166 all listed events with the same callback.</p> |
|
11167 |
|
11168 <p>Returning <code>false</code> from a callback is supported as an alternative to |
|
11169 calling <code>e.preventDefault(); e.stopPropagation();</code>. However, it is |
|
11170 recommended to use the event methods whenever possible.</p> |
|
11171 </div> |
|
11172 |
|
11173 |
|
11174 <div class="params"> |
|
11175 <h4>Parameters:</h4> |
|
11176 |
|
11177 <ul class="params-list"> |
|
11178 |
|
11179 <li class="param"> |
|
11180 |
|
11181 <code class="param-name">type</code> |
|
11182 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11183 |
|
11184 |
|
11185 |
|
11186 |
|
11187 <div class="param-description"> |
|
11188 <p>The name of the event</p> |
|
11189 </div> |
|
11190 |
|
11191 |
|
11192 </li> |
|
11193 |
|
11194 <li class="param"> |
|
11195 |
|
11196 <code class="param-name">fn</code> |
|
11197 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
11198 |
|
11199 |
|
11200 |
|
11201 |
|
11202 <div class="param-description"> |
|
11203 <p>The callback to execute in response to the event</p> |
|
11204 </div> |
|
11205 |
|
11206 |
|
11207 </li> |
|
11208 |
|
11209 <li class="param"> |
|
11210 |
|
11211 <code class="param-name optional">[context]</code> |
|
11212 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11213 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11214 |
|
11215 |
|
11216 |
|
11217 |
|
11218 <div class="param-description"> |
|
11219 <p>Override <code>this</code> object in callback</p> |
|
11220 </div> |
|
11221 |
|
11222 |
|
11223 </li> |
|
11224 |
|
11225 <li class="param"> |
|
11226 |
|
11227 <code class="param-name optional">[arg*]</code> |
|
11228 <span class="type">Any</span> |
|
11229 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11230 |
|
11231 |
|
11232 |
|
11233 |
|
11234 <div class="param-description"> |
|
11235 <p>0..n additional arguments to supply to the subscriber</p> |
|
11236 </div> |
|
11237 |
|
11238 |
|
11239 </li> |
|
11240 |
|
11241 </ul> |
|
11242 </div> |
|
11243 |
|
11244 |
|
11245 |
|
11246 <div class="returns"> |
|
11247 <h4>Returns:</h4> |
|
11248 |
|
11249 <div class="returns-description"> |
|
11250 |
|
11251 |
|
11252 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
11253 |
|
11254 A subscription handle capable of detaching that |
|
11255 subscription |
|
11256 |
|
11257 </div> |
|
11258 </div> |
|
11259 |
|
11260 |
|
11261 |
|
11262 </div> |
|
11263 |
|
11264 |
|
11265 <div id="method_once" class="method item inherited"> |
|
11266 <h3 class="name"><code>once</code></h3> |
|
11267 |
|
11268 |
|
11269 <div class="args"> |
|
11270 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11271 |
|
11272 <li class="arg"> |
|
11273 |
|
11274 <code>type</code> |
|
11275 |
|
11276 </li> |
|
11277 |
|
11278 <li class="arg"> |
|
11279 |
|
11280 <code>fn</code> |
|
11281 |
|
11282 </li> |
|
11283 |
|
11284 <li class="arg"> |
|
11285 |
|
11286 <code class="optional">[context]</code> |
|
11287 |
|
11288 </li> |
|
11289 |
|
11290 <li class="arg"> |
|
11291 |
|
11292 <code class="optional">[arg*]</code> |
|
11293 |
|
11294 </li> |
|
11295 |
|
11296 </ul><span class="paren">)</span> |
|
11297 </div> |
|
11298 |
|
11299 |
|
11300 |
|
11301 <span class="returns-inline"> |
|
11302 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
11303 </span> |
|
11304 |
|
11305 |
|
11306 |
|
11307 |
|
11308 |
|
11309 |
|
11310 |
|
11311 |
|
11312 |
|
11313 |
|
11314 |
|
11315 |
|
11316 |
|
11317 |
|
11318 <div class="meta"> |
|
11319 |
|
11320 |
|
11321 <p>Inherited from |
|
11322 <a href="../classes/EventTarget.html#method_once">EventTarget</a>: |
|
11323 |
|
11324 |
|
11325 |
|
11326 <a href="../files/event-custom_js_event-target.js.html#l124"><code>event-custom/js/event-target.js:124</code></a> |
|
11327 |
|
11328 </p> |
|
11329 |
|
11330 |
|
11331 |
|
11332 |
|
11333 |
|
11334 </div> |
|
11335 |
|
11336 <div class="description"> |
|
11337 <p>Listen to a custom event hosted by this object one time. |
|
11338 This is the equivalent to <code>on</code> except the |
|
11339 listener is immediatelly detached when it is executed.</p> |
|
11340 </div> |
|
11341 |
|
11342 |
|
11343 <div class="params"> |
|
11344 <h4>Parameters:</h4> |
|
11345 |
|
11346 <ul class="params-list"> |
|
11347 |
|
11348 <li class="param"> |
|
11349 |
|
11350 <code class="param-name">type</code> |
|
11351 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11352 |
|
11353 |
|
11354 |
|
11355 |
|
11356 <div class="param-description"> |
|
11357 <p>The name of the event</p> |
|
11358 </div> |
|
11359 |
|
11360 |
|
11361 </li> |
|
11362 |
|
11363 <li class="param"> |
|
11364 |
|
11365 <code class="param-name">fn</code> |
|
11366 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
11367 |
|
11368 |
|
11369 |
|
11370 |
|
11371 <div class="param-description"> |
|
11372 <p>The callback to execute in response to the event</p> |
|
11373 </div> |
|
11374 |
|
11375 |
|
11376 </li> |
|
11377 |
|
11378 <li class="param"> |
|
11379 |
|
11380 <code class="param-name optional">[context]</code> |
|
11381 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11382 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11383 |
|
11384 |
|
11385 |
|
11386 |
|
11387 <div class="param-description"> |
|
11388 <p>Override <code>this</code> object in callback</p> |
|
11389 </div> |
|
11390 |
|
11391 |
|
11392 </li> |
|
11393 |
|
11394 <li class="param"> |
|
11395 |
|
11396 <code class="param-name optional">[arg*]</code> |
|
11397 <span class="type">Any</span> |
|
11398 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11399 |
|
11400 |
|
11401 |
|
11402 |
|
11403 <div class="param-description"> |
|
11404 <p>0..n additional arguments to supply to the subscriber</p> |
|
11405 </div> |
|
11406 |
|
11407 |
|
11408 </li> |
|
11409 |
|
11410 </ul> |
|
11411 </div> |
|
11412 |
|
11413 |
|
11414 |
|
11415 <div class="returns"> |
|
11416 <h4>Returns:</h4> |
|
11417 |
|
11418 <div class="returns-description"> |
|
11419 |
|
11420 |
|
11421 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
11422 |
|
11423 A subscription handle capable of detaching the |
|
11424 subscription |
|
11425 |
|
11426 </div> |
|
11427 </div> |
|
11428 |
|
11429 |
|
11430 |
|
11431 </div> |
|
11432 |
|
11433 |
|
11434 <div id="method_onceAfter" class="method item inherited"> |
|
11435 <h3 class="name"><code>onceAfter</code></h3> |
|
11436 |
|
11437 |
|
11438 <div class="args"> |
|
11439 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11440 |
|
11441 <li class="arg"> |
|
11442 |
|
11443 <code>type</code> |
|
11444 |
|
11445 </li> |
|
11446 |
|
11447 <li class="arg"> |
|
11448 |
|
11449 <code>fn</code> |
|
11450 |
|
11451 </li> |
|
11452 |
|
11453 <li class="arg"> |
|
11454 |
|
11455 <code class="optional">[context]</code> |
|
11456 |
|
11457 </li> |
|
11458 |
|
11459 <li class="arg"> |
|
11460 |
|
11461 <code class="optional">[arg*]</code> |
|
11462 |
|
11463 </li> |
|
11464 |
|
11465 </ul><span class="paren">)</span> |
|
11466 </div> |
|
11467 |
|
11468 |
|
11469 |
|
11470 <span class="returns-inline"> |
|
11471 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
11472 </span> |
|
11473 |
|
11474 |
|
11475 |
|
11476 |
|
11477 |
|
11478 |
|
11479 |
|
11480 |
|
11481 |
|
11482 |
|
11483 |
|
11484 |
|
11485 |
|
11486 |
|
11487 <div class="meta"> |
|
11488 |
|
11489 |
|
11490 <p>Inherited from |
|
11491 <a href="../classes/EventTarget.html#method_onceAfter">EventTarget</a>: |
|
11492 |
|
11493 |
|
11494 |
|
11495 <a href="../files/event-custom_js_event-target.js.html#l146"><code>event-custom/js/event-target.js:146</code></a> |
|
11496 |
|
11497 </p> |
|
11498 |
|
11499 |
|
11500 |
|
11501 |
|
11502 |
|
11503 </div> |
|
11504 |
|
11505 <div class="description"> |
|
11506 <p>Listen to a custom event hosted by this object one time. |
|
11507 This is the equivalent to <code>after</code> except the |
|
11508 listener is immediatelly detached when it is executed.</p> |
|
11509 </div> |
|
11510 |
|
11511 |
|
11512 <div class="params"> |
|
11513 <h4>Parameters:</h4> |
|
11514 |
|
11515 <ul class="params-list"> |
|
11516 |
|
11517 <li class="param"> |
|
11518 |
|
11519 <code class="param-name">type</code> |
|
11520 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11521 |
|
11522 |
|
11523 |
|
11524 |
|
11525 <div class="param-description"> |
|
11526 <p>The name of the event</p> |
|
11527 </div> |
|
11528 |
|
11529 |
|
11530 </li> |
|
11531 |
|
11532 <li class="param"> |
|
11533 |
|
11534 <code class="param-name">fn</code> |
|
11535 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
11536 |
|
11537 |
|
11538 |
|
11539 |
|
11540 <div class="param-description"> |
|
11541 <p>The callback to execute in response to the event</p> |
|
11542 </div> |
|
11543 |
|
11544 |
|
11545 </li> |
|
11546 |
|
11547 <li class="param"> |
|
11548 |
|
11549 <code class="param-name optional">[context]</code> |
|
11550 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11551 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11552 |
|
11553 |
|
11554 |
|
11555 |
|
11556 <div class="param-description"> |
|
11557 <p>Override <code>this</code> object in callback</p> |
|
11558 </div> |
|
11559 |
|
11560 |
|
11561 </li> |
|
11562 |
|
11563 <li class="param"> |
|
11564 |
|
11565 <code class="param-name optional">[arg*]</code> |
|
11566 <span class="type">Any</span> |
|
11567 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11568 |
|
11569 |
|
11570 |
|
11571 |
|
11572 <div class="param-description"> |
|
11573 <p>0..n additional arguments to supply to the subscriber</p> |
|
11574 </div> |
|
11575 |
|
11576 |
|
11577 </li> |
|
11578 |
|
11579 </ul> |
|
11580 </div> |
|
11581 |
|
11582 |
|
11583 |
|
11584 <div class="returns"> |
|
11585 <h4>Returns:</h4> |
|
11586 |
|
11587 <div class="returns-description"> |
|
11588 |
|
11589 |
|
11590 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
11591 |
|
11592 A subscription handle capable of detaching that |
|
11593 subscription |
|
11594 |
|
11595 </div> |
|
11596 </div> |
|
11597 |
|
11598 |
|
11599 |
|
11600 </div> |
|
11601 |
|
11602 |
|
11603 <div id="method_parseType" class="method item inherited"> |
|
11604 <h3 class="name"><code>parseType</code></h3> |
|
11605 |
|
11606 |
|
11607 <div class="args"> |
|
11608 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11609 |
|
11610 <li class="arg"> |
|
11611 |
|
11612 <code>type</code> |
|
11613 |
|
11614 </li> |
|
11615 |
|
11616 <li class="arg"> |
|
11617 |
|
11618 <code class="optional">[pre=this._yuievt.config.prefix]</code> |
|
11619 |
|
11620 </li> |
|
11621 |
|
11622 </ul><span class="paren">)</span> |
|
11623 </div> |
|
11624 |
|
11625 |
|
11626 |
|
11627 <span class="returns-inline"> |
|
11628 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
11629 </span> |
|
11630 |
|
11631 |
|
11632 |
|
11633 |
|
11634 |
|
11635 |
|
11636 |
|
11637 |
|
11638 |
|
11639 |
|
11640 |
|
11641 |
|
11642 |
|
11643 |
|
11644 <div class="meta"> |
|
11645 |
|
11646 |
|
11647 <p>Inherited from |
|
11648 <a href="../classes/EventTarget.html#method_parseType">EventTarget</a>: |
|
11649 |
|
11650 |
|
11651 |
|
11652 <a href="../files/event-custom_js_event-target.js.html#l168"><code>event-custom/js/event-target.js:168</code></a> |
|
11653 |
|
11654 </p> |
|
11655 |
|
11656 |
|
11657 |
|
11658 |
|
11659 |
|
11660 <p>Available since 3.3.0</p> |
|
11661 |
|
11662 </div> |
|
11663 |
|
11664 <div class="description"> |
|
11665 <p>Takes the type parameter passed to 'on' and parses out the |
|
11666 various pieces that could be included in the type. If the |
|
11667 event type is passed without a prefix, it will be expanded |
|
11668 to include the prefix one is supplied or the event target |
|
11669 is configured with a default prefix.</p> |
|
11670 </div> |
|
11671 |
|
11672 |
|
11673 <div class="params"> |
|
11674 <h4>Parameters:</h4> |
|
11675 |
|
11676 <ul class="params-list"> |
|
11677 |
|
11678 <li class="param"> |
|
11679 |
|
11680 <code class="param-name">type</code> |
|
11681 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11682 |
|
11683 |
|
11684 |
|
11685 |
|
11686 <div class="param-description"> |
|
11687 <p>the type</p> |
|
11688 </div> |
|
11689 |
|
11690 |
|
11691 </li> |
|
11692 |
|
11693 <li class="param"> |
|
11694 |
|
11695 <code class="param-name optional">[pre=this._yuievt.config.prefix]</code> |
|
11696 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11697 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11698 |
|
11699 |
|
11700 |
|
11701 |
|
11702 <div class="param-description"> |
|
11703 <p>the prefix</p> |
|
11704 </div> |
|
11705 |
|
11706 |
|
11707 </li> |
|
11708 |
|
11709 </ul> |
|
11710 </div> |
|
11711 |
|
11712 |
|
11713 |
|
11714 <div class="returns"> |
|
11715 <h4>Returns:</h4> |
|
11716 |
|
11717 <div class="returns-description"> |
|
11718 |
|
11719 |
|
11720 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>: |
|
11721 |
|
11722 an array containing: |
|
11723 * the detach category, if supplied, |
|
11724 * the prefixed event type, |
|
11725 * whether or not this is an after listener, |
|
11726 * the supplied event type |
|
11727 |
|
11728 </div> |
|
11729 </div> |
|
11730 |
|
11731 |
|
11732 |
|
11733 </div> |
|
11734 |
|
11735 |
|
11736 <div id="method_publish" class="method item inherited"> |
|
11737 <h3 class="name"><code>publish</code></h3> |
|
11738 |
|
11739 |
|
11740 <div class="args"> |
|
11741 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11742 |
|
11743 <li class="arg"> |
|
11744 |
|
11745 <code>type</code> |
|
11746 |
|
11747 </li> |
|
11748 |
|
11749 <li class="arg"> |
|
11750 |
|
11751 <code>opts</code> |
|
11752 |
|
11753 </li> |
|
11754 |
|
11755 </ul><span class="paren">)</span> |
|
11756 </div> |
|
11757 |
|
11758 |
|
11759 |
|
11760 <span class="returns-inline"> |
|
11761 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
11762 </span> |
|
11763 |
|
11764 |
|
11765 |
|
11766 |
|
11767 |
|
11768 |
|
11769 |
|
11770 |
|
11771 |
|
11772 |
|
11773 |
|
11774 |
|
11775 |
|
11776 |
|
11777 <div class="meta"> |
|
11778 |
|
11779 |
|
11780 <p>Inherited from |
|
11781 <a href="../classes/EventTarget.html#method_publish">EventTarget</a>: |
|
11782 |
|
11783 |
|
11784 |
|
11785 <a href="../files/event-custom_js_event-target.js.html#l493"><code>event-custom/js/event-target.js:493</code></a> |
|
11786 |
|
11787 </p> |
|
11788 |
|
11789 |
|
11790 |
|
11791 |
|
11792 |
|
11793 </div> |
|
11794 |
|
11795 <div class="description"> |
|
11796 <p>Creates a new custom event of the specified type. If a custom event |
|
11797 by that name already exists, it will not be re-created. In either |
|
11798 case the custom event is returned.</p> |
|
11799 </div> |
|
11800 |
|
11801 |
|
11802 <div class="params"> |
|
11803 <h4>Parameters:</h4> |
|
11804 |
|
11805 <ul class="params-list"> |
|
11806 |
|
11807 <li class="param"> |
|
11808 |
|
11809 <code class="param-name">type</code> |
|
11810 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11811 |
|
11812 |
|
11813 |
|
11814 |
|
11815 <div class="param-description"> |
|
11816 <p>the type, or name of the event</p> |
|
11817 </div> |
|
11818 |
|
11819 |
|
11820 </li> |
|
11821 |
|
11822 <li class="param"> |
|
11823 |
|
11824 <code class="param-name">opts</code> |
|
11825 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11826 |
|
11827 |
|
11828 |
|
11829 |
|
11830 <div class="param-description"> |
|
11831 <p>optional config params. Valid properties are:</p> |
|
11832 |
|
11833 <p><ul> |
|
11834 <li> |
|
11835 'broadcast': whether or not the YUI instance and YUI global are notified when the event is fired (false) |
|
11836 </li> |
|
11837 <li> |
|
11838 'bubbles': whether or not this event bubbles (true) |
|
11839 Events can only bubble if emitFacade is true. |
|
11840 </li> |
|
11841 <li> |
|
11842 'context': the default execution context for the listeners (this) |
|
11843 </li> |
|
11844 <li> |
|
11845 'defaultFn': the default function to execute when this event fires if preventDefault was not called |
|
11846 </li> |
|
11847 <li> |
|
11848 'emitFacade': whether or not this event emits a facade (false) |
|
11849 </li> |
|
11850 <li> |
|
11851 'prefix': the prefix for this targets events, e.g., 'menu' in 'menu:click' |
|
11852 </li> |
|
11853 <li> |
|
11854 'fireOnce': if an event is configured to fire once, new subscribers after |
|
11855 the fire will be notified immediately. |
|
11856 </li> |
|
11857 <li> |
|
11858 'async': fireOnce event listeners will fire synchronously if the event has already |
|
11859 fired unless async is true. |
|
11860 </li> |
|
11861 <li> |
|
11862 'preventable': whether or not preventDefault() has an effect (true) |
|
11863 </li> |
|
11864 <li> |
|
11865 'preventedFn': a function that is executed when preventDefault is called |
|
11866 </li> |
|
11867 <li> |
|
11868 'queuable': whether or not this event can be queued during bubbling (false) |
|
11869 </li> |
|
11870 <li> |
|
11871 'silent': if silent is true, debug messages are not provided for this event. |
|
11872 </li> |
|
11873 <li> |
|
11874 'stoppedFn': a function that is executed when stopPropagation is called |
|
11875 </li></p> |
|
11876 |
|
11877 <p><li> |
|
11878 'monitored': specifies whether or not this event should send notifications about |
|
11879 when the event has been attached, detached, or published. |
|
11880 </li> |
|
11881 <li> |
|
11882 'type': the event type (valid option if not provided as the first parameter to publish) |
|
11883 </li> |
|
11884 </ul></p> |
|
11885 </div> |
|
11886 |
|
11887 |
|
11888 </li> |
|
11889 |
|
11890 </ul> |
|
11891 </div> |
|
11892 |
|
11893 |
|
11894 |
|
11895 <div class="returns"> |
|
11896 <h4>Returns:</h4> |
|
11897 |
|
11898 <div class="returns-description"> |
|
11899 |
|
11900 |
|
11901 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>: |
|
11902 |
|
11903 the custom event |
|
11904 |
|
11905 </div> |
|
11906 </div> |
|
11907 |
|
11908 |
|
11909 |
|
11910 </div> |
|
11911 |
|
11912 |
|
11913 <div id="method_remove" class="method item inherited"> |
|
11914 <h3 class="name"><code>remove</code></h3> |
|
11915 |
|
11916 |
|
11917 <span class="paren">()</span> |
|
11918 |
|
11919 |
|
11920 |
|
11921 |
|
11922 |
|
11923 |
|
11924 |
|
11925 |
|
11926 |
|
11927 |
|
11928 |
|
11929 |
|
11930 |
|
11931 <span class="flag chainable">chainable</span> |
|
11932 |
|
11933 |
|
11934 |
|
11935 |
|
11936 <div class="meta"> |
|
11937 |
|
11938 |
|
11939 <p>Inherited from |
|
11940 <a href="../classes/View.html#method_remove">View</a>: |
|
11941 |
|
11942 |
|
11943 |
|
11944 <a href="../files/app_js_view.js.html#l272"><code>app/js/view.js:272</code></a> |
|
11945 |
|
11946 </p> |
|
11947 |
|
11948 |
|
11949 |
|
11950 |
|
11951 |
|
11952 </div> |
|
11953 |
|
11954 <div class="description"> |
|
11955 <p>Removes this view's container element from the DOM (if it's in the DOM), |
|
11956 but doesn't destroy it or any event listeners attached to it.</p> |
|
11957 </div> |
|
11958 |
|
11959 |
|
11960 |
|
11961 |
|
11962 |
|
11963 |
|
11964 </div> |
|
11965 |
|
11966 |
|
11967 <div id="method_removeAttr" class="method item inherited"> |
|
11968 <h3 class="name"><code>removeAttr</code></h3> |
|
11969 |
|
11970 |
|
11971 <div class="args"> |
|
11972 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11973 |
|
11974 <li class="arg"> |
|
11975 |
|
11976 <code>name</code> |
|
11977 |
|
11978 </li> |
|
11979 |
|
11980 </ul><span class="paren">)</span> |
|
11981 </div> |
|
11982 |
|
11983 |
|
11984 |
|
11985 |
|
11986 |
|
11987 |
|
11988 |
|
11989 |
|
11990 |
|
11991 |
|
11992 |
|
11993 |
|
11994 |
|
11995 |
|
11996 |
|
11997 |
|
11998 <div class="meta"> |
|
11999 |
|
12000 |
|
12001 <p>Inherited from |
|
12002 <a href="../classes/AttributeExtras.html#method_removeAttr">AttributeExtras</a>: |
|
12003 |
|
12004 |
|
12005 |
|
12006 <a href="../files/attribute_js_AttributeExtras.js.html#l79"><code>attribute/js/AttributeExtras.js:79</code></a> |
|
12007 |
|
12008 </p> |
|
12009 |
|
12010 |
|
12011 |
|
12012 |
|
12013 |
|
12014 </div> |
|
12015 |
|
12016 <div class="description"> |
|
12017 <p>Removes an attribute from the host object</p> |
|
12018 </div> |
|
12019 |
|
12020 |
|
12021 <div class="params"> |
|
12022 <h4>Parameters:</h4> |
|
12023 |
|
12024 <ul class="params-list"> |
|
12025 |
|
12026 <li class="param"> |
|
12027 |
|
12028 <code class="param-name">name</code> |
|
12029 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12030 |
|
12031 |
|
12032 |
|
12033 |
|
12034 <div class="param-description"> |
|
12035 <p>The name of the attribute to be removed.</p> |
|
12036 </div> |
|
12037 |
|
12038 |
|
12039 </li> |
|
12040 |
|
12041 </ul> |
|
12042 </div> |
|
12043 |
|
12044 |
|
12045 |
|
12046 |
|
12047 |
|
12048 </div> |
|
12049 |
|
12050 |
|
12051 <div id="method_removeTarget" class="method item inherited"> |
|
12052 <h3 class="name"><code>removeTarget</code></h3> |
|
12053 |
|
12054 |
|
12055 <div class="args"> |
|
12056 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12057 |
|
12058 <li class="arg"> |
|
12059 |
|
12060 <code>o</code> |
|
12061 |
|
12062 </li> |
|
12063 |
|
12064 </ul><span class="paren">)</span> |
|
12065 </div> |
|
12066 |
|
12067 |
|
12068 |
|
12069 |
|
12070 |
|
12071 |
|
12072 |
|
12073 |
|
12074 |
|
12075 |
|
12076 |
|
12077 |
|
12078 |
|
12079 |
|
12080 |
|
12081 |
|
12082 <div class="meta"> |
|
12083 |
|
12084 |
|
12085 <p>Inherited from |
|
12086 <a href="../classes/EventTarget.html#method_removeTarget">EventTarget</a>: |
|
12087 |
|
12088 |
|
12089 |
|
12090 <a href="../files/event-custom_js_event-facade.js.html#l489"><code>event-custom/js/event-facade.js:489</code></a> |
|
12091 |
|
12092 </p> |
|
12093 |
|
12094 |
|
12095 |
|
12096 |
|
12097 |
|
12098 </div> |
|
12099 |
|
12100 <div class="description"> |
|
12101 <p>Removes a bubble target</p> |
|
12102 </div> |
|
12103 |
|
12104 |
|
12105 <div class="params"> |
|
12106 <h4>Parameters:</h4> |
|
12107 |
|
12108 <ul class="params-list"> |
|
12109 |
|
12110 <li class="param"> |
|
12111 |
|
12112 <code class="param-name">o</code> |
|
12113 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
12114 |
|
12115 |
|
12116 |
|
12117 |
|
12118 <div class="param-description"> |
|
12119 <p>the target to remove</p> |
|
12120 </div> |
|
12121 |
|
12122 |
|
12123 </li> |
|
12124 |
|
12125 </ul> |
|
12126 </div> |
|
12127 |
|
12128 |
|
12129 |
|
12130 |
|
12131 |
|
12132 </div> |
|
12133 |
|
12134 |
|
12135 <div id="method_render" class="method item"> |
|
12136 <h3 class="name"><code>render</code></h3> |
|
12137 |
|
12138 |
|
12139 <span class="paren">()</span> |
|
12140 |
|
12141 |
|
12142 |
|
12143 <span class="returns-inline"> |
|
12144 <span class="type">BodyView</span> |
|
12145 </span> |
|
12146 |
|
12147 |
|
12148 |
|
12149 |
|
12150 |
|
12151 |
|
12152 |
|
12153 |
|
12154 |
|
12155 |
|
12156 |
|
12157 <span class="flag chainable">chainable</span> |
|
12158 |
|
12159 |
|
12160 |
|
12161 |
|
12162 <div class="meta"> |
|
12163 |
|
12164 <p>Inherited from |
|
12165 <a href="../classes/View.html#method_render"> |
|
12166 View |
|
12167 </a> |
|
12168 |
|
12169 but overwritten in |
|
12170 |
|
12171 |
|
12172 |
|
12173 <a href="../files/datatable_js_body.js.html#l340"><code>datatable/js/body.js:340</code></a> |
|
12174 |
|
12175 </p> |
|
12176 |
|
12177 |
|
12178 |
|
12179 |
|
12180 |
|
12181 <p>Available since 3.5.0</p> |
|
12182 |
|
12183 </div> |
|
12184 |
|
12185 <div class="description"> |
|
12186 <p>Creates the table's <code><tbody></code> content by assembling markup generated by |
|
12187 populating the <code>ROW\_TEMPLATE</code>, and <code>CELL\_TEMPLATE</code> templates with content |
|
12188 from the <code>columns</code> and <code>modelList</code> attributes.</p> |
|
12189 |
|
12190 <p>The rendering process happens in three stages:</p> |
|
12191 |
|
12192 <ol> |
|
12193 <li><p>A row template is assembled from the <code>columns</code> attribute (see |
|
12194 <code>_createRowTemplate</code>)</p></li> |
|
12195 <li><p>An HTML string is built up by concatening the application of the data in |
|
12196 each Model in the <code>modelList</code> to the row template. For cells with |
|
12197 <code>formatter</code>s, the function is called to generate cell content. Cells |
|
12198 with <code>nodeFormatter</code>s are ignored. For all other cells, the data value |
|
12199 from the Model attribute for the given column key is used. The |
|
12200 accumulated row markup is then inserted into the container.</p></li> |
|
12201 <li><p>If any column is configured with a <code>nodeFormatter</code>, the <code>modelList</code> is |
|
12202 iterated again to apply the <code>nodeFormatter</code>s.</p></li> |
|
12203 </ol> |
|
12204 |
|
12205 <p>Supported properties of the column objects include:</p> |
|
12206 |
|
12207 <ul> |
|
12208 <li><code>key</code> - Used to link a column to an attribute in a Model.</li> |
|
12209 <li><code>name</code> - Used for columns that don't relate to an attribute in the Model |
|
12210 (<code>formatter</code> or <code>nodeFormatter</code> only) if the implementer wants a |
|
12211 predictable name to refer to in their CSS.</li> |
|
12212 <li><code>cellTemplate</code> - Overrides the instance's <code>CELL_TEMPLATE</code> for cells in |
|
12213 this column only.</li> |
|
12214 <li><code>formatter</code> - Used to customize or override the content value from the |
|
12215 Model. These do not have access to the cell or row Nodes and should |
|
12216 return string (HTML) content.</li> |
|
12217 <li><code>nodeFormatter</code> - Used to provide content for a cell as well as perform |
|
12218 any custom modifications on the cell or row Node that could not be |
|
12219 performed by <code>formatter</code>s. Should be used sparingly for better |
|
12220 performance.</li> |
|
12221 <li><code>emptyCellValue</code> - String (HTML) value to use if the Model data for a |
|
12222 column, or the content generated by a <code>formatter</code>, is the empty string, |
|
12223 <code>null</code>, or <code>undefined</code>.</li> |
|
12224 <li><code>allowHTML</code> - Set to <code>true</code> if a column value, <code>formatter</code>, or |
|
12225 <code>emptyCellValue</code> can contain HTML. This defaults to <code>false</code> to protect |
|
12226 against XSS.</li> |
|
12227 <li><code>className</code> - Space delimited CSS classes to add to all <code><td></code>s in a |
|
12228 column.</li> |
|
12229 </ul> |
|
12230 |
|
12231 <p>Column <code>formatter</code>s are passed an object (<code>o</code>) with the following |
|
12232 properties:</p> |
|
12233 |
|
12234 <ul> |
|
12235 <li><code>value</code> - The current value of the column's associated attribute, if |
|
12236 any.</li> |
|
12237 <li><code>data</code> - An object map of Model keys to their current values.</li> |
|
12238 <li><code>record</code> - The Model instance.</li> |
|
12239 <li><code>column</code> - The column configuration object for the current column.</li> |
|
12240 <li><code>className</code> - Initially empty string to allow <code>formatter</code>s to add CSS |
|
12241 classes to the cell's <code><td></code>.</li> |
|
12242 <li><code>rowIndex</code> - The zero-based row number.</li> |
|
12243 <li><code>rowClass</code> - Initially empty string to allow <code>formatter</code>s to add CSS |
|
12244 classes to the cell's containing row <code><tr></code>.</li> |
|
12245 </ul> |
|
12246 |
|
12247 <p>They may return a value or update <code>o.value</code> to assign specific HTML |
|
12248 content. A returned value has higher precedence.</p> |
|
12249 |
|
12250 <p>Column <code>nodeFormatter</code>s are passed an object (<code>o</code>) with the following |
|
12251 properties:</p> |
|
12252 |
|
12253 <ul> |
|
12254 <li><code>value</code> - The current value of the column's associated attribute, if |
|
12255 any.</li> |
|
12256 <li><code>td</code> - The <code><td></code> Node instance.</li> |
|
12257 <li><code>cell</code> - The <code><div></code> liner Node instance if present, otherwise, the |
|
12258 <code><td></code>. When adding content to the cell, prefer appending into this |
|
12259 property.</li> |
|
12260 <li><code>data</code> - An object map of Model keys to their current values.</li> |
|
12261 <li><code>record</code> - The Model instance.</li> |
|
12262 <li><code>column</code> - The column configuration object for the current column.</li> |
|
12263 <li><code>rowIndex</code> - The zero-based row number.</li> |
|
12264 </ul> |
|
12265 |
|
12266 <p>They are expected to inject content into the cell's Node directly, including |
|
12267 any "empty" cell content. Each <code>nodeFormatter</code> will have access through the |
|
12268 Node API to all cells and rows in the <code><tbody></code>, but not to the <code><table></code>, |
|
12269 as it will not be attached yet.</p> |
|
12270 |
|
12271 <p>If a <code>nodeFormatter</code> returns <code>false</code>, the <code>o.td</code> and <code>o.cell</code> Nodes will be |
|
12272 <code>destroy()</code>ed to remove them from the Node cache and free up memory. The |
|
12273 DOM elements will remain as will any content added to them. <em>It is highly |
|
12274 advisable to always return <code>false</code> from your <code>nodeFormatter</code>s</em>.</p> |
|
12275 </div> |
|
12276 |
|
12277 |
|
12278 |
|
12279 |
|
12280 <div class="returns"> |
|
12281 <h4>Returns:</h4> |
|
12282 |
|
12283 <div class="returns-description"> |
|
12284 |
|
12285 |
|
12286 <span class="type">BodyView</span>: |
|
12287 |
|
12288 The instance |
|
12289 |
|
12290 </div> |
|
12291 </div> |
|
12292 |
|
12293 |
|
12294 |
|
12295 </div> |
|
12296 |
|
12297 |
|
12298 <div id="method_reset" class="method item inherited"> |
|
12299 <h3 class="name"><code>reset</code></h3> |
|
12300 |
|
12301 |
|
12302 <div class="args"> |
|
12303 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12304 |
|
12305 <li class="arg"> |
|
12306 |
|
12307 <code>name</code> |
|
12308 |
|
12309 </li> |
|
12310 |
|
12311 </ul><span class="paren">)</span> |
|
12312 </div> |
|
12313 |
|
12314 |
|
12315 |
|
12316 <span class="returns-inline"> |
|
12317 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12318 </span> |
|
12319 |
|
12320 |
|
12321 |
|
12322 |
|
12323 |
|
12324 |
|
12325 |
|
12326 |
|
12327 |
|
12328 |
|
12329 |
|
12330 <span class="flag chainable">chainable</span> |
|
12331 |
|
12332 |
|
12333 |
|
12334 |
|
12335 <div class="meta"> |
|
12336 |
|
12337 |
|
12338 <p>Inherited from |
|
12339 <a href="../classes/AttributeExtras.html#method_reset">AttributeExtras</a>: |
|
12340 |
|
12341 |
|
12342 |
|
12343 <a href="../files/attribute_js_AttributeExtras.js.html#l89"><code>attribute/js/AttributeExtras.js:89</code></a> |
|
12344 |
|
12345 </p> |
|
12346 |
|
12347 |
|
12348 |
|
12349 |
|
12350 |
|
12351 </div> |
|
12352 |
|
12353 <div class="description"> |
|
12354 <p>Resets the attribute (or all attributes) to its initial value, as long as |
|
12355 the attribute is not readOnly, or writeOnce.</p> |
|
12356 </div> |
|
12357 |
|
12358 |
|
12359 <div class="params"> |
|
12360 <h4>Parameters:</h4> |
|
12361 |
|
12362 <ul class="params-list"> |
|
12363 |
|
12364 <li class="param"> |
|
12365 |
|
12366 <code class="param-name">name</code> |
|
12367 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12368 |
|
12369 |
|
12370 |
|
12371 |
|
12372 <div class="param-description"> |
|
12373 <p>Optional. The name of the attribute to reset. If omitted, all attributes are reset.</p> |
|
12374 </div> |
|
12375 |
|
12376 |
|
12377 </li> |
|
12378 |
|
12379 </ul> |
|
12380 </div> |
|
12381 |
|
12382 |
|
12383 |
|
12384 <div class="returns"> |
|
12385 <h4>Returns:</h4> |
|
12386 |
|
12387 <div class="returns-description"> |
|
12388 |
|
12389 |
|
12390 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
12391 |
|
12392 A reference to the host object. |
|
12393 |
|
12394 </div> |
|
12395 </div> |
|
12396 |
|
12397 |
|
12398 |
|
12399 </div> |
|
12400 |
|
12401 |
|
12402 <div id="method_set" class="method item inherited"> |
|
12403 <h3 class="name"><code>set</code></h3> |
|
12404 |
|
12405 |
|
12406 <div class="args"> |
|
12407 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12408 |
|
12409 <li class="arg"> |
|
12410 |
|
12411 <code>name</code> |
|
12412 |
|
12413 </li> |
|
12414 |
|
12415 <li class="arg"> |
|
12416 |
|
12417 <code>value</code> |
|
12418 |
|
12419 </li> |
|
12420 |
|
12421 <li class="arg"> |
|
12422 |
|
12423 <code class="optional">[opts]</code> |
|
12424 |
|
12425 </li> |
|
12426 |
|
12427 </ul><span class="paren">)</span> |
|
12428 </div> |
|
12429 |
|
12430 |
|
12431 |
|
12432 <span class="returns-inline"> |
|
12433 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12434 </span> |
|
12435 |
|
12436 |
|
12437 |
|
12438 |
|
12439 |
|
12440 |
|
12441 |
|
12442 |
|
12443 |
|
12444 |
|
12445 |
|
12446 <span class="flag chainable">chainable</span> |
|
12447 |
|
12448 |
|
12449 |
|
12450 |
|
12451 <div class="meta"> |
|
12452 |
|
12453 <p>Inherited from |
|
12454 <a href="../classes/AttributeObservable.html#method_set"> |
|
12455 AttributeObservable |
|
12456 </a> |
|
12457 |
|
12458 but overwritten in |
|
12459 |
|
12460 |
|
12461 |
|
12462 <a href="../files/attribute_js_AttributeCore.js.html#l410"><code>attribute/js/AttributeCore.js:410</code></a> |
|
12463 |
|
12464 </p> |
|
12465 |
|
12466 |
|
12467 |
|
12468 |
|
12469 |
|
12470 </div> |
|
12471 |
|
12472 <div class="description"> |
|
12473 <p>Sets the value of an attribute.</p> |
|
12474 </div> |
|
12475 |
|
12476 |
|
12477 <div class="params"> |
|
12478 <h4>Parameters:</h4> |
|
12479 |
|
12480 <ul class="params-list"> |
|
12481 |
|
12482 <li class="param"> |
|
12483 |
|
12484 <code class="param-name">name</code> |
|
12485 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12486 |
|
12487 |
|
12488 |
|
12489 |
|
12490 <div class="param-description"> |
|
12491 <p>The name of the attribute. If the |
|
12492 current value of the attribute is an Object, dot notation can be used |
|
12493 to set the value of a property within the object (e.g. <code>set("x.y.z", 5)</code>).</p> |
|
12494 </div> |
|
12495 |
|
12496 |
|
12497 </li> |
|
12498 |
|
12499 <li class="param"> |
|
12500 |
|
12501 <code class="param-name">value</code> |
|
12502 <span class="type">Any</span> |
|
12503 |
|
12504 |
|
12505 |
|
12506 |
|
12507 <div class="param-description"> |
|
12508 <p>The value to set the attribute to.</p> |
|
12509 </div> |
|
12510 |
|
12511 |
|
12512 </li> |
|
12513 |
|
12514 <li class="param"> |
|
12515 |
|
12516 <code class="param-name optional">[opts]</code> |
|
12517 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12518 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
12519 |
|
12520 |
|
12521 |
|
12522 |
|
12523 <div class="param-description"> |
|
12524 <p>Optional data providing the circumstances for the change.</p> |
|
12525 </div> |
|
12526 |
|
12527 |
|
12528 </li> |
|
12529 |
|
12530 </ul> |
|
12531 </div> |
|
12532 |
|
12533 |
|
12534 |
|
12535 <div class="returns"> |
|
12536 <h4>Returns:</h4> |
|
12537 |
|
12538 <div class="returns-description"> |
|
12539 |
|
12540 |
|
12541 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
12542 |
|
12543 A reference to the host object. |
|
12544 |
|
12545 </div> |
|
12546 </div> |
|
12547 |
|
12548 |
|
12549 |
|
12550 </div> |
|
12551 |
|
12552 |
|
12553 <div id="method_setAttrs" class="method item inherited"> |
|
12554 <h3 class="name"><code>setAttrs</code></h3> |
|
12555 |
|
12556 |
|
12557 <div class="args"> |
|
12558 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12559 |
|
12560 <li class="arg"> |
|
12561 |
|
12562 <code>attrs</code> |
|
12563 |
|
12564 </li> |
|
12565 |
|
12566 <li class="arg"> |
|
12567 |
|
12568 <code class="optional">[opts]</code> |
|
12569 |
|
12570 </li> |
|
12571 |
|
12572 </ul><span class="paren">)</span> |
|
12573 </div> |
|
12574 |
|
12575 |
|
12576 |
|
12577 <span class="returns-inline"> |
|
12578 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12579 </span> |
|
12580 |
|
12581 |
|
12582 |
|
12583 |
|
12584 |
|
12585 |
|
12586 |
|
12587 |
|
12588 |
|
12589 |
|
12590 |
|
12591 <span class="flag chainable">chainable</span> |
|
12592 |
|
12593 |
|
12594 |
|
12595 |
|
12596 <div class="meta"> |
|
12597 |
|
12598 <p>Inherited from |
|
12599 <a href="../classes/AttributeObservable.html#method_setAttrs"> |
|
12600 AttributeObservable |
|
12601 </a> |
|
12602 |
|
12603 but overwritten in |
|
12604 |
|
12605 |
|
12606 |
|
12607 <a href="../files/attribute_js_AttributeCore.js.html#l729"><code>attribute/js/AttributeCore.js:729</code></a> |
|
12608 |
|
12609 </p> |
|
12610 |
|
12611 |
|
12612 |
|
12613 |
|
12614 |
|
12615 </div> |
|
12616 |
|
12617 <div class="description"> |
|
12618 <p>Sets multiple attribute values.</p> |
|
12619 </div> |
|
12620 |
|
12621 |
|
12622 <div class="params"> |
|
12623 <h4>Parameters:</h4> |
|
12624 |
|
12625 <ul class="params-list"> |
|
12626 |
|
12627 <li class="param"> |
|
12628 |
|
12629 <code class="param-name">attrs</code> |
|
12630 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12631 |
|
12632 |
|
12633 |
|
12634 |
|
12635 <div class="param-description"> |
|
12636 <p>An object with attributes name/value pairs.</p> |
|
12637 </div> |
|
12638 |
|
12639 |
|
12640 </li> |
|
12641 |
|
12642 <li class="param"> |
|
12643 |
|
12644 <code class="param-name optional">[opts]</code> |
|
12645 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12646 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
12647 |
|
12648 |
|
12649 |
|
12650 |
|
12651 <div class="param-description"> |
|
12652 <p>Optional data providing the circumstances for the change.</p> |
|
12653 </div> |
|
12654 |
|
12655 |
|
12656 </li> |
|
12657 |
|
12658 </ul> |
|
12659 </div> |
|
12660 |
|
12661 |
|
12662 |
|
12663 <div class="returns"> |
|
12664 <h4>Returns:</h4> |
|
12665 |
|
12666 <div class="returns-description"> |
|
12667 |
|
12668 |
|
12669 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
12670 |
|
12671 A reference to the host object. |
|
12672 |
|
12673 </div> |
|
12674 </div> |
|
12675 |
|
12676 |
|
12677 |
|
12678 </div> |
|
12679 |
|
12680 |
|
12681 <div id="method_subscribe" class="method item deprecated inherited"> |
|
12682 <h3 class="name"><code>subscribe</code></h3> |
|
12683 |
|
12684 |
|
12685 <span class="paren">()</span> |
|
12686 |
|
12687 |
|
12688 |
|
12689 |
|
12690 |
|
12691 <span class="flag deprecated" title="use on">deprecated</span> |
|
12692 |
|
12693 |
|
12694 |
|
12695 |
|
12696 |
|
12697 |
|
12698 |
|
12699 |
|
12700 |
|
12701 |
|
12702 |
|
12703 |
|
12704 <div class="meta"> |
|
12705 |
|
12706 |
|
12707 <p>Inherited from |
|
12708 <a href="../classes/EventTarget.html#method_subscribe">EventTarget</a>: |
|
12709 |
|
12710 |
|
12711 |
|
12712 <a href="../files/event-custom_js_event-target.js.html#l336"><code>event-custom/js/event-target.js:336</code></a> |
|
12713 |
|
12714 </p> |
|
12715 |
|
12716 |
|
12717 |
|
12718 <p>Deprecated: use on</p> |
|
12719 |
|
12720 |
|
12721 |
|
12722 </div> |
|
12723 |
|
12724 <div class="description"> |
|
12725 <p>subscribe to an event</p> |
|
12726 </div> |
|
12727 |
|
12728 |
|
12729 |
|
12730 |
|
12731 |
|
12732 |
|
12733 </div> |
|
12734 |
|
12735 |
|
12736 <div id="method_toString" class="method item inherited"> |
|
12737 <h3 class="name"><code>toString</code></h3> |
|
12738 |
|
12739 |
|
12740 <span class="paren">()</span> |
|
12741 |
|
12742 |
|
12743 |
|
12744 <span class="returns-inline"> |
|
12745 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12746 </span> |
|
12747 |
|
12748 |
|
12749 |
|
12750 |
|
12751 |
|
12752 |
|
12753 |
|
12754 |
|
12755 |
|
12756 |
|
12757 |
|
12758 |
|
12759 |
|
12760 |
|
12761 <div class="meta"> |
|
12762 |
|
12763 |
|
12764 <p>Inherited from |
|
12765 <a href="../classes/BaseCore.html#method_toString">BaseCore</a>: |
|
12766 |
|
12767 |
|
12768 |
|
12769 <a href="../files/base_js_BaseCore.js.html#l754"><code>base/js/BaseCore.js:754</code></a> |
|
12770 |
|
12771 </p> |
|
12772 |
|
12773 |
|
12774 |
|
12775 |
|
12776 |
|
12777 </div> |
|
12778 |
|
12779 <div class="description"> |
|
12780 <p>Default toString implementation. Provides the constructor NAME |
|
12781 and the instance guid, if set.</p> |
|
12782 </div> |
|
12783 |
|
12784 |
|
12785 |
|
12786 |
|
12787 <div class="returns"> |
|
12788 <h4>Returns:</h4> |
|
12789 |
|
12790 <div class="returns-description"> |
|
12791 |
|
12792 |
|
12793 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
12794 |
|
12795 String representation for this object |
|
12796 |
|
12797 </div> |
|
12798 </div> |
|
12799 |
|
12800 |
|
12801 |
|
12802 </div> |
|
12803 |
|
12804 |
|
12805 <div id="method_unsubscribe" class="method item deprecated inherited"> |
|
12806 <h3 class="name"><code>unsubscribe</code></h3> |
|
12807 |
|
12808 |
|
12809 <span class="paren">()</span> |
|
12810 |
|
12811 |
|
12812 |
|
12813 |
|
12814 |
|
12815 <span class="flag deprecated" title="use detach">deprecated</span> |
|
12816 |
|
12817 |
|
12818 |
|
12819 |
|
12820 |
|
12821 |
|
12822 |
|
12823 |
|
12824 |
|
12825 |
|
12826 |
|
12827 |
|
12828 <div class="meta"> |
|
12829 |
|
12830 |
|
12831 <p>Inherited from |
|
12832 <a href="../classes/EventTarget.html#method_unsubscribe">EventTarget</a>: |
|
12833 |
|
12834 |
|
12835 |
|
12836 <a href="../files/event-custom_js_event-target.js.html#l459"><code>event-custom/js/event-target.js:459</code></a> |
|
12837 |
|
12838 </p> |
|
12839 |
|
12840 |
|
12841 |
|
12842 <p>Deprecated: use detach</p> |
|
12843 |
|
12844 |
|
12845 |
|
12846 </div> |
|
12847 |
|
12848 <div class="description"> |
|
12849 <p>detach a listener</p> |
|
12850 </div> |
|
12851 |
|
12852 |
|
12853 |
|
12854 |
|
12855 |
|
12856 |
|
12857 </div> |
|
12858 |
|
12859 |
|
12860 <div id="method_unsubscribeAll" class="method item deprecated inherited"> |
|
12861 <h3 class="name"><code>unsubscribeAll</code></h3> |
|
12862 |
|
12863 |
|
12864 <div class="args"> |
|
12865 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12866 |
|
12867 <li class="arg"> |
|
12868 |
|
12869 <code>type</code> |
|
12870 |
|
12871 </li> |
|
12872 |
|
12873 </ul><span class="paren">)</span> |
|
12874 </div> |
|
12875 |
|
12876 |
|
12877 |
|
12878 |
|
12879 |
|
12880 <span class="flag deprecated" title="use detachAll">deprecated</span> |
|
12881 |
|
12882 |
|
12883 |
|
12884 |
|
12885 |
|
12886 |
|
12887 |
|
12888 |
|
12889 |
|
12890 |
|
12891 |
|
12892 |
|
12893 <div class="meta"> |
|
12894 |
|
12895 |
|
12896 <p>Inherited from |
|
12897 <a href="../classes/EventTarget.html#method_unsubscribeAll">EventTarget</a>: |
|
12898 |
|
12899 |
|
12900 |
|
12901 <a href="../files/event-custom_js_event-target.js.html#l480"><code>event-custom/js/event-target.js:480</code></a> |
|
12902 |
|
12903 </p> |
|
12904 |
|
12905 |
|
12906 |
|
12907 <p>Deprecated: use detachAll</p> |
|
12908 |
|
12909 |
|
12910 |
|
12911 </div> |
|
12912 |
|
12913 <div class="description"> |
|
12914 <p>Removes all listeners from the specified event. If the event type |
|
12915 is not specified, all listeners from all hosted custom events will |
|
12916 be removed.</p> |
|
12917 </div> |
|
12918 |
|
12919 |
|
12920 <div class="params"> |
|
12921 <h4>Parameters:</h4> |
|
12922 |
|
12923 <ul class="params-list"> |
|
12924 |
|
12925 <li class="param"> |
|
12926 |
|
12927 <code class="param-name">type</code> |
|
12928 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12929 |
|
12930 |
|
12931 |
|
12932 |
|
12933 <div class="param-description"> |
|
12934 <p>The type, or name of the event</p> |
|
12935 </div> |
|
12936 |
|
12937 |
|
12938 </li> |
|
12939 |
|
12940 </ul> |
|
12941 </div> |
|
12942 |
|
12943 |
|
12944 |
|
12945 |
|
12946 |
|
12947 </div> |
|
12948 |
|
12949 |
|
12950 </div> |
|
12951 |
|
12952 |
|
12953 |
|
12954 <div id="properties" class="api-class-tabpanel"> |
|
12955 <h2 class="off-left">Properties</h2> |
|
12956 |
|
12957 |
|
12958 <div id="property__allowAdHocAttrs" class="property item protected inherited"> |
|
12959 <h3 class="name"><code>_allowAdHocAttrs</code></h3> |
|
12960 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
12961 |
|
12962 |
|
12963 |
|
12964 |
|
12965 <span class="flag protected">protected</span> |
|
12966 |
|
12967 |
|
12968 |
|
12969 |
|
12970 |
|
12971 |
|
12972 <div class="meta"> |
|
12973 |
|
12974 <p>Inherited from |
|
12975 <a href="../classes/BaseCore.html#property__allowAdHocAttrs"> |
|
12976 BaseCore |
|
12977 </a> |
|
12978 |
|
12979 but overwritten in |
|
12980 |
|
12981 |
|
12982 |
|
12983 <a href="../files/app_js_view.js.html#l111"><code>app/js/view.js:111</code></a> |
|
12984 |
|
12985 </p> |
|
12986 |
|
12987 |
|
12988 |
|
12989 |
|
12990 <p>Available since 3.5.0</p> |
|
12991 |
|
12992 </div> |
|
12993 |
|
12994 <div class="description"> |
|
12995 <p>This tells <code>Y.Base</code> that it should create ad-hoc attributes for config |
|
12996 properties passed to View's constructor. This makes it possible to |
|
12997 instantiate a view and set a bunch of attributes without having to subclass |
|
12998 <code>Y.View</code> and declare all those attributes first.</p> |
|
12999 </div> |
|
13000 |
|
13001 |
|
13002 <p><strong>Default:</strong> true</p> |
|
13003 |
|
13004 |
|
13005 |
|
13006 |
|
13007 |
|
13008 </div> |
|
13009 |
|
13010 |
|
13011 <div id="property__eventHandles" class="property item protected"> |
|
13012 <h3 class="name"><code>_eventHandles</code></h3> |
|
13013 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13014 |
|
13015 |
|
13016 |
|
13017 |
|
13018 <span class="flag protected">protected</span> |
|
13019 |
|
13020 |
|
13021 |
|
13022 |
|
13023 |
|
13024 |
|
13025 <div class="meta"> |
|
13026 |
|
13027 |
|
13028 |
|
13029 <p> |
|
13030 |
|
13031 Defined in |
|
13032 |
|
13033 |
|
13034 |
|
13035 |
|
13036 <a href="../files/datatable_js_body.js.html#l821"><code>datatable/js/body.js:821</code></a> |
|
13037 |
|
13038 </p> |
|
13039 |
|
13040 |
|
13041 |
|
13042 |
|
13043 <p>Available since 3.5.0</p> |
|
13044 |
|
13045 </div> |
|
13046 |
|
13047 <div class="description"> |
|
13048 <p>Holds the event subscriptions needing to be detached when the instance is |
|
13049 <code>destroy()</code>ed.</p> |
|
13050 </div> |
|
13051 |
|
13052 |
|
13053 <p><strong>Default:</strong> undefined (initially unset)</p> |
|
13054 |
|
13055 |
|
13056 |
|
13057 |
|
13058 |
|
13059 </div> |
|
13060 |
|
13061 |
|
13062 <div id="property__idMap" class="property item protected"> |
|
13063 <h3 class="name"><code>_idMap</code></h3> |
|
13064 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13065 |
|
13066 |
|
13067 |
|
13068 |
|
13069 <span class="flag protected">protected</span> |
|
13070 |
|
13071 |
|
13072 |
|
13073 |
|
13074 |
|
13075 |
|
13076 <div class="meta"> |
|
13077 |
|
13078 |
|
13079 |
|
13080 <p> |
|
13081 |
|
13082 Defined in |
|
13083 |
|
13084 |
|
13085 |
|
13086 |
|
13087 <a href="../files/datatable_js_body.js.html#l845"><code>datatable/js/body.js:845</code></a> |
|
13088 |
|
13089 </p> |
|
13090 |
|
13091 |
|
13092 |
|
13093 |
|
13094 </div> |
|
13095 |
|
13096 <div class="description"> |
|
13097 <p>Map of Model clientIds to row ids.</p> |
|
13098 </div> |
|
13099 |
|
13100 |
|
13101 |
|
13102 |
|
13103 |
|
13104 |
|
13105 </div> |
|
13106 |
|
13107 |
|
13108 <div id="property__rowTemplate" class="property item protected"> |
|
13109 <h3 class="name"><code>_rowTemplate</code></h3> |
|
13110 <span class="type">HTML</span> |
|
13111 |
|
13112 |
|
13113 |
|
13114 |
|
13115 <span class="flag protected">protected</span> |
|
13116 |
|
13117 |
|
13118 |
|
13119 |
|
13120 |
|
13121 |
|
13122 <div class="meta"> |
|
13123 |
|
13124 |
|
13125 |
|
13126 <p> |
|
13127 |
|
13128 Defined in |
|
13129 |
|
13130 |
|
13131 |
|
13132 |
|
13133 <a href="../files/datatable_js_body.js.html#l881"><code>datatable/js/body.js:881</code></a> |
|
13134 |
|
13135 </p> |
|
13136 |
|
13137 |
|
13138 |
|
13139 |
|
13140 <p>Available since 3.5.0</p> |
|
13141 |
|
13142 </div> |
|
13143 |
|
13144 <div class="description"> |
|
13145 <p>The HTML template used to create a full row of markup for a single Model in |
|
13146 the <code>modelList</code> plus any customizations defined in the column |
|
13147 configurations.</p> |
|
13148 </div> |
|
13149 |
|
13150 |
|
13151 <p><strong>Default:</strong> (initially unset)</p> |
|
13152 |
|
13153 |
|
13154 |
|
13155 |
|
13156 |
|
13157 </div> |
|
13158 |
|
13159 |
|
13160 <div id="property_CELL_TEMPLATE" class="property item"> |
|
13161 <h3 class="name"><code>CELL_TEMPLATE</code></h3> |
|
13162 <span class="type">HTML</span> |
|
13163 |
|
13164 |
|
13165 |
|
13166 |
|
13167 |
|
13168 |
|
13169 |
|
13170 |
|
13171 |
|
13172 <div class="meta"> |
|
13173 |
|
13174 |
|
13175 |
|
13176 <p> |
|
13177 |
|
13178 Defined in |
|
13179 |
|
13180 |
|
13181 |
|
13182 |
|
13183 <a href="../files/datatable_js_body.js.html#l116"><code>datatable/js/body.js:116</code></a> |
|
13184 |
|
13185 </p> |
|
13186 |
|
13187 |
|
13188 |
|
13189 |
|
13190 <p>Available since 3.5.0</p> |
|
13191 |
|
13192 </div> |
|
13193 |
|
13194 <div class="description"> |
|
13195 <p>HTML template used to create table cells.</p> |
|
13196 </div> |
|
13197 |
|
13198 |
|
13199 <p><strong>Default:</strong> '<td {headers} class="{className}">{content}</td>'</p> |
|
13200 |
|
13201 |
|
13202 |
|
13203 |
|
13204 |
|
13205 </div> |
|
13206 |
|
13207 |
|
13208 <div id="property_CLASS_EVEN" class="property item"> |
|
13209 <h3 class="name"><code>CLASS_EVEN</code></h3> |
|
13210 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13211 |
|
13212 |
|
13213 |
|
13214 |
|
13215 |
|
13216 |
|
13217 |
|
13218 |
|
13219 |
|
13220 <div class="meta"> |
|
13221 |
|
13222 |
|
13223 |
|
13224 <p> |
|
13225 |
|
13226 Defined in |
|
13227 |
|
13228 |
|
13229 |
|
13230 |
|
13231 <a href="../files/datatable_js_body.js.html#l126"><code>datatable/js/body.js:126</code></a> |
|
13232 |
|
13233 </p> |
|
13234 |
|
13235 |
|
13236 |
|
13237 |
|
13238 <p>Available since 3.5.0</p> |
|
13239 |
|
13240 </div> |
|
13241 |
|
13242 <div class="description"> |
|
13243 <p>CSS class applied to even rows. This is assigned at instantiation.</p> |
|
13244 |
|
13245 <p>For DataTable, this will be <code>yui3-datatable-even</code>.</p> |
|
13246 </div> |
|
13247 |
|
13248 |
|
13249 <p><strong>Default:</strong> 'yui3-table-even'</p> |
|
13250 |
|
13251 |
|
13252 |
|
13253 |
|
13254 |
|
13255 </div> |
|
13256 |
|
13257 |
|
13258 <div id="property_CLASS_ODD" class="property item"> |
|
13259 <h3 class="name"><code>CLASS_ODD</code></h3> |
|
13260 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13261 |
|
13262 |
|
13263 |
|
13264 |
|
13265 |
|
13266 |
|
13267 |
|
13268 |
|
13269 |
|
13270 <div class="meta"> |
|
13271 |
|
13272 |
|
13273 |
|
13274 <p> |
|
13275 |
|
13276 Defined in |
|
13277 |
|
13278 |
|
13279 |
|
13280 |
|
13281 <a href="../files/datatable_js_body.js.html#l138"><code>datatable/js/body.js:138</code></a> |
|
13282 |
|
13283 </p> |
|
13284 |
|
13285 |
|
13286 |
|
13287 |
|
13288 <p>Available since 3.5.0</p> |
|
13289 |
|
13290 </div> |
|
13291 |
|
13292 <div class="description"> |
|
13293 <p>CSS class applied to odd rows. This is assigned at instantiation.</p> |
|
13294 |
|
13295 <p>When used by DataTable instances, this will be <code>yui3-datatable-odd</code>.</p> |
|
13296 </div> |
|
13297 |
|
13298 |
|
13299 <p><strong>Default:</strong> 'yui3-table-odd'</p> |
|
13300 |
|
13301 |
|
13302 |
|
13303 |
|
13304 |
|
13305 </div> |
|
13306 |
|
13307 |
|
13308 <div id="property_containerTemplate" class="property item inherited"> |
|
13309 <h3 class="name"><code>containerTemplate</code></h3> |
|
13310 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13311 |
|
13312 |
|
13313 |
|
13314 |
|
13315 |
|
13316 |
|
13317 |
|
13318 |
|
13319 |
|
13320 <div class="meta"> |
|
13321 |
|
13322 |
|
13323 <p>Inherited from |
|
13324 <a href="../classes/View.html#property_containerTemplate">View</a>: |
|
13325 |
|
13326 |
|
13327 |
|
13328 <a href="../files/app_js_view.js.html#l40"><code>app/js/view.js:40</code></a> |
|
13329 |
|
13330 </p> |
|
13331 |
|
13332 |
|
13333 |
|
13334 |
|
13335 <p>Available since 3.5.0</p> |
|
13336 |
|
13337 </div> |
|
13338 |
|
13339 <div class="description"> |
|
13340 <p>Template for this view's container.</p> |
|
13341 </div> |
|
13342 |
|
13343 |
|
13344 <p><strong>Default:</strong> "<div/>"</p> |
|
13345 |
|
13346 |
|
13347 |
|
13348 |
|
13349 |
|
13350 </div> |
|
13351 |
|
13352 |
|
13353 <div id="property_events" class="property item inherited"> |
|
13354 <h3 class="name"><code>events</code></h3> |
|
13355 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13356 |
|
13357 |
|
13358 |
|
13359 |
|
13360 |
|
13361 |
|
13362 |
|
13363 |
|
13364 |
|
13365 <div class="meta"> |
|
13366 |
|
13367 |
|
13368 <p>Inherited from |
|
13369 <a href="../classes/View.html#property_events">View</a>: |
|
13370 |
|
13371 |
|
13372 |
|
13373 <a href="../files/app_js_view.js.html#l50"><code>app/js/view.js:50</code></a> |
|
13374 |
|
13375 </p> |
|
13376 |
|
13377 |
|
13378 |
|
13379 |
|
13380 </div> |
|
13381 |
|
13382 <div class="description"> |
|
13383 <p>Hash of CSS selectors mapped to events to delegate to elements matching |
|
13384 those selectors.</p> |
|
13385 |
|
13386 <p>CSS selectors are relative to the <code>container</code> element. Events are attached |
|
13387 to the container, and delegation is used so that subscribers are only |
|
13388 notified of events that occur on elements inside the container that match |
|
13389 the specified selectors. This allows the container's contents to be re- |
|
13390 rendered as needed without losing event subscriptions.</p> |
|
13391 |
|
13392 <p>Event handlers can be specified either as functions or as strings that map |
|
13393 to function names on this view instance or its prototype.</p> |
|
13394 |
|
13395 <p>The <code>this</code> object in event handlers will refer to this view instance. If |
|
13396 you'd prefer <code>this</code> to be something else, use <code>Y.bind()</code> to bind a custom |
|
13397 <code>this</code> object.</p> |
|
13398 </div> |
|
13399 |
|
13400 |
|
13401 <p><strong>Default:</strong> {}</p> |
|
13402 |
|
13403 |
|
13404 |
|
13405 <div class="example"> |
|
13406 <h4>Example:</h4> |
|
13407 |
|
13408 <div class="example-content"> |
|
13409 <pre class="code prettyprint"><code>var view = new Y.View({ |
|
13410 events: { |
|
13411 // Call <code>this.toggle()</code> whenever the element with the id |
|
13412 // "toggle-button" is clicked. |
|
13413 '#toggle-button': {click: 'toggle'}, |
|
13414 |
|
13415 // Call <code>this.hoverOn()</code> when the mouse moves over any element |
|
13416 // with the "hoverable" class, and <code>this.hoverOff()</code> when the |
|
13417 // mouse moves out of any element with the "hoverable" class. |
|
13418 '.hoverable': { |
|
13419 mouseover: 'hoverOn', |
|
13420 mouseout : 'hoverOff' |
|
13421 } |
|
13422 } |
|
13423 }); |
|
13424 </code></pre> |
|
13425 </div> |
|
13426 </div> |
|
13427 |
|
13428 |
|
13429 |
|
13430 </div> |
|
13431 |
|
13432 |
|
13433 <div id="property_Formatters" class="property item"> |
|
13434 <h3 class="name"><code>Formatters</code></h3> |
|
13435 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13436 |
|
13437 |
|
13438 |
|
13439 |
|
13440 |
|
13441 |
|
13442 |
|
13443 |
|
13444 <span class="flag static">static</span> |
|
13445 |
|
13446 |
|
13447 <div class="meta"> |
|
13448 |
|
13449 |
|
13450 |
|
13451 <p> |
|
13452 |
|
13453 Defined in |
|
13454 |
|
13455 |
|
13456 |
|
13457 |
|
13458 <a href="../files/datatable_js_body.js.html#l894"><code>datatable/js/body.js:894</code></a> |
|
13459 |
|
13460 </p> |
|
13461 |
|
13462 |
|
13463 |
|
13464 |
|
13465 <p>Available since 3.8.0</p> |
|
13466 |
|
13467 </div> |
|
13468 |
|
13469 <div class="description"> |
|
13470 <p>Hash of formatting functions for cell contents.</p> |
|
13471 |
|
13472 <p>This property can be populated with a hash of formatting functions by the developer |
|
13473 or a set of pre-defined functions can be loaded via the <code>datatable-formatters</code> module.</p> |
|
13474 |
|
13475 <p>See: <a href="./DataTable.BodyView.Formatters.html">DataTable.BodyView.Formatters</a></p> |
|
13476 </div> |
|
13477 |
|
13478 |
|
13479 |
|
13480 |
|
13481 |
|
13482 |
|
13483 </div> |
|
13484 |
|
13485 |
|
13486 <div id="property_host" class="property item"> |
|
13487 <h3 class="name"><code>host</code></h3> |
|
13488 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13489 |
|
13490 |
|
13491 |
|
13492 |
|
13493 |
|
13494 |
|
13495 |
|
13496 |
|
13497 |
|
13498 <div class="meta"> |
|
13499 |
|
13500 |
|
13501 |
|
13502 <p> |
|
13503 |
|
13504 Defined in |
|
13505 |
|
13506 |
|
13507 |
|
13508 |
|
13509 <a href="../files/datatable_js_body.js.html#l160"><code>datatable/js/body.js:160</code></a> |
|
13510 |
|
13511 </p> |
|
13512 |
|
13513 |
|
13514 |
|
13515 |
|
13516 <p>Available since 3.5.0</p> |
|
13517 |
|
13518 </div> |
|
13519 |
|
13520 <div class="description"> |
|
13521 <p>The object that serves as the source of truth for column and row data. |
|
13522 This property is assigned at instantiation from the <code>host</code> property of |
|
13523 the configuration object passed to the constructor.</p> |
|
13524 </div> |
|
13525 |
|
13526 |
|
13527 <p><strong>Default:</strong> (initially unset)</p> |
|
13528 |
|
13529 |
|
13530 |
|
13531 |
|
13532 |
|
13533 </div> |
|
13534 |
|
13535 |
|
13536 <div id="property_name" class="property item deprecated inherited"> |
|
13537 <h3 class="name"><code>name</code></h3> |
|
13538 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13539 |
|
13540 |
|
13541 <span class="flag deprecated" title="Use this.constructor.NAME">deprecated</span> |
|
13542 |
|
13543 |
|
13544 |
|
13545 |
|
13546 |
|
13547 |
|
13548 |
|
13549 |
|
13550 <div class="meta"> |
|
13551 |
|
13552 |
|
13553 <p>Inherited from |
|
13554 <a href="../classes/BaseCore.html#property_name">BaseCore</a>: |
|
13555 |
|
13556 |
|
13557 |
|
13558 <a href="../files/base_js_BaseCore.js.html#l242"><code>base/js/BaseCore.js:242</code></a> |
|
13559 |
|
13560 </p> |
|
13561 |
|
13562 |
|
13563 <p>Deprecated: Use this.constructor.NAME</p> |
|
13564 |
|
13565 |
|
13566 |
|
13567 </div> |
|
13568 |
|
13569 <div class="description"> |
|
13570 <p>The string used to identify the class of this object.</p> |
|
13571 </div> |
|
13572 |
|
13573 |
|
13574 |
|
13575 |
|
13576 |
|
13577 |
|
13578 </div> |
|
13579 |
|
13580 |
|
13581 <div id="property_ROW_TEMPLATE" class="property item"> |
|
13582 <h3 class="name"><code>ROW_TEMPLATE</code></h3> |
|
13583 <span class="type">HTML</span> |
|
13584 |
|
13585 |
|
13586 |
|
13587 |
|
13588 |
|
13589 |
|
13590 |
|
13591 |
|
13592 |
|
13593 <div class="meta"> |
|
13594 |
|
13595 |
|
13596 |
|
13597 <p> |
|
13598 |
|
13599 Defined in |
|
13600 |
|
13601 |
|
13602 |
|
13603 |
|
13604 <a href="../files/datatable_js_body.js.html#l150"><code>datatable/js/body.js:150</code></a> |
|
13605 |
|
13606 </p> |
|
13607 |
|
13608 |
|
13609 |
|
13610 |
|
13611 <p>Available since 3.5.0</p> |
|
13612 |
|
13613 </div> |
|
13614 |
|
13615 <div class="description"> |
|
13616 <p>HTML template used to create table rows.</p> |
|
13617 </div> |
|
13618 |
|
13619 |
|
13620 <p><strong>Default:</strong> '<tr id="{rowId}" data-yui3-record="{clientId}" class="{rowClass}">{content}</tr>'</p> |
|
13621 |
|
13622 |
|
13623 |
|
13624 |
|
13625 |
|
13626 </div> |
|
13627 |
|
13628 |
|
13629 <div id="property_TBODY_TEMPLATE" class="property item"> |
|
13630 <h3 class="name"><code>TBODY_TEMPLATE</code></h3> |
|
13631 <span class="type">HTML</span> |
|
13632 |
|
13633 |
|
13634 |
|
13635 |
|
13636 |
|
13637 |
|
13638 |
|
13639 |
|
13640 |
|
13641 <div class="meta"> |
|
13642 |
|
13643 |
|
13644 |
|
13645 <p> |
|
13646 |
|
13647 Defined in |
|
13648 |
|
13649 |
|
13650 |
|
13651 |
|
13652 <a href="../files/datatable_js_body.js.html#l173"><code>datatable/js/body.js:173</code></a> |
|
13653 |
|
13654 </p> |
|
13655 |
|
13656 |
|
13657 |
|
13658 |
|
13659 <p>Available since 3.6.0</p> |
|
13660 |
|
13661 </div> |
|
13662 |
|
13663 <div class="description"> |
|
13664 <p>HTML templates used to create the <code><tbody></code> containing the table rows.</p> |
|
13665 </div> |
|
13666 |
|
13667 |
|
13668 <p><strong>Default:</strong> '<tbody class="{className}">{content}</tbody>'</p> |
|
13669 |
|
13670 |
|
13671 |
|
13672 |
|
13673 |
|
13674 </div> |
|
13675 |
|
13676 |
|
13677 <div id="property_template" class="property item inherited"> |
|
13678 <h3 class="name"><code>template</code></h3> |
|
13679 <span class="type">Mixed</span> |
|
13680 |
|
13681 |
|
13682 |
|
13683 |
|
13684 |
|
13685 |
|
13686 |
|
13687 |
|
13688 |
|
13689 <div class="meta"> |
|
13690 |
|
13691 |
|
13692 <p>Inherited from |
|
13693 <a href="../classes/View.html#property_template">View</a>: |
|
13694 |
|
13695 |
|
13696 |
|
13697 <a href="../files/app_js_view.js.html#l91"><code>app/js/view.js:91</code></a> |
|
13698 |
|
13699 </p> |
|
13700 |
|
13701 |
|
13702 |
|
13703 |
|
13704 </div> |
|
13705 |
|
13706 <div class="description"> |
|
13707 <p>Template for this view's contents.</p> |
|
13708 |
|
13709 <p>This is a convenience property that has no default behavior of its own. |
|
13710 It's only provided as a convention to allow you to store whatever you |
|
13711 consider to be a template, whether that's an HTML string, a <code>Y.Node</code> |
|
13712 instance, a Mustache template, or anything else your little heart |
|
13713 desires.</p> |
|
13714 |
|
13715 <p>How this template gets used is entirely up to you and your custom |
|
13716 <code>render()</code> method.</p> |
|
13717 </div> |
|
13718 |
|
13719 |
|
13720 <p><strong>Default:</strong> ''</p> |
|
13721 |
|
13722 |
|
13723 |
|
13724 |
|
13725 |
|
13726 </div> |
|
13727 |
|
13728 |
|
13729 </div> |
|
13730 |
|
13731 |
|
13732 |
|
13733 <div id="attrs" class="api-class-tabpanel"> |
|
13734 <h2 class="off-left">Attributes</h2> |
|
13735 |
|
13736 |
|
13737 <div id="attr_container" class="attr item inherited"> |
|
13738 <a name="config_container"></a> |
|
13739 <h3 class="name"><code>container</code></h3> |
|
13740 <span class="type"><a href="https://developer.mozilla.org/en/Document_Object_Model_(DOM)/HTMLElement" class="crosslink external" target="_blank">HTMLElement</a> | <a href="../classes/Node.html" class="crosslink">Node</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13741 |
|
13742 |
|
13743 |
|
13744 |
|
13745 |
|
13746 |
|
13747 |
|
13748 |
|
13749 |
|
13750 |
|
13751 |
|
13752 |
|
13753 |
|
13754 |
|
13755 |
|
13756 <div class="meta"> |
|
13757 |
|
13758 |
|
13759 <p>Inherited from |
|
13760 <a href="../classes/View.html#attr_container">View</a>: |
|
13761 |
|
13762 |
|
13763 |
|
13764 <a href="../files/app_js_view.js.html#l376"><code>app/js/view.js:376</code></a> |
|
13765 |
|
13766 </p> |
|
13767 |
|
13768 |
|
13769 |
|
13770 |
|
13771 </div> |
|
13772 |
|
13773 <div class="description"> |
|
13774 <p>Container node into which this view's content will be rendered.</p> |
|
13775 |
|
13776 <p>The container node serves as the host for all DOM events attached by the |
|
13777 view. Delegation is used to handle events on children of the container, |
|
13778 allowing the container's contents to be re-rendered at any time without |
|
13779 losing event subscriptions.</p> |
|
13780 |
|
13781 <p>The default container is a <code><div></code> Node, but you can override this in |
|
13782 a subclass, or by passing in a custom <code>container</code> config value at |
|
13783 instantiation time. If you override the default container in a subclass |
|
13784 using <code>ATTRS</code>, you must use the <code>valueFn</code> property. The view's constructor |
|
13785 will ignore any assignments using <code>value</code>.</p> |
|
13786 |
|
13787 <p>When <code>container</code> is overridden by a subclass or passed as a config |
|
13788 option at instantiation time, you can provide it as a selector string, a |
|
13789 DOM element, a <code>Y.Node</code> instance, or (if you are subclassing and modifying |
|
13790 the attribute), a <code>valueFn</code> function that returns a <code>Y.Node</code> instance. |
|
13791 The value will be converted into a <code>Y.Node</code> instance if it isn't one |
|
13792 already.</p> |
|
13793 |
|
13794 <p>The container is not added to the page automatically. This allows you to |
|
13795 have full control over how and when your view is actually rendered to |
|
13796 the page.</p> |
|
13797 </div> |
|
13798 |
|
13799 |
|
13800 <p><strong>Default:</strong> Y.Node.create(this.containerTemplate)</p> |
|
13801 |
|
13802 |
|
13803 |
|
13804 <div class="emits box"> |
|
13805 <h4>Fires event <code>containerChange</code></h4> |
|
13806 |
|
13807 <p> |
|
13808 Fires when the value for the configuration attribute <code>container</code> is |
|
13809 changed. You can listen for the event using the <code>on</code> method if you |
|
13810 wish to be notified before the attribute's value has changed, or |
|
13811 using the <code>after</code> method if you wish to be notified after the |
|
13812 attribute's value has changed. |
|
13813 </p> |
|
13814 |
|
13815 <div class="params"> |
|
13816 <h4>Parameters:</h4> |
|
13817 |
|
13818 <ul class="params-list"> |
|
13819 <li class="param"> |
|
13820 <code class="param-name">e</code> |
|
13821 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
13822 |
|
13823 <div class="param-description"> |
|
13824 An Event Facade object with the following |
|
13825 attribute-specific properties added: |
|
13826 </div> |
|
13827 |
|
13828 <ul class="params-list"> |
|
13829 <li class="param"> |
|
13830 <code class="param-name">prevVal</code> |
|
13831 <span class="type">Any</span> |
|
13832 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
13833 </li> |
|
13834 <li class="param"> |
|
13835 <code class="param-name">newVal</code> |
|
13836 <span class="type">Any</span> |
|
13837 <div class="param-description">The value the attribute is to be set to.</div> |
|
13838 </li> |
|
13839 <li class="param"> |
|
13840 <code class="param-name">attrName</code> |
|
13841 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13842 <div class="param-description">The name of the attribute being set.</div> |
|
13843 </li> |
|
13844 <li class="param"> |
|
13845 <code class="param-name">subAttrName</code> |
|
13846 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13847 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
13848 </li> |
|
13849 </ul> |
|
13850 </li> |
|
13851 </ul> |
|
13852 </div> |
|
13853 </div> |
|
13854 |
|
13855 |
|
13856 |
|
13857 </div> |
|
13858 |
|
13859 |
|
13860 <div id="attr_destroyed" class="attr item inherited"> |
|
13861 <a name="config_destroyed"></a> |
|
13862 <h3 class="name"><code>destroyed</code></h3> |
|
13863 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
13864 |
|
13865 |
|
13866 |
|
13867 |
|
13868 |
|
13869 |
|
13870 |
|
13871 |
|
13872 |
|
13873 |
|
13874 |
|
13875 |
|
13876 |
|
13877 |
|
13878 <span class="flag readonly">readonly</span> |
|
13879 |
|
13880 |
|
13881 <div class="meta"> |
|
13882 |
|
13883 |
|
13884 <p>Inherited from |
|
13885 <a href="../classes/BaseCore.html#attr_destroyed">BaseCore</a>: |
|
13886 |
|
13887 |
|
13888 |
|
13889 <a href="../files/base_js_BaseCore.js.html#l157"><code>base/js/BaseCore.js:157</code></a> |
|
13890 |
|
13891 </p> |
|
13892 |
|
13893 |
|
13894 |
|
13895 |
|
13896 </div> |
|
13897 |
|
13898 <div class="description"> |
|
13899 <p>Flag indicating whether or not this object |
|
13900 has been through the destroy lifecycle phase.</p> |
|
13901 </div> |
|
13902 |
|
13903 |
|
13904 <p><strong>Default:</strong> false</p> |
|
13905 |
|
13906 |
|
13907 |
|
13908 <div class="emits box"> |
|
13909 <h4>Fires event <code>destroyedChange</code></h4> |
|
13910 |
|
13911 <p> |
|
13912 Fires when the value for the configuration attribute <code>destroyed</code> is |
|
13913 changed. You can listen for the event using the <code>on</code> method if you |
|
13914 wish to be notified before the attribute's value has changed, or |
|
13915 using the <code>after</code> method if you wish to be notified after the |
|
13916 attribute's value has changed. |
|
13917 </p> |
|
13918 |
|
13919 <div class="params"> |
|
13920 <h4>Parameters:</h4> |
|
13921 |
|
13922 <ul class="params-list"> |
|
13923 <li class="param"> |
|
13924 <code class="param-name">e</code> |
|
13925 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
13926 |
|
13927 <div class="param-description"> |
|
13928 An Event Facade object with the following |
|
13929 attribute-specific properties added: |
|
13930 </div> |
|
13931 |
|
13932 <ul class="params-list"> |
|
13933 <li class="param"> |
|
13934 <code class="param-name">prevVal</code> |
|
13935 <span class="type">Any</span> |
|
13936 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
13937 </li> |
|
13938 <li class="param"> |
|
13939 <code class="param-name">newVal</code> |
|
13940 <span class="type">Any</span> |
|
13941 <div class="param-description">The value the attribute is to be set to.</div> |
|
13942 </li> |
|
13943 <li class="param"> |
|
13944 <code class="param-name">attrName</code> |
|
13945 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13946 <div class="param-description">The name of the attribute being set.</div> |
|
13947 </li> |
|
13948 <li class="param"> |
|
13949 <code class="param-name">subAttrName</code> |
|
13950 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13951 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
13952 </li> |
|
13953 </ul> |
|
13954 </li> |
|
13955 </ul> |
|
13956 </div> |
|
13957 </div> |
|
13958 |
|
13959 |
|
13960 |
|
13961 </div> |
|
13962 |
|
13963 |
|
13964 <div id="attr_initialized" class="attr item inherited"> |
|
13965 <a name="config_initialized"></a> |
|
13966 <h3 class="name"><code>initialized</code></h3> |
|
13967 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
13968 |
|
13969 |
|
13970 |
|
13971 |
|
13972 |
|
13973 |
|
13974 |
|
13975 |
|
13976 |
|
13977 |
|
13978 |
|
13979 |
|
13980 |
|
13981 |
|
13982 <span class="flag readonly">readonly</span> |
|
13983 |
|
13984 |
|
13985 <div class="meta"> |
|
13986 |
|
13987 |
|
13988 <p>Inherited from |
|
13989 <a href="../classes/BaseCore.html#attr_initialized">BaseCore</a>: |
|
13990 |
|
13991 |
|
13992 |
|
13993 <a href="../files/base_js_BaseCore.js.html#l143"><code>base/js/BaseCore.js:143</code></a> |
|
13994 |
|
13995 </p> |
|
13996 |
|
13997 |
|
13998 |
|
13999 |
|
14000 </div> |
|
14001 |
|
14002 <div class="description"> |
|
14003 <p>Flag indicating whether or not this object |
|
14004 has been through the init lifecycle phase.</p> |
|
14005 </div> |
|
14006 |
|
14007 |
|
14008 <p><strong>Default:</strong> false</p> |
|
14009 |
|
14010 |
|
14011 |
|
14012 <div class="emits box"> |
|
14013 <h4>Fires event <code>initializedChange</code></h4> |
|
14014 |
|
14015 <p> |
|
14016 Fires when the value for the configuration attribute <code>initialized</code> is |
|
14017 changed. You can listen for the event using the <code>on</code> method if you |
|
14018 wish to be notified before the attribute's value has changed, or |
|
14019 using the <code>after</code> method if you wish to be notified after the |
|
14020 attribute's value has changed. |
|
14021 </p> |
|
14022 |
|
14023 <div class="params"> |
|
14024 <h4>Parameters:</h4> |
|
14025 |
|
14026 <ul class="params-list"> |
|
14027 <li class="param"> |
|
14028 <code class="param-name">e</code> |
|
14029 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
14030 |
|
14031 <div class="param-description"> |
|
14032 An Event Facade object with the following |
|
14033 attribute-specific properties added: |
|
14034 </div> |
|
14035 |
|
14036 <ul class="params-list"> |
|
14037 <li class="param"> |
|
14038 <code class="param-name">prevVal</code> |
|
14039 <span class="type">Any</span> |
|
14040 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
14041 </li> |
|
14042 <li class="param"> |
|
14043 <code class="param-name">newVal</code> |
|
14044 <span class="type">Any</span> |
|
14045 <div class="param-description">The value the attribute is to be set to.</div> |
|
14046 </li> |
|
14047 <li class="param"> |
|
14048 <code class="param-name">attrName</code> |
|
14049 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14050 <div class="param-description">The name of the attribute being set.</div> |
|
14051 </li> |
|
14052 <li class="param"> |
|
14053 <code class="param-name">subAttrName</code> |
|
14054 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14055 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
14056 </li> |
|
14057 </ul> |
|
14058 </li> |
|
14059 </ul> |
|
14060 </div> |
|
14061 </div> |
|
14062 |
|
14063 |
|
14064 |
|
14065 </div> |
|
14066 |
|
14067 |
|
14068 </div> |
|
14069 |
|
14070 |
|
14071 |
|
14072 <div id="events" class="api-class-tabpanel"> |
|
14073 <h2 class="off-left">Events</h2> |
|
14074 |
|
14075 |
|
14076 <div id="event_destroy" class="events item inherited"> |
|
14077 <h3 class="name"><code>destroy</code></h3> |
|
14078 <span class="type"></span> |
|
14079 |
|
14080 |
|
14081 |
|
14082 |
|
14083 |
|
14084 |
|
14085 |
|
14086 |
|
14087 |
|
14088 <div class="meta"> |
|
14089 |
|
14090 |
|
14091 <p>Inherited from |
|
14092 <a href="../classes/BaseObservable.html#event_destroy">BaseObservable</a>: |
|
14093 |
|
14094 |
|
14095 |
|
14096 <a href="../files/base_js_BaseObservable.js.html#l151"><code>base/js/BaseObservable.js:151</code></a> |
|
14097 |
|
14098 </p> |
|
14099 |
|
14100 |
|
14101 |
|
14102 |
|
14103 </div> |
|
14104 |
|
14105 <div class="description"> |
|
14106 <p> |
|
14107 Lifecycle event for the destroy phase, |
|
14108 fired prior to destruction. Invoking the preventDefault |
|
14109 method on the event object provided to subscribers will |
|
14110 prevent destruction from proceeding. |
|
14111 </p> |
|
14112 |
|
14113 <p> |
|
14114 Subscribers to the "after" moment of this event, will be notified |
|
14115 after destruction is complete (and as a result cannot prevent |
|
14116 destruction). |
|
14117 </p> |
|
14118 </div> |
|
14119 |
|
14120 |
|
14121 <div class="params"> |
|
14122 <h4>Event Payload:</h4> |
|
14123 |
|
14124 <ul class="params-list"> |
|
14125 |
|
14126 <li class="param"> |
|
14127 |
|
14128 <code class="param-name">e</code> |
|
14129 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
14130 |
|
14131 |
|
14132 |
|
14133 |
|
14134 <div class="param-description"> |
|
14135 <p>Event object</p> |
|
14136 </div> |
|
14137 |
|
14138 |
|
14139 </li> |
|
14140 |
|
14141 </ul> |
|
14142 </div> |
|
14143 |
|
14144 |
|
14145 |
|
14146 |
|
14147 </div> |
|
14148 |
|
14149 |
|
14150 <div id="event_init" class="events item inherited"> |
|
14151 <h3 class="name"><code>init</code></h3> |
|
14152 <span class="type"></span> |
|
14153 |
|
14154 |
|
14155 |
|
14156 |
|
14157 |
|
14158 |
|
14159 |
|
14160 |
|
14161 |
|
14162 <div class="meta"> |
|
14163 |
|
14164 |
|
14165 <p>Inherited from |
|
14166 <a href="../classes/BaseObservable.html#event_init">BaseObservable</a>: |
|
14167 |
|
14168 |
|
14169 |
|
14170 <a href="../files/base_js_BaseObservable.js.html#l62"><code>base/js/BaseObservable.js:62</code></a> |
|
14171 |
|
14172 </p> |
|
14173 |
|
14174 |
|
14175 |
|
14176 |
|
14177 </div> |
|
14178 |
|
14179 <div class="description"> |
|
14180 <p> |
|
14181 Lifecycle event for the init phase, fired prior to initialization. |
|
14182 Invoking the preventDefault() method on the event object provided |
|
14183 to subscribers will prevent initialization from occuring. |
|
14184 </p> |
|
14185 |
|
14186 <p> |
|
14187 Subscribers to the "after" momemt of this event, will be notified |
|
14188 after initialization of the object is complete (and therefore |
|
14189 cannot prevent initialization). |
|
14190 </p> |
|
14191 </div> |
|
14192 |
|
14193 |
|
14194 <div class="params"> |
|
14195 <h4>Event Payload:</h4> |
|
14196 |
|
14197 <ul class="params-list"> |
|
14198 |
|
14199 <li class="param"> |
|
14200 |
|
14201 <code class="param-name">e</code> |
|
14202 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
14203 |
|
14204 |
|
14205 |
|
14206 |
|
14207 <div class="param-description"> |
|
14208 <p>Event object, with a cfg property which |
|
14209 refers to the configuration object passed to the constructor.</p> |
|
14210 </div> |
|
14211 |
|
14212 |
|
14213 </li> |
|
14214 |
|
14215 </ul> |
|
14216 </div> |
|
14217 |
|
14218 |
|
14219 |
|
14220 |
|
14221 </div> |
|
14222 |
|
14223 |
|
14224 </div> |
|
14225 |
|
14226 </div> |
|
14227 </div> |
|
14228 |
|
14229 </div> |
|
14230 </div> |
|
14231 </div> |
|
14232 </div> |
|
14233 </div> |
|
14234 </div> |
|
14235 <script src="../assets/vendor/prettify/prettify-min.js"></script> |
|
14236 <script>prettyPrint();</script> |
|
14237 <script src="../assets/js/yui-prettify.js"></script> |
|
14238 <script src="../assets/../api.js"></script> |
|
14239 <script src="../assets/js/api-filter.js"></script> |
|
14240 <script src="../assets/js/api-list.js"></script> |
|
14241 <script src="../assets/js/api-search.js"></script> |
|
14242 <script src="../assets/js/apidocs.js"></script> |
|
14243 </body> |
|
14244 </html> |