|
1 <!DOCTYPE html> |
|
2 <html lang="en"> |
|
3 <head> |
|
4 <meta charset="utf-8"> |
|
5 <title>DataTable.TableView - 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.TableView 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_table.js.html#l16"><code>datatable/js/table.js:16</code></a> |
|
1544 </div> |
|
1545 |
|
1546 |
|
1547 |
|
1548 |
|
1549 Module: <a href="../modules/datatable-table.html">datatable-table</a><br> |
|
1550 Parent Module: <a href="../modules/datatable.html">datatable</a> |
|
1551 |
|
1552 |
|
1553 |
|
1554 |
|
1555 <p>Available since 3.6.0</p> |
|
1556 |
|
1557 </div> |
|
1558 |
|
1559 |
|
1560 |
|
1561 <div class="box intro"> |
|
1562 <p>View class responsible for rendering a <code><table></code> from provided data. Used as |
|
1563 the default <code>view</code> for <code>Y.DataTable.Base</code> and <code>Y.DataTable</code> classes.</p> |
|
1564 </div> |
|
1565 |
|
1566 |
|
1567 |
|
1568 <div id="classdocs" class="tabview"> |
|
1569 <ul class="api-class-tabs"> |
|
1570 <li class="api-class-tab index"><a href="#index">Index</a></li> |
|
1571 |
|
1572 |
|
1573 <li class="api-class-tab methods"><a href="#methods">Methods</a></li> |
|
1574 |
|
1575 |
|
1576 <li class="api-class-tab properties"><a href="#properties">Properties</a></li> |
|
1577 |
|
1578 |
|
1579 <li class="api-class-tab attrs"><a href="#attrs">Attributes</a></li> |
|
1580 |
|
1581 |
|
1582 <li class="api-class-tab events"><a href="#events">Events</a></li> |
|
1583 |
|
1584 </ul> |
|
1585 |
|
1586 <div> |
|
1587 <div id="index" class="api-class-tabpanel index"> |
|
1588 <h2 class="off-left">Item Index</h2> |
|
1589 |
|
1590 |
|
1591 <div class="index-section methods"> |
|
1592 <h3>Methods</h3> |
|
1593 |
|
1594 <ul class="index-list methods extends"> |
|
1595 |
|
1596 <li class="index-item method private inherited"> |
|
1597 <a href="#method__addAttrs">_addAttrs</a> |
|
1598 |
|
1599 |
|
1600 |
|
1601 </li> |
|
1602 |
|
1603 <li class="index-item method private inherited"> |
|
1604 <a href="#method__addLazyAttr">_addLazyAttr</a> |
|
1605 |
|
1606 |
|
1607 |
|
1608 </li> |
|
1609 |
|
1610 <li class="index-item method protected"> |
|
1611 <a href="#method__afterCaptionChange">_afterCaptionChange</a> |
|
1612 |
|
1613 |
|
1614 |
|
1615 </li> |
|
1616 |
|
1617 <li class="index-item method protected inherited"> |
|
1618 <a href="#method__afterContainerChange">_afterContainerChange</a> |
|
1619 |
|
1620 |
|
1621 |
|
1622 </li> |
|
1623 |
|
1624 <li class="index-item method protected"> |
|
1625 <a href="#method__afterSummaryChange">_afterSummaryChange</a> |
|
1626 |
|
1627 |
|
1628 |
|
1629 </li> |
|
1630 |
|
1631 <li class="index-item method protected"> |
|
1632 <a href="#method__afterWidthChange">_afterWidthChange</a> |
|
1633 |
|
1634 |
|
1635 |
|
1636 </li> |
|
1637 |
|
1638 <li class="index-item method private inherited"> |
|
1639 <a href="#method__aggregateAttrs">_aggregateAttrs</a> |
|
1640 |
|
1641 |
|
1642 |
|
1643 </li> |
|
1644 |
|
1645 <li class="index-item method private inherited"> |
|
1646 <a href="#method__attrCfgHash">_attrCfgHash</a> |
|
1647 |
|
1648 |
|
1649 |
|
1650 </li> |
|
1651 |
|
1652 <li class="index-item method private inherited"> |
|
1653 <a href="#method__baseDestroy">_baseDestroy</a> |
|
1654 |
|
1655 |
|
1656 |
|
1657 </li> |
|
1658 |
|
1659 <li class="index-item method private inherited"> |
|
1660 <a href="#method__baseInit">_baseInit</a> |
|
1661 |
|
1662 |
|
1663 |
|
1664 </li> |
|
1665 |
|
1666 <li class="index-item method protected"> |
|
1667 <a href="#method__bindUI">_bindUI</a> |
|
1668 |
|
1669 |
|
1670 |
|
1671 </li> |
|
1672 |
|
1673 <li class="index-item method private inherited"> |
|
1674 <a href="#method__cloneDefaultValue">_cloneDefaultValue</a> |
|
1675 |
|
1676 |
|
1677 |
|
1678 </li> |
|
1679 |
|
1680 <li class="index-item method protected"> |
|
1681 <a href="#method__createTable">_createTable</a> |
|
1682 |
|
1683 |
|
1684 |
|
1685 </li> |
|
1686 |
|
1687 <li class="index-item method private inherited"> |
|
1688 <a href="#method__defAttrChangeFn">_defAttrChangeFn</a> |
|
1689 |
|
1690 |
|
1691 |
|
1692 </li> |
|
1693 |
|
1694 <li class="index-item method protected inherited"> |
|
1695 <a href="#method__defDestroyFn">_defDestroyFn</a> |
|
1696 |
|
1697 |
|
1698 |
|
1699 </li> |
|
1700 |
|
1701 <li class="index-item method protected inherited"> |
|
1702 <a href="#method__defInitFn">_defInitFn</a> |
|
1703 |
|
1704 |
|
1705 |
|
1706 </li> |
|
1707 |
|
1708 <li class="index-item method protected"> |
|
1709 <a href="#method__defRenderBodyFn">_defRenderBodyFn</a> |
|
1710 |
|
1711 |
|
1712 |
|
1713 </li> |
|
1714 |
|
1715 <li class="index-item method protected"> |
|
1716 <a href="#method__defRenderFooterFn">_defRenderFooterFn</a> |
|
1717 |
|
1718 |
|
1719 |
|
1720 </li> |
|
1721 |
|
1722 <li class="index-item method protected"> |
|
1723 <a href="#method__defRenderHeaderFn">_defRenderHeaderFn</a> |
|
1724 |
|
1725 |
|
1726 |
|
1727 </li> |
|
1728 |
|
1729 <li class="index-item method protected"> |
|
1730 <a href="#method__defRenderTableFn">_defRenderTableFn</a> |
|
1731 |
|
1732 |
|
1733 |
|
1734 </li> |
|
1735 |
|
1736 <li class="index-item method protected inherited"> |
|
1737 <a href="#method__destroyContainer">_destroyContainer</a> |
|
1738 |
|
1739 |
|
1740 |
|
1741 </li> |
|
1742 |
|
1743 <li class="index-item method private inherited"> |
|
1744 <a href="#method__destroyHierarchy">_destroyHierarchy</a> |
|
1745 |
|
1746 |
|
1747 |
|
1748 </li> |
|
1749 |
|
1750 <li class="index-item method protected"> |
|
1751 <a href="#method__extractDisplayColumns">_extractDisplayColumns</a> |
|
1752 |
|
1753 |
|
1754 |
|
1755 </li> |
|
1756 |
|
1757 <li class="index-item method private inherited"> |
|
1758 <a href="#method__filterAdHocAttrs">_filterAdHocAttrs</a> |
|
1759 |
|
1760 |
|
1761 |
|
1762 </li> |
|
1763 |
|
1764 <li class="index-item method private inherited"> |
|
1765 <a href="#method__filterAttrCfgs">_filterAttrCfgs</a> |
|
1766 |
|
1767 |
|
1768 |
|
1769 </li> |
|
1770 |
|
1771 <li class="index-item method private inherited"> |
|
1772 <a href="#method__fireAttrChange">_fireAttrChange</a> |
|
1773 |
|
1774 |
|
1775 |
|
1776 </li> |
|
1777 |
|
1778 <li class="index-item method protected inherited"> |
|
1779 <a href="#method__getAttr">_getAttr</a> |
|
1780 |
|
1781 |
|
1782 |
|
1783 </li> |
|
1784 |
|
1785 <li class="index-item method protected inherited"> |
|
1786 <a href="#method__getAttrCfg">_getAttrCfg</a> |
|
1787 |
|
1788 |
|
1789 |
|
1790 </li> |
|
1791 |
|
1792 <li class="index-item method protected inherited"> |
|
1793 <a href="#method__getAttrCfgs">_getAttrCfgs</a> |
|
1794 |
|
1795 |
|
1796 |
|
1797 </li> |
|
1798 |
|
1799 <li class="index-item method private inherited"> |
|
1800 <a href="#method__getAttrInitVal">_getAttrInitVal</a> |
|
1801 |
|
1802 |
|
1803 |
|
1804 </li> |
|
1805 |
|
1806 <li class="index-item method protected inherited"> |
|
1807 <a href="#method__getAttrs">_getAttrs</a> |
|
1808 |
|
1809 |
|
1810 |
|
1811 </li> |
|
1812 |
|
1813 <li class="index-item method protected inherited"> |
|
1814 <a href="#method__getClasses">_getClasses</a> |
|
1815 |
|
1816 |
|
1817 |
|
1818 </li> |
|
1819 |
|
1820 <li class="index-item method protected inherited"> |
|
1821 <a href="#method__getContainer">_getContainer</a> |
|
1822 |
|
1823 |
|
1824 |
|
1825 </li> |
|
1826 |
|
1827 <li class="index-item method private inherited"> |
|
1828 <a href="#method__getFullType">_getFullType</a> |
|
1829 |
|
1830 |
|
1831 |
|
1832 </li> |
|
1833 |
|
1834 <li class="index-item method private inherited"> |
|
1835 <a href="#method__getStateVal">_getStateVal</a> |
|
1836 |
|
1837 |
|
1838 |
|
1839 </li> |
|
1840 |
|
1841 <li class="index-item method private inherited"> |
|
1842 <a href="#method__getType">_getType</a> |
|
1843 |
|
1844 |
|
1845 |
|
1846 </li> |
|
1847 |
|
1848 <li class="index-item method private inherited"> |
|
1849 <a href="#method__initAttrHost">_initAttrHost</a> |
|
1850 |
|
1851 |
|
1852 |
|
1853 </li> |
|
1854 |
|
1855 <li class="index-item method private inherited inherited"> |
|
1856 <a href="#method__initAttribute">_initAttribute</a> |
|
1857 |
|
1858 |
|
1859 |
|
1860 </li> |
|
1861 |
|
1862 <li class="index-item method protected inherited"> |
|
1863 <a href="#method__initAttrs">_initAttrs</a> |
|
1864 |
|
1865 |
|
1866 |
|
1867 </li> |
|
1868 |
|
1869 <li class="index-item method private inherited"> |
|
1870 <a href="#method__initBase">_initBase</a> |
|
1871 |
|
1872 |
|
1873 |
|
1874 </li> |
|
1875 |
|
1876 <li class="index-item method protected"> |
|
1877 <a href="#method__initEvents">_initEvents</a> |
|
1878 |
|
1879 |
|
1880 |
|
1881 </li> |
|
1882 |
|
1883 <li class="index-item method private inherited"> |
|
1884 <a href="#method__initHierarchy">_initHierarchy</a> |
|
1885 |
|
1886 |
|
1887 |
|
1888 </li> |
|
1889 |
|
1890 <li class="index-item method private inherited"> |
|
1891 <a href="#method__initHierarchyData">_initHierarchyData</a> |
|
1892 |
|
1893 |
|
1894 |
|
1895 </li> |
|
1896 |
|
1897 <li class="index-item method private inherited"> |
|
1898 <a href="#method__isLazyAttr">_isLazyAttr</a> |
|
1899 |
|
1900 |
|
1901 |
|
1902 </li> |
|
1903 |
|
1904 <li class="index-item method private inherited"> |
|
1905 <a href="#method__monitor">_monitor</a> |
|
1906 |
|
1907 |
|
1908 |
|
1909 </li> |
|
1910 |
|
1911 <li class="index-item method private inherited"> |
|
1912 <a href="#method__normAttrVals">_normAttrVals</a> |
|
1913 |
|
1914 |
|
1915 |
|
1916 </li> |
|
1917 |
|
1918 <li class="index-item method private inherited"> |
|
1919 <a href="#method__parseType">_parseType</a> |
|
1920 |
|
1921 |
|
1922 |
|
1923 </li> |
|
1924 |
|
1925 <li class="index-item method private inherited"> |
|
1926 <a href="#method__preInitEventCfg">_preInitEventCfg</a> |
|
1927 |
|
1928 |
|
1929 |
|
1930 </li> |
|
1931 |
|
1932 <li class="index-item method protected deprecated inherited"> |
|
1933 <a href="#method__protectAttrs">_protectAttrs</a> |
|
1934 |
|
1935 |
|
1936 |
|
1937 <span class="flag deprecated">deprecated</span> |
|
1938 |
|
1939 </li> |
|
1940 |
|
1941 <li class="index-item method private inherited"> |
|
1942 <a href="#method__publish">_publish</a> |
|
1943 |
|
1944 |
|
1945 |
|
1946 </li> |
|
1947 |
|
1948 <li class="index-item method protected"> |
|
1949 <a href="#method__relayAttrChange">_relayAttrChange</a> |
|
1950 |
|
1951 |
|
1952 |
|
1953 </li> |
|
1954 |
|
1955 <li class="index-item method protected inherited inherited"> |
|
1956 <a href="#method__set">_set</a> |
|
1957 |
|
1958 |
|
1959 |
|
1960 </li> |
|
1961 |
|
1962 <li class="index-item method protected inherited"> |
|
1963 <a href="#method__setAttr">_setAttr</a> |
|
1964 |
|
1965 |
|
1966 |
|
1967 </li> |
|
1968 |
|
1969 <li class="index-item method protected inherited inherited"> |
|
1970 <a href="#method__setAttrs">_setAttrs</a> |
|
1971 |
|
1972 |
|
1973 |
|
1974 </li> |
|
1975 |
|
1976 <li class="index-item method private inherited"> |
|
1977 <a href="#method__setAttrVal">_setAttrVal</a> |
|
1978 |
|
1979 |
|
1980 |
|
1981 </li> |
|
1982 |
|
1983 <li class="index-item method private inherited"> |
|
1984 <a href="#method__setStateVal">_setStateVal</a> |
|
1985 |
|
1986 |
|
1987 |
|
1988 </li> |
|
1989 |
|
1990 <li class="index-item method protected"> |
|
1991 <a href="#method__uiSetCaption">_uiSetCaption</a> |
|
1992 |
|
1993 |
|
1994 |
|
1995 </li> |
|
1996 |
|
1997 <li class="index-item method protected"> |
|
1998 <a href="#method__uiSetSummary">_uiSetSummary</a> |
|
1999 |
|
2000 |
|
2001 |
|
2002 </li> |
|
2003 |
|
2004 <li class="index-item method protected"> |
|
2005 <a href="#method__uiSetWidth">_uiSetWidth</a> |
|
2006 |
|
2007 |
|
2008 |
|
2009 </li> |
|
2010 |
|
2011 <li class="index-item method protected"> |
|
2012 <a href="#method__validateView">_validateView</a> |
|
2013 |
|
2014 |
|
2015 |
|
2016 </li> |
|
2017 |
|
2018 <li class="index-item method inherited"> |
|
2019 <a href="#method_addAttr">addAttr</a> |
|
2020 |
|
2021 |
|
2022 |
|
2023 </li> |
|
2024 |
|
2025 <li class="index-item method inherited"> |
|
2026 <a href="#method_addAttrs">addAttrs</a> |
|
2027 |
|
2028 |
|
2029 |
|
2030 </li> |
|
2031 |
|
2032 <li class="index-item method inherited"> |
|
2033 <a href="#method_addTarget">addTarget</a> |
|
2034 |
|
2035 |
|
2036 |
|
2037 </li> |
|
2038 |
|
2039 <li class="index-item method inherited"> |
|
2040 <a href="#method_after">after</a> |
|
2041 |
|
2042 |
|
2043 |
|
2044 </li> |
|
2045 |
|
2046 <li class="index-item method inherited"> |
|
2047 <a href="#method_attachEvents">attachEvents</a> |
|
2048 |
|
2049 |
|
2050 |
|
2051 </li> |
|
2052 |
|
2053 <li class="index-item method inherited"> |
|
2054 <a href="#method_attrAdded">attrAdded</a> |
|
2055 |
|
2056 |
|
2057 |
|
2058 </li> |
|
2059 |
|
2060 <li class="index-item method inherited"> |
|
2061 <a href="#method_before">before</a> |
|
2062 |
|
2063 |
|
2064 |
|
2065 </li> |
|
2066 |
|
2067 <li class="index-item method inherited"> |
|
2068 <a href="#method_bubble">bubble</a> |
|
2069 |
|
2070 |
|
2071 |
|
2072 </li> |
|
2073 |
|
2074 <li class="index-item method inherited"> |
|
2075 <a href="#method_create">create</a> |
|
2076 |
|
2077 |
|
2078 |
|
2079 </li> |
|
2080 |
|
2081 <li class="index-item method inherited inherited"> |
|
2082 <a href="#method_destroy">destroy</a> |
|
2083 |
|
2084 |
|
2085 |
|
2086 </li> |
|
2087 |
|
2088 <li class="index-item method protected"> |
|
2089 <a href="#method_destructor">destructor</a> |
|
2090 |
|
2091 |
|
2092 |
|
2093 </li> |
|
2094 |
|
2095 <li class="index-item method inherited"> |
|
2096 <a href="#method_detach">detach</a> |
|
2097 |
|
2098 |
|
2099 |
|
2100 </li> |
|
2101 |
|
2102 <li class="index-item method inherited"> |
|
2103 <a href="#method_detachAll">detachAll</a> |
|
2104 |
|
2105 |
|
2106 |
|
2107 </li> |
|
2108 |
|
2109 <li class="index-item method inherited"> |
|
2110 <a href="#method_detachEvents">detachEvents</a> |
|
2111 |
|
2112 |
|
2113 |
|
2114 </li> |
|
2115 |
|
2116 <li class="index-item method inherited"> |
|
2117 <a href="#method_fire">fire</a> |
|
2118 |
|
2119 |
|
2120 |
|
2121 </li> |
|
2122 |
|
2123 <li class="index-item method inherited"> |
|
2124 <a href="#method_get">get</a> |
|
2125 |
|
2126 |
|
2127 |
|
2128 </li> |
|
2129 |
|
2130 <li class="index-item method inherited"> |
|
2131 <a href="#method_getAttrs">getAttrs</a> |
|
2132 |
|
2133 |
|
2134 |
|
2135 </li> |
|
2136 |
|
2137 <li class="index-item method"> |
|
2138 <a href="#method_getCell">getCell</a> |
|
2139 |
|
2140 |
|
2141 |
|
2142 </li> |
|
2143 |
|
2144 <li class="index-item method protected"> |
|
2145 <a href="#method_getClassName">getClassName</a> |
|
2146 |
|
2147 |
|
2148 |
|
2149 </li> |
|
2150 |
|
2151 <li class="index-item method inherited"> |
|
2152 <a href="#method_getEvent">getEvent</a> |
|
2153 |
|
2154 |
|
2155 |
|
2156 </li> |
|
2157 |
|
2158 <li class="index-item method"> |
|
2159 <a href="#method_getRecord">getRecord</a> |
|
2160 |
|
2161 |
|
2162 |
|
2163 </li> |
|
2164 |
|
2165 <li class="index-item method"> |
|
2166 <a href="#method_getRow">getRow</a> |
|
2167 |
|
2168 |
|
2169 |
|
2170 </li> |
|
2171 |
|
2172 <li class="index-item method inherited"> |
|
2173 <a href="#method_getTargets">getTargets</a> |
|
2174 |
|
2175 |
|
2176 |
|
2177 </li> |
|
2178 |
|
2179 <li class="index-item method inherited inherited"> |
|
2180 <a href="#method_init">init</a> |
|
2181 |
|
2182 |
|
2183 |
|
2184 </li> |
|
2185 |
|
2186 <li class="index-item method protected"> |
|
2187 <a href="#method_intializer">intializer</a> |
|
2188 |
|
2189 |
|
2190 |
|
2191 </li> |
|
2192 |
|
2193 <li class="index-item method inherited"> |
|
2194 <a href="#method_modifyAttr">modifyAttr</a> |
|
2195 |
|
2196 |
|
2197 |
|
2198 </li> |
|
2199 |
|
2200 <li class="index-item method inherited"> |
|
2201 <a href="#method_on">on</a> |
|
2202 |
|
2203 |
|
2204 |
|
2205 </li> |
|
2206 |
|
2207 <li class="index-item method inherited"> |
|
2208 <a href="#method_once">once</a> |
|
2209 |
|
2210 |
|
2211 |
|
2212 </li> |
|
2213 |
|
2214 <li class="index-item method inherited"> |
|
2215 <a href="#method_onceAfter">onceAfter</a> |
|
2216 |
|
2217 |
|
2218 |
|
2219 </li> |
|
2220 |
|
2221 <li class="index-item method inherited"> |
|
2222 <a href="#method_parseType">parseType</a> |
|
2223 |
|
2224 |
|
2225 |
|
2226 </li> |
|
2227 |
|
2228 <li class="index-item method inherited"> |
|
2229 <a href="#method_publish">publish</a> |
|
2230 |
|
2231 |
|
2232 |
|
2233 </li> |
|
2234 |
|
2235 <li class="index-item method inherited"> |
|
2236 <a href="#method_remove">remove</a> |
|
2237 |
|
2238 |
|
2239 |
|
2240 </li> |
|
2241 |
|
2242 <li class="index-item method inherited"> |
|
2243 <a href="#method_removeAttr">removeAttr</a> |
|
2244 |
|
2245 |
|
2246 |
|
2247 </li> |
|
2248 |
|
2249 <li class="index-item method inherited"> |
|
2250 <a href="#method_removeTarget">removeTarget</a> |
|
2251 |
|
2252 |
|
2253 |
|
2254 </li> |
|
2255 |
|
2256 <li class="index-item method inherited"> |
|
2257 <a href="#method_render">render</a> |
|
2258 |
|
2259 |
|
2260 |
|
2261 </li> |
|
2262 |
|
2263 <li class="index-item method inherited"> |
|
2264 <a href="#method_reset">reset</a> |
|
2265 |
|
2266 |
|
2267 |
|
2268 </li> |
|
2269 |
|
2270 <li class="index-item method inherited inherited"> |
|
2271 <a href="#method_set">set</a> |
|
2272 |
|
2273 |
|
2274 |
|
2275 </li> |
|
2276 |
|
2277 <li class="index-item method inherited inherited"> |
|
2278 <a href="#method_setAttrs">setAttrs</a> |
|
2279 |
|
2280 |
|
2281 |
|
2282 </li> |
|
2283 |
|
2284 <li class="index-item method deprecated inherited"> |
|
2285 <a href="#method_subscribe">subscribe</a> |
|
2286 |
|
2287 |
|
2288 |
|
2289 <span class="flag deprecated">deprecated</span> |
|
2290 |
|
2291 </li> |
|
2292 |
|
2293 <li class="index-item method inherited"> |
|
2294 <a href="#method_toString">toString</a> |
|
2295 |
|
2296 |
|
2297 |
|
2298 </li> |
|
2299 |
|
2300 <li class="index-item method deprecated inherited"> |
|
2301 <a href="#method_unsubscribe">unsubscribe</a> |
|
2302 |
|
2303 |
|
2304 |
|
2305 <span class="flag deprecated">deprecated</span> |
|
2306 |
|
2307 </li> |
|
2308 |
|
2309 <li class="index-item method deprecated inherited"> |
|
2310 <a href="#method_unsubscribeAll">unsubscribeAll</a> |
|
2311 |
|
2312 |
|
2313 |
|
2314 <span class="flag deprecated">deprecated</span> |
|
2315 |
|
2316 </li> |
|
2317 |
|
2318 </ul> |
|
2319 </div> |
|
2320 |
|
2321 |
|
2322 |
|
2323 <div class="index-section properties"> |
|
2324 <h3>Properties</h3> |
|
2325 |
|
2326 <ul class="index-list properties extends"> |
|
2327 |
|
2328 <li class="index-item property protected inherited inherited"> |
|
2329 <a href="#property__allowAdHocAttrs">_allowAdHocAttrs</a> |
|
2330 |
|
2331 |
|
2332 |
|
2333 </li> |
|
2334 |
|
2335 <li class="index-item property"> |
|
2336 <a href="#property_body">body</a> |
|
2337 |
|
2338 |
|
2339 |
|
2340 </li> |
|
2341 |
|
2342 <li class="index-item property"> |
|
2343 <a href="#property_CAPTION_TEMPLATE">CAPTION_TEMPLATE</a> |
|
2344 |
|
2345 |
|
2346 |
|
2347 </li> |
|
2348 |
|
2349 <li class="index-item property inherited"> |
|
2350 <a href="#property_containerTemplate">containerTemplate</a> |
|
2351 |
|
2352 |
|
2353 |
|
2354 </li> |
|
2355 |
|
2356 <li class="index-item property"> |
|
2357 <a href="#property_displayColumns">displayColumns</a> |
|
2358 |
|
2359 |
|
2360 |
|
2361 </li> |
|
2362 |
|
2363 <li class="index-item property inherited"> |
|
2364 <a href="#property_events">events</a> |
|
2365 |
|
2366 |
|
2367 |
|
2368 </li> |
|
2369 |
|
2370 <li class="index-item property"> |
|
2371 <a href="#property_foot">foot</a> |
|
2372 |
|
2373 |
|
2374 |
|
2375 </li> |
|
2376 |
|
2377 <li class="index-item property"> |
|
2378 <a href="#property_head">head</a> |
|
2379 |
|
2380 |
|
2381 |
|
2382 </li> |
|
2383 |
|
2384 <li class="index-item property deprecated inherited"> |
|
2385 <a href="#property_name">name</a> |
|
2386 |
|
2387 |
|
2388 |
|
2389 <span class="flag deprecated">deprecated</span> |
|
2390 |
|
2391 </li> |
|
2392 |
|
2393 <li class="index-item property"> |
|
2394 <a href="#property_TABLE_TEMPLATE">TABLE_TEMPLATE</a> |
|
2395 |
|
2396 |
|
2397 |
|
2398 </li> |
|
2399 |
|
2400 <li class="index-item property inherited"> |
|
2401 <a href="#property_template">template</a> |
|
2402 |
|
2403 |
|
2404 |
|
2405 </li> |
|
2406 |
|
2407 </ul> |
|
2408 </div> |
|
2409 |
|
2410 |
|
2411 |
|
2412 <div class="index-section attrs"> |
|
2413 <h3>Attributes</h3> |
|
2414 |
|
2415 <ul class="index-list attrs extends"> |
|
2416 |
|
2417 <li class="index-item attr"> |
|
2418 <a href="#attr_bodyConfig">bodyConfig</a> |
|
2419 </li> |
|
2420 |
|
2421 <li class="index-item attr"> |
|
2422 <a href="#attr_bodyView">bodyView</a> |
|
2423 </li> |
|
2424 |
|
2425 <li class="index-item attr"> |
|
2426 <a href="#attr_caption">caption</a> |
|
2427 </li> |
|
2428 |
|
2429 <li class="index-item attr"> |
|
2430 <a href="#attr_columns">columns</a> |
|
2431 </li> |
|
2432 |
|
2433 <li class="index-item attr inherited"> |
|
2434 <a href="#attr_container">container</a> |
|
2435 </li> |
|
2436 |
|
2437 <li class="index-item attr inherited"> |
|
2438 <a href="#attr_destroyed">destroyed</a> |
|
2439 </li> |
|
2440 |
|
2441 <li class="index-item attr"> |
|
2442 <a href="#attr_footerConfig">footerConfig</a> |
|
2443 </li> |
|
2444 |
|
2445 <li class="index-item attr"> |
|
2446 <a href="#attr_footerView">footerView</a> |
|
2447 </li> |
|
2448 |
|
2449 <li class="index-item attr"> |
|
2450 <a href="#attr_headerConfig">headerConfig</a> |
|
2451 </li> |
|
2452 |
|
2453 <li class="index-item attr"> |
|
2454 <a href="#attr_headerView">headerView</a> |
|
2455 </li> |
|
2456 |
|
2457 <li class="index-item attr inherited"> |
|
2458 <a href="#attr_initialized">initialized</a> |
|
2459 </li> |
|
2460 |
|
2461 <li class="index-item attr"> |
|
2462 <a href="#attr_summary">summary</a> |
|
2463 </li> |
|
2464 |
|
2465 <li class="index-item attr"> |
|
2466 <a href="#attr_width">width</a> |
|
2467 </li> |
|
2468 |
|
2469 </ul> |
|
2470 </div> |
|
2471 |
|
2472 |
|
2473 |
|
2474 <div class="index-section events"> |
|
2475 <h3>Events</h3> |
|
2476 |
|
2477 <ul class="index-list events extends"> |
|
2478 |
|
2479 <li class="index-item event inherited"> |
|
2480 <a href="#event_destroy">destroy</a> |
|
2481 |
|
2482 |
|
2483 |
|
2484 </li> |
|
2485 |
|
2486 <li class="index-item event inherited"> |
|
2487 <a href="#event_init">init</a> |
|
2488 |
|
2489 |
|
2490 |
|
2491 </li> |
|
2492 |
|
2493 </ul> |
|
2494 </div> |
|
2495 |
|
2496 </div> |
|
2497 |
|
2498 |
|
2499 <div id="methods" class="api-class-tabpanel"> |
|
2500 <h2 class="off-left">Methods</h2> |
|
2501 |
|
2502 |
|
2503 <div id="method__addAttrs" class="method item private inherited"> |
|
2504 <h3 class="name"><code>_addAttrs</code></h3> |
|
2505 |
|
2506 |
|
2507 <div class="args"> |
|
2508 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2509 |
|
2510 <li class="arg"> |
|
2511 |
|
2512 <code>cfgs</code> |
|
2513 |
|
2514 </li> |
|
2515 |
|
2516 <li class="arg"> |
|
2517 |
|
2518 <code>values</code> |
|
2519 |
|
2520 </li> |
|
2521 |
|
2522 <li class="arg"> |
|
2523 |
|
2524 <code>lazy</code> |
|
2525 |
|
2526 </li> |
|
2527 |
|
2528 </ul><span class="paren">)</span> |
|
2529 </div> |
|
2530 |
|
2531 |
|
2532 |
|
2533 |
|
2534 |
|
2535 |
|
2536 |
|
2537 <span class="flag private">private</span> |
|
2538 |
|
2539 |
|
2540 |
|
2541 |
|
2542 |
|
2543 |
|
2544 |
|
2545 |
|
2546 |
|
2547 |
|
2548 <div class="meta"> |
|
2549 |
|
2550 |
|
2551 <p>Inherited from |
|
2552 <a href="../classes/AttributeCore.html#method__addAttrs">AttributeCore</a>: |
|
2553 |
|
2554 |
|
2555 |
|
2556 <a href="../files/attribute_js_AttributeCore.js.html#l836"><code>attribute/js/AttributeCore.js:836</code></a> |
|
2557 |
|
2558 </p> |
|
2559 |
|
2560 |
|
2561 |
|
2562 |
|
2563 |
|
2564 </div> |
|
2565 |
|
2566 <div class="description"> |
|
2567 <p>Implementation behind the public addAttrs method.</p> |
|
2568 |
|
2569 <p>This method is invoked directly by get if it encounters a scenario |
|
2570 in which an attribute's valueFn attempts to obtain the |
|
2571 value an attribute in the same group of attributes, which has not yet |
|
2572 been added (on demand initialization).</p> |
|
2573 </div> |
|
2574 |
|
2575 |
|
2576 <div class="params"> |
|
2577 <h4>Parameters:</h4> |
|
2578 |
|
2579 <ul class="params-list"> |
|
2580 |
|
2581 <li class="param"> |
|
2582 |
|
2583 <code class="param-name">cfgs</code> |
|
2584 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2585 |
|
2586 |
|
2587 |
|
2588 |
|
2589 <div class="param-description"> |
|
2590 <p>An object with attribute name/configuration pairs.</p> |
|
2591 </div> |
|
2592 |
|
2593 |
|
2594 </li> |
|
2595 |
|
2596 <li class="param"> |
|
2597 |
|
2598 <code class="param-name">values</code> |
|
2599 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2600 |
|
2601 |
|
2602 |
|
2603 |
|
2604 <div class="param-description"> |
|
2605 <p>An object with attribute name/value pairs, defining the initial values to apply. |
|
2606 Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p> |
|
2607 </div> |
|
2608 |
|
2609 |
|
2610 </li> |
|
2611 |
|
2612 <li class="param"> |
|
2613 |
|
2614 <code class="param-name">lazy</code> |
|
2615 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
2616 |
|
2617 |
|
2618 |
|
2619 |
|
2620 <div class="param-description"> |
|
2621 <p>Whether or not to delay the intialization of these attributes until the first call to get/set. |
|
2622 Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration. |
|
2623 See <a href="#method_addAttr">addAttr</a>.</p> |
|
2624 </div> |
|
2625 |
|
2626 |
|
2627 </li> |
|
2628 |
|
2629 </ul> |
|
2630 </div> |
|
2631 |
|
2632 |
|
2633 |
|
2634 |
|
2635 |
|
2636 </div> |
|
2637 |
|
2638 |
|
2639 <div id="method__addLazyAttr" class="method item private inherited"> |
|
2640 <h3 class="name"><code>_addLazyAttr</code></h3> |
|
2641 |
|
2642 |
|
2643 <div class="args"> |
|
2644 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2645 |
|
2646 <li class="arg"> |
|
2647 |
|
2648 <code>name</code> |
|
2649 |
|
2650 </li> |
|
2651 |
|
2652 <li class="arg"> |
|
2653 |
|
2654 <code class="optional">[lazyCfg]</code> |
|
2655 |
|
2656 </li> |
|
2657 |
|
2658 </ul><span class="paren">)</span> |
|
2659 </div> |
|
2660 |
|
2661 |
|
2662 |
|
2663 |
|
2664 |
|
2665 |
|
2666 |
|
2667 <span class="flag private">private</span> |
|
2668 |
|
2669 |
|
2670 |
|
2671 |
|
2672 |
|
2673 |
|
2674 |
|
2675 |
|
2676 |
|
2677 |
|
2678 <div class="meta"> |
|
2679 |
|
2680 |
|
2681 <p>Inherited from |
|
2682 <a href="../classes/AttributeCore.html#method__addLazyAttr">AttributeCore</a>: |
|
2683 |
|
2684 |
|
2685 |
|
2686 <a href="../files/attribute_js_AttributeCore.js.html#l382"><code>attribute/js/AttributeCore.js:382</code></a> |
|
2687 |
|
2688 </p> |
|
2689 |
|
2690 |
|
2691 |
|
2692 |
|
2693 |
|
2694 </div> |
|
2695 |
|
2696 <div class="description"> |
|
2697 <p>Finishes initializing an attribute which has been lazily added.</p> |
|
2698 </div> |
|
2699 |
|
2700 |
|
2701 <div class="params"> |
|
2702 <h4>Parameters:</h4> |
|
2703 |
|
2704 <ul class="params-list"> |
|
2705 |
|
2706 <li class="param"> |
|
2707 |
|
2708 <code class="param-name">name</code> |
|
2709 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2710 |
|
2711 |
|
2712 |
|
2713 |
|
2714 <div class="param-description"> |
|
2715 <p>The name of the attribute</p> |
|
2716 </div> |
|
2717 |
|
2718 |
|
2719 </li> |
|
2720 |
|
2721 <li class="param"> |
|
2722 |
|
2723 <code class="param-name optional">[lazyCfg]</code> |
|
2724 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2725 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
2726 |
|
2727 |
|
2728 |
|
2729 |
|
2730 <div class="param-description"> |
|
2731 <p>Optional config hash for the attribute. This is added for performance |
|
2732 along the critical path, where the calling method has already obtained lazy config from state.</p> |
|
2733 </div> |
|
2734 |
|
2735 |
|
2736 </li> |
|
2737 |
|
2738 </ul> |
|
2739 </div> |
|
2740 |
|
2741 |
|
2742 |
|
2743 |
|
2744 |
|
2745 </div> |
|
2746 |
|
2747 |
|
2748 <div id="method__afterCaptionChange" class="method item protected"> |
|
2749 <h3 class="name"><code>_afterCaptionChange</code></h3> |
|
2750 |
|
2751 |
|
2752 <div class="args"> |
|
2753 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2754 |
|
2755 <li class="arg"> |
|
2756 |
|
2757 <code>e</code> |
|
2758 |
|
2759 </li> |
|
2760 |
|
2761 </ul><span class="paren">)</span> |
|
2762 </div> |
|
2763 |
|
2764 |
|
2765 |
|
2766 |
|
2767 |
|
2768 |
|
2769 |
|
2770 <span class="flag protected">protected</span> |
|
2771 |
|
2772 |
|
2773 |
|
2774 |
|
2775 |
|
2776 |
|
2777 |
|
2778 |
|
2779 |
|
2780 |
|
2781 <div class="meta"> |
|
2782 |
|
2783 |
|
2784 |
|
2785 <p> |
|
2786 |
|
2787 Defined in |
|
2788 |
|
2789 |
|
2790 |
|
2791 |
|
2792 <a href="../files/datatable_js_table.js.html#l200"><code>datatable/js/table.js:200</code></a> |
|
2793 |
|
2794 </p> |
|
2795 |
|
2796 |
|
2797 |
|
2798 |
|
2799 |
|
2800 <p>Available since 3.6.0</p> |
|
2801 |
|
2802 </div> |
|
2803 |
|
2804 <div class="description"> |
|
2805 <p>Updates the table's <code><caption></code>.</p> |
|
2806 </div> |
|
2807 |
|
2808 |
|
2809 <div class="params"> |
|
2810 <h4>Parameters:</h4> |
|
2811 |
|
2812 <ul class="params-list"> |
|
2813 |
|
2814 <li class="param"> |
|
2815 |
|
2816 <code class="param-name">e</code> |
|
2817 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
2818 |
|
2819 |
|
2820 |
|
2821 |
|
2822 <div class="param-description"> |
|
2823 <p>The change event</p> |
|
2824 </div> |
|
2825 |
|
2826 |
|
2827 </li> |
|
2828 |
|
2829 </ul> |
|
2830 </div> |
|
2831 |
|
2832 |
|
2833 |
|
2834 |
|
2835 |
|
2836 </div> |
|
2837 |
|
2838 |
|
2839 <div id="method__afterContainerChange" class="method item protected inherited"> |
|
2840 <h3 class="name"><code>_afterContainerChange</code></h3> |
|
2841 |
|
2842 |
|
2843 <span class="paren">()</span> |
|
2844 |
|
2845 |
|
2846 |
|
2847 |
|
2848 |
|
2849 |
|
2850 |
|
2851 <span class="flag protected">protected</span> |
|
2852 |
|
2853 |
|
2854 |
|
2855 |
|
2856 |
|
2857 |
|
2858 |
|
2859 |
|
2860 |
|
2861 |
|
2862 <div class="meta"> |
|
2863 |
|
2864 |
|
2865 <p>Inherited from |
|
2866 <a href="../classes/View.html#method__afterContainerChange">View</a>: |
|
2867 |
|
2868 |
|
2869 |
|
2870 <a href="../files/app_js_view.js.html#l357"><code>app/js/view.js:357</code></a> |
|
2871 |
|
2872 </p> |
|
2873 |
|
2874 |
|
2875 |
|
2876 |
|
2877 |
|
2878 <p>Available since 3.5.0</p> |
|
2879 |
|
2880 </div> |
|
2881 |
|
2882 <div class="description"> |
|
2883 <p>Handles <code>containerChange</code> events. Detaches event handlers from the old |
|
2884 container (if any) and attaches them to the new container.</p> |
|
2885 |
|
2886 <p>Right now the <code>container</code> attr is initOnly so this event should only ever |
|
2887 fire the first time the container is created, but in the future (once Y.App |
|
2888 can handle it) we may allow runtime container changes.</p> |
|
2889 </div> |
|
2890 |
|
2891 |
|
2892 |
|
2893 |
|
2894 |
|
2895 |
|
2896 </div> |
|
2897 |
|
2898 |
|
2899 <div id="method__afterSummaryChange" class="method item protected"> |
|
2900 <h3 class="name"><code>_afterSummaryChange</code></h3> |
|
2901 |
|
2902 |
|
2903 <div class="args"> |
|
2904 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2905 |
|
2906 <li class="arg"> |
|
2907 |
|
2908 <code>e</code> |
|
2909 |
|
2910 </li> |
|
2911 |
|
2912 </ul><span class="paren">)</span> |
|
2913 </div> |
|
2914 |
|
2915 |
|
2916 |
|
2917 |
|
2918 |
|
2919 |
|
2920 |
|
2921 <span class="flag protected">protected</span> |
|
2922 |
|
2923 |
|
2924 |
|
2925 |
|
2926 |
|
2927 |
|
2928 |
|
2929 |
|
2930 |
|
2931 |
|
2932 <div class="meta"> |
|
2933 |
|
2934 |
|
2935 |
|
2936 <p> |
|
2937 |
|
2938 Defined in |
|
2939 |
|
2940 |
|
2941 |
|
2942 |
|
2943 <a href="../files/datatable_js_table.js.html#l188"><code>datatable/js/table.js:188</code></a> |
|
2944 |
|
2945 </p> |
|
2946 |
|
2947 |
|
2948 |
|
2949 |
|
2950 |
|
2951 <p>Available since 3.6.0</p> |
|
2952 |
|
2953 </div> |
|
2954 |
|
2955 <div class="description"> |
|
2956 <p>Updates the table's <code>summary</code> attribute.</p> |
|
2957 </div> |
|
2958 |
|
2959 |
|
2960 <div class="params"> |
|
2961 <h4>Parameters:</h4> |
|
2962 |
|
2963 <ul class="params-list"> |
|
2964 |
|
2965 <li class="param"> |
|
2966 |
|
2967 <code class="param-name">e</code> |
|
2968 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
2969 |
|
2970 |
|
2971 |
|
2972 |
|
2973 <div class="param-description"> |
|
2974 <p>The change event</p> |
|
2975 </div> |
|
2976 |
|
2977 |
|
2978 </li> |
|
2979 |
|
2980 </ul> |
|
2981 </div> |
|
2982 |
|
2983 |
|
2984 |
|
2985 |
|
2986 |
|
2987 </div> |
|
2988 |
|
2989 |
|
2990 <div id="method__afterWidthChange" class="method item protected"> |
|
2991 <h3 class="name"><code>_afterWidthChange</code></h3> |
|
2992 |
|
2993 |
|
2994 <div class="args"> |
|
2995 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2996 |
|
2997 <li class="arg"> |
|
2998 |
|
2999 <code>e</code> |
|
3000 |
|
3001 </li> |
|
3002 |
|
3003 </ul><span class="paren">)</span> |
|
3004 </div> |
|
3005 |
|
3006 |
|
3007 |
|
3008 |
|
3009 |
|
3010 |
|
3011 |
|
3012 <span class="flag protected">protected</span> |
|
3013 |
|
3014 |
|
3015 |
|
3016 |
|
3017 |
|
3018 |
|
3019 |
|
3020 |
|
3021 |
|
3022 |
|
3023 <div class="meta"> |
|
3024 |
|
3025 |
|
3026 |
|
3027 <p> |
|
3028 |
|
3029 Defined in |
|
3030 |
|
3031 |
|
3032 |
|
3033 |
|
3034 <a href="../files/datatable_js_table.js.html#l212"><code>datatable/js/table.js:212</code></a> |
|
3035 |
|
3036 </p> |
|
3037 |
|
3038 |
|
3039 |
|
3040 |
|
3041 |
|
3042 <p>Available since 3.6.0</p> |
|
3043 |
|
3044 </div> |
|
3045 |
|
3046 <div class="description"> |
|
3047 <p>Updates the table's width.</p> |
|
3048 </div> |
|
3049 |
|
3050 |
|
3051 <div class="params"> |
|
3052 <h4>Parameters:</h4> |
|
3053 |
|
3054 <ul class="params-list"> |
|
3055 |
|
3056 <li class="param"> |
|
3057 |
|
3058 <code class="param-name">e</code> |
|
3059 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
3060 |
|
3061 |
|
3062 |
|
3063 |
|
3064 <div class="param-description"> |
|
3065 <p>The change event</p> |
|
3066 </div> |
|
3067 |
|
3068 |
|
3069 </li> |
|
3070 |
|
3071 </ul> |
|
3072 </div> |
|
3073 |
|
3074 |
|
3075 |
|
3076 |
|
3077 |
|
3078 </div> |
|
3079 |
|
3080 |
|
3081 <div id="method__aggregateAttrs" class="method item private inherited"> |
|
3082 <h3 class="name"><code>_aggregateAttrs</code></h3> |
|
3083 |
|
3084 |
|
3085 <div class="args"> |
|
3086 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3087 |
|
3088 <li class="arg"> |
|
3089 |
|
3090 <code>allAttrs</code> |
|
3091 |
|
3092 </li> |
|
3093 |
|
3094 </ul><span class="paren">)</span> |
|
3095 </div> |
|
3096 |
|
3097 |
|
3098 |
|
3099 <span class="returns-inline"> |
|
3100 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3101 </span> |
|
3102 |
|
3103 |
|
3104 |
|
3105 |
|
3106 |
|
3107 <span class="flag private">private</span> |
|
3108 |
|
3109 |
|
3110 |
|
3111 |
|
3112 |
|
3113 |
|
3114 |
|
3115 |
|
3116 |
|
3117 |
|
3118 <div class="meta"> |
|
3119 |
|
3120 |
|
3121 <p>Inherited from |
|
3122 <a href="../classes/BaseCore.html#method__aggregateAttrs">BaseCore</a>: |
|
3123 |
|
3124 |
|
3125 |
|
3126 <a href="../files/base_js_BaseCore.js.html#l575"><code>base/js/BaseCore.js:575</code></a> |
|
3127 |
|
3128 </p> |
|
3129 |
|
3130 |
|
3131 |
|
3132 |
|
3133 |
|
3134 </div> |
|
3135 |
|
3136 <div class="description"> |
|
3137 <p>A helper method, used by _initHierarchyData to aggregate |
|
3138 attribute configuration across the instances class hierarchy.</p> |
|
3139 |
|
3140 <p>The method will protect the attribute configuration value to protect the statically defined |
|
3141 default value in ATTRS if required (if the value is an object literal, array or the |
|
3142 attribute configuration has cloneDefaultValue set to shallow or deep).</p> |
|
3143 </div> |
|
3144 |
|
3145 |
|
3146 <div class="params"> |
|
3147 <h4>Parameters:</h4> |
|
3148 |
|
3149 <ul class="params-list"> |
|
3150 |
|
3151 <li class="param"> |
|
3152 |
|
3153 <code class="param-name">allAttrs</code> |
|
3154 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
3155 |
|
3156 |
|
3157 |
|
3158 |
|
3159 <div class="param-description"> |
|
3160 <p>An array of ATTRS definitions across classes in the hierarchy |
|
3161 (subclass first, Base last)</p> |
|
3162 </div> |
|
3163 |
|
3164 |
|
3165 </li> |
|
3166 |
|
3167 </ul> |
|
3168 </div> |
|
3169 |
|
3170 |
|
3171 |
|
3172 <div class="returns"> |
|
3173 <h4>Returns:</h4> |
|
3174 |
|
3175 <div class="returns-description"> |
|
3176 |
|
3177 |
|
3178 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
3179 |
|
3180 The aggregate set of ATTRS definitions for the instance |
|
3181 |
|
3182 </div> |
|
3183 </div> |
|
3184 |
|
3185 |
|
3186 |
|
3187 </div> |
|
3188 |
|
3189 |
|
3190 <div id="method__attrCfgHash" class="method item private inherited"> |
|
3191 <h3 class="name"><code>_attrCfgHash</code></h3> |
|
3192 |
|
3193 |
|
3194 <span class="paren">()</span> |
|
3195 |
|
3196 |
|
3197 |
|
3198 |
|
3199 |
|
3200 |
|
3201 |
|
3202 <span class="flag private">private</span> |
|
3203 |
|
3204 |
|
3205 |
|
3206 |
|
3207 |
|
3208 |
|
3209 |
|
3210 |
|
3211 |
|
3212 |
|
3213 <div class="meta"> |
|
3214 |
|
3215 |
|
3216 <p>Inherited from |
|
3217 <a href="../classes/BaseCore.html#method__attrCfgHash">BaseCore</a>: |
|
3218 |
|
3219 |
|
3220 |
|
3221 <a href="../files/base_js_BaseCore.js.html#l538"><code>base/js/BaseCore.js:538</code></a> |
|
3222 |
|
3223 </p> |
|
3224 |
|
3225 |
|
3226 |
|
3227 |
|
3228 |
|
3229 </div> |
|
3230 |
|
3231 <div class="description"> |
|
3232 <p>Utility method to define the attribute hash used to filter/whitelist property mixes for |
|
3233 this class for iteration performance reasons.</p> |
|
3234 </div> |
|
3235 |
|
3236 |
|
3237 |
|
3238 |
|
3239 |
|
3240 |
|
3241 </div> |
|
3242 |
|
3243 |
|
3244 <div id="method__baseDestroy" class="method item private inherited"> |
|
3245 <h3 class="name"><code>_baseDestroy</code></h3> |
|
3246 |
|
3247 |
|
3248 <span class="paren">()</span> |
|
3249 |
|
3250 |
|
3251 |
|
3252 |
|
3253 |
|
3254 |
|
3255 |
|
3256 <span class="flag private">private</span> |
|
3257 |
|
3258 |
|
3259 |
|
3260 |
|
3261 |
|
3262 |
|
3263 |
|
3264 |
|
3265 |
|
3266 |
|
3267 <div class="meta"> |
|
3268 |
|
3269 |
|
3270 <p>Inherited from |
|
3271 <a href="../classes/BaseCore.html#method__baseDestroy">BaseCore</a>: |
|
3272 |
|
3273 |
|
3274 |
|
3275 <a href="../files/base_js_BaseCore.js.html#l309"><code>base/js/BaseCore.js:309</code></a> |
|
3276 |
|
3277 </p> |
|
3278 |
|
3279 |
|
3280 |
|
3281 |
|
3282 |
|
3283 </div> |
|
3284 |
|
3285 <div class="description"> |
|
3286 <p>Internal destroy implementation for BaseCore</p> |
|
3287 </div> |
|
3288 |
|
3289 |
|
3290 |
|
3291 |
|
3292 |
|
3293 |
|
3294 </div> |
|
3295 |
|
3296 |
|
3297 <div id="method__baseInit" class="method item private inherited"> |
|
3298 <h3 class="name"><code>_baseInit</code></h3> |
|
3299 |
|
3300 |
|
3301 <span class="paren">()</span> |
|
3302 |
|
3303 |
|
3304 |
|
3305 |
|
3306 |
|
3307 |
|
3308 |
|
3309 <span class="flag private">private</span> |
|
3310 |
|
3311 |
|
3312 |
|
3313 |
|
3314 |
|
3315 |
|
3316 |
|
3317 |
|
3318 |
|
3319 |
|
3320 <div class="meta"> |
|
3321 |
|
3322 |
|
3323 <p>Inherited from |
|
3324 <a href="../classes/BaseCore.html#method__baseInit">BaseCore</a>: |
|
3325 |
|
3326 |
|
3327 |
|
3328 <a href="../files/base_js_BaseCore.js.html#l281"><code>base/js/BaseCore.js:281</code></a> |
|
3329 |
|
3330 </p> |
|
3331 |
|
3332 |
|
3333 |
|
3334 |
|
3335 |
|
3336 </div> |
|
3337 |
|
3338 <div class="description"> |
|
3339 <p>Internal initialization implementation for BaseCore</p> |
|
3340 </div> |
|
3341 |
|
3342 |
|
3343 |
|
3344 |
|
3345 |
|
3346 |
|
3347 </div> |
|
3348 |
|
3349 |
|
3350 <div id="method__bindUI" class="method item protected"> |
|
3351 <h3 class="name"><code>_bindUI</code></h3> |
|
3352 |
|
3353 |
|
3354 <span class="paren">()</span> |
|
3355 |
|
3356 |
|
3357 |
|
3358 |
|
3359 |
|
3360 |
|
3361 |
|
3362 <span class="flag protected">protected</span> |
|
3363 |
|
3364 |
|
3365 |
|
3366 |
|
3367 |
|
3368 |
|
3369 |
|
3370 |
|
3371 |
|
3372 |
|
3373 <div class="meta"> |
|
3374 |
|
3375 |
|
3376 |
|
3377 <p> |
|
3378 |
|
3379 Defined in |
|
3380 |
|
3381 |
|
3382 |
|
3383 |
|
3384 <a href="../files/datatable_js_table.js.html#l224"><code>datatable/js/table.js:224</code></a> |
|
3385 |
|
3386 </p> |
|
3387 |
|
3388 |
|
3389 |
|
3390 |
|
3391 |
|
3392 <p>Available since 3.6.0</p> |
|
3393 |
|
3394 </div> |
|
3395 |
|
3396 <div class="description"> |
|
3397 <p>Attaches event subscriptions to relay attribute changes to the child Views.</p> |
|
3398 </div> |
|
3399 |
|
3400 |
|
3401 |
|
3402 |
|
3403 |
|
3404 |
|
3405 </div> |
|
3406 |
|
3407 |
|
3408 <div id="method__cloneDefaultValue" class="method item private inherited"> |
|
3409 <h3 class="name"><code>_cloneDefaultValue</code></h3> |
|
3410 |
|
3411 |
|
3412 <div class="args"> |
|
3413 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3414 |
|
3415 <li class="arg"> |
|
3416 |
|
3417 <code>cfg</code> |
|
3418 |
|
3419 </li> |
|
3420 |
|
3421 </ul><span class="paren">)</span> |
|
3422 </div> |
|
3423 |
|
3424 |
|
3425 |
|
3426 |
|
3427 |
|
3428 |
|
3429 |
|
3430 <span class="flag private">private</span> |
|
3431 |
|
3432 |
|
3433 |
|
3434 |
|
3435 |
|
3436 |
|
3437 |
|
3438 |
|
3439 |
|
3440 |
|
3441 <div class="meta"> |
|
3442 |
|
3443 |
|
3444 <p>Inherited from |
|
3445 <a href="../classes/BaseCore.html#method__cloneDefaultValue">BaseCore</a>: |
|
3446 |
|
3447 |
|
3448 |
|
3449 <a href="../files/base_js_BaseCore.js.html#l549"><code>base/js/BaseCore.js:549</code></a> |
|
3450 |
|
3451 </p> |
|
3452 |
|
3453 |
|
3454 |
|
3455 |
|
3456 |
|
3457 </div> |
|
3458 |
|
3459 <div class="description"> |
|
3460 <p>This method assumes that the value has already been checked to be an object. |
|
3461 Since it's on a critical path, we don't want to re-do the check.</p> |
|
3462 </div> |
|
3463 |
|
3464 |
|
3465 <div class="params"> |
|
3466 <h4>Parameters:</h4> |
|
3467 |
|
3468 <ul class="params-list"> |
|
3469 |
|
3470 <li class="param"> |
|
3471 |
|
3472 <code class="param-name">cfg</code> |
|
3473 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3474 |
|
3475 |
|
3476 |
|
3477 |
|
3478 <div class="param-description"> |
|
3479 |
|
3480 </div> |
|
3481 |
|
3482 |
|
3483 </li> |
|
3484 |
|
3485 </ul> |
|
3486 </div> |
|
3487 |
|
3488 |
|
3489 |
|
3490 |
|
3491 |
|
3492 </div> |
|
3493 |
|
3494 |
|
3495 <div id="method__createTable" class="method item protected"> |
|
3496 <h3 class="name"><code>_createTable</code></h3> |
|
3497 |
|
3498 |
|
3499 <span class="paren">()</span> |
|
3500 |
|
3501 |
|
3502 |
|
3503 <span class="returns-inline"> |
|
3504 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
3505 </span> |
|
3506 |
|
3507 |
|
3508 |
|
3509 |
|
3510 |
|
3511 <span class="flag protected">protected</span> |
|
3512 |
|
3513 |
|
3514 |
|
3515 |
|
3516 |
|
3517 |
|
3518 |
|
3519 |
|
3520 |
|
3521 |
|
3522 <div class="meta"> |
|
3523 |
|
3524 |
|
3525 |
|
3526 <p> |
|
3527 |
|
3528 Defined in |
|
3529 |
|
3530 |
|
3531 |
|
3532 |
|
3533 <a href="../files/datatable_js_table.js.html#l247"><code>datatable/js/table.js:247</code></a> |
|
3534 |
|
3535 </p> |
|
3536 |
|
3537 |
|
3538 |
|
3539 |
|
3540 |
|
3541 <p>Available since 3.5.0</p> |
|
3542 |
|
3543 </div> |
|
3544 |
|
3545 <div class="description"> |
|
3546 <p>Creates the <code><table></code>.</p> |
|
3547 </div> |
|
3548 |
|
3549 |
|
3550 |
|
3551 |
|
3552 <div class="returns"> |
|
3553 <h4>Returns:</h4> |
|
3554 |
|
3555 <div class="returns-description"> |
|
3556 |
|
3557 |
|
3558 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>: |
|
3559 |
|
3560 The <code><table></code> node |
|
3561 |
|
3562 </div> |
|
3563 </div> |
|
3564 |
|
3565 |
|
3566 |
|
3567 </div> |
|
3568 |
|
3569 |
|
3570 <div id="method__defAttrChangeFn" class="method item private inherited"> |
|
3571 <h3 class="name"><code>_defAttrChangeFn</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>e</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/AttributeObservable.html#method__defAttrChangeFn">AttributeObservable</a>: |
|
3608 |
|
3609 |
|
3610 |
|
3611 <a href="../files/attribute_js_AttributeObservable.js.html#l186"><code>attribute/js/AttributeObservable.js:186</code></a> |
|
3612 |
|
3613 </p> |
|
3614 |
|
3615 |
|
3616 |
|
3617 |
|
3618 |
|
3619 </div> |
|
3620 |
|
3621 <div class="description"> |
|
3622 <p>Default function for attribute change events.</p> |
|
3623 </div> |
|
3624 |
|
3625 |
|
3626 <div class="params"> |
|
3627 <h4>Parameters:</h4> |
|
3628 |
|
3629 <ul class="params-list"> |
|
3630 |
|
3631 <li class="param"> |
|
3632 |
|
3633 <code class="param-name">e</code> |
|
3634 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
3635 |
|
3636 |
|
3637 |
|
3638 |
|
3639 <div class="param-description"> |
|
3640 <p>The event object for attribute change events.</p> |
|
3641 </div> |
|
3642 |
|
3643 |
|
3644 </li> |
|
3645 |
|
3646 </ul> |
|
3647 </div> |
|
3648 |
|
3649 |
|
3650 |
|
3651 |
|
3652 |
|
3653 </div> |
|
3654 |
|
3655 |
|
3656 <div id="method__defDestroyFn" class="method item protected inherited"> |
|
3657 <h3 class="name"><code>_defDestroyFn</code></h3> |
|
3658 |
|
3659 |
|
3660 <div class="args"> |
|
3661 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3662 |
|
3663 <li class="arg"> |
|
3664 |
|
3665 <code>e</code> |
|
3666 |
|
3667 </li> |
|
3668 |
|
3669 </ul><span class="paren">)</span> |
|
3670 </div> |
|
3671 |
|
3672 |
|
3673 |
|
3674 |
|
3675 |
|
3676 |
|
3677 |
|
3678 <span class="flag protected">protected</span> |
|
3679 |
|
3680 |
|
3681 |
|
3682 |
|
3683 |
|
3684 |
|
3685 |
|
3686 |
|
3687 |
|
3688 |
|
3689 <div class="meta"> |
|
3690 |
|
3691 |
|
3692 <p>Inherited from |
|
3693 <a href="../classes/BaseObservable.html#method__defDestroyFn">BaseObservable</a>: |
|
3694 |
|
3695 |
|
3696 |
|
3697 <a href="../files/base_js_BaseObservable.js.html#l190"><code>base/js/BaseObservable.js:190</code></a> |
|
3698 |
|
3699 </p> |
|
3700 |
|
3701 |
|
3702 |
|
3703 |
|
3704 |
|
3705 </div> |
|
3706 |
|
3707 <div class="description"> |
|
3708 <p>Default destroy event handler</p> |
|
3709 </div> |
|
3710 |
|
3711 |
|
3712 <div class="params"> |
|
3713 <h4>Parameters:</h4> |
|
3714 |
|
3715 <ul class="params-list"> |
|
3716 |
|
3717 <li class="param"> |
|
3718 |
|
3719 <code class="param-name">e</code> |
|
3720 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
3721 |
|
3722 |
|
3723 |
|
3724 |
|
3725 <div class="param-description"> |
|
3726 <p>Event object</p> |
|
3727 </div> |
|
3728 |
|
3729 |
|
3730 </li> |
|
3731 |
|
3732 </ul> |
|
3733 </div> |
|
3734 |
|
3735 |
|
3736 |
|
3737 |
|
3738 |
|
3739 </div> |
|
3740 |
|
3741 |
|
3742 <div id="method__defInitFn" class="method item protected inherited"> |
|
3743 <h3 class="name"><code>_defInitFn</code></h3> |
|
3744 |
|
3745 |
|
3746 <div class="args"> |
|
3747 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3748 |
|
3749 <li class="arg"> |
|
3750 |
|
3751 <code>e</code> |
|
3752 |
|
3753 </li> |
|
3754 |
|
3755 </ul><span class="paren">)</span> |
|
3756 </div> |
|
3757 |
|
3758 |
|
3759 |
|
3760 |
|
3761 |
|
3762 |
|
3763 |
|
3764 <span class="flag protected">protected</span> |
|
3765 |
|
3766 |
|
3767 |
|
3768 |
|
3769 |
|
3770 |
|
3771 |
|
3772 |
|
3773 |
|
3774 |
|
3775 <div class="meta"> |
|
3776 |
|
3777 |
|
3778 <p>Inherited from |
|
3779 <a href="../classes/BaseObservable.html#method__defInitFn">BaseObservable</a>: |
|
3780 |
|
3781 |
|
3782 |
|
3783 <a href="../files/base_js_BaseObservable.js.html#l178"><code>base/js/BaseObservable.js:178</code></a> |
|
3784 |
|
3785 </p> |
|
3786 |
|
3787 |
|
3788 |
|
3789 |
|
3790 |
|
3791 </div> |
|
3792 |
|
3793 <div class="description"> |
|
3794 <p>Default init event handler</p> |
|
3795 </div> |
|
3796 |
|
3797 |
|
3798 <div class="params"> |
|
3799 <h4>Parameters:</h4> |
|
3800 |
|
3801 <ul class="params-list"> |
|
3802 |
|
3803 <li class="param"> |
|
3804 |
|
3805 <code class="param-name">e</code> |
|
3806 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
3807 |
|
3808 |
|
3809 |
|
3810 |
|
3811 <div class="param-description"> |
|
3812 <p>Event object, with a cfg property which |
|
3813 refers to the configuration object passed to the constructor.</p> |
|
3814 </div> |
|
3815 |
|
3816 |
|
3817 </li> |
|
3818 |
|
3819 </ul> |
|
3820 </div> |
|
3821 |
|
3822 |
|
3823 |
|
3824 |
|
3825 |
|
3826 </div> |
|
3827 |
|
3828 |
|
3829 <div id="method__defRenderBodyFn" class="method item protected"> |
|
3830 <h3 class="name"><code>_defRenderBodyFn</code></h3> |
|
3831 |
|
3832 |
|
3833 <div class="args"> |
|
3834 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3835 |
|
3836 <li class="arg"> |
|
3837 |
|
3838 <code>e</code> |
|
3839 |
|
3840 </li> |
|
3841 |
|
3842 </ul><span class="paren">)</span> |
|
3843 </div> |
|
3844 |
|
3845 |
|
3846 |
|
3847 |
|
3848 |
|
3849 |
|
3850 |
|
3851 <span class="flag protected">protected</span> |
|
3852 |
|
3853 |
|
3854 |
|
3855 |
|
3856 |
|
3857 |
|
3858 |
|
3859 |
|
3860 |
|
3861 |
|
3862 <div class="meta"> |
|
3863 |
|
3864 |
|
3865 |
|
3866 <p> |
|
3867 |
|
3868 Defined in |
|
3869 |
|
3870 |
|
3871 |
|
3872 |
|
3873 <a href="../files/datatable_js_table.js.html#l261"><code>datatable/js/table.js:261</code></a> |
|
3874 |
|
3875 </p> |
|
3876 |
|
3877 |
|
3878 |
|
3879 |
|
3880 |
|
3881 <p>Available since 3.5.0</p> |
|
3882 |
|
3883 </div> |
|
3884 |
|
3885 <div class="description"> |
|
3886 <p>Calls <code>render()</code> on the <code>bodyView</code> class instance.</p> |
|
3887 </div> |
|
3888 |
|
3889 |
|
3890 <div class="params"> |
|
3891 <h4>Parameters:</h4> |
|
3892 |
|
3893 <ul class="params-list"> |
|
3894 |
|
3895 <li class="param"> |
|
3896 |
|
3897 <code class="param-name">e</code> |
|
3898 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
3899 |
|
3900 |
|
3901 |
|
3902 |
|
3903 <div class="param-description"> |
|
3904 <p>The renderBody event</p> |
|
3905 </div> |
|
3906 |
|
3907 |
|
3908 </li> |
|
3909 |
|
3910 </ul> |
|
3911 </div> |
|
3912 |
|
3913 |
|
3914 |
|
3915 |
|
3916 |
|
3917 </div> |
|
3918 |
|
3919 |
|
3920 <div id="method__defRenderFooterFn" class="method item protected"> |
|
3921 <h3 class="name"><code>_defRenderFooterFn</code></h3> |
|
3922 |
|
3923 |
|
3924 <div class="args"> |
|
3925 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3926 |
|
3927 <li class="arg"> |
|
3928 |
|
3929 <code>e</code> |
|
3930 |
|
3931 </li> |
|
3932 |
|
3933 </ul><span class="paren">)</span> |
|
3934 </div> |
|
3935 |
|
3936 |
|
3937 |
|
3938 |
|
3939 |
|
3940 |
|
3941 |
|
3942 <span class="flag protected">protected</span> |
|
3943 |
|
3944 |
|
3945 |
|
3946 |
|
3947 |
|
3948 |
|
3949 |
|
3950 |
|
3951 |
|
3952 |
|
3953 <div class="meta"> |
|
3954 |
|
3955 |
|
3956 |
|
3957 <p> |
|
3958 |
|
3959 Defined in |
|
3960 |
|
3961 |
|
3962 |
|
3963 |
|
3964 <a href="../files/datatable_js_table.js.html#l273"><code>datatable/js/table.js:273</code></a> |
|
3965 |
|
3966 </p> |
|
3967 |
|
3968 |
|
3969 |
|
3970 |
|
3971 |
|
3972 <p>Available since 3.5.0</p> |
|
3973 |
|
3974 </div> |
|
3975 |
|
3976 <div class="description"> |
|
3977 <p>Calls <code>render()</code> on the <code>footerView</code> class instance.</p> |
|
3978 </div> |
|
3979 |
|
3980 |
|
3981 <div class="params"> |
|
3982 <h4>Parameters:</h4> |
|
3983 |
|
3984 <ul class="params-list"> |
|
3985 |
|
3986 <li class="param"> |
|
3987 |
|
3988 <code class="param-name">e</code> |
|
3989 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
3990 |
|
3991 |
|
3992 |
|
3993 |
|
3994 <div class="param-description"> |
|
3995 <p>The renderFooter event</p> |
|
3996 </div> |
|
3997 |
|
3998 |
|
3999 </li> |
|
4000 |
|
4001 </ul> |
|
4002 </div> |
|
4003 |
|
4004 |
|
4005 |
|
4006 |
|
4007 |
|
4008 </div> |
|
4009 |
|
4010 |
|
4011 <div id="method__defRenderHeaderFn" class="method item protected"> |
|
4012 <h3 class="name"><code>_defRenderHeaderFn</code></h3> |
|
4013 |
|
4014 |
|
4015 <div class="args"> |
|
4016 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4017 |
|
4018 <li class="arg"> |
|
4019 |
|
4020 <code>e</code> |
|
4021 |
|
4022 </li> |
|
4023 |
|
4024 </ul><span class="paren">)</span> |
|
4025 </div> |
|
4026 |
|
4027 |
|
4028 |
|
4029 |
|
4030 |
|
4031 |
|
4032 |
|
4033 <span class="flag protected">protected</span> |
|
4034 |
|
4035 |
|
4036 |
|
4037 |
|
4038 |
|
4039 |
|
4040 |
|
4041 |
|
4042 |
|
4043 |
|
4044 <div class="meta"> |
|
4045 |
|
4046 |
|
4047 |
|
4048 <p> |
|
4049 |
|
4050 Defined in |
|
4051 |
|
4052 |
|
4053 |
|
4054 |
|
4055 <a href="../files/datatable_js_table.js.html#l285"><code>datatable/js/table.js:285</code></a> |
|
4056 |
|
4057 </p> |
|
4058 |
|
4059 |
|
4060 |
|
4061 |
|
4062 |
|
4063 <p>Available since 3.5.0</p> |
|
4064 |
|
4065 </div> |
|
4066 |
|
4067 <div class="description"> |
|
4068 <p>Calls <code>render()</code> on the <code>headerView</code> class instance.</p> |
|
4069 </div> |
|
4070 |
|
4071 |
|
4072 <div class="params"> |
|
4073 <h4>Parameters:</h4> |
|
4074 |
|
4075 <ul class="params-list"> |
|
4076 |
|
4077 <li class="param"> |
|
4078 |
|
4079 <code class="param-name">e</code> |
|
4080 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4081 |
|
4082 |
|
4083 |
|
4084 |
|
4085 <div class="param-description"> |
|
4086 <p>The renderHeader event</p> |
|
4087 </div> |
|
4088 |
|
4089 |
|
4090 </li> |
|
4091 |
|
4092 </ul> |
|
4093 </div> |
|
4094 |
|
4095 |
|
4096 |
|
4097 |
|
4098 |
|
4099 </div> |
|
4100 |
|
4101 |
|
4102 <div id="method__defRenderTableFn" class="method item protected"> |
|
4103 <h3 class="name"><code>_defRenderTableFn</code></h3> |
|
4104 |
|
4105 |
|
4106 <div class="args"> |
|
4107 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4108 |
|
4109 <li class="arg"> |
|
4110 |
|
4111 <code>e</code> |
|
4112 |
|
4113 </li> |
|
4114 |
|
4115 </ul><span class="paren">)</span> |
|
4116 </div> |
|
4117 |
|
4118 |
|
4119 |
|
4120 |
|
4121 |
|
4122 |
|
4123 |
|
4124 <span class="flag protected">protected</span> |
|
4125 |
|
4126 |
|
4127 |
|
4128 |
|
4129 |
|
4130 |
|
4131 |
|
4132 |
|
4133 |
|
4134 |
|
4135 <div class="meta"> |
|
4136 |
|
4137 |
|
4138 |
|
4139 <p> |
|
4140 |
|
4141 Defined in |
|
4142 |
|
4143 |
|
4144 |
|
4145 |
|
4146 <a href="../files/datatable_js_table.js.html#l297"><code>datatable/js/table.js:297</code></a> |
|
4147 |
|
4148 </p> |
|
4149 |
|
4150 |
|
4151 |
|
4152 |
|
4153 |
|
4154 <p>Available since 3.5.0</p> |
|
4155 |
|
4156 </div> |
|
4157 |
|
4158 <div class="description"> |
|
4159 <p>Renders the <code><table></code> and, if there are associated Views, the <code><thead></code>, |
|
4160 <code><tfoot></code>, and <code><tbody></code> (empty until <code>syncUI</code>).</p> |
|
4161 |
|
4162 <p>Assigns the generated table nodes to the <code>tableNode</code>, <code>_theadNode</code>, |
|
4163 <code>_tfootNode</code>, and <code>_tbodyNode</code> properties. Assigns the instantiated Views |
|
4164 to the <code>head</code>, <code>foot</code>, and <code>body</code> properties.</p> |
|
4165 </div> |
|
4166 |
|
4167 |
|
4168 <div class="params"> |
|
4169 <h4>Parameters:</h4> |
|
4170 |
|
4171 <ul class="params-list"> |
|
4172 |
|
4173 <li class="param"> |
|
4174 |
|
4175 <code class="param-name">e</code> |
|
4176 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4177 |
|
4178 |
|
4179 |
|
4180 |
|
4181 <div class="param-description"> |
|
4182 <p>The renderTable event</p> |
|
4183 </div> |
|
4184 |
|
4185 |
|
4186 </li> |
|
4187 |
|
4188 </ul> |
|
4189 </div> |
|
4190 |
|
4191 |
|
4192 |
|
4193 |
|
4194 |
|
4195 </div> |
|
4196 |
|
4197 |
|
4198 <div id="method__destroyContainer" class="method item protected inherited"> |
|
4199 <h3 class="name"><code>_destroyContainer</code></h3> |
|
4200 |
|
4201 |
|
4202 <span class="paren">()</span> |
|
4203 |
|
4204 |
|
4205 |
|
4206 |
|
4207 |
|
4208 |
|
4209 |
|
4210 <span class="flag protected">protected</span> |
|
4211 |
|
4212 |
|
4213 |
|
4214 |
|
4215 |
|
4216 |
|
4217 |
|
4218 |
|
4219 |
|
4220 |
|
4221 <div class="meta"> |
|
4222 |
|
4223 |
|
4224 <p>Inherited from |
|
4225 <a href="../classes/View.html#method__destroyContainer">View</a>: |
|
4226 |
|
4227 |
|
4228 |
|
4229 <a href="../files/app_js_view.js.html#l312"><code>app/js/view.js:312</code></a> |
|
4230 |
|
4231 </p> |
|
4232 |
|
4233 |
|
4234 |
|
4235 |
|
4236 |
|
4237 </div> |
|
4238 |
|
4239 <div class="description"> |
|
4240 <p>Removes the <code>container</code> from the DOM and purges all its event listeners.</p> |
|
4241 </div> |
|
4242 |
|
4243 |
|
4244 |
|
4245 |
|
4246 |
|
4247 |
|
4248 </div> |
|
4249 |
|
4250 |
|
4251 <div id="method__destroyHierarchy" class="method item private inherited"> |
|
4252 <h3 class="name"><code>_destroyHierarchy</code></h3> |
|
4253 |
|
4254 |
|
4255 <span class="paren">()</span> |
|
4256 |
|
4257 |
|
4258 |
|
4259 |
|
4260 |
|
4261 |
|
4262 |
|
4263 <span class="flag private">private</span> |
|
4264 |
|
4265 |
|
4266 |
|
4267 |
|
4268 |
|
4269 |
|
4270 |
|
4271 |
|
4272 |
|
4273 |
|
4274 <div class="meta"> |
|
4275 |
|
4276 |
|
4277 <p>Inherited from |
|
4278 <a href="../classes/BaseCore.html#method__destroyHierarchy">BaseCore</a>: |
|
4279 |
|
4280 |
|
4281 |
|
4282 <a href="../files/base_js_BaseCore.js.html#l721"><code>base/js/BaseCore.js:721</code></a> |
|
4283 |
|
4284 </p> |
|
4285 |
|
4286 |
|
4287 |
|
4288 |
|
4289 |
|
4290 </div> |
|
4291 |
|
4292 <div class="description"> |
|
4293 <p>Destroys the class hierarchy for this instance by invoking |
|
4294 the destructor method on the prototype of each class in the hierarchy.</p> |
|
4295 </div> |
|
4296 |
|
4297 |
|
4298 |
|
4299 |
|
4300 |
|
4301 |
|
4302 </div> |
|
4303 |
|
4304 |
|
4305 <div id="method__extractDisplayColumns" class="method item protected"> |
|
4306 <h3 class="name"><code>_extractDisplayColumns</code></h3> |
|
4307 |
|
4308 |
|
4309 <span class="paren">()</span> |
|
4310 |
|
4311 |
|
4312 |
|
4313 |
|
4314 |
|
4315 |
|
4316 |
|
4317 <span class="flag protected">protected</span> |
|
4318 |
|
4319 |
|
4320 |
|
4321 |
|
4322 |
|
4323 |
|
4324 |
|
4325 |
|
4326 |
|
4327 |
|
4328 <div class="meta"> |
|
4329 |
|
4330 |
|
4331 |
|
4332 <p> |
|
4333 |
|
4334 Defined in |
|
4335 |
|
4336 |
|
4337 |
|
4338 |
|
4339 <a href="../files/datatable_js_table.js.html#l392"><code>datatable/js/table.js:392</code></a> |
|
4340 |
|
4341 </p> |
|
4342 |
|
4343 |
|
4344 |
|
4345 |
|
4346 |
|
4347 </div> |
|
4348 |
|
4349 <div class="description"> |
|
4350 <p>Processes the full column array, distilling the columns down to those that |
|
4351 correspond to cell data columns.</p> |
|
4352 </div> |
|
4353 |
|
4354 |
|
4355 |
|
4356 |
|
4357 |
|
4358 |
|
4359 </div> |
|
4360 |
|
4361 |
|
4362 <div id="method__filterAdHocAttrs" class="method item private inherited"> |
|
4363 <h3 class="name"><code>_filterAdHocAttrs</code></h3> |
|
4364 |
|
4365 |
|
4366 <div class="args"> |
|
4367 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4368 |
|
4369 <li class="arg"> |
|
4370 |
|
4371 <code>allAttrs</code> |
|
4372 |
|
4373 </li> |
|
4374 |
|
4375 <li class="arg"> |
|
4376 |
|
4377 <code>userVals</code> |
|
4378 |
|
4379 </li> |
|
4380 |
|
4381 </ul><span class="paren">)</span> |
|
4382 </div> |
|
4383 |
|
4384 |
|
4385 |
|
4386 <span class="returns-inline"> |
|
4387 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4388 </span> |
|
4389 |
|
4390 |
|
4391 |
|
4392 |
|
4393 |
|
4394 <span class="flag private">private</span> |
|
4395 |
|
4396 |
|
4397 |
|
4398 |
|
4399 |
|
4400 |
|
4401 |
|
4402 |
|
4403 |
|
4404 |
|
4405 <div class="meta"> |
|
4406 |
|
4407 |
|
4408 <p>Inherited from |
|
4409 <a href="../classes/BaseCore.html#method__filterAdHocAttrs">BaseCore</a>: |
|
4410 |
|
4411 |
|
4412 |
|
4413 <a href="../files/base_js_BaseCore.js.html#l427"><code>base/js/BaseCore.js:427</code></a> |
|
4414 |
|
4415 </p> |
|
4416 |
|
4417 |
|
4418 |
|
4419 |
|
4420 |
|
4421 </div> |
|
4422 |
|
4423 <div class="description"> |
|
4424 |
|
4425 </div> |
|
4426 |
|
4427 |
|
4428 <div class="params"> |
|
4429 <h4>Parameters:</h4> |
|
4430 |
|
4431 <ul class="params-list"> |
|
4432 |
|
4433 <li class="param"> |
|
4434 |
|
4435 <code class="param-name">allAttrs</code> |
|
4436 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4437 |
|
4438 |
|
4439 |
|
4440 |
|
4441 <div class="param-description"> |
|
4442 <p>The set of all attribute configurations for this instance. |
|
4443 Attributes will be removed from this set, if they belong to the filtered class, so |
|
4444 that by the time all classes are processed, allCfgs will be empty.</p> |
|
4445 </div> |
|
4446 |
|
4447 |
|
4448 </li> |
|
4449 |
|
4450 <li class="param"> |
|
4451 |
|
4452 <code class="param-name">userVals</code> |
|
4453 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4454 |
|
4455 |
|
4456 |
|
4457 |
|
4458 <div class="param-description"> |
|
4459 <p>The config object passed in by the user, from which adhoc attrs are to be filtered.</p> |
|
4460 </div> |
|
4461 |
|
4462 |
|
4463 </li> |
|
4464 |
|
4465 </ul> |
|
4466 </div> |
|
4467 |
|
4468 |
|
4469 |
|
4470 <div class="returns"> |
|
4471 <h4>Returns:</h4> |
|
4472 |
|
4473 <div class="returns-description"> |
|
4474 |
|
4475 |
|
4476 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
4477 |
|
4478 The set of adhoc attributes passed in, in the form |
|
4479 of an object with attribute name/configuration pairs. |
|
4480 |
|
4481 </div> |
|
4482 </div> |
|
4483 |
|
4484 |
|
4485 |
|
4486 </div> |
|
4487 |
|
4488 |
|
4489 <div id="method__filterAttrCfgs" class="method item private inherited"> |
|
4490 <h3 class="name"><code>_filterAttrCfgs</code></h3> |
|
4491 |
|
4492 |
|
4493 <div class="args"> |
|
4494 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4495 |
|
4496 <li class="arg"> |
|
4497 |
|
4498 <code>clazz</code> |
|
4499 |
|
4500 </li> |
|
4501 |
|
4502 <li class="arg"> |
|
4503 |
|
4504 <code>allCfgs</code> |
|
4505 |
|
4506 </li> |
|
4507 |
|
4508 </ul><span class="paren">)</span> |
|
4509 </div> |
|
4510 |
|
4511 |
|
4512 |
|
4513 <span class="returns-inline"> |
|
4514 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4515 </span> |
|
4516 |
|
4517 |
|
4518 |
|
4519 |
|
4520 |
|
4521 <span class="flag private">private</span> |
|
4522 |
|
4523 |
|
4524 |
|
4525 |
|
4526 |
|
4527 |
|
4528 |
|
4529 |
|
4530 |
|
4531 |
|
4532 <div class="meta"> |
|
4533 |
|
4534 |
|
4535 <p>Inherited from |
|
4536 <a href="../classes/BaseCore.html#method__filterAttrCfgs">BaseCore</a>: |
|
4537 |
|
4538 |
|
4539 |
|
4540 <a href="../files/base_js_BaseCore.js.html#l356"><code>base/js/BaseCore.js:356</code></a> |
|
4541 |
|
4542 </p> |
|
4543 |
|
4544 |
|
4545 |
|
4546 |
|
4547 |
|
4548 </div> |
|
4549 |
|
4550 <div class="description"> |
|
4551 <p>A helper method used when processing ATTRS across the class hierarchy during |
|
4552 initialization. Returns a disposable object with the attributes defined for |
|
4553 the provided class, extracted from the set of all attributes passed in.</p> |
|
4554 </div> |
|
4555 |
|
4556 |
|
4557 <div class="params"> |
|
4558 <h4>Parameters:</h4> |
|
4559 |
|
4560 <ul class="params-list"> |
|
4561 |
|
4562 <li class="param"> |
|
4563 |
|
4564 <code class="param-name">clazz</code> |
|
4565 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
4566 |
|
4567 |
|
4568 |
|
4569 |
|
4570 <div class="param-description"> |
|
4571 <p>The class for which the desired attributes are required.</p> |
|
4572 </div> |
|
4573 |
|
4574 |
|
4575 </li> |
|
4576 |
|
4577 <li class="param"> |
|
4578 |
|
4579 <code class="param-name">allCfgs</code> |
|
4580 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4581 |
|
4582 |
|
4583 |
|
4584 |
|
4585 <div class="param-description"> |
|
4586 <p>The set of all attribute configurations for this instance. |
|
4587 Attributes will be removed from this set, if they belong to the filtered class, so |
|
4588 that by the time all classes are processed, allCfgs will be empty.</p> |
|
4589 </div> |
|
4590 |
|
4591 |
|
4592 </li> |
|
4593 |
|
4594 </ul> |
|
4595 </div> |
|
4596 |
|
4597 |
|
4598 |
|
4599 <div class="returns"> |
|
4600 <h4>Returns:</h4> |
|
4601 |
|
4602 <div class="returns-description"> |
|
4603 |
|
4604 |
|
4605 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
4606 |
|
4607 The set of attributes belonging to the class passed in, in the form |
|
4608 of an object with attribute name/configuration pairs. |
|
4609 |
|
4610 </div> |
|
4611 </div> |
|
4612 |
|
4613 |
|
4614 |
|
4615 </div> |
|
4616 |
|
4617 |
|
4618 <div id="method__fireAttrChange" class="method item private inherited"> |
|
4619 <h3 class="name"><code>_fireAttrChange</code></h3> |
|
4620 |
|
4621 |
|
4622 <div class="args"> |
|
4623 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4624 |
|
4625 <li class="arg"> |
|
4626 |
|
4627 <code>attrName</code> |
|
4628 |
|
4629 </li> |
|
4630 |
|
4631 <li class="arg"> |
|
4632 |
|
4633 <code>subAttrName</code> |
|
4634 |
|
4635 </li> |
|
4636 |
|
4637 <li class="arg"> |
|
4638 |
|
4639 <code>currVal</code> |
|
4640 |
|
4641 </li> |
|
4642 |
|
4643 <li class="arg"> |
|
4644 |
|
4645 <code>newVal</code> |
|
4646 |
|
4647 </li> |
|
4648 |
|
4649 <li class="arg"> |
|
4650 |
|
4651 <code>opts</code> |
|
4652 |
|
4653 </li> |
|
4654 |
|
4655 <li class="arg"> |
|
4656 |
|
4657 <code class="optional">[cfg]</code> |
|
4658 |
|
4659 </li> |
|
4660 |
|
4661 </ul><span class="paren">)</span> |
|
4662 </div> |
|
4663 |
|
4664 |
|
4665 |
|
4666 |
|
4667 |
|
4668 |
|
4669 |
|
4670 <span class="flag private">private</span> |
|
4671 |
|
4672 |
|
4673 |
|
4674 |
|
4675 |
|
4676 |
|
4677 |
|
4678 |
|
4679 |
|
4680 |
|
4681 <div class="meta"> |
|
4682 |
|
4683 |
|
4684 <p>Inherited from |
|
4685 <a href="../classes/AttributeObservable.html#method__fireAttrChange">AttributeObservable</a>: |
|
4686 |
|
4687 |
|
4688 |
|
4689 <a href="../files/attribute_js_AttributeObservable.js.html#l120"><code>attribute/js/AttributeObservable.js:120</code></a> |
|
4690 |
|
4691 </p> |
|
4692 |
|
4693 |
|
4694 |
|
4695 |
|
4696 |
|
4697 </div> |
|
4698 |
|
4699 <div class="description"> |
|
4700 <p>Utility method to help setup the event payload and fire the attribute change event.</p> |
|
4701 </div> |
|
4702 |
|
4703 |
|
4704 <div class="params"> |
|
4705 <h4>Parameters:</h4> |
|
4706 |
|
4707 <ul class="params-list"> |
|
4708 |
|
4709 <li class="param"> |
|
4710 |
|
4711 <code class="param-name">attrName</code> |
|
4712 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4713 |
|
4714 |
|
4715 |
|
4716 |
|
4717 <div class="param-description"> |
|
4718 <p>The name of the attribute</p> |
|
4719 </div> |
|
4720 |
|
4721 |
|
4722 </li> |
|
4723 |
|
4724 <li class="param"> |
|
4725 |
|
4726 <code class="param-name">subAttrName</code> |
|
4727 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4728 |
|
4729 |
|
4730 |
|
4731 |
|
4732 <div class="param-description"> |
|
4733 <p>The full path of the property being changed, |
|
4734 if this is a sub-attribute value being change. Otherwise null.</p> |
|
4735 </div> |
|
4736 |
|
4737 |
|
4738 </li> |
|
4739 |
|
4740 <li class="param"> |
|
4741 |
|
4742 <code class="param-name">currVal</code> |
|
4743 <span class="type">Any</span> |
|
4744 |
|
4745 |
|
4746 |
|
4747 |
|
4748 <div class="param-description"> |
|
4749 <p>The current value of the attribute</p> |
|
4750 </div> |
|
4751 |
|
4752 |
|
4753 </li> |
|
4754 |
|
4755 <li class="param"> |
|
4756 |
|
4757 <code class="param-name">newVal</code> |
|
4758 <span class="type">Any</span> |
|
4759 |
|
4760 |
|
4761 |
|
4762 |
|
4763 <div class="param-description"> |
|
4764 <p>The new value of the attribute</p> |
|
4765 </div> |
|
4766 |
|
4767 |
|
4768 </li> |
|
4769 |
|
4770 <li class="param"> |
|
4771 |
|
4772 <code class="param-name">opts</code> |
|
4773 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4774 |
|
4775 |
|
4776 |
|
4777 |
|
4778 <div class="param-description"> |
|
4779 <p>Any additional event data to mix into the attribute change event's event facade.</p> |
|
4780 </div> |
|
4781 |
|
4782 |
|
4783 </li> |
|
4784 |
|
4785 <li class="param"> |
|
4786 |
|
4787 <code class="param-name optional">[cfg]</code> |
|
4788 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4789 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
4790 |
|
4791 |
|
4792 |
|
4793 |
|
4794 <div class="param-description"> |
|
4795 <p>The attribute config stored in State, if already available.</p> |
|
4796 </div> |
|
4797 |
|
4798 |
|
4799 </li> |
|
4800 |
|
4801 </ul> |
|
4802 </div> |
|
4803 |
|
4804 |
|
4805 |
|
4806 |
|
4807 |
|
4808 </div> |
|
4809 |
|
4810 |
|
4811 <div id="method__getAttr" class="method item protected inherited"> |
|
4812 <h3 class="name"><code>_getAttr</code></h3> |
|
4813 |
|
4814 |
|
4815 <div class="args"> |
|
4816 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4817 |
|
4818 <li class="arg"> |
|
4819 |
|
4820 <code>name</code> |
|
4821 |
|
4822 </li> |
|
4823 |
|
4824 </ul><span class="paren">)</span> |
|
4825 </div> |
|
4826 |
|
4827 |
|
4828 |
|
4829 <span class="returns-inline"> |
|
4830 <span class="type">Any</span> |
|
4831 </span> |
|
4832 |
|
4833 |
|
4834 |
|
4835 |
|
4836 |
|
4837 <span class="flag protected">protected</span> |
|
4838 |
|
4839 |
|
4840 |
|
4841 |
|
4842 |
|
4843 |
|
4844 |
|
4845 <span class="flag chainable">chainable</span> |
|
4846 |
|
4847 |
|
4848 |
|
4849 |
|
4850 <div class="meta"> |
|
4851 |
|
4852 |
|
4853 <p>Inherited from |
|
4854 <a href="../classes/AttributeCore.html#method__getAttr">AttributeCore</a>: |
|
4855 |
|
4856 |
|
4857 |
|
4858 <a href="../files/attribute_js_AttributeCore.js.html#l543"><code>attribute/js/AttributeCore.js:543</code></a> |
|
4859 |
|
4860 </p> |
|
4861 |
|
4862 |
|
4863 |
|
4864 |
|
4865 |
|
4866 </div> |
|
4867 |
|
4868 <div class="description"> |
|
4869 <p>Provides the common implementation for the public get method, |
|
4870 allowing Attribute hosts to over-ride either method.</p> |
|
4871 |
|
4872 <p>See <a href="#method_get">get</a> for argument details.</p> |
|
4873 </div> |
|
4874 |
|
4875 |
|
4876 <div class="params"> |
|
4877 <h4>Parameters:</h4> |
|
4878 |
|
4879 <ul class="params-list"> |
|
4880 |
|
4881 <li class="param"> |
|
4882 |
|
4883 <code class="param-name">name</code> |
|
4884 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4885 |
|
4886 |
|
4887 |
|
4888 |
|
4889 <div class="param-description"> |
|
4890 <p>The name of the attribute.</p> |
|
4891 </div> |
|
4892 |
|
4893 |
|
4894 </li> |
|
4895 |
|
4896 </ul> |
|
4897 </div> |
|
4898 |
|
4899 |
|
4900 |
|
4901 <div class="returns"> |
|
4902 <h4>Returns:</h4> |
|
4903 |
|
4904 <div class="returns-description"> |
|
4905 |
|
4906 |
|
4907 <span class="type">Any</span>: |
|
4908 |
|
4909 The value of the attribute. |
|
4910 |
|
4911 </div> |
|
4912 </div> |
|
4913 |
|
4914 |
|
4915 |
|
4916 </div> |
|
4917 |
|
4918 |
|
4919 <div id="method__getAttrCfg" class="method item protected inherited"> |
|
4920 <h3 class="name"><code>_getAttrCfg</code></h3> |
|
4921 |
|
4922 |
|
4923 <div class="args"> |
|
4924 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4925 |
|
4926 <li class="arg"> |
|
4927 |
|
4928 <code>name</code> |
|
4929 |
|
4930 </li> |
|
4931 |
|
4932 </ul><span class="paren">)</span> |
|
4933 </div> |
|
4934 |
|
4935 |
|
4936 |
|
4937 <span class="returns-inline"> |
|
4938 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4939 </span> |
|
4940 |
|
4941 |
|
4942 |
|
4943 |
|
4944 |
|
4945 <span class="flag protected">protected</span> |
|
4946 |
|
4947 |
|
4948 |
|
4949 |
|
4950 |
|
4951 |
|
4952 |
|
4953 |
|
4954 |
|
4955 |
|
4956 <div class="meta"> |
|
4957 |
|
4958 |
|
4959 <p>Inherited from |
|
4960 <a href="../classes/AttributeExtras.html#method__getAttrCfg">AttributeExtras</a>: |
|
4961 |
|
4962 |
|
4963 |
|
4964 <a href="../files/attribute_js_AttributeExtras.js.html#l114"><code>attribute/js/AttributeExtras.js:114</code></a> |
|
4965 |
|
4966 </p> |
|
4967 |
|
4968 |
|
4969 |
|
4970 |
|
4971 |
|
4972 </div> |
|
4973 |
|
4974 <div class="description"> |
|
4975 <p>Returns an object with the configuration properties (and value) |
|
4976 for the given attribute. If attrName is not provided, returns the |
|
4977 configuration properties for all attributes.</p> |
|
4978 </div> |
|
4979 |
|
4980 |
|
4981 <div class="params"> |
|
4982 <h4>Parameters:</h4> |
|
4983 |
|
4984 <ul class="params-list"> |
|
4985 |
|
4986 <li class="param"> |
|
4987 |
|
4988 <code class="param-name">name</code> |
|
4989 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4990 |
|
4991 |
|
4992 |
|
4993 |
|
4994 <div class="param-description"> |
|
4995 <p>Optional. The attribute name. If not provided, the method will return the configuration for all attributes.</p> |
|
4996 </div> |
|
4997 |
|
4998 |
|
4999 </li> |
|
5000 |
|
5001 </ul> |
|
5002 </div> |
|
5003 |
|
5004 |
|
5005 |
|
5006 <div class="returns"> |
|
5007 <h4>Returns:</h4> |
|
5008 |
|
5009 <div class="returns-description"> |
|
5010 |
|
5011 |
|
5012 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
5013 |
|
5014 The configuration properties for the given attribute, or all attributes. |
|
5015 |
|
5016 </div> |
|
5017 </div> |
|
5018 |
|
5019 |
|
5020 |
|
5021 </div> |
|
5022 |
|
5023 |
|
5024 <div id="method__getAttrCfgs" class="method item protected inherited"> |
|
5025 <h3 class="name"><code>_getAttrCfgs</code></h3> |
|
5026 |
|
5027 |
|
5028 <span class="paren">()</span> |
|
5029 |
|
5030 |
|
5031 |
|
5032 <span class="returns-inline"> |
|
5033 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5034 </span> |
|
5035 |
|
5036 |
|
5037 |
|
5038 |
|
5039 |
|
5040 <span class="flag protected">protected</span> |
|
5041 |
|
5042 |
|
5043 |
|
5044 |
|
5045 |
|
5046 |
|
5047 |
|
5048 |
|
5049 |
|
5050 |
|
5051 <div class="meta"> |
|
5052 |
|
5053 |
|
5054 <p>Inherited from |
|
5055 <a href="../classes/BaseCore.html#method__getAttrCfgs">BaseCore</a>: |
|
5056 |
|
5057 |
|
5058 |
|
5059 <a href="../files/base_js_BaseCore.js.html#l339"><code>base/js/BaseCore.js:339</code></a> |
|
5060 |
|
5061 </p> |
|
5062 |
|
5063 |
|
5064 |
|
5065 |
|
5066 |
|
5067 </div> |
|
5068 |
|
5069 <div class="description"> |
|
5070 <p>Returns an aggregated set of attribute configurations, by traversing |
|
5071 the class hierarchy.</p> |
|
5072 </div> |
|
5073 |
|
5074 |
|
5075 |
|
5076 |
|
5077 <div class="returns"> |
|
5078 <h4>Returns:</h4> |
|
5079 |
|
5080 <div class="returns-description"> |
|
5081 |
|
5082 |
|
5083 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
5084 |
|
5085 The hash of attribute configurations, aggregated across classes in the hierarchy |
|
5086 This value is cached the first time the method, or _getClasses, is invoked. Subsequent invocations return |
|
5087 the cached value. |
|
5088 |
|
5089 </div> |
|
5090 </div> |
|
5091 |
|
5092 |
|
5093 |
|
5094 </div> |
|
5095 |
|
5096 |
|
5097 <div id="method__getAttrInitVal" class="method item private inherited"> |
|
5098 <h3 class="name"><code>_getAttrInitVal</code></h3> |
|
5099 |
|
5100 |
|
5101 <div class="args"> |
|
5102 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5103 |
|
5104 <li class="arg"> |
|
5105 |
|
5106 <code>attr</code> |
|
5107 |
|
5108 </li> |
|
5109 |
|
5110 <li class="arg"> |
|
5111 |
|
5112 <code>cfg</code> |
|
5113 |
|
5114 </li> |
|
5115 |
|
5116 <li class="arg"> |
|
5117 |
|
5118 <code>initValues</code> |
|
5119 |
|
5120 </li> |
|
5121 |
|
5122 </ul><span class="paren">)</span> |
|
5123 </div> |
|
5124 |
|
5125 |
|
5126 |
|
5127 <span class="returns-inline"> |
|
5128 <span class="type">Any</span> |
|
5129 </span> |
|
5130 |
|
5131 |
|
5132 |
|
5133 |
|
5134 |
|
5135 <span class="flag private">private</span> |
|
5136 |
|
5137 |
|
5138 |
|
5139 |
|
5140 |
|
5141 |
|
5142 |
|
5143 |
|
5144 |
|
5145 |
|
5146 <div class="meta"> |
|
5147 |
|
5148 |
|
5149 <p>Inherited from |
|
5150 <a href="../classes/AttributeCore.html#method__getAttrInitVal">AttributeCore</a>: |
|
5151 |
|
5152 |
|
5153 |
|
5154 <a href="../files/attribute_js_AttributeCore.js.html#l945"><code>attribute/js/AttributeCore.js:945</code></a> |
|
5155 |
|
5156 </p> |
|
5157 |
|
5158 |
|
5159 |
|
5160 |
|
5161 |
|
5162 </div> |
|
5163 |
|
5164 <div class="description"> |
|
5165 <p>Returns the initial value of the given attribute from |
|
5166 either the default configuration provided, or the |
|
5167 over-ridden value if it exists in the set of initValues |
|
5168 provided and the attribute is not read-only.</p> |
|
5169 </div> |
|
5170 |
|
5171 |
|
5172 <div class="params"> |
|
5173 <h4>Parameters:</h4> |
|
5174 |
|
5175 <ul class="params-list"> |
|
5176 |
|
5177 <li class="param"> |
|
5178 |
|
5179 <code class="param-name">attr</code> |
|
5180 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5181 |
|
5182 |
|
5183 |
|
5184 |
|
5185 <div class="param-description"> |
|
5186 <p>The name of the attribute</p> |
|
5187 </div> |
|
5188 |
|
5189 |
|
5190 </li> |
|
5191 |
|
5192 <li class="param"> |
|
5193 |
|
5194 <code class="param-name">cfg</code> |
|
5195 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5196 |
|
5197 |
|
5198 |
|
5199 |
|
5200 <div class="param-description"> |
|
5201 <p>The attribute configuration object</p> |
|
5202 </div> |
|
5203 |
|
5204 |
|
5205 </li> |
|
5206 |
|
5207 <li class="param"> |
|
5208 |
|
5209 <code class="param-name">initValues</code> |
|
5210 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5211 |
|
5212 |
|
5213 |
|
5214 |
|
5215 <div class="param-description"> |
|
5216 <p>The object with simple and complex attribute name/value pairs returned from _normAttrVals</p> |
|
5217 </div> |
|
5218 |
|
5219 |
|
5220 </li> |
|
5221 |
|
5222 </ul> |
|
5223 </div> |
|
5224 |
|
5225 |
|
5226 |
|
5227 <div class="returns"> |
|
5228 <h4>Returns:</h4> |
|
5229 |
|
5230 <div class="returns-description"> |
|
5231 |
|
5232 |
|
5233 <span class="type">Any</span>: |
|
5234 |
|
5235 The initial value of the attribute. |
|
5236 |
|
5237 </div> |
|
5238 </div> |
|
5239 |
|
5240 |
|
5241 |
|
5242 </div> |
|
5243 |
|
5244 |
|
5245 <div id="method__getAttrs" class="method item protected inherited"> |
|
5246 <h3 class="name"><code>_getAttrs</code></h3> |
|
5247 |
|
5248 |
|
5249 <div class="args"> |
|
5250 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5251 |
|
5252 <li class="arg"> |
|
5253 |
|
5254 <code>attrs</code> |
|
5255 |
|
5256 </li> |
|
5257 |
|
5258 </ul><span class="paren">)</span> |
|
5259 </div> |
|
5260 |
|
5261 |
|
5262 |
|
5263 <span class="returns-inline"> |
|
5264 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5265 </span> |
|
5266 |
|
5267 |
|
5268 |
|
5269 |
|
5270 |
|
5271 <span class="flag protected">protected</span> |
|
5272 |
|
5273 |
|
5274 |
|
5275 |
|
5276 |
|
5277 |
|
5278 |
|
5279 |
|
5280 |
|
5281 |
|
5282 <div class="meta"> |
|
5283 |
|
5284 |
|
5285 <p>Inherited from |
|
5286 <a href="../classes/AttributeCore.html#method__getAttrs">AttributeCore</a>: |
|
5287 |
|
5288 |
|
5289 |
|
5290 <a href="../files/attribute_js_AttributeCore.js.html#l774"><code>attribute/js/AttributeCore.js:774</code></a> |
|
5291 |
|
5292 </p> |
|
5293 |
|
5294 |
|
5295 |
|
5296 |
|
5297 |
|
5298 </div> |
|
5299 |
|
5300 <div class="description"> |
|
5301 <p>Implementation behind the public getAttrs method, to get multiple attribute values.</p> |
|
5302 </div> |
|
5303 |
|
5304 |
|
5305 <div class="params"> |
|
5306 <h4>Parameters:</h4> |
|
5307 |
|
5308 <ul class="params-list"> |
|
5309 |
|
5310 <li class="param"> |
|
5311 |
|
5312 <code class="param-name">attrs</code> |
|
5313 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span> |
|
5314 |
|
5315 |
|
5316 |
|
5317 |
|
5318 <div class="param-description"> |
|
5319 <p>Optional. An array of attribute names. If omitted, all attribute values are |
|
5320 returned. If set to true, all attributes modified from their initial values are returned.</p> |
|
5321 </div> |
|
5322 |
|
5323 |
|
5324 </li> |
|
5325 |
|
5326 </ul> |
|
5327 </div> |
|
5328 |
|
5329 |
|
5330 |
|
5331 <div class="returns"> |
|
5332 <h4>Returns:</h4> |
|
5333 |
|
5334 <div class="returns-description"> |
|
5335 |
|
5336 |
|
5337 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
5338 |
|
5339 An object with attribute name/value pairs. |
|
5340 |
|
5341 </div> |
|
5342 </div> |
|
5343 |
|
5344 |
|
5345 |
|
5346 </div> |
|
5347 |
|
5348 |
|
5349 <div id="method__getClasses" class="method item protected inherited"> |
|
5350 <h3 class="name"><code>_getClasses</code></h3> |
|
5351 |
|
5352 |
|
5353 <span class="paren">()</span> |
|
5354 |
|
5355 |
|
5356 |
|
5357 <span class="returns-inline"> |
|
5358 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span> |
|
5359 </span> |
|
5360 |
|
5361 |
|
5362 |
|
5363 |
|
5364 |
|
5365 <span class="flag protected">protected</span> |
|
5366 |
|
5367 |
|
5368 |
|
5369 |
|
5370 |
|
5371 |
|
5372 |
|
5373 |
|
5374 |
|
5375 |
|
5376 <div class="meta"> |
|
5377 |
|
5378 |
|
5379 <p>Inherited from |
|
5380 <a href="../classes/BaseCore.html#method__getClasses">BaseCore</a>: |
|
5381 |
|
5382 |
|
5383 |
|
5384 <a href="../files/base_js_BaseCore.js.html#l323"><code>base/js/BaseCore.js:323</code></a> |
|
5385 |
|
5386 </p> |
|
5387 |
|
5388 |
|
5389 |
|
5390 |
|
5391 |
|
5392 </div> |
|
5393 |
|
5394 <div class="description"> |
|
5395 <p>Returns the class hierarchy for this object, with BaseCore being the last class in the array.</p> |
|
5396 </div> |
|
5397 |
|
5398 |
|
5399 |
|
5400 |
|
5401 <div class="returns"> |
|
5402 <h4>Returns:</h4> |
|
5403 |
|
5404 <div class="returns-description"> |
|
5405 |
|
5406 |
|
5407 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>: |
|
5408 |
|
5409 An array of classes (constructor functions), making up the class hierarchy for this object. |
|
5410 This value is cached the first time the method, or _getAttrCfgs, is invoked. Subsequent invocations return the |
|
5411 cached value. |
|
5412 |
|
5413 </div> |
|
5414 </div> |
|
5415 |
|
5416 |
|
5417 |
|
5418 </div> |
|
5419 |
|
5420 |
|
5421 <div id="method__getContainer" class="method item protected inherited"> |
|
5422 <h3 class="name"><code>_getContainer</code></h3> |
|
5423 |
|
5424 |
|
5425 <div class="args"> |
|
5426 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5427 |
|
5428 <li class="arg"> |
|
5429 |
|
5430 <code>value</code> |
|
5431 |
|
5432 </li> |
|
5433 |
|
5434 </ul><span class="paren">)</span> |
|
5435 </div> |
|
5436 |
|
5437 |
|
5438 |
|
5439 <span class="returns-inline"> |
|
5440 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
5441 </span> |
|
5442 |
|
5443 |
|
5444 |
|
5445 |
|
5446 |
|
5447 <span class="flag protected">protected</span> |
|
5448 |
|
5449 |
|
5450 |
|
5451 |
|
5452 |
|
5453 |
|
5454 |
|
5455 |
|
5456 |
|
5457 |
|
5458 <div class="meta"> |
|
5459 |
|
5460 |
|
5461 <p>Inherited from |
|
5462 <a href="../classes/View.html#method__getContainer">View</a>: |
|
5463 |
|
5464 |
|
5465 |
|
5466 <a href="../files/app_js_view.js.html#l323"><code>app/js/view.js:323</code></a> |
|
5467 |
|
5468 </p> |
|
5469 |
|
5470 |
|
5471 |
|
5472 |
|
5473 |
|
5474 <p>Available since 3.5.0</p> |
|
5475 |
|
5476 </div> |
|
5477 |
|
5478 <div class="description"> |
|
5479 <p>Getter for the <code>container</code> attribute.</p> |
|
5480 </div> |
|
5481 |
|
5482 |
|
5483 <div class="params"> |
|
5484 <h4>Parameters:</h4> |
|
5485 |
|
5486 <ul class="params-list"> |
|
5487 |
|
5488 <li class="param"> |
|
5489 |
|
5490 <code class="param-name">value</code> |
|
5491 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a> | Null</span> |
|
5492 |
|
5493 |
|
5494 |
|
5495 |
|
5496 <div class="param-description"> |
|
5497 <p>Current attribute value.</p> |
|
5498 </div> |
|
5499 |
|
5500 |
|
5501 </li> |
|
5502 |
|
5503 </ul> |
|
5504 </div> |
|
5505 |
|
5506 |
|
5507 |
|
5508 <div class="returns"> |
|
5509 <h4>Returns:</h4> |
|
5510 |
|
5511 <div class="returns-description"> |
|
5512 |
|
5513 |
|
5514 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>: |
|
5515 |
|
5516 Container node. |
|
5517 |
|
5518 </div> |
|
5519 </div> |
|
5520 |
|
5521 |
|
5522 |
|
5523 </div> |
|
5524 |
|
5525 |
|
5526 <div id="method__getFullType" class="method item private inherited"> |
|
5527 <h3 class="name"><code>_getFullType</code></h3> |
|
5528 |
|
5529 |
|
5530 <div class="args"> |
|
5531 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5532 |
|
5533 <li class="arg"> |
|
5534 |
|
5535 <code>type</code> |
|
5536 |
|
5537 </li> |
|
5538 |
|
5539 </ul><span class="paren">)</span> |
|
5540 </div> |
|
5541 |
|
5542 |
|
5543 |
|
5544 <span class="returns-inline"> |
|
5545 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5546 </span> |
|
5547 |
|
5548 |
|
5549 |
|
5550 |
|
5551 |
|
5552 <span class="flag private">private</span> |
|
5553 |
|
5554 |
|
5555 |
|
5556 |
|
5557 |
|
5558 |
|
5559 |
|
5560 |
|
5561 |
|
5562 |
|
5563 <div class="meta"> |
|
5564 |
|
5565 |
|
5566 <p>Inherited from |
|
5567 <a href="../classes/EventTarget.html#method__getFullType">EventTarget</a>: |
|
5568 |
|
5569 |
|
5570 |
|
5571 <a href="../files/event-custom_js_event-target.js.html#l586"><code>event-custom/js/event-target.js:586</code></a> |
|
5572 |
|
5573 </p> |
|
5574 |
|
5575 |
|
5576 |
|
5577 |
|
5578 |
|
5579 </div> |
|
5580 |
|
5581 <div class="description"> |
|
5582 <p>Returns the fully qualified type, given a short type string. |
|
5583 That is, returns "foo:bar" when given "bar" if "foo" is the configured prefix.</p> |
|
5584 |
|
5585 <p>NOTE: This method, unlike _getType, does no checking of the value passed in, and |
|
5586 is designed to be used with the low level _publish() method, for critical path |
|
5587 implementations which need to fast-track publish for performance reasons.</p> |
|
5588 </div> |
|
5589 |
|
5590 |
|
5591 <div class="params"> |
|
5592 <h4>Parameters:</h4> |
|
5593 |
|
5594 <ul class="params-list"> |
|
5595 |
|
5596 <li class="param"> |
|
5597 |
|
5598 <code class="param-name">type</code> |
|
5599 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5600 |
|
5601 |
|
5602 |
|
5603 |
|
5604 <div class="param-description"> |
|
5605 <p>The short type to prefix</p> |
|
5606 </div> |
|
5607 |
|
5608 |
|
5609 </li> |
|
5610 |
|
5611 </ul> |
|
5612 </div> |
|
5613 |
|
5614 |
|
5615 |
|
5616 <div class="returns"> |
|
5617 <h4>Returns:</h4> |
|
5618 |
|
5619 <div class="returns-description"> |
|
5620 |
|
5621 |
|
5622 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
5623 |
|
5624 The prefixed type, if a prefix is set, otherwise the type passed in |
|
5625 |
|
5626 </div> |
|
5627 </div> |
|
5628 |
|
5629 |
|
5630 |
|
5631 </div> |
|
5632 |
|
5633 |
|
5634 <div id="method__getStateVal" class="method item private inherited"> |
|
5635 <h3 class="name"><code>_getStateVal</code></h3> |
|
5636 |
|
5637 |
|
5638 <div class="args"> |
|
5639 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5640 |
|
5641 <li class="arg"> |
|
5642 |
|
5643 <code>name</code> |
|
5644 |
|
5645 </li> |
|
5646 |
|
5647 <li class="arg"> |
|
5648 |
|
5649 <code class="optional">[cfg]</code> |
|
5650 |
|
5651 </li> |
|
5652 |
|
5653 </ul><span class="paren">)</span> |
|
5654 </div> |
|
5655 |
|
5656 |
|
5657 |
|
5658 <span class="returns-inline"> |
|
5659 <span class="type">Any</span> |
|
5660 </span> |
|
5661 |
|
5662 |
|
5663 |
|
5664 |
|
5665 |
|
5666 <span class="flag private">private</span> |
|
5667 |
|
5668 |
|
5669 |
|
5670 |
|
5671 |
|
5672 |
|
5673 |
|
5674 |
|
5675 |
|
5676 |
|
5677 <div class="meta"> |
|
5678 |
|
5679 |
|
5680 <p>Inherited from |
|
5681 <a href="../classes/AttributeCore.html#method__getStateVal">AttributeCore</a>: |
|
5682 |
|
5683 |
|
5684 |
|
5685 <a href="../files/attribute_js_AttributeCore.js.html#l600"><code>attribute/js/AttributeCore.js:600</code></a> |
|
5686 |
|
5687 </p> |
|
5688 |
|
5689 |
|
5690 |
|
5691 |
|
5692 |
|
5693 </div> |
|
5694 |
|
5695 <div class="description"> |
|
5696 <p>Gets the stored value for the attribute, from either the |
|
5697 internal state object, or the state proxy if it exits</p> |
|
5698 </div> |
|
5699 |
|
5700 |
|
5701 <div class="params"> |
|
5702 <h4>Parameters:</h4> |
|
5703 |
|
5704 <ul class="params-list"> |
|
5705 |
|
5706 <li class="param"> |
|
5707 |
|
5708 <code class="param-name">name</code> |
|
5709 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5710 |
|
5711 |
|
5712 |
|
5713 |
|
5714 <div class="param-description"> |
|
5715 <p>The name of the attribute</p> |
|
5716 </div> |
|
5717 |
|
5718 |
|
5719 </li> |
|
5720 |
|
5721 <li class="param"> |
|
5722 |
|
5723 <code class="param-name optional">[cfg]</code> |
|
5724 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5725 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
5726 |
|
5727 |
|
5728 |
|
5729 |
|
5730 <div class="param-description"> |
|
5731 <p>Optional config hash for the attribute. This is added for performance along the critical path, |
|
5732 where the calling method has already obtained the config from state.</p> |
|
5733 </div> |
|
5734 |
|
5735 |
|
5736 </li> |
|
5737 |
|
5738 </ul> |
|
5739 </div> |
|
5740 |
|
5741 |
|
5742 |
|
5743 <div class="returns"> |
|
5744 <h4>Returns:</h4> |
|
5745 |
|
5746 <div class="returns-description"> |
|
5747 |
|
5748 |
|
5749 <span class="type">Any</span>: |
|
5750 |
|
5751 The stored value of the attribute |
|
5752 |
|
5753 </div> |
|
5754 </div> |
|
5755 |
|
5756 |
|
5757 |
|
5758 </div> |
|
5759 |
|
5760 |
|
5761 <div id="method__getType" class="method item private inherited"> |
|
5762 <h3 class="name"><code>_getType</code></h3> |
|
5763 |
|
5764 |
|
5765 <span class="paren">()</span> |
|
5766 |
|
5767 |
|
5768 |
|
5769 |
|
5770 |
|
5771 |
|
5772 |
|
5773 <span class="flag private">private</span> |
|
5774 |
|
5775 |
|
5776 |
|
5777 |
|
5778 |
|
5779 |
|
5780 |
|
5781 |
|
5782 |
|
5783 |
|
5784 <div class="meta"> |
|
5785 |
|
5786 |
|
5787 <p>Inherited from |
|
5788 <a href="../classes/EventTarget.html#method__getType">EventTarget</a>: |
|
5789 |
|
5790 |
|
5791 |
|
5792 <a href="../files/event-custom_js_event-target.js.html#l36"><code>event-custom/js/event-target.js:36</code></a> |
|
5793 |
|
5794 </p> |
|
5795 |
|
5796 |
|
5797 |
|
5798 |
|
5799 |
|
5800 </div> |
|
5801 |
|
5802 <div class="description"> |
|
5803 <p>If the instance has a prefix attribute and the |
|
5804 event type is not prefixed, the instance prefix is |
|
5805 applied to the supplied type.</p> |
|
5806 </div> |
|
5807 |
|
5808 |
|
5809 |
|
5810 |
|
5811 |
|
5812 |
|
5813 </div> |
|
5814 |
|
5815 |
|
5816 <div id="method__initAttrHost" class="method item private inherited"> |
|
5817 <h3 class="name"><code>_initAttrHost</code></h3> |
|
5818 |
|
5819 |
|
5820 <div class="args"> |
|
5821 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5822 |
|
5823 <li class="arg"> |
|
5824 |
|
5825 <code>attrs</code> |
|
5826 |
|
5827 </li> |
|
5828 |
|
5829 <li class="arg"> |
|
5830 |
|
5831 <code>values</code> |
|
5832 |
|
5833 </li> |
|
5834 |
|
5835 <li class="arg"> |
|
5836 |
|
5837 <code>lazy</code> |
|
5838 |
|
5839 </li> |
|
5840 |
|
5841 </ul><span class="paren">)</span> |
|
5842 </div> |
|
5843 |
|
5844 |
|
5845 |
|
5846 |
|
5847 |
|
5848 |
|
5849 |
|
5850 <span class="flag private">private</span> |
|
5851 |
|
5852 |
|
5853 |
|
5854 |
|
5855 |
|
5856 |
|
5857 |
|
5858 |
|
5859 |
|
5860 |
|
5861 <div class="meta"> |
|
5862 |
|
5863 |
|
5864 <p>Inherited from |
|
5865 <a href="../classes/AttributeCore.html#method__initAttrHost">AttributeCore</a>: |
|
5866 |
|
5867 |
|
5868 |
|
5869 <a href="../files/attribute_js_AttributeCore.js.html#l140"><code>attribute/js/AttributeCore.js:140</code></a> |
|
5870 |
|
5871 </p> |
|
5872 |
|
5873 |
|
5874 |
|
5875 |
|
5876 |
|
5877 </div> |
|
5878 |
|
5879 <div class="description"> |
|
5880 <p>Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the |
|
5881 constructor.</p> |
|
5882 </div> |
|
5883 |
|
5884 |
|
5885 <div class="params"> |
|
5886 <h4>Parameters:</h4> |
|
5887 |
|
5888 <ul class="params-list"> |
|
5889 |
|
5890 <li class="param"> |
|
5891 |
|
5892 <code class="param-name">attrs</code> |
|
5893 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5894 |
|
5895 |
|
5896 |
|
5897 |
|
5898 <div class="param-description"> |
|
5899 <p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
5900 These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p> |
|
5901 </div> |
|
5902 |
|
5903 |
|
5904 </li> |
|
5905 |
|
5906 <li class="param"> |
|
5907 |
|
5908 <code class="param-name">values</code> |
|
5909 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5910 |
|
5911 |
|
5912 |
|
5913 |
|
5914 <div class="param-description"> |
|
5915 <p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
5916 These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p> |
|
5917 </div> |
|
5918 |
|
5919 |
|
5920 </li> |
|
5921 |
|
5922 <li class="param"> |
|
5923 |
|
5924 <code class="param-name">lazy</code> |
|
5925 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
5926 |
|
5927 |
|
5928 |
|
5929 |
|
5930 <div class="param-description"> |
|
5931 <p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p> |
|
5932 </div> |
|
5933 |
|
5934 |
|
5935 </li> |
|
5936 |
|
5937 </ul> |
|
5938 </div> |
|
5939 |
|
5940 |
|
5941 |
|
5942 |
|
5943 |
|
5944 </div> |
|
5945 |
|
5946 |
|
5947 <div id="method__initAttribute" class="method item private inherited"> |
|
5948 <h3 class="name"><code>_initAttribute</code></h3> |
|
5949 |
|
5950 |
|
5951 <span class="paren">()</span> |
|
5952 |
|
5953 |
|
5954 |
|
5955 |
|
5956 |
|
5957 |
|
5958 |
|
5959 <span class="flag private">private</span> |
|
5960 |
|
5961 |
|
5962 |
|
5963 |
|
5964 |
|
5965 |
|
5966 |
|
5967 |
|
5968 |
|
5969 |
|
5970 <div class="meta"> |
|
5971 |
|
5972 <p>Inherited from |
|
5973 <a href="../classes/BaseObservable.html#method__initAttribute"> |
|
5974 BaseObservable |
|
5975 </a> |
|
5976 |
|
5977 but overwritten in |
|
5978 |
|
5979 |
|
5980 |
|
5981 <a href="../files/base_js_BaseCore.js.html#l254"><code>base/js/BaseCore.js:254</code></a> |
|
5982 |
|
5983 </p> |
|
5984 |
|
5985 |
|
5986 |
|
5987 |
|
5988 |
|
5989 </div> |
|
5990 |
|
5991 <div class="description"> |
|
5992 <p>Initializes AttributeCore</p> |
|
5993 </div> |
|
5994 |
|
5995 |
|
5996 |
|
5997 |
|
5998 |
|
5999 |
|
6000 </div> |
|
6001 |
|
6002 |
|
6003 <div id="method__initAttrs" class="method item protected inherited"> |
|
6004 <h3 class="name"><code>_initAttrs</code></h3> |
|
6005 |
|
6006 |
|
6007 <div class="args"> |
|
6008 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6009 |
|
6010 <li class="arg"> |
|
6011 |
|
6012 <code>attrs</code> |
|
6013 |
|
6014 </li> |
|
6015 |
|
6016 <li class="arg"> |
|
6017 |
|
6018 <code>values</code> |
|
6019 |
|
6020 </li> |
|
6021 |
|
6022 <li class="arg"> |
|
6023 |
|
6024 <code>lazy</code> |
|
6025 |
|
6026 </li> |
|
6027 |
|
6028 </ul><span class="paren">)</span> |
|
6029 </div> |
|
6030 |
|
6031 |
|
6032 |
|
6033 |
|
6034 |
|
6035 |
|
6036 |
|
6037 <span class="flag protected">protected</span> |
|
6038 |
|
6039 |
|
6040 |
|
6041 |
|
6042 |
|
6043 |
|
6044 |
|
6045 |
|
6046 |
|
6047 |
|
6048 <div class="meta"> |
|
6049 |
|
6050 |
|
6051 <p>Inherited from |
|
6052 <a href="../classes/AttributeCore.html#method__initAttrs">AttributeCore</a>: |
|
6053 |
|
6054 |
|
6055 |
|
6056 <a href="../files/attribute_js_AttributeCore.js.html#l1011"><code>attribute/js/AttributeCore.js:1011</code></a> |
|
6057 |
|
6058 </p> |
|
6059 |
|
6060 |
|
6061 |
|
6062 |
|
6063 |
|
6064 </div> |
|
6065 |
|
6066 <div class="description"> |
|
6067 <p>Utility method to set up initial attributes defined during construction, |
|
6068 either through the constructor.ATTRS property, or explicitly passed in.</p> |
|
6069 </div> |
|
6070 |
|
6071 |
|
6072 <div class="params"> |
|
6073 <h4>Parameters:</h4> |
|
6074 |
|
6075 <ul class="params-list"> |
|
6076 |
|
6077 <li class="param"> |
|
6078 |
|
6079 <code class="param-name">attrs</code> |
|
6080 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6081 |
|
6082 |
|
6083 |
|
6084 |
|
6085 <div class="param-description"> |
|
6086 <p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
6087 These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p> |
|
6088 </div> |
|
6089 |
|
6090 |
|
6091 </li> |
|
6092 |
|
6093 <li class="param"> |
|
6094 |
|
6095 <code class="param-name">values</code> |
|
6096 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6097 |
|
6098 |
|
6099 |
|
6100 |
|
6101 <div class="param-description"> |
|
6102 <p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
6103 These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p> |
|
6104 </div> |
|
6105 |
|
6106 |
|
6107 </li> |
|
6108 |
|
6109 <li class="param"> |
|
6110 |
|
6111 <code class="param-name">lazy</code> |
|
6112 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
6113 |
|
6114 |
|
6115 |
|
6116 |
|
6117 <div class="param-description"> |
|
6118 <p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p> |
|
6119 </div> |
|
6120 |
|
6121 |
|
6122 </li> |
|
6123 |
|
6124 </ul> |
|
6125 </div> |
|
6126 |
|
6127 |
|
6128 |
|
6129 |
|
6130 |
|
6131 </div> |
|
6132 |
|
6133 |
|
6134 <div id="method__initBase" class="method item private inherited"> |
|
6135 <h3 class="name"><code>_initBase</code></h3> |
|
6136 |
|
6137 |
|
6138 <div class="args"> |
|
6139 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6140 |
|
6141 <li class="arg"> |
|
6142 |
|
6143 <code>config</code> |
|
6144 |
|
6145 </li> |
|
6146 |
|
6147 </ul><span class="paren">)</span> |
|
6148 </div> |
|
6149 |
|
6150 |
|
6151 |
|
6152 |
|
6153 |
|
6154 |
|
6155 |
|
6156 <span class="flag private">private</span> |
|
6157 |
|
6158 |
|
6159 |
|
6160 |
|
6161 |
|
6162 |
|
6163 |
|
6164 |
|
6165 |
|
6166 |
|
6167 <div class="meta"> |
|
6168 |
|
6169 |
|
6170 <p>Inherited from |
|
6171 <a href="../classes/BaseCore.html#method__initBase">BaseCore</a>: |
|
6172 |
|
6173 |
|
6174 |
|
6175 <a href="../files/base_js_BaseCore.js.html#l219"><code>base/js/BaseCore.js:219</code></a> |
|
6176 |
|
6177 </p> |
|
6178 |
|
6179 |
|
6180 |
|
6181 |
|
6182 |
|
6183 </div> |
|
6184 |
|
6185 <div class="description"> |
|
6186 <p>Internal construction logic for BaseCore.</p> |
|
6187 </div> |
|
6188 |
|
6189 |
|
6190 <div class="params"> |
|
6191 <h4>Parameters:</h4> |
|
6192 |
|
6193 <ul class="params-list"> |
|
6194 |
|
6195 <li class="param"> |
|
6196 |
|
6197 <code class="param-name">config</code> |
|
6198 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6199 |
|
6200 |
|
6201 |
|
6202 |
|
6203 <div class="param-description"> |
|
6204 <p>The constructor configuration object</p> |
|
6205 </div> |
|
6206 |
|
6207 |
|
6208 </li> |
|
6209 |
|
6210 </ul> |
|
6211 </div> |
|
6212 |
|
6213 |
|
6214 |
|
6215 |
|
6216 |
|
6217 </div> |
|
6218 |
|
6219 |
|
6220 <div id="method__initEvents" class="method item protected"> |
|
6221 <h3 class="name"><code>_initEvents</code></h3> |
|
6222 |
|
6223 |
|
6224 <span class="paren">()</span> |
|
6225 |
|
6226 |
|
6227 |
|
6228 |
|
6229 |
|
6230 |
|
6231 |
|
6232 <span class="flag protected">protected</span> |
|
6233 |
|
6234 |
|
6235 |
|
6236 |
|
6237 |
|
6238 |
|
6239 |
|
6240 |
|
6241 |
|
6242 |
|
6243 <div class="meta"> |
|
6244 |
|
6245 |
|
6246 |
|
6247 <p> |
|
6248 |
|
6249 Defined in |
|
6250 |
|
6251 |
|
6252 |
|
6253 |
|
6254 <a href="../files/datatable_js_table.js.html#l432"><code>datatable/js/table.js:432</code></a> |
|
6255 |
|
6256 </p> |
|
6257 |
|
6258 |
|
6259 |
|
6260 |
|
6261 |
|
6262 <p>Available since 3.5.0</p> |
|
6263 |
|
6264 </div> |
|
6265 |
|
6266 <div class="description"> |
|
6267 <p>Publishes core events.</p> |
|
6268 </div> |
|
6269 |
|
6270 |
|
6271 |
|
6272 |
|
6273 |
|
6274 |
|
6275 </div> |
|
6276 |
|
6277 |
|
6278 <div id="method__initHierarchy" class="method item private inherited"> |
|
6279 <h3 class="name"><code>_initHierarchy</code></h3> |
|
6280 |
|
6281 |
|
6282 <div class="args"> |
|
6283 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6284 |
|
6285 <li class="arg"> |
|
6286 |
|
6287 <code>userVals</code> |
|
6288 |
|
6289 </li> |
|
6290 |
|
6291 </ul><span class="paren">)</span> |
|
6292 </div> |
|
6293 |
|
6294 |
|
6295 |
|
6296 |
|
6297 |
|
6298 |
|
6299 |
|
6300 <span class="flag private">private</span> |
|
6301 |
|
6302 |
|
6303 |
|
6304 |
|
6305 |
|
6306 |
|
6307 |
|
6308 |
|
6309 |
|
6310 |
|
6311 <div class="meta"> |
|
6312 |
|
6313 |
|
6314 <p>Inherited from |
|
6315 <a href="../classes/BaseCore.html#method__initHierarchy">BaseCore</a>: |
|
6316 |
|
6317 |
|
6318 |
|
6319 <a href="../files/base_js_BaseCore.js.html#l659"><code>base/js/BaseCore.js:659</code></a> |
|
6320 |
|
6321 </p> |
|
6322 |
|
6323 |
|
6324 |
|
6325 |
|
6326 |
|
6327 </div> |
|
6328 |
|
6329 <div class="description"> |
|
6330 <p>Initializes the class hierarchy for the instance, which includes |
|
6331 initializing attributes for each class defined in the class's |
|
6332 static <a href="#property_BaseCore.ATTRS">ATTRS</a> property and |
|
6333 invoking the initializer method on the prototype of each class in the hierarchy.</p> |
|
6334 </div> |
|
6335 |
|
6336 |
|
6337 <div class="params"> |
|
6338 <h4>Parameters:</h4> |
|
6339 |
|
6340 <ul class="params-list"> |
|
6341 |
|
6342 <li class="param"> |
|
6343 |
|
6344 <code class="param-name">userVals</code> |
|
6345 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6346 |
|
6347 |
|
6348 |
|
6349 |
|
6350 <div class="param-description"> |
|
6351 <p>Object with configuration property name/value pairs</p> |
|
6352 </div> |
|
6353 |
|
6354 |
|
6355 </li> |
|
6356 |
|
6357 </ul> |
|
6358 </div> |
|
6359 |
|
6360 |
|
6361 |
|
6362 |
|
6363 |
|
6364 </div> |
|
6365 |
|
6366 |
|
6367 <div id="method__initHierarchyData" class="method item private inherited"> |
|
6368 <h3 class="name"><code>_initHierarchyData</code></h3> |
|
6369 |
|
6370 |
|
6371 <span class="paren">()</span> |
|
6372 |
|
6373 |
|
6374 |
|
6375 |
|
6376 |
|
6377 |
|
6378 |
|
6379 <span class="flag private">private</span> |
|
6380 |
|
6381 |
|
6382 |
|
6383 |
|
6384 |
|
6385 |
|
6386 |
|
6387 |
|
6388 |
|
6389 |
|
6390 <div class="meta"> |
|
6391 |
|
6392 |
|
6393 <p>Inherited from |
|
6394 <a href="../classes/BaseCore.html#method__initHierarchyData">BaseCore</a>: |
|
6395 |
|
6396 |
|
6397 |
|
6398 <a href="../files/base_js_BaseCore.js.html#l457"><code>base/js/BaseCore.js:457</code></a> |
|
6399 |
|
6400 </p> |
|
6401 |
|
6402 |
|
6403 |
|
6404 |
|
6405 |
|
6406 </div> |
|
6407 |
|
6408 <div class="description"> |
|
6409 <p>A helper method used by _getClasses and _getAttrCfgs, which determines both |
|
6410 the array of classes and aggregate set of attribute configurations |
|
6411 across the class hierarchy for the instance.</p> |
|
6412 </div> |
|
6413 |
|
6414 |
|
6415 |
|
6416 |
|
6417 |
|
6418 |
|
6419 </div> |
|
6420 |
|
6421 |
|
6422 <div id="method__isLazyAttr" class="method item private inherited"> |
|
6423 <h3 class="name"><code>_isLazyAttr</code></h3> |
|
6424 |
|
6425 |
|
6426 <div class="args"> |
|
6427 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6428 |
|
6429 <li class="arg"> |
|
6430 |
|
6431 <code>name</code> |
|
6432 |
|
6433 </li> |
|
6434 |
|
6435 </ul><span class="paren">)</span> |
|
6436 </div> |
|
6437 |
|
6438 |
|
6439 |
|
6440 <span class="returns-inline"> |
|
6441 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
6442 </span> |
|
6443 |
|
6444 |
|
6445 |
|
6446 |
|
6447 |
|
6448 <span class="flag private">private</span> |
|
6449 |
|
6450 |
|
6451 |
|
6452 |
|
6453 |
|
6454 |
|
6455 |
|
6456 |
|
6457 |
|
6458 |
|
6459 <div class="meta"> |
|
6460 |
|
6461 |
|
6462 <p>Inherited from |
|
6463 <a href="../classes/AttributeCore.html#method__isLazyAttr">AttributeCore</a>: |
|
6464 |
|
6465 |
|
6466 |
|
6467 <a href="../files/attribute_js_AttributeCore.js.html#l369"><code>attribute/js/AttributeCore.js:369</code></a> |
|
6468 |
|
6469 </p> |
|
6470 |
|
6471 |
|
6472 |
|
6473 |
|
6474 |
|
6475 </div> |
|
6476 |
|
6477 <div class="description"> |
|
6478 <p>Checks whether or not the attribute is one which has been |
|
6479 added lazily and still requires initialization.</p> |
|
6480 </div> |
|
6481 |
|
6482 |
|
6483 <div class="params"> |
|
6484 <h4>Parameters:</h4> |
|
6485 |
|
6486 <ul class="params-list"> |
|
6487 |
|
6488 <li class="param"> |
|
6489 |
|
6490 <code class="param-name">name</code> |
|
6491 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6492 |
|
6493 |
|
6494 |
|
6495 |
|
6496 <div class="param-description"> |
|
6497 <p>The name of the attribute</p> |
|
6498 </div> |
|
6499 |
|
6500 |
|
6501 </li> |
|
6502 |
|
6503 </ul> |
|
6504 </div> |
|
6505 |
|
6506 |
|
6507 |
|
6508 <div class="returns"> |
|
6509 <h4>Returns:</h4> |
|
6510 |
|
6511 <div class="returns-description"> |
|
6512 |
|
6513 |
|
6514 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
6515 |
|
6516 true if it's a lazily added attribute, false otherwise. |
|
6517 |
|
6518 </div> |
|
6519 </div> |
|
6520 |
|
6521 |
|
6522 |
|
6523 </div> |
|
6524 |
|
6525 |
|
6526 <div id="method__monitor" class="method item private inherited"> |
|
6527 <h3 class="name"><code>_monitor</code></h3> |
|
6528 |
|
6529 |
|
6530 <div class="args"> |
|
6531 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6532 |
|
6533 <li class="arg"> |
|
6534 |
|
6535 <code>what</code> |
|
6536 |
|
6537 </li> |
|
6538 |
|
6539 <li class="arg"> |
|
6540 |
|
6541 <code>eventType</code> |
|
6542 |
|
6543 </li> |
|
6544 |
|
6545 <li class="arg"> |
|
6546 |
|
6547 <code>o</code> |
|
6548 |
|
6549 </li> |
|
6550 |
|
6551 </ul><span class="paren">)</span> |
|
6552 </div> |
|
6553 |
|
6554 |
|
6555 |
|
6556 |
|
6557 |
|
6558 |
|
6559 |
|
6560 <span class="flag private">private</span> |
|
6561 |
|
6562 |
|
6563 |
|
6564 |
|
6565 |
|
6566 |
|
6567 |
|
6568 |
|
6569 |
|
6570 |
|
6571 <div class="meta"> |
|
6572 |
|
6573 |
|
6574 <p>Inherited from |
|
6575 <a href="../classes/EventTarget.html#method__monitor">EventTarget</a>: |
|
6576 |
|
6577 |
|
6578 |
|
6579 <a href="../files/event-custom_js_event-target.js.html#l658"><code>event-custom/js/event-target.js:658</code></a> |
|
6580 |
|
6581 </p> |
|
6582 |
|
6583 |
|
6584 |
|
6585 |
|
6586 |
|
6587 </div> |
|
6588 |
|
6589 <div class="description"> |
|
6590 <p>This is the entry point for the event monitoring system. |
|
6591 You can monitor 'attach', 'detach', 'fire', and 'publish'. |
|
6592 When configured, these events generate an event. click -> |
|
6593 click<em>attach, click</em>detach, click_publish -- these can |
|
6594 be subscribed to like other events to monitor the event |
|
6595 system. Inividual published events can have monitoring |
|
6596 turned on or off (publish can't be turned off before it |
|
6597 it published) by setting the events 'monitor' config.</p> |
|
6598 </div> |
|
6599 |
|
6600 |
|
6601 <div class="params"> |
|
6602 <h4>Parameters:</h4> |
|
6603 |
|
6604 <ul class="params-list"> |
|
6605 |
|
6606 <li class="param"> |
|
6607 |
|
6608 <code class="param-name">what</code> |
|
6609 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6610 |
|
6611 |
|
6612 |
|
6613 |
|
6614 <div class="param-description"> |
|
6615 <p>'attach', 'detach', 'fire', or 'publish'</p> |
|
6616 </div> |
|
6617 |
|
6618 |
|
6619 </li> |
|
6620 |
|
6621 <li class="param"> |
|
6622 |
|
6623 <code class="param-name">eventType</code> |
|
6624 <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> |
|
6625 |
|
6626 |
|
6627 |
|
6628 |
|
6629 <div class="param-description"> |
|
6630 <p>The prefixed name of the event being monitored, or the CustomEvent object.</p> |
|
6631 </div> |
|
6632 |
|
6633 |
|
6634 </li> |
|
6635 |
|
6636 <li class="param"> |
|
6637 |
|
6638 <code class="param-name">o</code> |
|
6639 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6640 |
|
6641 |
|
6642 |
|
6643 |
|
6644 <div class="param-description"> |
|
6645 <p>Information about the event interaction, such as |
|
6646 fire() args, subscription category, publish config</p> |
|
6647 </div> |
|
6648 |
|
6649 |
|
6650 </li> |
|
6651 |
|
6652 </ul> |
|
6653 </div> |
|
6654 |
|
6655 |
|
6656 |
|
6657 |
|
6658 |
|
6659 </div> |
|
6660 |
|
6661 |
|
6662 <div id="method__normAttrVals" class="method item private inherited"> |
|
6663 <h3 class="name"><code>_normAttrVals</code></h3> |
|
6664 |
|
6665 |
|
6666 <div class="args"> |
|
6667 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6668 |
|
6669 <li class="arg"> |
|
6670 |
|
6671 <code>valueHash</code> |
|
6672 |
|
6673 </li> |
|
6674 |
|
6675 </ul><span class="paren">)</span> |
|
6676 </div> |
|
6677 |
|
6678 |
|
6679 |
|
6680 <span class="returns-inline"> |
|
6681 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6682 </span> |
|
6683 |
|
6684 |
|
6685 |
|
6686 |
|
6687 |
|
6688 <span class="flag private">private</span> |
|
6689 |
|
6690 |
|
6691 |
|
6692 |
|
6693 |
|
6694 |
|
6695 |
|
6696 |
|
6697 |
|
6698 |
|
6699 <div class="meta"> |
|
6700 |
|
6701 |
|
6702 <p>Inherited from |
|
6703 <a href="../classes/AttributeCore.html#method__normAttrVals">AttributeCore</a>: |
|
6704 |
|
6705 |
|
6706 |
|
6707 <a href="../files/attribute_js_AttributeCore.js.html#l897"><code>attribute/js/AttributeCore.js:897</code></a> |
|
6708 |
|
6709 </p> |
|
6710 |
|
6711 |
|
6712 |
|
6713 |
|
6714 |
|
6715 </div> |
|
6716 |
|
6717 <div class="description"> |
|
6718 <p>Utility method to normalize attribute values. The base implementation |
|
6719 simply merges the hash to protect the original.</p> |
|
6720 </div> |
|
6721 |
|
6722 |
|
6723 <div class="params"> |
|
6724 <h4>Parameters:</h4> |
|
6725 |
|
6726 <ul class="params-list"> |
|
6727 |
|
6728 <li class="param"> |
|
6729 |
|
6730 <code class="param-name">valueHash</code> |
|
6731 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6732 |
|
6733 |
|
6734 |
|
6735 |
|
6736 <div class="param-description"> |
|
6737 <p>An object with attribute name/value pairs</p> |
|
6738 </div> |
|
6739 |
|
6740 |
|
6741 </li> |
|
6742 |
|
6743 </ul> |
|
6744 </div> |
|
6745 |
|
6746 |
|
6747 |
|
6748 <div class="returns"> |
|
6749 <h4>Returns:</h4> |
|
6750 |
|
6751 <div class="returns-description"> |
|
6752 |
|
6753 |
|
6754 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
6755 |
|
6756 An object literal with 2 properties - "simple" and "complex", |
|
6757 containing simple and complex attribute values respectively keyed |
|
6758 by the top level attribute name, or null, if valueHash is falsey. |
|
6759 |
|
6760 </div> |
|
6761 </div> |
|
6762 |
|
6763 |
|
6764 |
|
6765 </div> |
|
6766 |
|
6767 |
|
6768 <div id="method__parseType" class="method item private inherited"> |
|
6769 <h3 class="name"><code>_parseType</code></h3> |
|
6770 |
|
6771 |
|
6772 <span class="paren">()</span> |
|
6773 |
|
6774 |
|
6775 |
|
6776 |
|
6777 |
|
6778 |
|
6779 |
|
6780 <span class="flag private">private</span> |
|
6781 |
|
6782 |
|
6783 |
|
6784 |
|
6785 |
|
6786 |
|
6787 |
|
6788 |
|
6789 |
|
6790 |
|
6791 <div class="meta"> |
|
6792 |
|
6793 |
|
6794 <p>Inherited from |
|
6795 <a href="../classes/EventTarget.html#method__parseType">EventTarget</a>: |
|
6796 |
|
6797 |
|
6798 |
|
6799 <a href="../files/event-custom_js_event-target.js.html#l52"><code>event-custom/js/event-target.js:52</code></a> |
|
6800 |
|
6801 </p> |
|
6802 |
|
6803 |
|
6804 |
|
6805 |
|
6806 |
|
6807 </div> |
|
6808 |
|
6809 <div class="description"> |
|
6810 <p>Returns an array with the detach key (if provided), |
|
6811 and the prefixed event name from _getType |
|
6812 Y.on('detachcategory| menu:click', fn)</p> |
|
6813 </div> |
|
6814 |
|
6815 |
|
6816 |
|
6817 |
|
6818 |
|
6819 |
|
6820 </div> |
|
6821 |
|
6822 |
|
6823 <div id="method__preInitEventCfg" class="method item private inherited"> |
|
6824 <h3 class="name"><code>_preInitEventCfg</code></h3> |
|
6825 |
|
6826 |
|
6827 <div class="args"> |
|
6828 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6829 |
|
6830 <li class="arg"> |
|
6831 |
|
6832 <code>config</code> |
|
6833 |
|
6834 </li> |
|
6835 |
|
6836 </ul><span class="paren">)</span> |
|
6837 </div> |
|
6838 |
|
6839 |
|
6840 |
|
6841 |
|
6842 |
|
6843 |
|
6844 |
|
6845 <span class="flag private">private</span> |
|
6846 |
|
6847 |
|
6848 |
|
6849 |
|
6850 |
|
6851 |
|
6852 |
|
6853 |
|
6854 |
|
6855 |
|
6856 <div class="meta"> |
|
6857 |
|
6858 |
|
6859 <p>Inherited from |
|
6860 <a href="../classes/BaseObservable.html#method__preInitEventCfg">BaseObservable</a>: |
|
6861 |
|
6862 |
|
6863 |
|
6864 <a href="../files/base_js_BaseObservable.js.html#l98"><code>base/js/BaseObservable.js:98</code></a> |
|
6865 |
|
6866 </p> |
|
6867 |
|
6868 |
|
6869 |
|
6870 |
|
6871 |
|
6872 </div> |
|
6873 |
|
6874 <div class="description"> |
|
6875 <p>Handles the special on, after and target properties which allow the user to |
|
6876 easily configure on and after listeners as well as bubble targets during |
|
6877 construction, prior to init.</p> |
|
6878 </div> |
|
6879 |
|
6880 |
|
6881 <div class="params"> |
|
6882 <h4>Parameters:</h4> |
|
6883 |
|
6884 <ul class="params-list"> |
|
6885 |
|
6886 <li class="param"> |
|
6887 |
|
6888 <code class="param-name">config</code> |
|
6889 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6890 |
|
6891 |
|
6892 |
|
6893 |
|
6894 <div class="param-description"> |
|
6895 <p>The user configuration object</p> |
|
6896 </div> |
|
6897 |
|
6898 |
|
6899 </li> |
|
6900 |
|
6901 </ul> |
|
6902 </div> |
|
6903 |
|
6904 |
|
6905 |
|
6906 |
|
6907 |
|
6908 </div> |
|
6909 |
|
6910 |
|
6911 <div id="method__protectAttrs" class="method item protected deprecated inherited"> |
|
6912 <h3 class="name"><code>_protectAttrs</code></h3> |
|
6913 |
|
6914 |
|
6915 <div class="args"> |
|
6916 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6917 |
|
6918 <li class="arg"> |
|
6919 |
|
6920 <code>attrs</code> |
|
6921 |
|
6922 </li> |
|
6923 |
|
6924 </ul><span class="paren">)</span> |
|
6925 </div> |
|
6926 |
|
6927 |
|
6928 |
|
6929 <span class="returns-inline"> |
|
6930 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6931 </span> |
|
6932 |
|
6933 |
|
6934 |
|
6935 <span class="flag deprecated" title="Use `AttributeCore.protectAttrs()` or |
|
6936 `Attribute.protectAttrs()` which are the same static utility method.">deprecated</span> |
|
6937 |
|
6938 |
|
6939 |
|
6940 <span class="flag protected">protected</span> |
|
6941 |
|
6942 |
|
6943 |
|
6944 |
|
6945 |
|
6946 |
|
6947 |
|
6948 |
|
6949 |
|
6950 |
|
6951 <div class="meta"> |
|
6952 |
|
6953 |
|
6954 <p>Inherited from |
|
6955 <a href="../classes/AttributeCore.html#method__protectAttrs">AttributeCore</a>: |
|
6956 |
|
6957 |
|
6958 |
|
6959 <a href="../files/attribute_js_AttributeCore.js.html#l883"><code>attribute/js/AttributeCore.js:883</code></a> |
|
6960 |
|
6961 </p> |
|
6962 |
|
6963 |
|
6964 |
|
6965 <p>Deprecated: Use `AttributeCore.protectAttrs()` or |
|
6966 `Attribute.protectAttrs()` which are the same static utility method.</p> |
|
6967 |
|
6968 |
|
6969 |
|
6970 </div> |
|
6971 |
|
6972 <div class="description"> |
|
6973 <p>Utility method to protect an attribute configuration |
|
6974 hash, by merging the entire object and the individual |
|
6975 attr config objects.</p> |
|
6976 </div> |
|
6977 |
|
6978 |
|
6979 <div class="params"> |
|
6980 <h4>Parameters:</h4> |
|
6981 |
|
6982 <ul class="params-list"> |
|
6983 |
|
6984 <li class="param"> |
|
6985 |
|
6986 <code class="param-name">attrs</code> |
|
6987 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6988 |
|
6989 |
|
6990 |
|
6991 |
|
6992 <div class="param-description"> |
|
6993 <p>A hash of attribute to configuration object pairs.</p> |
|
6994 </div> |
|
6995 |
|
6996 |
|
6997 </li> |
|
6998 |
|
6999 </ul> |
|
7000 </div> |
|
7001 |
|
7002 |
|
7003 |
|
7004 <div class="returns"> |
|
7005 <h4>Returns:</h4> |
|
7006 |
|
7007 <div class="returns-description"> |
|
7008 |
|
7009 |
|
7010 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
7011 |
|
7012 A protected version of the attrs argument. |
|
7013 |
|
7014 </div> |
|
7015 </div> |
|
7016 |
|
7017 |
|
7018 |
|
7019 </div> |
|
7020 |
|
7021 |
|
7022 <div id="method__publish" class="method item private inherited"> |
|
7023 <h3 class="name"><code>_publish</code></h3> |
|
7024 |
|
7025 |
|
7026 <div class="args"> |
|
7027 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7028 |
|
7029 <li class="arg"> |
|
7030 |
|
7031 <code>fullType</code> |
|
7032 |
|
7033 </li> |
|
7034 |
|
7035 <li class="arg"> |
|
7036 |
|
7037 <code>etOpts</code> |
|
7038 |
|
7039 </li> |
|
7040 |
|
7041 <li class="arg"> |
|
7042 |
|
7043 <code>ceOpts</code> |
|
7044 |
|
7045 </li> |
|
7046 |
|
7047 </ul><span class="paren">)</span> |
|
7048 </div> |
|
7049 |
|
7050 |
|
7051 |
|
7052 <span class="returns-inline"> |
|
7053 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
7054 </span> |
|
7055 |
|
7056 |
|
7057 |
|
7058 |
|
7059 |
|
7060 <span class="flag private">private</span> |
|
7061 |
|
7062 |
|
7063 |
|
7064 |
|
7065 |
|
7066 |
|
7067 |
|
7068 |
|
7069 |
|
7070 |
|
7071 <div class="meta"> |
|
7072 |
|
7073 |
|
7074 <p>Inherited from |
|
7075 <a href="../classes/EventTarget.html#method__publish">EventTarget</a>: |
|
7076 |
|
7077 |
|
7078 |
|
7079 <a href="../files/event-custom_js_event-target.js.html#l610"><code>event-custom/js/event-target.js:610</code></a> |
|
7080 |
|
7081 </p> |
|
7082 |
|
7083 |
|
7084 |
|
7085 |
|
7086 |
|
7087 </div> |
|
7088 |
|
7089 <div class="description"> |
|
7090 <p>The low level event publish implementation. It expects all the massaging to have been done |
|
7091 outside of this method. e.g. the <code>type</code> to <code>fullType</code> conversion. It's designed to be a fast |
|
7092 path publish, which can be used by critical code paths to improve performance.</p> |
|
7093 </div> |
|
7094 |
|
7095 |
|
7096 <div class="params"> |
|
7097 <h4>Parameters:</h4> |
|
7098 |
|
7099 <ul class="params-list"> |
|
7100 |
|
7101 <li class="param"> |
|
7102 |
|
7103 <code class="param-name">fullType</code> |
|
7104 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7105 |
|
7106 |
|
7107 |
|
7108 |
|
7109 <div class="param-description"> |
|
7110 <p>The prefixed type of the event to publish.</p> |
|
7111 </div> |
|
7112 |
|
7113 |
|
7114 </li> |
|
7115 |
|
7116 <li class="param"> |
|
7117 |
|
7118 <code class="param-name">etOpts</code> |
|
7119 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7120 |
|
7121 |
|
7122 |
|
7123 |
|
7124 <div class="param-description"> |
|
7125 <p>The EventTarget specific configuration to mix into the published event.</p> |
|
7126 </div> |
|
7127 |
|
7128 |
|
7129 </li> |
|
7130 |
|
7131 <li class="param"> |
|
7132 |
|
7133 <code class="param-name">ceOpts</code> |
|
7134 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7135 |
|
7136 |
|
7137 |
|
7138 |
|
7139 <div class="param-description"> |
|
7140 <p>The publish specific configuration to mix into the published event.</p> |
|
7141 </div> |
|
7142 |
|
7143 |
|
7144 </li> |
|
7145 |
|
7146 </ul> |
|
7147 </div> |
|
7148 |
|
7149 |
|
7150 |
|
7151 <div class="returns"> |
|
7152 <h4>Returns:</h4> |
|
7153 |
|
7154 <div class="returns-description"> |
|
7155 |
|
7156 |
|
7157 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>: |
|
7158 |
|
7159 The published event. If called without <code>etOpts</code> or <code>ceOpts</code>, this will |
|
7160 be the default <code>CustomEvent</code> instance, and can be configured independently. |
|
7161 |
|
7162 </div> |
|
7163 </div> |
|
7164 |
|
7165 |
|
7166 |
|
7167 </div> |
|
7168 |
|
7169 |
|
7170 <div id="method__relayAttrChange" class="method item protected"> |
|
7171 <h3 class="name"><code>_relayAttrChange</code></h3> |
|
7172 |
|
7173 |
|
7174 <div class="args"> |
|
7175 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7176 |
|
7177 <li class="arg"> |
|
7178 |
|
7179 <code>e</code> |
|
7180 |
|
7181 </li> |
|
7182 |
|
7183 </ul><span class="paren">)</span> |
|
7184 </div> |
|
7185 |
|
7186 |
|
7187 |
|
7188 |
|
7189 |
|
7190 |
|
7191 |
|
7192 <span class="flag protected">protected</span> |
|
7193 |
|
7194 |
|
7195 |
|
7196 |
|
7197 |
|
7198 |
|
7199 |
|
7200 |
|
7201 |
|
7202 |
|
7203 <div class="meta"> |
|
7204 |
|
7205 |
|
7206 |
|
7207 <p> |
|
7208 |
|
7209 Defined in |
|
7210 |
|
7211 |
|
7212 |
|
7213 |
|
7214 <a href="../files/datatable_js_table.js.html#l467"><code>datatable/js/table.js:467</code></a> |
|
7215 |
|
7216 </p> |
|
7217 |
|
7218 |
|
7219 |
|
7220 |
|
7221 |
|
7222 <p>Available since 3.6.0</p> |
|
7223 |
|
7224 </div> |
|
7225 |
|
7226 <div class="description"> |
|
7227 <p>Relays attribute changes to the child Views.</p> |
|
7228 </div> |
|
7229 |
|
7230 |
|
7231 <div class="params"> |
|
7232 <h4>Parameters:</h4> |
|
7233 |
|
7234 <ul class="params-list"> |
|
7235 |
|
7236 <li class="param"> |
|
7237 |
|
7238 <code class="param-name">e</code> |
|
7239 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
7240 |
|
7241 |
|
7242 |
|
7243 |
|
7244 <div class="param-description"> |
|
7245 <p>The change event</p> |
|
7246 </div> |
|
7247 |
|
7248 |
|
7249 </li> |
|
7250 |
|
7251 </ul> |
|
7252 </div> |
|
7253 |
|
7254 |
|
7255 |
|
7256 |
|
7257 |
|
7258 </div> |
|
7259 |
|
7260 |
|
7261 <div id="method__set" class="method item protected inherited"> |
|
7262 <h3 class="name"><code>_set</code></h3> |
|
7263 |
|
7264 |
|
7265 <div class="args"> |
|
7266 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7267 |
|
7268 <li class="arg"> |
|
7269 |
|
7270 <code>name</code> |
|
7271 |
|
7272 </li> |
|
7273 |
|
7274 <li class="arg"> |
|
7275 |
|
7276 <code>val</code> |
|
7277 |
|
7278 </li> |
|
7279 |
|
7280 <li class="arg"> |
|
7281 |
|
7282 <code class="optional">[opts]</code> |
|
7283 |
|
7284 </li> |
|
7285 |
|
7286 </ul><span class="paren">)</span> |
|
7287 </div> |
|
7288 |
|
7289 |
|
7290 |
|
7291 <span class="returns-inline"> |
|
7292 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7293 </span> |
|
7294 |
|
7295 |
|
7296 |
|
7297 |
|
7298 |
|
7299 <span class="flag protected">protected</span> |
|
7300 |
|
7301 |
|
7302 |
|
7303 |
|
7304 |
|
7305 |
|
7306 |
|
7307 <span class="flag chainable">chainable</span> |
|
7308 |
|
7309 |
|
7310 |
|
7311 |
|
7312 <div class="meta"> |
|
7313 |
|
7314 <p>Inherited from |
|
7315 <a href="../classes/AttributeObservable.html#method__set"> |
|
7316 AttributeObservable |
|
7317 </a> |
|
7318 |
|
7319 but overwritten in |
|
7320 |
|
7321 |
|
7322 |
|
7323 <a href="../files/attribute_js_AttributeCore.js.html#l427"><code>attribute/js/AttributeCore.js:427</code></a> |
|
7324 |
|
7325 </p> |
|
7326 |
|
7327 |
|
7328 |
|
7329 |
|
7330 |
|
7331 </div> |
|
7332 |
|
7333 <div class="description"> |
|
7334 <p>Allows setting of readOnly/writeOnce attributes. See <a href="#method_set">set</a> for argument details.</p> |
|
7335 </div> |
|
7336 |
|
7337 |
|
7338 <div class="params"> |
|
7339 <h4>Parameters:</h4> |
|
7340 |
|
7341 <ul class="params-list"> |
|
7342 |
|
7343 <li class="param"> |
|
7344 |
|
7345 <code class="param-name">name</code> |
|
7346 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7347 |
|
7348 |
|
7349 |
|
7350 |
|
7351 <div class="param-description"> |
|
7352 <p>The name of the attribute.</p> |
|
7353 </div> |
|
7354 |
|
7355 |
|
7356 </li> |
|
7357 |
|
7358 <li class="param"> |
|
7359 |
|
7360 <code class="param-name">val</code> |
|
7361 <span class="type">Any</span> |
|
7362 |
|
7363 |
|
7364 |
|
7365 |
|
7366 <div class="param-description"> |
|
7367 <p>The value to set the attribute to.</p> |
|
7368 </div> |
|
7369 |
|
7370 |
|
7371 </li> |
|
7372 |
|
7373 <li class="param"> |
|
7374 |
|
7375 <code class="param-name optional">[opts]</code> |
|
7376 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7377 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
7378 |
|
7379 |
|
7380 |
|
7381 |
|
7382 <div class="param-description"> |
|
7383 <p>Optional data providing the circumstances for the change.</p> |
|
7384 </div> |
|
7385 |
|
7386 |
|
7387 </li> |
|
7388 |
|
7389 </ul> |
|
7390 </div> |
|
7391 |
|
7392 |
|
7393 |
|
7394 <div class="returns"> |
|
7395 <h4>Returns:</h4> |
|
7396 |
|
7397 <div class="returns-description"> |
|
7398 |
|
7399 |
|
7400 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
7401 |
|
7402 A reference to the host object. |
|
7403 |
|
7404 </div> |
|
7405 </div> |
|
7406 |
|
7407 |
|
7408 |
|
7409 </div> |
|
7410 |
|
7411 |
|
7412 <div id="method__setAttr" class="method item protected inherited"> |
|
7413 <h3 class="name"><code>_setAttr</code></h3> |
|
7414 |
|
7415 |
|
7416 <div class="args"> |
|
7417 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7418 |
|
7419 <li class="arg"> |
|
7420 |
|
7421 <code>name</code> |
|
7422 |
|
7423 </li> |
|
7424 |
|
7425 <li class="arg"> |
|
7426 |
|
7427 <code>value</code> |
|
7428 |
|
7429 </li> |
|
7430 |
|
7431 <li class="arg"> |
|
7432 |
|
7433 <code class="optional">[opts]</code> |
|
7434 |
|
7435 </li> |
|
7436 |
|
7437 <li class="arg"> |
|
7438 |
|
7439 <code>force</code> |
|
7440 |
|
7441 </li> |
|
7442 |
|
7443 </ul><span class="paren">)</span> |
|
7444 </div> |
|
7445 |
|
7446 |
|
7447 |
|
7448 <span class="returns-inline"> |
|
7449 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7450 </span> |
|
7451 |
|
7452 |
|
7453 |
|
7454 |
|
7455 |
|
7456 <span class="flag protected">protected</span> |
|
7457 |
|
7458 |
|
7459 |
|
7460 |
|
7461 |
|
7462 |
|
7463 |
|
7464 <span class="flag chainable">chainable</span> |
|
7465 |
|
7466 |
|
7467 |
|
7468 |
|
7469 <div class="meta"> |
|
7470 |
|
7471 |
|
7472 <p>Inherited from |
|
7473 <a href="../classes/AttributeCore.html#method__setAttr">AttributeCore</a>: |
|
7474 |
|
7475 |
|
7476 |
|
7477 <a href="../files/attribute_js_AttributeCore.js.html#l443"><code>attribute/js/AttributeCore.js:443</code></a> |
|
7478 |
|
7479 </p> |
|
7480 |
|
7481 |
|
7482 |
|
7483 |
|
7484 |
|
7485 </div> |
|
7486 |
|
7487 <div class="description"> |
|
7488 <p>Provides the common implementation for the public set and protected _set methods.</p> |
|
7489 |
|
7490 <p>See <a href="#method_set">set</a> for argument details.</p> |
|
7491 </div> |
|
7492 |
|
7493 |
|
7494 <div class="params"> |
|
7495 <h4>Parameters:</h4> |
|
7496 |
|
7497 <ul class="params-list"> |
|
7498 |
|
7499 <li class="param"> |
|
7500 |
|
7501 <code class="param-name">name</code> |
|
7502 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7503 |
|
7504 |
|
7505 |
|
7506 |
|
7507 <div class="param-description"> |
|
7508 <p>The name of the attribute.</p> |
|
7509 </div> |
|
7510 |
|
7511 |
|
7512 </li> |
|
7513 |
|
7514 <li class="param"> |
|
7515 |
|
7516 <code class="param-name">value</code> |
|
7517 <span class="type">Any</span> |
|
7518 |
|
7519 |
|
7520 |
|
7521 |
|
7522 <div class="param-description"> |
|
7523 <p>The value to set the attribute to.</p> |
|
7524 </div> |
|
7525 |
|
7526 |
|
7527 </li> |
|
7528 |
|
7529 <li class="param"> |
|
7530 |
|
7531 <code class="param-name optional">[opts]</code> |
|
7532 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7533 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
7534 |
|
7535 |
|
7536 |
|
7537 |
|
7538 <div class="param-description"> |
|
7539 <p>Optional data providing the circumstances for the change.</p> |
|
7540 </div> |
|
7541 |
|
7542 |
|
7543 </li> |
|
7544 |
|
7545 <li class="param"> |
|
7546 |
|
7547 <code class="param-name">force</code> |
|
7548 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
7549 |
|
7550 |
|
7551 |
|
7552 |
|
7553 <div class="param-description"> |
|
7554 <p>If true, allows the caller to set values for |
|
7555 readOnly or writeOnce attributes which have already been set.</p> |
|
7556 </div> |
|
7557 |
|
7558 |
|
7559 </li> |
|
7560 |
|
7561 </ul> |
|
7562 </div> |
|
7563 |
|
7564 |
|
7565 |
|
7566 <div class="returns"> |
|
7567 <h4>Returns:</h4> |
|
7568 |
|
7569 <div class="returns-description"> |
|
7570 |
|
7571 |
|
7572 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
7573 |
|
7574 A reference to the host object. |
|
7575 |
|
7576 </div> |
|
7577 </div> |
|
7578 |
|
7579 |
|
7580 |
|
7581 </div> |
|
7582 |
|
7583 |
|
7584 <div id="method__setAttrs" class="method item protected inherited"> |
|
7585 <h3 class="name"><code>_setAttrs</code></h3> |
|
7586 |
|
7587 |
|
7588 <div class="args"> |
|
7589 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7590 |
|
7591 <li class="arg"> |
|
7592 |
|
7593 <code>attrs</code> |
|
7594 |
|
7595 </li> |
|
7596 |
|
7597 <li class="arg"> |
|
7598 |
|
7599 <code class="optional">[opts]</code> |
|
7600 |
|
7601 </li> |
|
7602 |
|
7603 </ul><span class="paren">)</span> |
|
7604 </div> |
|
7605 |
|
7606 |
|
7607 |
|
7608 <span class="returns-inline"> |
|
7609 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7610 </span> |
|
7611 |
|
7612 |
|
7613 |
|
7614 |
|
7615 |
|
7616 <span class="flag protected">protected</span> |
|
7617 |
|
7618 |
|
7619 |
|
7620 |
|
7621 |
|
7622 |
|
7623 |
|
7624 <span class="flag chainable">chainable</span> |
|
7625 |
|
7626 |
|
7627 |
|
7628 |
|
7629 <div class="meta"> |
|
7630 |
|
7631 <p>Inherited from |
|
7632 <a href="../classes/AttributeObservable.html#method__setAttrs"> |
|
7633 AttributeObservable |
|
7634 </a> |
|
7635 |
|
7636 but overwritten in |
|
7637 |
|
7638 |
|
7639 |
|
7640 <a href="../files/attribute_js_AttributeCore.js.html#l742"><code>attribute/js/AttributeCore.js:742</code></a> |
|
7641 |
|
7642 </p> |
|
7643 |
|
7644 |
|
7645 |
|
7646 |
|
7647 |
|
7648 </div> |
|
7649 |
|
7650 <div class="description"> |
|
7651 <p>Implementation behind the public setAttrs method, to set multiple attribute values.</p> |
|
7652 </div> |
|
7653 |
|
7654 |
|
7655 <div class="params"> |
|
7656 <h4>Parameters:</h4> |
|
7657 |
|
7658 <ul class="params-list"> |
|
7659 |
|
7660 <li class="param"> |
|
7661 |
|
7662 <code class="param-name">attrs</code> |
|
7663 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7664 |
|
7665 |
|
7666 |
|
7667 |
|
7668 <div class="param-description"> |
|
7669 <p>An object with attributes name/value pairs.</p> |
|
7670 </div> |
|
7671 |
|
7672 |
|
7673 </li> |
|
7674 |
|
7675 <li class="param"> |
|
7676 |
|
7677 <code class="param-name optional">[opts]</code> |
|
7678 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7679 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
7680 |
|
7681 |
|
7682 |
|
7683 |
|
7684 <div class="param-description"> |
|
7685 <p>Optional data providing the circumstances for the change</p> |
|
7686 </div> |
|
7687 |
|
7688 |
|
7689 </li> |
|
7690 |
|
7691 </ul> |
|
7692 </div> |
|
7693 |
|
7694 |
|
7695 |
|
7696 <div class="returns"> |
|
7697 <h4>Returns:</h4> |
|
7698 |
|
7699 <div class="returns-description"> |
|
7700 |
|
7701 |
|
7702 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
7703 |
|
7704 A reference to the host object. |
|
7705 |
|
7706 </div> |
|
7707 </div> |
|
7708 |
|
7709 |
|
7710 |
|
7711 </div> |
|
7712 |
|
7713 |
|
7714 <div id="method__setAttrVal" class="method item private inherited"> |
|
7715 <h3 class="name"><code>_setAttrVal</code></h3> |
|
7716 |
|
7717 |
|
7718 <div class="args"> |
|
7719 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7720 |
|
7721 <li class="arg"> |
|
7722 |
|
7723 <code>attrName</code> |
|
7724 |
|
7725 </li> |
|
7726 |
|
7727 <li class="arg"> |
|
7728 |
|
7729 <code>subAttrName</code> |
|
7730 |
|
7731 </li> |
|
7732 |
|
7733 <li class="arg"> |
|
7734 |
|
7735 <code>prevVal</code> |
|
7736 |
|
7737 </li> |
|
7738 |
|
7739 <li class="arg"> |
|
7740 |
|
7741 <code>newVal</code> |
|
7742 |
|
7743 </li> |
|
7744 |
|
7745 <li class="arg"> |
|
7746 |
|
7747 <code class="optional">[opts]</code> |
|
7748 |
|
7749 </li> |
|
7750 |
|
7751 <li class="arg"> |
|
7752 |
|
7753 <code class="optional">[attrCfg]</code> |
|
7754 |
|
7755 </li> |
|
7756 |
|
7757 </ul><span class="paren">)</span> |
|
7758 </div> |
|
7759 |
|
7760 |
|
7761 |
|
7762 <span class="returns-inline"> |
|
7763 <span class="type">Booolean</span> |
|
7764 </span> |
|
7765 |
|
7766 |
|
7767 |
|
7768 |
|
7769 |
|
7770 <span class="flag private">private</span> |
|
7771 |
|
7772 |
|
7773 |
|
7774 |
|
7775 |
|
7776 |
|
7777 |
|
7778 |
|
7779 |
|
7780 |
|
7781 <div class="meta"> |
|
7782 |
|
7783 |
|
7784 <p>Inherited from |
|
7785 <a href="../classes/AttributeCore.html#method__setAttrVal">AttributeCore</a>: |
|
7786 |
|
7787 |
|
7788 |
|
7789 <a href="../files/attribute_js_AttributeCore.js.html#l640"><code>attribute/js/AttributeCore.js:640</code></a> |
|
7790 |
|
7791 </p> |
|
7792 |
|
7793 |
|
7794 |
|
7795 |
|
7796 |
|
7797 </div> |
|
7798 |
|
7799 <div class="description"> |
|
7800 <p>Updates the stored value of the attribute in the privately held State object, |
|
7801 if validation and setter passes.</p> |
|
7802 </div> |
|
7803 |
|
7804 |
|
7805 <div class="params"> |
|
7806 <h4>Parameters:</h4> |
|
7807 |
|
7808 <ul class="params-list"> |
|
7809 |
|
7810 <li class="param"> |
|
7811 |
|
7812 <code class="param-name">attrName</code> |
|
7813 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7814 |
|
7815 |
|
7816 |
|
7817 |
|
7818 <div class="param-description"> |
|
7819 <p>The attribute name.</p> |
|
7820 </div> |
|
7821 |
|
7822 |
|
7823 </li> |
|
7824 |
|
7825 <li class="param"> |
|
7826 |
|
7827 <code class="param-name">subAttrName</code> |
|
7828 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7829 |
|
7830 |
|
7831 |
|
7832 |
|
7833 <div class="param-description"> |
|
7834 <p>The sub-attribute name, if setting a sub-attribute property ("x.y.z").</p> |
|
7835 </div> |
|
7836 |
|
7837 |
|
7838 </li> |
|
7839 |
|
7840 <li class="param"> |
|
7841 |
|
7842 <code class="param-name">prevVal</code> |
|
7843 <span class="type">Any</span> |
|
7844 |
|
7845 |
|
7846 |
|
7847 |
|
7848 <div class="param-description"> |
|
7849 <p>The currently stored value of the attribute.</p> |
|
7850 </div> |
|
7851 |
|
7852 |
|
7853 </li> |
|
7854 |
|
7855 <li class="param"> |
|
7856 |
|
7857 <code class="param-name">newVal</code> |
|
7858 <span class="type">Any</span> |
|
7859 |
|
7860 |
|
7861 |
|
7862 |
|
7863 <div class="param-description"> |
|
7864 <p>The value which is going to be stored.</p> |
|
7865 </div> |
|
7866 |
|
7867 |
|
7868 </li> |
|
7869 |
|
7870 <li class="param"> |
|
7871 |
|
7872 <code class="param-name optional">[opts]</code> |
|
7873 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7874 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
7875 |
|
7876 |
|
7877 |
|
7878 |
|
7879 <div class="param-description"> |
|
7880 <p>Optional data providing the circumstances for the change.</p> |
|
7881 </div> |
|
7882 |
|
7883 |
|
7884 </li> |
|
7885 |
|
7886 <li class="param"> |
|
7887 |
|
7888 <code class="param-name optional">[attrCfg]</code> |
|
7889 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7890 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
7891 |
|
7892 |
|
7893 |
|
7894 |
|
7895 <div class="param-description"> |
|
7896 <p>Optional config hash for the attribute. This is added for performance along the critical path, |
|
7897 where the calling method has already obtained the config from state.</p> |
|
7898 </div> |
|
7899 |
|
7900 |
|
7901 </li> |
|
7902 |
|
7903 </ul> |
|
7904 </div> |
|
7905 |
|
7906 |
|
7907 |
|
7908 <div class="returns"> |
|
7909 <h4>Returns:</h4> |
|
7910 |
|
7911 <div class="returns-description"> |
|
7912 |
|
7913 |
|
7914 <span class="type">Booolean</span>: |
|
7915 |
|
7916 true if the new attribute value was stored, false if not. |
|
7917 |
|
7918 </div> |
|
7919 </div> |
|
7920 |
|
7921 |
|
7922 |
|
7923 </div> |
|
7924 |
|
7925 |
|
7926 <div id="method__setStateVal" class="method item private inherited"> |
|
7927 <h3 class="name"><code>_setStateVal</code></h3> |
|
7928 |
|
7929 |
|
7930 <div class="args"> |
|
7931 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7932 |
|
7933 <li class="arg"> |
|
7934 |
|
7935 <code>name</code> |
|
7936 |
|
7937 </li> |
|
7938 |
|
7939 <li class="arg"> |
|
7940 |
|
7941 <code>value</code> |
|
7942 |
|
7943 </li> |
|
7944 |
|
7945 </ul><span class="paren">)</span> |
|
7946 </div> |
|
7947 |
|
7948 |
|
7949 |
|
7950 |
|
7951 |
|
7952 |
|
7953 |
|
7954 <span class="flag private">private</span> |
|
7955 |
|
7956 |
|
7957 |
|
7958 |
|
7959 |
|
7960 |
|
7961 |
|
7962 |
|
7963 |
|
7964 |
|
7965 <div class="meta"> |
|
7966 |
|
7967 |
|
7968 <p>Inherited from |
|
7969 <a href="../classes/AttributeCore.html#method__setStateVal">AttributeCore</a>: |
|
7970 |
|
7971 |
|
7972 |
|
7973 <a href="../files/attribute_js_AttributeCore.js.html#l622"><code>attribute/js/AttributeCore.js:622</code></a> |
|
7974 |
|
7975 </p> |
|
7976 |
|
7977 |
|
7978 |
|
7979 |
|
7980 |
|
7981 </div> |
|
7982 |
|
7983 <div class="description"> |
|
7984 <p>Sets the stored value for the attribute, in either the |
|
7985 internal state object, or the state proxy if it exits</p> |
|
7986 </div> |
|
7987 |
|
7988 |
|
7989 <div class="params"> |
|
7990 <h4>Parameters:</h4> |
|
7991 |
|
7992 <ul class="params-list"> |
|
7993 |
|
7994 <li class="param"> |
|
7995 |
|
7996 <code class="param-name">name</code> |
|
7997 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7998 |
|
7999 |
|
8000 |
|
8001 |
|
8002 <div class="param-description"> |
|
8003 <p>The name of the attribute</p> |
|
8004 </div> |
|
8005 |
|
8006 |
|
8007 </li> |
|
8008 |
|
8009 <li class="param"> |
|
8010 |
|
8011 <code class="param-name">value</code> |
|
8012 <span class="type">Any</span> |
|
8013 |
|
8014 |
|
8015 |
|
8016 |
|
8017 <div class="param-description"> |
|
8018 <p>The value of the attribute</p> |
|
8019 </div> |
|
8020 |
|
8021 |
|
8022 </li> |
|
8023 |
|
8024 </ul> |
|
8025 </div> |
|
8026 |
|
8027 |
|
8028 |
|
8029 |
|
8030 |
|
8031 </div> |
|
8032 |
|
8033 |
|
8034 <div id="method__uiSetCaption" class="method item protected"> |
|
8035 <h3 class="name"><code>_uiSetCaption</code></h3> |
|
8036 |
|
8037 |
|
8038 <div class="args"> |
|
8039 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8040 |
|
8041 <li class="arg"> |
|
8042 |
|
8043 <code>htmlContent</code> |
|
8044 |
|
8045 </li> |
|
8046 |
|
8047 </ul><span class="paren">)</span> |
|
8048 </div> |
|
8049 |
|
8050 |
|
8051 |
|
8052 |
|
8053 |
|
8054 |
|
8055 |
|
8056 <span class="flag protected">protected</span> |
|
8057 |
|
8058 |
|
8059 |
|
8060 |
|
8061 |
|
8062 |
|
8063 |
|
8064 |
|
8065 |
|
8066 |
|
8067 <div class="meta"> |
|
8068 |
|
8069 |
|
8070 |
|
8071 <p> |
|
8072 |
|
8073 Defined in |
|
8074 |
|
8075 |
|
8076 |
|
8077 |
|
8078 <a href="../files/datatable_js_table.js.html#l520"><code>datatable/js/table.js:520</code></a> |
|
8079 |
|
8080 </p> |
|
8081 |
|
8082 |
|
8083 |
|
8084 |
|
8085 |
|
8086 <p>Available since 3.5.0</p> |
|
8087 |
|
8088 </div> |
|
8089 |
|
8090 <div class="description"> |
|
8091 <p>Creates, removes, or updates the table's <code><caption></code> element per the input |
|
8092 value. Empty values result in the caption being removed.</p> |
|
8093 </div> |
|
8094 |
|
8095 |
|
8096 <div class="params"> |
|
8097 <h4>Parameters:</h4> |
|
8098 |
|
8099 <ul class="params-list"> |
|
8100 |
|
8101 <li class="param"> |
|
8102 |
|
8103 <code class="param-name">htmlContent</code> |
|
8104 <span class="type">HTML</span> |
|
8105 |
|
8106 |
|
8107 |
|
8108 |
|
8109 <div class="param-description"> |
|
8110 <p>The content to populate the table caption</p> |
|
8111 </div> |
|
8112 |
|
8113 |
|
8114 </li> |
|
8115 |
|
8116 </ul> |
|
8117 </div> |
|
8118 |
|
8119 |
|
8120 |
|
8121 |
|
8122 |
|
8123 </div> |
|
8124 |
|
8125 |
|
8126 <div id="method__uiSetSummary" class="method item protected"> |
|
8127 <h3 class="name"><code>_uiSetSummary</code></h3> |
|
8128 |
|
8129 |
|
8130 <span class="paren">()</span> |
|
8131 |
|
8132 |
|
8133 |
|
8134 |
|
8135 |
|
8136 |
|
8137 |
|
8138 <span class="flag protected">protected</span> |
|
8139 |
|
8140 |
|
8141 |
|
8142 |
|
8143 |
|
8144 |
|
8145 |
|
8146 |
|
8147 |
|
8148 |
|
8149 <div class="meta"> |
|
8150 |
|
8151 |
|
8152 |
|
8153 <p> |
|
8154 |
|
8155 Defined in |
|
8156 |
|
8157 |
|
8158 |
|
8159 |
|
8160 <a href="../files/datatable_js_table.js.html#l552"><code>datatable/js/table.js:552</code></a> |
|
8161 |
|
8162 </p> |
|
8163 |
|
8164 |
|
8165 |
|
8166 |
|
8167 |
|
8168 <p>Available since 3.5.0</p> |
|
8169 |
|
8170 </div> |
|
8171 |
|
8172 <div class="description"> |
|
8173 <p>Updates the table's <code>summary</code> attribute with the input value.</p> |
|
8174 </div> |
|
8175 |
|
8176 |
|
8177 |
|
8178 |
|
8179 |
|
8180 |
|
8181 </div> |
|
8182 |
|
8183 |
|
8184 <div id="method__uiSetWidth" class="method item protected"> |
|
8185 <h3 class="name"><code>_uiSetWidth</code></h3> |
|
8186 |
|
8187 |
|
8188 <div class="args"> |
|
8189 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8190 |
|
8191 <li class="arg"> |
|
8192 |
|
8193 <code>width</code> |
|
8194 |
|
8195 </li> |
|
8196 |
|
8197 </ul><span class="paren">)</span> |
|
8198 </div> |
|
8199 |
|
8200 |
|
8201 |
|
8202 |
|
8203 |
|
8204 |
|
8205 |
|
8206 <span class="flag protected">protected</span> |
|
8207 |
|
8208 |
|
8209 |
|
8210 |
|
8211 |
|
8212 |
|
8213 |
|
8214 |
|
8215 |
|
8216 |
|
8217 <div class="meta"> |
|
8218 |
|
8219 |
|
8220 |
|
8221 <p> |
|
8222 |
|
8223 Defined in |
|
8224 |
|
8225 |
|
8226 |
|
8227 |
|
8228 <a href="../files/datatable_js_table.js.html#l567"><code>datatable/js/table.js:567</code></a> |
|
8229 |
|
8230 </p> |
|
8231 |
|
8232 |
|
8233 |
|
8234 |
|
8235 |
|
8236 <p>Available since 3.5.0</p> |
|
8237 |
|
8238 </div> |
|
8239 |
|
8240 <div class="description"> |
|
8241 <p>Sets the <code>boundingBox</code> and table width per the input value.</p> |
|
8242 </div> |
|
8243 |
|
8244 |
|
8245 <div class="params"> |
|
8246 <h4>Parameters:</h4> |
|
8247 |
|
8248 <ul class="params-list"> |
|
8249 |
|
8250 <li class="param"> |
|
8251 |
|
8252 <code class="param-name">width</code> |
|
8253 <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> |
|
8254 |
|
8255 |
|
8256 |
|
8257 |
|
8258 <div class="param-description"> |
|
8259 <p>The width to make the table</p> |
|
8260 </div> |
|
8261 |
|
8262 |
|
8263 </li> |
|
8264 |
|
8265 </ul> |
|
8266 </div> |
|
8267 |
|
8268 |
|
8269 |
|
8270 |
|
8271 |
|
8272 </div> |
|
8273 |
|
8274 |
|
8275 <div id="method__validateView" class="method item protected"> |
|
8276 <h3 class="name"><code>_validateView</code></h3> |
|
8277 |
|
8278 |
|
8279 <div class="args"> |
|
8280 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8281 |
|
8282 <li class="arg"> |
|
8283 |
|
8284 <code>val</code> |
|
8285 |
|
8286 </li> |
|
8287 |
|
8288 </ul><span class="paren">)</span> |
|
8289 </div> |
|
8290 |
|
8291 |
|
8292 |
|
8293 <span class="returns-inline"> |
|
8294 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
8295 </span> |
|
8296 |
|
8297 |
|
8298 |
|
8299 |
|
8300 |
|
8301 <span class="flag protected">protected</span> |
|
8302 |
|
8303 |
|
8304 |
|
8305 |
|
8306 |
|
8307 |
|
8308 |
|
8309 |
|
8310 |
|
8311 |
|
8312 <div class="meta"> |
|
8313 |
|
8314 |
|
8315 |
|
8316 <p> |
|
8317 |
|
8318 Defined in |
|
8319 |
|
8320 |
|
8321 |
|
8322 |
|
8323 <a href="../files/datatable_js_table.js.html#l588"><code>datatable/js/table.js:588</code></a> |
|
8324 |
|
8325 </p> |
|
8326 |
|
8327 |
|
8328 |
|
8329 |
|
8330 |
|
8331 </div> |
|
8332 |
|
8333 <div class="description"> |
|
8334 <p>Ensures that the input is a View class or at least has a <code>render</code> method.</p> |
|
8335 </div> |
|
8336 |
|
8337 |
|
8338 <div class="params"> |
|
8339 <h4>Parameters:</h4> |
|
8340 |
|
8341 <ul class="params-list"> |
|
8342 |
|
8343 <li class="param"> |
|
8344 |
|
8345 <code class="param-name">val</code> |
|
8346 <span class="type"><a href="../classes/View.html" class="crosslink">View</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
8347 |
|
8348 |
|
8349 |
|
8350 |
|
8351 <div class="param-description"> |
|
8352 <p>The View class</p> |
|
8353 </div> |
|
8354 |
|
8355 |
|
8356 </li> |
|
8357 |
|
8358 </ul> |
|
8359 </div> |
|
8360 |
|
8361 |
|
8362 |
|
8363 <div class="returns"> |
|
8364 <h4>Returns:</h4> |
|
8365 |
|
8366 <div class="returns-description"> |
|
8367 |
|
8368 |
|
8369 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
8370 |
|
8371 |
|
8372 </div> |
|
8373 </div> |
|
8374 |
|
8375 |
|
8376 |
|
8377 </div> |
|
8378 |
|
8379 |
|
8380 <div id="method_addAttr" class="method item inherited"> |
|
8381 <h3 class="name"><code>addAttr</code></h3> |
|
8382 |
|
8383 |
|
8384 <div class="args"> |
|
8385 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8386 |
|
8387 <li class="arg"> |
|
8388 |
|
8389 <code>name</code> |
|
8390 |
|
8391 </li> |
|
8392 |
|
8393 <li class="arg"> |
|
8394 |
|
8395 <code>config</code> |
|
8396 |
|
8397 </li> |
|
8398 |
|
8399 <li class="arg"> |
|
8400 |
|
8401 <code>lazy</code> |
|
8402 |
|
8403 </li> |
|
8404 |
|
8405 </ul><span class="paren">)</span> |
|
8406 </div> |
|
8407 |
|
8408 |
|
8409 |
|
8410 <span class="returns-inline"> |
|
8411 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8412 </span> |
|
8413 |
|
8414 |
|
8415 |
|
8416 |
|
8417 |
|
8418 |
|
8419 |
|
8420 |
|
8421 |
|
8422 |
|
8423 |
|
8424 <span class="flag chainable">chainable</span> |
|
8425 |
|
8426 |
|
8427 |
|
8428 |
|
8429 <div class="meta"> |
|
8430 |
|
8431 |
|
8432 <p>Inherited from |
|
8433 <a href="../classes/AttributeCore.html#method_addAttr">AttributeCore</a>: |
|
8434 |
|
8435 |
|
8436 |
|
8437 <a href="../files/attribute_js_AttributeCore.js.html#l157"><code>attribute/js/AttributeCore.js:157</code></a> |
|
8438 |
|
8439 </p> |
|
8440 |
|
8441 |
|
8442 |
|
8443 |
|
8444 |
|
8445 </div> |
|
8446 |
|
8447 <div class="description"> |
|
8448 <p> |
|
8449 Adds an attribute with the provided configuration to the host object. |
|
8450 </p> |
|
8451 |
|
8452 <p> |
|
8453 The config argument object supports the following properties: |
|
8454 </p> |
|
8455 |
|
8456 <dl> |
|
8457 <dt>value <Any></dt> |
|
8458 <dd>The initial value to set on the attribute</dd> |
|
8459 |
|
8460 <dt>valueFn <Function | String></dt> |
|
8461 <dd> |
|
8462 <p>A function, which will return the initial value to set on the attribute. This is useful |
|
8463 for cases where the attribute configuration is defined statically, but needs to |
|
8464 reference the host instance ("this") to obtain an initial value. If both the value and valueFn properties are defined, |
|
8465 the value returned by the valueFn has precedence over the value property, unless it returns undefined, in which |
|
8466 case the value property is used.</p> |
|
8467 |
|
8468 <p>valueFn can also be set to a string, representing the name of the instance method to be used to retrieve the value.</p> |
|
8469 </dd> |
|
8470 |
|
8471 <dt>readOnly <boolean></dt> |
|
8472 <dd>Whether or not the attribute is read only. Attributes having readOnly set to true |
|
8473 cannot be modified by invoking the set method.</dd> |
|
8474 |
|
8475 <dt>writeOnce <boolean> or <string></dt> |
|
8476 <dd> |
|
8477 Whether or not the attribute is "write once". Attributes having writeOnce set to true, |
|
8478 can only have their values set once, be it through the default configuration, |
|
8479 constructor configuration arguments, or by invoking set. |
|
8480 <p>The writeOnce attribute can also be set to the string "initOnly", |
|
8481 in which case the attribute can only be set during initialization |
|
8482 (when used with Base, this means it can only be set during construction)</p> |
|
8483 </dd> |
|
8484 |
|
8485 <dt>setter <Function | String></dt> |
|
8486 <dd> |
|
8487 <p>The setter function used to massage or normalize the value passed to the set method for the attribute. |
|
8488 The value returned by the setter will be the final stored value. Returning |
|
8489 <a href="#property_Attribute.INVALID_VALUE">Attribute.INVALID_VALUE</a>, from the setter will prevent |
|
8490 the value from being stored. |
|
8491 </p> |
|
8492 |
|
8493 <p>setter can also be set to a string, representing the name of the instance method to be used as the setter function.</p> |
|
8494 </dd> |
|
8495 |
|
8496 <dt>getter <Function | String></dt> |
|
8497 <dd> |
|
8498 <p> |
|
8499 The getter function used to massage or normalize the value returned by the get method for the attribute. |
|
8500 The value returned by the getter function is the value which will be returned to the user when they |
|
8501 invoke get. |
|
8502 </p> |
|
8503 |
|
8504 <p>getter can also be set to a string, representing the name of the instance method to be used as the getter function.</p> |
|
8505 </dd> |
|
8506 |
|
8507 <dt>validator <Function | String></dt> |
|
8508 <dd> |
|
8509 <p> |
|
8510 The validator function invoked prior to setting the stored value. Returning |
|
8511 false from the validator function will prevent the value from being stored. |
|
8512 </p> |
|
8513 |
|
8514 <p>validator can also be set to a string, representing the name of the instance method to be used as the validator function.</p> |
|
8515 </dd> |
|
8516 |
|
8517 <dt>lazyAdd <boolean></dt> |
|
8518 <dd>Whether or not to delay initialization of the attribute until the first call to get/set it. |
|
8519 This flag can be used to over-ride lazy initialization on a per attribute basis, when adding multiple attributes through |
|
8520 the <a href="#method_addAttrs">addAttrs</a> method.</dd> |
|
8521 |
|
8522 </dl> |
|
8523 |
|
8524 <p>The setter, getter and validator are invoked with the value and name passed in as the first and second arguments, and with |
|
8525 the context ("this") set to the host object.</p> |
|
8526 |
|
8527 <p>Configuration properties outside of the list mentioned above are considered private properties used internally by attribute, |
|
8528 and are not intended for public use.</p> |
|
8529 </div> |
|
8530 |
|
8531 |
|
8532 <div class="params"> |
|
8533 <h4>Parameters:</h4> |
|
8534 |
|
8535 <ul class="params-list"> |
|
8536 |
|
8537 <li class="param"> |
|
8538 |
|
8539 <code class="param-name">name</code> |
|
8540 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8541 |
|
8542 |
|
8543 |
|
8544 |
|
8545 <div class="param-description"> |
|
8546 <p>The name of the attribute.</p> |
|
8547 </div> |
|
8548 |
|
8549 |
|
8550 </li> |
|
8551 |
|
8552 <li class="param"> |
|
8553 |
|
8554 <code class="param-name">config</code> |
|
8555 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8556 |
|
8557 |
|
8558 |
|
8559 |
|
8560 <div class="param-description"> |
|
8561 <p>An object with attribute configuration property/value pairs, specifying the configuration for the attribute.</p> |
|
8562 |
|
8563 <p> |
|
8564 <strong>NOTE:</strong> The configuration object is modified when adding an attribute, so if you need |
|
8565 to protect the original values, you will need to merge the object. |
|
8566 </p> |
|
8567 </div> |
|
8568 |
|
8569 |
|
8570 </li> |
|
8571 |
|
8572 <li class="param"> |
|
8573 |
|
8574 <code class="param-name">lazy</code> |
|
8575 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
8576 |
|
8577 |
|
8578 |
|
8579 |
|
8580 <div class="param-description"> |
|
8581 <p>(optional) Whether or not to add this attribute lazily (on the first call to get/set).</p> |
|
8582 </div> |
|
8583 |
|
8584 |
|
8585 </li> |
|
8586 |
|
8587 </ul> |
|
8588 </div> |
|
8589 |
|
8590 |
|
8591 |
|
8592 <div class="returns"> |
|
8593 <h4>Returns:</h4> |
|
8594 |
|
8595 <div class="returns-description"> |
|
8596 |
|
8597 |
|
8598 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
8599 |
|
8600 A reference to the host object. |
|
8601 |
|
8602 </div> |
|
8603 </div> |
|
8604 |
|
8605 |
|
8606 |
|
8607 </div> |
|
8608 |
|
8609 |
|
8610 <div id="method_addAttrs" class="method item inherited"> |
|
8611 <h3 class="name"><code>addAttrs</code></h3> |
|
8612 |
|
8613 |
|
8614 <div class="args"> |
|
8615 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8616 |
|
8617 <li class="arg"> |
|
8618 |
|
8619 <code>cfgs</code> |
|
8620 |
|
8621 </li> |
|
8622 |
|
8623 <li class="arg"> |
|
8624 |
|
8625 <code>values</code> |
|
8626 |
|
8627 </li> |
|
8628 |
|
8629 <li class="arg"> |
|
8630 |
|
8631 <code>lazy</code> |
|
8632 |
|
8633 </li> |
|
8634 |
|
8635 </ul><span class="paren">)</span> |
|
8636 </div> |
|
8637 |
|
8638 |
|
8639 |
|
8640 <span class="returns-inline"> |
|
8641 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8642 </span> |
|
8643 |
|
8644 |
|
8645 |
|
8646 |
|
8647 |
|
8648 |
|
8649 |
|
8650 |
|
8651 |
|
8652 |
|
8653 |
|
8654 <span class="flag chainable">chainable</span> |
|
8655 |
|
8656 |
|
8657 |
|
8658 |
|
8659 <div class="meta"> |
|
8660 |
|
8661 |
|
8662 <p>Inherited from |
|
8663 <a href="../classes/AttributeCore.html#method_addAttrs">AttributeCore</a>: |
|
8664 |
|
8665 |
|
8666 |
|
8667 <a href="../files/attribute_js_AttributeCore.js.html#l805"><code>attribute/js/AttributeCore.js:805</code></a> |
|
8668 |
|
8669 </p> |
|
8670 |
|
8671 |
|
8672 |
|
8673 |
|
8674 |
|
8675 </div> |
|
8676 |
|
8677 <div class="description"> |
|
8678 <p>Configures a group of attributes, and sets initial values.</p> |
|
8679 |
|
8680 <p> |
|
8681 <strong>NOTE:</strong> This method does not isolate the configuration object by merging/cloning. |
|
8682 The caller is responsible for merging/cloning the configuration object if required. |
|
8683 </p> |
|
8684 </div> |
|
8685 |
|
8686 |
|
8687 <div class="params"> |
|
8688 <h4>Parameters:</h4> |
|
8689 |
|
8690 <ul class="params-list"> |
|
8691 |
|
8692 <li class="param"> |
|
8693 |
|
8694 <code class="param-name">cfgs</code> |
|
8695 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8696 |
|
8697 |
|
8698 |
|
8699 |
|
8700 <div class="param-description"> |
|
8701 <p>An object with attribute name/configuration pairs.</p> |
|
8702 </div> |
|
8703 |
|
8704 |
|
8705 </li> |
|
8706 |
|
8707 <li class="param"> |
|
8708 |
|
8709 <code class="param-name">values</code> |
|
8710 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8711 |
|
8712 |
|
8713 |
|
8714 |
|
8715 <div class="param-description"> |
|
8716 <p>An object with attribute name/value pairs, defining the initial values to apply. |
|
8717 Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p> |
|
8718 </div> |
|
8719 |
|
8720 |
|
8721 </li> |
|
8722 |
|
8723 <li class="param"> |
|
8724 |
|
8725 <code class="param-name">lazy</code> |
|
8726 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
8727 |
|
8728 |
|
8729 |
|
8730 |
|
8731 <div class="param-description"> |
|
8732 <p>Whether or not to delay the intialization of these attributes until the first call to get/set. |
|
8733 Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration. |
|
8734 See <a href="#method_addAttr">addAttr</a>.</p> |
|
8735 </div> |
|
8736 |
|
8737 |
|
8738 </li> |
|
8739 |
|
8740 </ul> |
|
8741 </div> |
|
8742 |
|
8743 |
|
8744 |
|
8745 <div class="returns"> |
|
8746 <h4>Returns:</h4> |
|
8747 |
|
8748 <div class="returns-description"> |
|
8749 |
|
8750 |
|
8751 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
8752 |
|
8753 A reference to the host object. |
|
8754 |
|
8755 </div> |
|
8756 </div> |
|
8757 |
|
8758 |
|
8759 |
|
8760 </div> |
|
8761 |
|
8762 |
|
8763 <div id="method_addTarget" class="method item inherited"> |
|
8764 <h3 class="name"><code>addTarget</code></h3> |
|
8765 |
|
8766 |
|
8767 <div class="args"> |
|
8768 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8769 |
|
8770 <li class="arg"> |
|
8771 |
|
8772 <code>o</code> |
|
8773 |
|
8774 </li> |
|
8775 |
|
8776 </ul><span class="paren">)</span> |
|
8777 </div> |
|
8778 |
|
8779 |
|
8780 |
|
8781 |
|
8782 |
|
8783 |
|
8784 |
|
8785 |
|
8786 |
|
8787 |
|
8788 |
|
8789 |
|
8790 |
|
8791 |
|
8792 |
|
8793 |
|
8794 <div class="meta"> |
|
8795 |
|
8796 |
|
8797 <p>Inherited from |
|
8798 <a href="../classes/EventTarget.html#method_addTarget">EventTarget</a>: |
|
8799 |
|
8800 |
|
8801 |
|
8802 <a href="../files/event-custom_js_event-facade.js.html#l455"><code>event-custom/js/event-facade.js:455</code></a> |
|
8803 |
|
8804 </p> |
|
8805 |
|
8806 |
|
8807 |
|
8808 |
|
8809 |
|
8810 </div> |
|
8811 |
|
8812 <div class="description"> |
|
8813 <p>Registers another EventTarget as a bubble target. Bubble order |
|
8814 is determined by the order registered. Multiple targets can |
|
8815 be specified.</p> |
|
8816 |
|
8817 <p>Events can only bubble if emitFacade is true.</p> |
|
8818 |
|
8819 <p>Included in the event-custom-complex submodule.</p> |
|
8820 </div> |
|
8821 |
|
8822 |
|
8823 <div class="params"> |
|
8824 <h4>Parameters:</h4> |
|
8825 |
|
8826 <ul class="params-list"> |
|
8827 |
|
8828 <li class="param"> |
|
8829 |
|
8830 <code class="param-name">o</code> |
|
8831 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
8832 |
|
8833 |
|
8834 |
|
8835 |
|
8836 <div class="param-description"> |
|
8837 <p>the target to add</p> |
|
8838 </div> |
|
8839 |
|
8840 |
|
8841 </li> |
|
8842 |
|
8843 </ul> |
|
8844 </div> |
|
8845 |
|
8846 |
|
8847 |
|
8848 |
|
8849 |
|
8850 </div> |
|
8851 |
|
8852 |
|
8853 <div id="method_after" class="method item inherited"> |
|
8854 <h3 class="name"><code>after</code></h3> |
|
8855 |
|
8856 |
|
8857 <div class="args"> |
|
8858 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8859 |
|
8860 <li class="arg"> |
|
8861 |
|
8862 <code>type</code> |
|
8863 |
|
8864 </li> |
|
8865 |
|
8866 <li class="arg"> |
|
8867 |
|
8868 <code>fn</code> |
|
8869 |
|
8870 </li> |
|
8871 |
|
8872 <li class="arg"> |
|
8873 |
|
8874 <code class="optional">[context]</code> |
|
8875 |
|
8876 </li> |
|
8877 |
|
8878 <li class="arg"> |
|
8879 |
|
8880 <code class="optional">[arg*]</code> |
|
8881 |
|
8882 </li> |
|
8883 |
|
8884 </ul><span class="paren">)</span> |
|
8885 </div> |
|
8886 |
|
8887 |
|
8888 |
|
8889 <span class="returns-inline"> |
|
8890 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
8891 </span> |
|
8892 |
|
8893 |
|
8894 |
|
8895 |
|
8896 |
|
8897 |
|
8898 |
|
8899 |
|
8900 |
|
8901 |
|
8902 |
|
8903 |
|
8904 |
|
8905 |
|
8906 <div class="meta"> |
|
8907 |
|
8908 |
|
8909 <p>Inherited from |
|
8910 <a href="../classes/EventTarget.html#method_after">EventTarget</a>: |
|
8911 |
|
8912 |
|
8913 |
|
8914 <a href="../files/event-custom_js_event-target.js.html#l833"><code>event-custom/js/event-target.js:833</code></a> |
|
8915 |
|
8916 </p> |
|
8917 |
|
8918 |
|
8919 |
|
8920 |
|
8921 |
|
8922 </div> |
|
8923 |
|
8924 <div class="description"> |
|
8925 <p>Subscribe to a custom event hosted by this object. The |
|
8926 supplied callback will execute after any listeners add |
|
8927 via the subscribe method, and after the default function, |
|
8928 if configured for the event, has executed.</p> |
|
8929 </div> |
|
8930 |
|
8931 |
|
8932 <div class="params"> |
|
8933 <h4>Parameters:</h4> |
|
8934 |
|
8935 <ul class="params-list"> |
|
8936 |
|
8937 <li class="param"> |
|
8938 |
|
8939 <code class="param-name">type</code> |
|
8940 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8941 |
|
8942 |
|
8943 |
|
8944 |
|
8945 <div class="param-description"> |
|
8946 <p>The name of the event</p> |
|
8947 </div> |
|
8948 |
|
8949 |
|
8950 </li> |
|
8951 |
|
8952 <li class="param"> |
|
8953 |
|
8954 <code class="param-name">fn</code> |
|
8955 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
8956 |
|
8957 |
|
8958 |
|
8959 |
|
8960 <div class="param-description"> |
|
8961 <p>The callback to execute in response to the event</p> |
|
8962 </div> |
|
8963 |
|
8964 |
|
8965 </li> |
|
8966 |
|
8967 <li class="param"> |
|
8968 |
|
8969 <code class="param-name optional">[context]</code> |
|
8970 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8971 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
8972 |
|
8973 |
|
8974 |
|
8975 |
|
8976 <div class="param-description"> |
|
8977 <p>Override <code>this</code> object in callback</p> |
|
8978 </div> |
|
8979 |
|
8980 |
|
8981 </li> |
|
8982 |
|
8983 <li class="param"> |
|
8984 |
|
8985 <code class="param-name optional">[arg*]</code> |
|
8986 <span class="type">Any</span> |
|
8987 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
8988 |
|
8989 |
|
8990 |
|
8991 |
|
8992 <div class="param-description"> |
|
8993 <p>0..n additional arguments to supply to the subscriber</p> |
|
8994 </div> |
|
8995 |
|
8996 |
|
8997 </li> |
|
8998 |
|
8999 </ul> |
|
9000 </div> |
|
9001 |
|
9002 |
|
9003 |
|
9004 <div class="returns"> |
|
9005 <h4>Returns:</h4> |
|
9006 |
|
9007 <div class="returns-description"> |
|
9008 |
|
9009 |
|
9010 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
9011 |
|
9012 A subscription handle capable of detaching the |
|
9013 subscription |
|
9014 |
|
9015 </div> |
|
9016 </div> |
|
9017 |
|
9018 |
|
9019 |
|
9020 </div> |
|
9021 |
|
9022 |
|
9023 <div id="method_attachEvents" class="method item inherited"> |
|
9024 <h3 class="name"><code>attachEvents</code></h3> |
|
9025 |
|
9026 |
|
9027 <div class="args"> |
|
9028 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9029 |
|
9030 <li class="arg"> |
|
9031 |
|
9032 <code class="optional">[events]</code> |
|
9033 |
|
9034 </li> |
|
9035 |
|
9036 </ul><span class="paren">)</span> |
|
9037 </div> |
|
9038 |
|
9039 |
|
9040 |
|
9041 |
|
9042 |
|
9043 |
|
9044 |
|
9045 |
|
9046 |
|
9047 |
|
9048 |
|
9049 |
|
9050 |
|
9051 <span class="flag chainable">chainable</span> |
|
9052 |
|
9053 |
|
9054 |
|
9055 |
|
9056 <div class="meta"> |
|
9057 |
|
9058 |
|
9059 <p>Inherited from |
|
9060 <a href="../classes/View.html#method_attachEvents">View</a>: |
|
9061 |
|
9062 |
|
9063 |
|
9064 <a href="../files/app_js_view.js.html#l181"><code>app/js/view.js:181</code></a> |
|
9065 |
|
9066 </p> |
|
9067 |
|
9068 |
|
9069 |
|
9070 |
|
9071 |
|
9072 </div> |
|
9073 |
|
9074 <div class="description"> |
|
9075 <p>Attaches delegated event handlers to this view's container element. This |
|
9076 method is called internally to subscribe to events configured in the |
|
9077 <code>events</code> attribute when the view is initialized.</p> |
|
9078 |
|
9079 <p>You may override this method to customize the event attaching logic.</p> |
|
9080 </div> |
|
9081 |
|
9082 |
|
9083 <div class="params"> |
|
9084 <h4>Parameters:</h4> |
|
9085 |
|
9086 <ul class="params-list"> |
|
9087 |
|
9088 <li class="param"> |
|
9089 |
|
9090 <code class="param-name optional">[events]</code> |
|
9091 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9092 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9093 |
|
9094 |
|
9095 |
|
9096 |
|
9097 <div class="param-description"> |
|
9098 <p>Hash of events to attach. See the docs for the |
|
9099 <code>events</code> attribute for details on the format. If not specified, this |
|
9100 view's <code>events</code> property will be used.</p> |
|
9101 </div> |
|
9102 |
|
9103 |
|
9104 </li> |
|
9105 |
|
9106 </ul> |
|
9107 </div> |
|
9108 |
|
9109 |
|
9110 |
|
9111 |
|
9112 |
|
9113 </div> |
|
9114 |
|
9115 |
|
9116 <div id="method_attrAdded" class="method item inherited"> |
|
9117 <h3 class="name"><code>attrAdded</code></h3> |
|
9118 |
|
9119 |
|
9120 <div class="args"> |
|
9121 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9122 |
|
9123 <li class="arg"> |
|
9124 |
|
9125 <code>name</code> |
|
9126 |
|
9127 </li> |
|
9128 |
|
9129 </ul><span class="paren">)</span> |
|
9130 </div> |
|
9131 |
|
9132 |
|
9133 |
|
9134 <span class="returns-inline"> |
|
9135 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
9136 </span> |
|
9137 |
|
9138 |
|
9139 |
|
9140 |
|
9141 |
|
9142 |
|
9143 |
|
9144 |
|
9145 |
|
9146 |
|
9147 |
|
9148 |
|
9149 |
|
9150 |
|
9151 <div class="meta"> |
|
9152 |
|
9153 |
|
9154 <p>Inherited from |
|
9155 <a href="../classes/AttributeCore.html#method_attrAdded">AttributeCore</a>: |
|
9156 |
|
9157 |
|
9158 |
|
9159 <a href="../files/attribute_js_AttributeCore.js.html#l341"><code>attribute/js/AttributeCore.js:341</code></a> |
|
9160 |
|
9161 </p> |
|
9162 |
|
9163 |
|
9164 |
|
9165 |
|
9166 |
|
9167 </div> |
|
9168 |
|
9169 <div class="description"> |
|
9170 <p>Checks if the given attribute has been added to the host</p> |
|
9171 </div> |
|
9172 |
|
9173 |
|
9174 <div class="params"> |
|
9175 <h4>Parameters:</h4> |
|
9176 |
|
9177 <ul class="params-list"> |
|
9178 |
|
9179 <li class="param"> |
|
9180 |
|
9181 <code class="param-name">name</code> |
|
9182 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9183 |
|
9184 |
|
9185 |
|
9186 |
|
9187 <div class="param-description"> |
|
9188 <p>The name of the attribute to check.</p> |
|
9189 </div> |
|
9190 |
|
9191 |
|
9192 </li> |
|
9193 |
|
9194 </ul> |
|
9195 </div> |
|
9196 |
|
9197 |
|
9198 |
|
9199 <div class="returns"> |
|
9200 <h4>Returns:</h4> |
|
9201 |
|
9202 <div class="returns-description"> |
|
9203 |
|
9204 |
|
9205 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
9206 |
|
9207 true if an attribute with the given name has been added, false if it hasn't. |
|
9208 This method will return true for lazily added attributes. |
|
9209 |
|
9210 </div> |
|
9211 </div> |
|
9212 |
|
9213 |
|
9214 |
|
9215 </div> |
|
9216 |
|
9217 |
|
9218 <div id="method_before" class="method item inherited"> |
|
9219 <h3 class="name"><code>before</code></h3> |
|
9220 |
|
9221 |
|
9222 <span class="paren">()</span> |
|
9223 |
|
9224 |
|
9225 |
|
9226 <span class="returns-inline"> |
|
9227 <span class="type"></span> |
|
9228 </span> |
|
9229 |
|
9230 |
|
9231 |
|
9232 |
|
9233 |
|
9234 |
|
9235 |
|
9236 |
|
9237 |
|
9238 |
|
9239 |
|
9240 |
|
9241 |
|
9242 |
|
9243 <div class="meta"> |
|
9244 |
|
9245 |
|
9246 <p>Inherited from |
|
9247 <a href="../classes/EventTarget.html#method_before">EventTarget</a>: |
|
9248 |
|
9249 |
|
9250 |
|
9251 <a href="../files/event-custom_js_event-target.js.html#l870"><code>event-custom/js/event-target.js:870</code></a> |
|
9252 |
|
9253 </p> |
|
9254 |
|
9255 |
|
9256 |
|
9257 |
|
9258 |
|
9259 </div> |
|
9260 |
|
9261 <div class="description"> |
|
9262 <p>Executes the callback before a DOM event, custom event |
|
9263 or method. If the first argument is a function, it |
|
9264 is assumed the target is a method. For DOM and custom |
|
9265 events, this is an alias for Y.on.</p> |
|
9266 |
|
9267 <p>For DOM and custom events: |
|
9268 type, callback, context, 0-n arguments</p> |
|
9269 |
|
9270 <p>For methods: |
|
9271 callback, object (method host), methodName, context, 0-n arguments</p> |
|
9272 </div> |
|
9273 |
|
9274 |
|
9275 |
|
9276 |
|
9277 <div class="returns"> |
|
9278 <h4>Returns:</h4> |
|
9279 |
|
9280 <div class="returns-description"> |
|
9281 |
|
9282 |
|
9283 detach handle |
|
9284 |
|
9285 </div> |
|
9286 </div> |
|
9287 |
|
9288 |
|
9289 |
|
9290 </div> |
|
9291 |
|
9292 |
|
9293 <div id="method_bubble" class="method item inherited"> |
|
9294 <h3 class="name"><code>bubble</code></h3> |
|
9295 |
|
9296 |
|
9297 <div class="args"> |
|
9298 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9299 |
|
9300 <li class="arg"> |
|
9301 |
|
9302 <code>evt</code> |
|
9303 |
|
9304 </li> |
|
9305 |
|
9306 </ul><span class="paren">)</span> |
|
9307 </div> |
|
9308 |
|
9309 |
|
9310 |
|
9311 <span class="returns-inline"> |
|
9312 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
9313 </span> |
|
9314 |
|
9315 |
|
9316 |
|
9317 |
|
9318 |
|
9319 |
|
9320 |
|
9321 |
|
9322 |
|
9323 |
|
9324 |
|
9325 |
|
9326 |
|
9327 |
|
9328 <div class="meta"> |
|
9329 |
|
9330 |
|
9331 <p>Inherited from |
|
9332 <a href="../classes/EventTarget.html#method_bubble">EventTarget</a>: |
|
9333 |
|
9334 |
|
9335 |
|
9336 <a href="../files/event-custom_js_event-facade.js.html#l507"><code>event-custom/js/event-facade.js:507</code></a> |
|
9337 |
|
9338 </p> |
|
9339 |
|
9340 |
|
9341 |
|
9342 |
|
9343 |
|
9344 </div> |
|
9345 |
|
9346 <div class="description"> |
|
9347 <p>Propagate an event. Requires the event-custom-complex module.</p> |
|
9348 </div> |
|
9349 |
|
9350 |
|
9351 <div class="params"> |
|
9352 <h4>Parameters:</h4> |
|
9353 |
|
9354 <ul class="params-list"> |
|
9355 |
|
9356 <li class="param"> |
|
9357 |
|
9358 <code class="param-name">evt</code> |
|
9359 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
9360 |
|
9361 |
|
9362 |
|
9363 |
|
9364 <div class="param-description"> |
|
9365 <p>the custom event to propagate</p> |
|
9366 </div> |
|
9367 |
|
9368 |
|
9369 </li> |
|
9370 |
|
9371 </ul> |
|
9372 </div> |
|
9373 |
|
9374 |
|
9375 |
|
9376 <div class="returns"> |
|
9377 <h4>Returns:</h4> |
|
9378 |
|
9379 <div class="returns-description"> |
|
9380 |
|
9381 |
|
9382 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
9383 |
|
9384 the aggregated return value from Event.Custom.fire |
|
9385 |
|
9386 </div> |
|
9387 </div> |
|
9388 |
|
9389 |
|
9390 |
|
9391 </div> |
|
9392 |
|
9393 |
|
9394 <div id="method_create" class="method item inherited"> |
|
9395 <h3 class="name"><code>create</code></h3> |
|
9396 |
|
9397 |
|
9398 <div class="args"> |
|
9399 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9400 |
|
9401 <li class="arg"> |
|
9402 |
|
9403 <code class="optional">[container]</code> |
|
9404 |
|
9405 </li> |
|
9406 |
|
9407 </ul><span class="paren">)</span> |
|
9408 </div> |
|
9409 |
|
9410 |
|
9411 |
|
9412 <span class="returns-inline"> |
|
9413 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
9414 </span> |
|
9415 |
|
9416 |
|
9417 |
|
9418 |
|
9419 |
|
9420 |
|
9421 |
|
9422 |
|
9423 |
|
9424 |
|
9425 |
|
9426 |
|
9427 |
|
9428 |
|
9429 <div class="meta"> |
|
9430 |
|
9431 |
|
9432 <p>Inherited from |
|
9433 <a href="../classes/View.html#method_create">View</a>: |
|
9434 |
|
9435 |
|
9436 |
|
9437 <a href="../files/app_js_view.js.html#l233"><code>app/js/view.js:233</code></a> |
|
9438 |
|
9439 </p> |
|
9440 |
|
9441 |
|
9442 |
|
9443 |
|
9444 |
|
9445 </div> |
|
9446 |
|
9447 <div class="description"> |
|
9448 <p>Creates and returns a container node for this view.</p> |
|
9449 |
|
9450 <p>By default, the container is created from the HTML template specified in the |
|
9451 <code>containerTemplate</code> property, and is <em>not</em> added to the DOM automatically.</p> |
|
9452 |
|
9453 <p>You may override this method to customize how the container node is created |
|
9454 (such as by rendering it from a custom template format). Your method must |
|
9455 return a <code>Y.Node</code> instance.</p> |
|
9456 </div> |
|
9457 |
|
9458 |
|
9459 <div class="params"> |
|
9460 <h4>Parameters:</h4> |
|
9461 |
|
9462 <ul class="params-list"> |
|
9463 |
|
9464 <li class="param"> |
|
9465 |
|
9466 <code class="param-name optional">[container]</code> |
|
9467 <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> |
|
9468 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9469 |
|
9470 |
|
9471 |
|
9472 |
|
9473 <div class="param-description"> |
|
9474 <p>Selector string, <code>Y.Node</code> |
|
9475 instance, or DOM element to use at the container node.</p> |
|
9476 </div> |
|
9477 |
|
9478 |
|
9479 </li> |
|
9480 |
|
9481 </ul> |
|
9482 </div> |
|
9483 |
|
9484 |
|
9485 |
|
9486 <div class="returns"> |
|
9487 <h4>Returns:</h4> |
|
9488 |
|
9489 <div class="returns-description"> |
|
9490 |
|
9491 |
|
9492 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>: |
|
9493 |
|
9494 Node instance of the created container node. |
|
9495 |
|
9496 </div> |
|
9497 </div> |
|
9498 |
|
9499 |
|
9500 |
|
9501 </div> |
|
9502 |
|
9503 |
|
9504 <div id="method_destroy" class="method item inherited"> |
|
9505 <h3 class="name"><code>destroy</code></h3> |
|
9506 |
|
9507 |
|
9508 <div class="args"> |
|
9509 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9510 |
|
9511 <li class="arg"> |
|
9512 |
|
9513 <code class="optional">[options]</code> |
|
9514 |
|
9515 </li> |
|
9516 |
|
9517 </ul><span class="paren">)</span> |
|
9518 </div> |
|
9519 |
|
9520 |
|
9521 |
|
9522 |
|
9523 |
|
9524 |
|
9525 |
|
9526 |
|
9527 |
|
9528 |
|
9529 |
|
9530 |
|
9531 |
|
9532 <span class="flag chainable">chainable</span> |
|
9533 |
|
9534 |
|
9535 |
|
9536 |
|
9537 <div class="meta"> |
|
9538 |
|
9539 <p>Inherited from |
|
9540 <a href="../classes/BaseObservable.html#method_destroy"> |
|
9541 BaseObservable |
|
9542 </a> |
|
9543 |
|
9544 but overwritten in |
|
9545 |
|
9546 |
|
9547 |
|
9548 <a href="../files/app_js_view.js.html#l146"><code>app/js/view.js:146</code></a> |
|
9549 |
|
9550 </p> |
|
9551 |
|
9552 |
|
9553 |
|
9554 |
|
9555 |
|
9556 </div> |
|
9557 |
|
9558 <div class="description"> |
|
9559 <p>Destroys this View, detaching any DOM events and optionally also destroying |
|
9560 its container node.</p> |
|
9561 |
|
9562 <p>By default, the container node will not be destroyed. Pass an <em>options</em> |
|
9563 object with a truthy <code>remove</code> property to destroy the container as well.</p> |
|
9564 </div> |
|
9565 |
|
9566 |
|
9567 <div class="params"> |
|
9568 <h4>Parameters:</h4> |
|
9569 |
|
9570 <ul class="params-list"> |
|
9571 |
|
9572 <li class="param"> |
|
9573 |
|
9574 <code class="param-name optional">[options]</code> |
|
9575 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9576 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9577 |
|
9578 |
|
9579 |
|
9580 |
|
9581 <div class="param-description"> |
|
9582 <p>Options.</p> |
|
9583 </div> |
|
9584 |
|
9585 |
|
9586 <ul class="params-list"> |
|
9587 |
|
9588 <li class="param"> |
|
9589 |
|
9590 <code class="param-name optional">[remove=false]</code> |
|
9591 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
9592 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9593 |
|
9594 |
|
9595 <div class="param-description"> |
|
9596 <p>If <code>true</code>, this View's container |
|
9597 will be removed from the DOM and destroyed as well.</p> |
|
9598 </div> |
|
9599 |
|
9600 |
|
9601 </li> |
|
9602 |
|
9603 </ul> |
|
9604 |
|
9605 </li> |
|
9606 |
|
9607 </ul> |
|
9608 </div> |
|
9609 |
|
9610 |
|
9611 |
|
9612 |
|
9613 |
|
9614 </div> |
|
9615 |
|
9616 |
|
9617 <div id="method_destructor" class="method item protected"> |
|
9618 <h3 class="name"><code>destructor</code></h3> |
|
9619 |
|
9620 |
|
9621 <span class="paren">()</span> |
|
9622 |
|
9623 |
|
9624 |
|
9625 |
|
9626 |
|
9627 |
|
9628 |
|
9629 <span class="flag protected">protected</span> |
|
9630 |
|
9631 |
|
9632 |
|
9633 |
|
9634 |
|
9635 |
|
9636 |
|
9637 |
|
9638 |
|
9639 |
|
9640 <div class="meta"> |
|
9641 |
|
9642 |
|
9643 |
|
9644 <p> |
|
9645 |
|
9646 Defined in |
|
9647 |
|
9648 |
|
9649 |
|
9650 |
|
9651 <a href="../files/datatable_js_table.js.html#l360"><code>datatable/js/table.js:360</code></a> |
|
9652 |
|
9653 </p> |
|
9654 |
|
9655 |
|
9656 |
|
9657 |
|
9658 |
|
9659 </div> |
|
9660 |
|
9661 <div class="description"> |
|
9662 <p>Cleans up state, destroys child views, etc.</p> |
|
9663 </div> |
|
9664 |
|
9665 |
|
9666 |
|
9667 |
|
9668 |
|
9669 |
|
9670 </div> |
|
9671 |
|
9672 |
|
9673 <div id="method_detach" class="method item inherited"> |
|
9674 <h3 class="name"><code>detach</code></h3> |
|
9675 |
|
9676 |
|
9677 <div class="args"> |
|
9678 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9679 |
|
9680 <li class="arg"> |
|
9681 |
|
9682 <code>type</code> |
|
9683 |
|
9684 </li> |
|
9685 |
|
9686 <li class="arg"> |
|
9687 |
|
9688 <code>fn</code> |
|
9689 |
|
9690 </li> |
|
9691 |
|
9692 <li class="arg"> |
|
9693 |
|
9694 <code>context</code> |
|
9695 |
|
9696 </li> |
|
9697 |
|
9698 </ul><span class="paren">)</span> |
|
9699 </div> |
|
9700 |
|
9701 |
|
9702 |
|
9703 <span class="returns-inline"> |
|
9704 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
9705 </span> |
|
9706 |
|
9707 |
|
9708 |
|
9709 |
|
9710 |
|
9711 |
|
9712 |
|
9713 |
|
9714 |
|
9715 |
|
9716 |
|
9717 |
|
9718 |
|
9719 |
|
9720 <div class="meta"> |
|
9721 |
|
9722 |
|
9723 <p>Inherited from |
|
9724 <a href="../classes/EventTarget.html#method_detach">EventTarget</a>: |
|
9725 |
|
9726 |
|
9727 |
|
9728 <a href="../files/event-custom_js_event-target.js.html#l346"><code>event-custom/js/event-target.js:346</code></a> |
|
9729 |
|
9730 </p> |
|
9731 |
|
9732 |
|
9733 |
|
9734 |
|
9735 |
|
9736 </div> |
|
9737 |
|
9738 <div class="description"> |
|
9739 <p>Detach one or more listeners the from the specified event</p> |
|
9740 </div> |
|
9741 |
|
9742 |
|
9743 <div class="params"> |
|
9744 <h4>Parameters:</h4> |
|
9745 |
|
9746 <ul class="params-list"> |
|
9747 |
|
9748 <li class="param"> |
|
9749 |
|
9750 <code class="param-name">type</code> |
|
9751 <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> |
|
9752 |
|
9753 |
|
9754 |
|
9755 |
|
9756 <div class="param-description"> |
|
9757 <p>Either the handle to the subscriber or the |
|
9758 type of event. If the type |
|
9759 is not specified, it will attempt to remove |
|
9760 the listener from all hosted events.</p> |
|
9761 </div> |
|
9762 |
|
9763 |
|
9764 </li> |
|
9765 |
|
9766 <li class="param"> |
|
9767 |
|
9768 <code class="param-name">fn</code> |
|
9769 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
9770 |
|
9771 |
|
9772 |
|
9773 |
|
9774 <div class="param-description"> |
|
9775 <p>The subscribed function to unsubscribe, if not |
|
9776 supplied, all subscribers will be removed.</p> |
|
9777 </div> |
|
9778 |
|
9779 |
|
9780 </li> |
|
9781 |
|
9782 <li class="param"> |
|
9783 |
|
9784 <code class="param-name">context</code> |
|
9785 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9786 |
|
9787 |
|
9788 |
|
9789 |
|
9790 <div class="param-description"> |
|
9791 <p>The custom object passed to subscribe. This is |
|
9792 optional, but if supplied will be used to |
|
9793 disambiguate multiple listeners that are the same |
|
9794 (e.g., you subscribe many object using a function |
|
9795 that lives on the prototype)</p> |
|
9796 </div> |
|
9797 |
|
9798 |
|
9799 </li> |
|
9800 |
|
9801 </ul> |
|
9802 </div> |
|
9803 |
|
9804 |
|
9805 |
|
9806 <div class="returns"> |
|
9807 <h4>Returns:</h4> |
|
9808 |
|
9809 <div class="returns-description"> |
|
9810 |
|
9811 |
|
9812 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>: |
|
9813 |
|
9814 the host |
|
9815 |
|
9816 </div> |
|
9817 </div> |
|
9818 |
|
9819 |
|
9820 |
|
9821 </div> |
|
9822 |
|
9823 |
|
9824 <div id="method_detachAll" class="method item inherited"> |
|
9825 <h3 class="name"><code>detachAll</code></h3> |
|
9826 |
|
9827 |
|
9828 <div class="args"> |
|
9829 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9830 |
|
9831 <li class="arg"> |
|
9832 |
|
9833 <code>type</code> |
|
9834 |
|
9835 </li> |
|
9836 |
|
9837 </ul><span class="paren">)</span> |
|
9838 </div> |
|
9839 |
|
9840 |
|
9841 |
|
9842 |
|
9843 |
|
9844 |
|
9845 |
|
9846 |
|
9847 |
|
9848 |
|
9849 |
|
9850 |
|
9851 |
|
9852 |
|
9853 |
|
9854 |
|
9855 <div class="meta"> |
|
9856 |
|
9857 |
|
9858 <p>Inherited from |
|
9859 <a href="../classes/EventTarget.html#method_detachAll">EventTarget</a>: |
|
9860 |
|
9861 |
|
9862 |
|
9863 <a href="../files/event-custom_js_event-target.js.html#l469"><code>event-custom/js/event-target.js:469</code></a> |
|
9864 |
|
9865 </p> |
|
9866 |
|
9867 |
|
9868 |
|
9869 |
|
9870 |
|
9871 </div> |
|
9872 |
|
9873 <div class="description"> |
|
9874 <p>Removes all listeners from the specified event. If the event type |
|
9875 is not specified, all listeners from all hosted custom events will |
|
9876 be removed.</p> |
|
9877 </div> |
|
9878 |
|
9879 |
|
9880 <div class="params"> |
|
9881 <h4>Parameters:</h4> |
|
9882 |
|
9883 <ul class="params-list"> |
|
9884 |
|
9885 <li class="param"> |
|
9886 |
|
9887 <code class="param-name">type</code> |
|
9888 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9889 |
|
9890 |
|
9891 |
|
9892 |
|
9893 <div class="param-description"> |
|
9894 <p>The type, or name of the event</p> |
|
9895 </div> |
|
9896 |
|
9897 |
|
9898 </li> |
|
9899 |
|
9900 </ul> |
|
9901 </div> |
|
9902 |
|
9903 |
|
9904 |
|
9905 |
|
9906 |
|
9907 </div> |
|
9908 |
|
9909 |
|
9910 <div id="method_detachEvents" class="method item inherited"> |
|
9911 <h3 class="name"><code>detachEvents</code></h3> |
|
9912 |
|
9913 |
|
9914 <span class="paren">()</span> |
|
9915 |
|
9916 |
|
9917 |
|
9918 |
|
9919 |
|
9920 |
|
9921 |
|
9922 |
|
9923 |
|
9924 |
|
9925 |
|
9926 |
|
9927 |
|
9928 <span class="flag chainable">chainable</span> |
|
9929 |
|
9930 |
|
9931 |
|
9932 |
|
9933 <div class="meta"> |
|
9934 |
|
9935 |
|
9936 <p>Inherited from |
|
9937 <a href="../classes/View.html#method_detachEvents">View</a>: |
|
9938 |
|
9939 |
|
9940 |
|
9941 <a href="../files/app_js_view.js.html#l253"><code>app/js/view.js:253</code></a> |
|
9942 |
|
9943 </p> |
|
9944 |
|
9945 |
|
9946 |
|
9947 |
|
9948 |
|
9949 </div> |
|
9950 |
|
9951 <div class="description"> |
|
9952 <p>Detaches DOM events that have previously been attached to the container by |
|
9953 <code>attachEvents()</code>.</p> |
|
9954 </div> |
|
9955 |
|
9956 |
|
9957 |
|
9958 |
|
9959 |
|
9960 |
|
9961 </div> |
|
9962 |
|
9963 |
|
9964 <div id="method_fire" class="method item inherited"> |
|
9965 <h3 class="name"><code>fire</code></h3> |
|
9966 |
|
9967 |
|
9968 <div class="args"> |
|
9969 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9970 |
|
9971 <li class="arg"> |
|
9972 |
|
9973 <code>type</code> |
|
9974 |
|
9975 </li> |
|
9976 |
|
9977 <li class="arg"> |
|
9978 |
|
9979 <code>arguments</code> |
|
9980 |
|
9981 </li> |
|
9982 |
|
9983 </ul><span class="paren">)</span> |
|
9984 </div> |
|
9985 |
|
9986 |
|
9987 |
|
9988 <span class="returns-inline"> |
|
9989 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
9990 </span> |
|
9991 |
|
9992 |
|
9993 |
|
9994 |
|
9995 |
|
9996 |
|
9997 |
|
9998 |
|
9999 |
|
10000 |
|
10001 |
|
10002 |
|
10003 |
|
10004 |
|
10005 <div class="meta"> |
|
10006 |
|
10007 |
|
10008 <p>Inherited from |
|
10009 <a href="../classes/EventTarget.html#method_fire">EventTarget</a>: |
|
10010 |
|
10011 |
|
10012 |
|
10013 <a href="../files/event-custom_js_event-target.js.html#l695"><code>event-custom/js/event-target.js:695</code></a> |
|
10014 |
|
10015 </p> |
|
10016 |
|
10017 |
|
10018 |
|
10019 |
|
10020 |
|
10021 </div> |
|
10022 |
|
10023 <div class="description"> |
|
10024 <p>Fire a custom event by name. The callback functions will be executed |
|
10025 from the context specified when the event was created, and with the |
|
10026 following parameters.</p> |
|
10027 |
|
10028 <p>If the custom event object hasn't been created, then the event hasn't |
|
10029 been published and it has no subscribers. For performance sake, we |
|
10030 immediate exit in this case. This means the event won't bubble, so |
|
10031 if the intention is that a bubble target be notified, the event must |
|
10032 be published on this object first.</p> |
|
10033 |
|
10034 <p>The first argument is the event type, and any additional arguments are |
|
10035 passed to the listeners as parameters. If the first of these is an |
|
10036 object literal, and the event is configured to emit an event facade, |
|
10037 that object is mixed into the event facade and the facade is provided |
|
10038 in place of the original object.</p> |
|
10039 </div> |
|
10040 |
|
10041 |
|
10042 <div class="params"> |
|
10043 <h4>Parameters:</h4> |
|
10044 |
|
10045 <ul class="params-list"> |
|
10046 |
|
10047 <li class="param"> |
|
10048 |
|
10049 <code class="param-name">type</code> |
|
10050 <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> |
|
10051 |
|
10052 |
|
10053 |
|
10054 |
|
10055 <div class="param-description"> |
|
10056 <p>The type of the event, or an object that contains |
|
10057 a 'type' property.</p> |
|
10058 </div> |
|
10059 |
|
10060 |
|
10061 </li> |
|
10062 |
|
10063 <li class="param"> |
|
10064 |
|
10065 <code class="param-name">arguments</code> |
|
10066 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object*</a></span> |
|
10067 |
|
10068 |
|
10069 |
|
10070 |
|
10071 <div class="param-description"> |
|
10072 <p>an arbitrary set of parameters to pass to |
|
10073 the handler. If the first of these is an object literal and the event is |
|
10074 configured to emit an event facade, the event facade will replace that |
|
10075 parameter after the properties the object literal contains are copied to |
|
10076 the event facade.</p> |
|
10077 </div> |
|
10078 |
|
10079 |
|
10080 </li> |
|
10081 |
|
10082 </ul> |
|
10083 </div> |
|
10084 |
|
10085 |
|
10086 |
|
10087 <div class="returns"> |
|
10088 <h4>Returns:</h4> |
|
10089 |
|
10090 <div class="returns-description"> |
|
10091 |
|
10092 |
|
10093 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>: |
|
10094 |
|
10095 the event host |
|
10096 |
|
10097 </div> |
|
10098 </div> |
|
10099 |
|
10100 |
|
10101 |
|
10102 </div> |
|
10103 |
|
10104 |
|
10105 <div id="method_get" class="method item inherited"> |
|
10106 <h3 class="name"><code>get</code></h3> |
|
10107 |
|
10108 |
|
10109 <div class="args"> |
|
10110 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10111 |
|
10112 <li class="arg"> |
|
10113 |
|
10114 <code>name</code> |
|
10115 |
|
10116 </li> |
|
10117 |
|
10118 </ul><span class="paren">)</span> |
|
10119 </div> |
|
10120 |
|
10121 |
|
10122 |
|
10123 <span class="returns-inline"> |
|
10124 <span class="type">Any</span> |
|
10125 </span> |
|
10126 |
|
10127 |
|
10128 |
|
10129 |
|
10130 |
|
10131 |
|
10132 |
|
10133 |
|
10134 |
|
10135 |
|
10136 |
|
10137 |
|
10138 |
|
10139 |
|
10140 <div class="meta"> |
|
10141 |
|
10142 |
|
10143 <p>Inherited from |
|
10144 <a href="../classes/AttributeCore.html#method_get">AttributeCore</a>: |
|
10145 |
|
10146 |
|
10147 |
|
10148 <a href="../files/attribute_js_AttributeCore.js.html#l353"><code>attribute/js/AttributeCore.js:353</code></a> |
|
10149 |
|
10150 </p> |
|
10151 |
|
10152 |
|
10153 |
|
10154 |
|
10155 |
|
10156 </div> |
|
10157 |
|
10158 <div class="description"> |
|
10159 <p>Returns the current value of the attribute. If the attribute |
|
10160 has been configured with a 'getter' function, this method will delegate |
|
10161 to the 'getter' to obtain the value of the attribute.</p> |
|
10162 </div> |
|
10163 |
|
10164 |
|
10165 <div class="params"> |
|
10166 <h4>Parameters:</h4> |
|
10167 |
|
10168 <ul class="params-list"> |
|
10169 |
|
10170 <li class="param"> |
|
10171 |
|
10172 <code class="param-name">name</code> |
|
10173 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10174 |
|
10175 |
|
10176 |
|
10177 |
|
10178 <div class="param-description"> |
|
10179 <p>The name of the attribute. If the value of the attribute is an Object, |
|
10180 dot notation can be used to obtain the value of a property of the object (e.g. <code>get("x.y.z")</code>)</p> |
|
10181 </div> |
|
10182 |
|
10183 |
|
10184 </li> |
|
10185 |
|
10186 </ul> |
|
10187 </div> |
|
10188 |
|
10189 |
|
10190 |
|
10191 <div class="returns"> |
|
10192 <h4>Returns:</h4> |
|
10193 |
|
10194 <div class="returns-description"> |
|
10195 |
|
10196 |
|
10197 <span class="type">Any</span>: |
|
10198 |
|
10199 The value of the attribute |
|
10200 |
|
10201 </div> |
|
10202 </div> |
|
10203 |
|
10204 |
|
10205 |
|
10206 </div> |
|
10207 |
|
10208 |
|
10209 <div id="method_getAttrs" class="method item inherited"> |
|
10210 <h3 class="name"><code>getAttrs</code></h3> |
|
10211 |
|
10212 |
|
10213 <div class="args"> |
|
10214 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10215 |
|
10216 <li class="arg"> |
|
10217 |
|
10218 <code>attrs</code> |
|
10219 |
|
10220 </li> |
|
10221 |
|
10222 </ul><span class="paren">)</span> |
|
10223 </div> |
|
10224 |
|
10225 |
|
10226 |
|
10227 <span class="returns-inline"> |
|
10228 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
10229 </span> |
|
10230 |
|
10231 |
|
10232 |
|
10233 |
|
10234 |
|
10235 |
|
10236 |
|
10237 |
|
10238 |
|
10239 |
|
10240 |
|
10241 |
|
10242 |
|
10243 |
|
10244 <div class="meta"> |
|
10245 |
|
10246 |
|
10247 <p>Inherited from |
|
10248 <a href="../classes/AttributeCore.html#method_getAttrs">AttributeCore</a>: |
|
10249 |
|
10250 |
|
10251 |
|
10252 <a href="../files/attribute_js_AttributeCore.js.html#l762"><code>attribute/js/AttributeCore.js:762</code></a> |
|
10253 |
|
10254 </p> |
|
10255 |
|
10256 |
|
10257 |
|
10258 |
|
10259 |
|
10260 </div> |
|
10261 |
|
10262 <div class="description"> |
|
10263 <p>Gets multiple attribute values.</p> |
|
10264 </div> |
|
10265 |
|
10266 |
|
10267 <div class="params"> |
|
10268 <h4>Parameters:</h4> |
|
10269 |
|
10270 <ul class="params-list"> |
|
10271 |
|
10272 <li class="param"> |
|
10273 |
|
10274 <code class="param-name">attrs</code> |
|
10275 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span> |
|
10276 |
|
10277 |
|
10278 |
|
10279 |
|
10280 <div class="param-description"> |
|
10281 <p>Optional. An array of attribute names. If omitted, all attribute values are |
|
10282 returned. If set to true, all attributes modified from their initial values are returned.</p> |
|
10283 </div> |
|
10284 |
|
10285 |
|
10286 </li> |
|
10287 |
|
10288 </ul> |
|
10289 </div> |
|
10290 |
|
10291 |
|
10292 |
|
10293 <div class="returns"> |
|
10294 <h4>Returns:</h4> |
|
10295 |
|
10296 <div class="returns-description"> |
|
10297 |
|
10298 |
|
10299 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
10300 |
|
10301 An object with attribute name/value pairs. |
|
10302 |
|
10303 </div> |
|
10304 </div> |
|
10305 |
|
10306 |
|
10307 |
|
10308 </div> |
|
10309 |
|
10310 |
|
10311 <div id="method_getCell" class="method item"> |
|
10312 <h3 class="name"><code>getCell</code></h3> |
|
10313 |
|
10314 |
|
10315 <div class="args"> |
|
10316 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10317 |
|
10318 <li class="arg"> |
|
10319 |
|
10320 <code>seed</code> |
|
10321 |
|
10322 </li> |
|
10323 |
|
10324 <li class="arg"> |
|
10325 |
|
10326 <code class="optional">[shift]</code> |
|
10327 |
|
10328 </li> |
|
10329 |
|
10330 </ul><span class="paren">)</span> |
|
10331 </div> |
|
10332 |
|
10333 |
|
10334 |
|
10335 <span class="returns-inline"> |
|
10336 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
10337 </span> |
|
10338 |
|
10339 |
|
10340 |
|
10341 |
|
10342 |
|
10343 |
|
10344 |
|
10345 |
|
10346 |
|
10347 |
|
10348 |
|
10349 |
|
10350 |
|
10351 |
|
10352 <div class="meta"> |
|
10353 |
|
10354 |
|
10355 |
|
10356 <p> |
|
10357 |
|
10358 Defined in |
|
10359 |
|
10360 |
|
10361 |
|
10362 |
|
10363 <a href="../files/datatable_js_table.js.html#l90"><code>datatable/js/table.js:90</code></a> |
|
10364 |
|
10365 </p> |
|
10366 |
|
10367 |
|
10368 |
|
10369 |
|
10370 |
|
10371 <p>Available since 3.5.0</p> |
|
10372 |
|
10373 </div> |
|
10374 |
|
10375 <div class="description"> |
|
10376 <p>Returns the <code><td></code> Node from the given row and column index. Alternately, |
|
10377 the <code>seed</code> can be a Node. If so, the nearest ancestor cell is returned. |
|
10378 If the <code>seed</code> is a cell, it is returned. If there is no cell at the given |
|
10379 coordinates, <code>null</code> is returned.</p> |
|
10380 |
|
10381 <p>Optionally, include an offset array or string to return a cell near the |
|
10382 cell identified by the <code>seed</code>. The offset can be an array containing the |
|
10383 number of rows to shift followed by the number of columns to shift, or one |
|
10384 of "above", "below", "next", or "previous".</p> |
|
10385 |
|
10386 <p><pre class="code prettyprint"><code>// Previous cell in the previous row |
|
10387 var cell = table.getCell(e.target, [-1, -1]);</p> |
|
10388 |
|
10389 <p>// Next cell |
|
10390 var cell = table.getCell(e.target, 'next'); |
|
10391 var cell = table.getCell(e.taregt, [0, 1];</pre></code></p> |
|
10392 |
|
10393 <p>This is actually just a pass through to the <code>bodyView</code> instance's method |
|
10394 by the same name.</p> |
|
10395 </div> |
|
10396 |
|
10397 |
|
10398 <div class="params"> |
|
10399 <h4>Parameters:</h4> |
|
10400 |
|
10401 <ul class="params-list"> |
|
10402 |
|
10403 <li class="param"> |
|
10404 |
|
10405 <code class="param-name">seed</code> |
|
10406 <span class="type"><a href="../classes/Number.html" class="crosslink">Number[]</a> | <a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
10407 |
|
10408 |
|
10409 |
|
10410 |
|
10411 <div class="param-description"> |
|
10412 <p>Array of row and column indexes, or a Node that |
|
10413 is either the cell itself or a descendant of one.</p> |
|
10414 </div> |
|
10415 |
|
10416 |
|
10417 </li> |
|
10418 |
|
10419 <li class="param"> |
|
10420 |
|
10421 <code class="param-name optional">[shift]</code> |
|
10422 <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> |
|
10423 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
10424 |
|
10425 |
|
10426 |
|
10427 |
|
10428 <div class="param-description"> |
|
10429 <p>Offset by which to identify the returned |
|
10430 cell Node</p> |
|
10431 </div> |
|
10432 |
|
10433 |
|
10434 </li> |
|
10435 |
|
10436 </ul> |
|
10437 </div> |
|
10438 |
|
10439 |
|
10440 |
|
10441 <div class="returns"> |
|
10442 <h4>Returns:</h4> |
|
10443 |
|
10444 <div class="returns-description"> |
|
10445 |
|
10446 |
|
10447 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>: |
|
10448 |
|
10449 |
|
10450 </div> |
|
10451 </div> |
|
10452 |
|
10453 |
|
10454 |
|
10455 </div> |
|
10456 |
|
10457 |
|
10458 <div id="method_getClassName" class="method item protected"> |
|
10459 <h3 class="name"><code>getClassName</code></h3> |
|
10460 |
|
10461 |
|
10462 <div class="args"> |
|
10463 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10464 |
|
10465 <li class="arg"> |
|
10466 |
|
10467 <code>token</code> |
|
10468 |
|
10469 </li> |
|
10470 |
|
10471 </ul><span class="paren">)</span> |
|
10472 </div> |
|
10473 |
|
10474 |
|
10475 |
|
10476 <span class="returns-inline"> |
|
10477 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10478 </span> |
|
10479 |
|
10480 |
|
10481 |
|
10482 |
|
10483 |
|
10484 <span class="flag protected">protected</span> |
|
10485 |
|
10486 |
|
10487 |
|
10488 |
|
10489 |
|
10490 |
|
10491 |
|
10492 |
|
10493 |
|
10494 |
|
10495 <div class="meta"> |
|
10496 |
|
10497 |
|
10498 |
|
10499 <p> |
|
10500 |
|
10501 Defined in |
|
10502 |
|
10503 |
|
10504 |
|
10505 |
|
10506 <a href="../files/datatable_js_table.js.html#l124"><code>datatable/js/table.js:124</code></a> |
|
10507 |
|
10508 </p> |
|
10509 |
|
10510 |
|
10511 |
|
10512 |
|
10513 |
|
10514 </div> |
|
10515 |
|
10516 <div class="description"> |
|
10517 <p>Returns the generated CSS classname based on the input. If the <code>host</code> |
|
10518 attribute is configured, it will attempt to relay to its <code>getClassName</code> |
|
10519 or use its static <code>NAME</code> property as a string base.</p> |
|
10520 |
|
10521 <p>If <code>host</code> is absent or has neither method nor <code>NAME</code>, a CSS classname |
|
10522 will be generated using this class's <code>NAME</code>.</p> |
|
10523 </div> |
|
10524 |
|
10525 |
|
10526 <div class="params"> |
|
10527 <h4>Parameters:</h4> |
|
10528 |
|
10529 <ul class="params-list"> |
|
10530 |
|
10531 <li class="param"> |
|
10532 |
|
10533 <code class="param-name">token</code> |
|
10534 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10535 |
|
10536 |
|
10537 |
|
10538 <span class="flag multiple" title="This argument may occur one or more times.">multiple</span> |
|
10539 |
|
10540 |
|
10541 <div class="param-description"> |
|
10542 <p>Any number of token strings to assemble the |
|
10543 classname from.</p> |
|
10544 </div> |
|
10545 |
|
10546 |
|
10547 </li> |
|
10548 |
|
10549 </ul> |
|
10550 </div> |
|
10551 |
|
10552 |
|
10553 |
|
10554 <div class="returns"> |
|
10555 <h4>Returns:</h4> |
|
10556 |
|
10557 <div class="returns-description"> |
|
10558 |
|
10559 |
|
10560 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
10561 |
|
10562 |
|
10563 </div> |
|
10564 </div> |
|
10565 |
|
10566 |
|
10567 |
|
10568 </div> |
|
10569 |
|
10570 |
|
10571 <div id="method_getEvent" class="method item inherited"> |
|
10572 <h3 class="name"><code>getEvent</code></h3> |
|
10573 |
|
10574 |
|
10575 <div class="args"> |
|
10576 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10577 |
|
10578 <li class="arg"> |
|
10579 |
|
10580 <code>type</code> |
|
10581 |
|
10582 </li> |
|
10583 |
|
10584 <li class="arg"> |
|
10585 |
|
10586 <code>prefixed</code> |
|
10587 |
|
10588 </li> |
|
10589 |
|
10590 </ul><span class="paren">)</span> |
|
10591 </div> |
|
10592 |
|
10593 |
|
10594 |
|
10595 <span class="returns-inline"> |
|
10596 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
10597 </span> |
|
10598 |
|
10599 |
|
10600 |
|
10601 |
|
10602 |
|
10603 |
|
10604 |
|
10605 |
|
10606 |
|
10607 |
|
10608 |
|
10609 |
|
10610 |
|
10611 |
|
10612 <div class="meta"> |
|
10613 |
|
10614 |
|
10615 <p>Inherited from |
|
10616 <a href="../classes/EventTarget.html#method_getEvent">EventTarget</a>: |
|
10617 |
|
10618 |
|
10619 |
|
10620 <a href="../files/event-custom_js_event-target.js.html#l814"><code>event-custom/js/event-target.js:814</code></a> |
|
10621 |
|
10622 </p> |
|
10623 |
|
10624 |
|
10625 |
|
10626 |
|
10627 |
|
10628 </div> |
|
10629 |
|
10630 <div class="description"> |
|
10631 <p>Returns the custom event of the provided type has been created, a |
|
10632 falsy value otherwise</p> |
|
10633 </div> |
|
10634 |
|
10635 |
|
10636 <div class="params"> |
|
10637 <h4>Parameters:</h4> |
|
10638 |
|
10639 <ul class="params-list"> |
|
10640 |
|
10641 <li class="param"> |
|
10642 |
|
10643 <code class="param-name">type</code> |
|
10644 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10645 |
|
10646 |
|
10647 |
|
10648 |
|
10649 <div class="param-description"> |
|
10650 <p>the type, or name of the event</p> |
|
10651 </div> |
|
10652 |
|
10653 |
|
10654 </li> |
|
10655 |
|
10656 <li class="param"> |
|
10657 |
|
10658 <code class="param-name">prefixed</code> |
|
10659 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10660 |
|
10661 |
|
10662 |
|
10663 |
|
10664 <div class="param-description"> |
|
10665 <p>if true, the type is prefixed already</p> |
|
10666 </div> |
|
10667 |
|
10668 |
|
10669 </li> |
|
10670 |
|
10671 </ul> |
|
10672 </div> |
|
10673 |
|
10674 |
|
10675 |
|
10676 <div class="returns"> |
|
10677 <h4>Returns:</h4> |
|
10678 |
|
10679 <div class="returns-description"> |
|
10680 |
|
10681 |
|
10682 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>: |
|
10683 |
|
10684 the custom event or null |
|
10685 |
|
10686 </div> |
|
10687 </div> |
|
10688 |
|
10689 |
|
10690 |
|
10691 </div> |
|
10692 |
|
10693 |
|
10694 <div id="method_getRecord" class="method item"> |
|
10695 <h3 class="name"><code>getRecord</code></h3> |
|
10696 |
|
10697 |
|
10698 <div class="args"> |
|
10699 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10700 |
|
10701 <li class="arg"> |
|
10702 |
|
10703 <code>seed</code> |
|
10704 |
|
10705 </li> |
|
10706 |
|
10707 </ul><span class="paren">)</span> |
|
10708 </div> |
|
10709 |
|
10710 |
|
10711 |
|
10712 <span class="returns-inline"> |
|
10713 <span class="type"><a href="../classes/Model.html" class="crosslink">Model</a></span> |
|
10714 </span> |
|
10715 |
|
10716 |
|
10717 |
|
10718 |
|
10719 |
|
10720 |
|
10721 |
|
10722 |
|
10723 |
|
10724 |
|
10725 |
|
10726 |
|
10727 |
|
10728 |
|
10729 <div class="meta"> |
|
10730 |
|
10731 |
|
10732 |
|
10733 <p> |
|
10734 |
|
10735 Defined in |
|
10736 |
|
10737 |
|
10738 |
|
10739 |
|
10740 <a href="../files/datatable_js_table.js.html#l153"><code>datatable/js/table.js:153</code></a> |
|
10741 |
|
10742 </p> |
|
10743 |
|
10744 |
|
10745 |
|
10746 |
|
10747 |
|
10748 <p>Available since 3.6.0</p> |
|
10749 |
|
10750 </div> |
|
10751 |
|
10752 <div class="description"> |
|
10753 <p>Relays call to the <code>bodyView</code>'s <code>getRecord</code> method if it has one.</p> |
|
10754 </div> |
|
10755 |
|
10756 |
|
10757 <div class="params"> |
|
10758 <h4>Parameters:</h4> |
|
10759 |
|
10760 <ul class="params-list"> |
|
10761 |
|
10762 <li class="param"> |
|
10763 |
|
10764 <code class="param-name">seed</code> |
|
10765 <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> |
|
10766 |
|
10767 |
|
10768 |
|
10769 |
|
10770 <div class="param-description"> |
|
10771 <p>Node or identifier for a row or child element</p> |
|
10772 </div> |
|
10773 |
|
10774 |
|
10775 </li> |
|
10776 |
|
10777 </ul> |
|
10778 </div> |
|
10779 |
|
10780 |
|
10781 |
|
10782 <div class="returns"> |
|
10783 <h4>Returns:</h4> |
|
10784 |
|
10785 <div class="returns-description"> |
|
10786 |
|
10787 |
|
10788 <span class="type"><a href="../classes/Model.html" class="crosslink">Model</a></span>: |
|
10789 |
|
10790 |
|
10791 </div> |
|
10792 </div> |
|
10793 |
|
10794 |
|
10795 |
|
10796 </div> |
|
10797 |
|
10798 |
|
10799 <div id="method_getRow" class="method item"> |
|
10800 <h3 class="name"><code>getRow</code></h3> |
|
10801 |
|
10802 |
|
10803 <div class="args"> |
|
10804 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10805 |
|
10806 <li class="arg"> |
|
10807 |
|
10808 <code>id</code> |
|
10809 |
|
10810 </li> |
|
10811 |
|
10812 </ul><span class="paren">)</span> |
|
10813 </div> |
|
10814 |
|
10815 |
|
10816 |
|
10817 <span class="returns-inline"> |
|
10818 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
10819 </span> |
|
10820 |
|
10821 |
|
10822 |
|
10823 |
|
10824 |
|
10825 |
|
10826 |
|
10827 |
|
10828 |
|
10829 |
|
10830 |
|
10831 |
|
10832 |
|
10833 |
|
10834 <div class="meta"> |
|
10835 |
|
10836 |
|
10837 |
|
10838 <p> |
|
10839 |
|
10840 Defined in |
|
10841 |
|
10842 |
|
10843 |
|
10844 |
|
10845 <a href="../files/datatable_js_table.js.html#l166"><code>datatable/js/table.js:166</code></a> |
|
10846 |
|
10847 </p> |
|
10848 |
|
10849 |
|
10850 |
|
10851 |
|
10852 |
|
10853 <p>Available since 3.5.0</p> |
|
10854 |
|
10855 </div> |
|
10856 |
|
10857 <div class="description"> |
|
10858 <p>Returns the <code><tr></code> Node from the given row index, Model, or Model's |
|
10859 <code>clientId</code>. If the rows haven't been rendered yet, or if the row can't be |
|
10860 found by the input, <code>null</code> is returned.</p> |
|
10861 |
|
10862 <p>This is actually just a pass through to the <code>bodyView</code> instance's method |
|
10863 by the same name.</p> |
|
10864 </div> |
|
10865 |
|
10866 |
|
10867 <div class="params"> |
|
10868 <h4>Parameters:</h4> |
|
10869 |
|
10870 <ul class="params-list"> |
|
10871 |
|
10872 <li class="param"> |
|
10873 |
|
10874 <code class="param-name">id</code> |
|
10875 <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> |
|
10876 |
|
10877 |
|
10878 |
|
10879 |
|
10880 <div class="param-description"> |
|
10881 <p>Row index, Model instance, or clientId</p> |
|
10882 </div> |
|
10883 |
|
10884 |
|
10885 </li> |
|
10886 |
|
10887 </ul> |
|
10888 </div> |
|
10889 |
|
10890 |
|
10891 |
|
10892 <div class="returns"> |
|
10893 <h4>Returns:</h4> |
|
10894 |
|
10895 <div class="returns-description"> |
|
10896 |
|
10897 |
|
10898 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>: |
|
10899 |
|
10900 |
|
10901 </div> |
|
10902 </div> |
|
10903 |
|
10904 |
|
10905 |
|
10906 </div> |
|
10907 |
|
10908 |
|
10909 <div id="method_getTargets" class="method item inherited"> |
|
10910 <h3 class="name"><code>getTargets</code></h3> |
|
10911 |
|
10912 |
|
10913 <span class="paren">()</span> |
|
10914 |
|
10915 |
|
10916 |
|
10917 <span class="returns-inline"> |
|
10918 <span class="type"></span> |
|
10919 </span> |
|
10920 |
|
10921 |
|
10922 |
|
10923 |
|
10924 |
|
10925 |
|
10926 |
|
10927 |
|
10928 |
|
10929 |
|
10930 |
|
10931 |
|
10932 |
|
10933 |
|
10934 <div class="meta"> |
|
10935 |
|
10936 |
|
10937 <p>Inherited from |
|
10938 <a href="../classes/EventTarget.html#method_getTargets">EventTarget</a>: |
|
10939 |
|
10940 |
|
10941 |
|
10942 <a href="../files/event-custom_js_event-facade.js.html#l479"><code>event-custom/js/event-facade.js:479</code></a> |
|
10943 |
|
10944 </p> |
|
10945 |
|
10946 |
|
10947 |
|
10948 |
|
10949 |
|
10950 </div> |
|
10951 |
|
10952 <div class="description"> |
|
10953 <p>Returns an array of bubble targets for this object.</p> |
|
10954 </div> |
|
10955 |
|
10956 |
|
10957 |
|
10958 |
|
10959 <div class="returns"> |
|
10960 <h4>Returns:</h4> |
|
10961 |
|
10962 <div class="returns-description"> |
|
10963 |
|
10964 |
|
10965 EventTarget[] |
|
10966 |
|
10967 </div> |
|
10968 </div> |
|
10969 |
|
10970 |
|
10971 |
|
10972 </div> |
|
10973 |
|
10974 |
|
10975 <div id="method_init" class="method item inherited"> |
|
10976 <h3 class="name"><code>init</code></h3> |
|
10977 |
|
10978 |
|
10979 <div class="args"> |
|
10980 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10981 |
|
10982 <li class="arg"> |
|
10983 |
|
10984 <code>cfg</code> |
|
10985 |
|
10986 </li> |
|
10987 |
|
10988 </ul><span class="paren">)</span> |
|
10989 </div> |
|
10990 |
|
10991 |
|
10992 |
|
10993 <span class="returns-inline"> |
|
10994 <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span> |
|
10995 </span> |
|
10996 |
|
10997 |
|
10998 |
|
10999 |
|
11000 |
|
11001 |
|
11002 |
|
11003 |
|
11004 |
|
11005 |
|
11006 |
|
11007 <span class="flag chainable">chainable</span> |
|
11008 |
|
11009 |
|
11010 |
|
11011 |
|
11012 <div class="meta"> |
|
11013 |
|
11014 <p>Inherited from |
|
11015 <a href="../classes/BaseObservable.html#method_init"> |
|
11016 BaseObservable |
|
11017 </a> |
|
11018 |
|
11019 but overwritten in |
|
11020 |
|
11021 |
|
11022 |
|
11023 <a href="../files/base_js_BaseCore.js.html#l264"><code>base/js/BaseCore.js:264</code></a> |
|
11024 |
|
11025 </p> |
|
11026 |
|
11027 |
|
11028 |
|
11029 |
|
11030 |
|
11031 </div> |
|
11032 |
|
11033 <div class="description"> |
|
11034 <p>Init lifecycle method, invoked during construction. Sets up attributes |
|
11035 and invokes initializers for the class hierarchy.</p> |
|
11036 </div> |
|
11037 |
|
11038 |
|
11039 <div class="params"> |
|
11040 <h4>Parameters:</h4> |
|
11041 |
|
11042 <ul class="params-list"> |
|
11043 |
|
11044 <li class="param"> |
|
11045 |
|
11046 <code class="param-name">cfg</code> |
|
11047 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11048 |
|
11049 |
|
11050 |
|
11051 |
|
11052 <div class="param-description"> |
|
11053 <p>Object with configuration property name/value pairs</p> |
|
11054 </div> |
|
11055 |
|
11056 |
|
11057 </li> |
|
11058 |
|
11059 </ul> |
|
11060 </div> |
|
11061 |
|
11062 |
|
11063 |
|
11064 <div class="returns"> |
|
11065 <h4>Returns:</h4> |
|
11066 |
|
11067 <div class="returns-description"> |
|
11068 |
|
11069 |
|
11070 <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span>: |
|
11071 |
|
11072 A reference to this object |
|
11073 |
|
11074 </div> |
|
11075 </div> |
|
11076 |
|
11077 |
|
11078 |
|
11079 </div> |
|
11080 |
|
11081 |
|
11082 <div id="method_intializer" class="method item protected"> |
|
11083 <h3 class="name"><code>intializer</code></h3> |
|
11084 |
|
11085 |
|
11086 <div class="args"> |
|
11087 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11088 |
|
11089 <li class="arg"> |
|
11090 |
|
11091 <code>config</code> |
|
11092 |
|
11093 </li> |
|
11094 |
|
11095 </ul><span class="paren">)</span> |
|
11096 </div> |
|
11097 |
|
11098 |
|
11099 |
|
11100 |
|
11101 |
|
11102 |
|
11103 |
|
11104 <span class="flag protected">protected</span> |
|
11105 |
|
11106 |
|
11107 |
|
11108 |
|
11109 |
|
11110 |
|
11111 |
|
11112 |
|
11113 |
|
11114 |
|
11115 <div class="meta"> |
|
11116 |
|
11117 |
|
11118 |
|
11119 <p> |
|
11120 |
|
11121 Defined in |
|
11122 |
|
11123 |
|
11124 |
|
11125 |
|
11126 <a href="../files/datatable_js_table.js.html#l449"><code>datatable/js/table.js:449</code></a> |
|
11127 |
|
11128 </p> |
|
11129 |
|
11130 |
|
11131 |
|
11132 |
|
11133 |
|
11134 <p>Available since 3.6.0</p> |
|
11135 |
|
11136 </div> |
|
11137 |
|
11138 <div class="description"> |
|
11139 <p>Constructor logic.</p> |
|
11140 </div> |
|
11141 |
|
11142 |
|
11143 <div class="params"> |
|
11144 <h4>Parameters:</h4> |
|
11145 |
|
11146 <ul class="params-list"> |
|
11147 |
|
11148 <li class="param"> |
|
11149 |
|
11150 <code class="param-name">config</code> |
|
11151 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11152 |
|
11153 |
|
11154 |
|
11155 |
|
11156 <div class="param-description"> |
|
11157 <p>Configuration object passed to the constructor</p> |
|
11158 </div> |
|
11159 |
|
11160 |
|
11161 </li> |
|
11162 |
|
11163 </ul> |
|
11164 </div> |
|
11165 |
|
11166 |
|
11167 |
|
11168 |
|
11169 |
|
11170 </div> |
|
11171 |
|
11172 |
|
11173 <div id="method_modifyAttr" class="method item inherited"> |
|
11174 <h3 class="name"><code>modifyAttr</code></h3> |
|
11175 |
|
11176 |
|
11177 <div class="args"> |
|
11178 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11179 |
|
11180 <li class="arg"> |
|
11181 |
|
11182 <code>name</code> |
|
11183 |
|
11184 </li> |
|
11185 |
|
11186 <li class="arg"> |
|
11187 |
|
11188 <code>config</code> |
|
11189 |
|
11190 </li> |
|
11191 |
|
11192 </ul><span class="paren">)</span> |
|
11193 </div> |
|
11194 |
|
11195 |
|
11196 |
|
11197 |
|
11198 |
|
11199 |
|
11200 |
|
11201 |
|
11202 |
|
11203 |
|
11204 |
|
11205 |
|
11206 |
|
11207 |
|
11208 |
|
11209 |
|
11210 <div class="meta"> |
|
11211 |
|
11212 |
|
11213 <p>Inherited from |
|
11214 <a href="../classes/AttributeExtras.html#method_modifyAttr">AttributeExtras</a>: |
|
11215 |
|
11216 |
|
11217 |
|
11218 <a href="../files/attribute_js_AttributeExtras.js.html#l40"><code>attribute/js/AttributeExtras.js:40</code></a> |
|
11219 |
|
11220 </p> |
|
11221 |
|
11222 |
|
11223 |
|
11224 |
|
11225 |
|
11226 </div> |
|
11227 |
|
11228 <div class="description"> |
|
11229 <p>Updates the configuration of an attribute which has already been added.</p> |
|
11230 |
|
11231 <p> |
|
11232 The properties which can be modified through this interface are limited |
|
11233 to the following subset of attributes, which can be safely modified |
|
11234 after a value has already been set on the attribute: readOnly, writeOnce, |
|
11235 broadcast and getter. |
|
11236 </p> |
|
11237 </div> |
|
11238 |
|
11239 |
|
11240 <div class="params"> |
|
11241 <h4>Parameters:</h4> |
|
11242 |
|
11243 <ul class="params-list"> |
|
11244 |
|
11245 <li class="param"> |
|
11246 |
|
11247 <code class="param-name">name</code> |
|
11248 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11249 |
|
11250 |
|
11251 |
|
11252 |
|
11253 <div class="param-description"> |
|
11254 <p>The name of the attribute whose configuration is to be updated.</p> |
|
11255 </div> |
|
11256 |
|
11257 |
|
11258 </li> |
|
11259 |
|
11260 <li class="param"> |
|
11261 |
|
11262 <code class="param-name">config</code> |
|
11263 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11264 |
|
11265 |
|
11266 |
|
11267 |
|
11268 <div class="param-description"> |
|
11269 <p>An object with configuration property/value pairs, specifying the configuration properties to modify.</p> |
|
11270 </div> |
|
11271 |
|
11272 |
|
11273 </li> |
|
11274 |
|
11275 </ul> |
|
11276 </div> |
|
11277 |
|
11278 |
|
11279 |
|
11280 |
|
11281 |
|
11282 </div> |
|
11283 |
|
11284 |
|
11285 <div id="method_on" class="method item inherited"> |
|
11286 <h3 class="name"><code>on</code></h3> |
|
11287 |
|
11288 |
|
11289 <div class="args"> |
|
11290 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11291 |
|
11292 <li class="arg"> |
|
11293 |
|
11294 <code>type</code> |
|
11295 |
|
11296 </li> |
|
11297 |
|
11298 <li class="arg"> |
|
11299 |
|
11300 <code>fn</code> |
|
11301 |
|
11302 </li> |
|
11303 |
|
11304 <li class="arg"> |
|
11305 |
|
11306 <code class="optional">[context]</code> |
|
11307 |
|
11308 </li> |
|
11309 |
|
11310 <li class="arg"> |
|
11311 |
|
11312 <code class="optional">[arg*]</code> |
|
11313 |
|
11314 </li> |
|
11315 |
|
11316 </ul><span class="paren">)</span> |
|
11317 </div> |
|
11318 |
|
11319 |
|
11320 |
|
11321 <span class="returns-inline"> |
|
11322 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
11323 </span> |
|
11324 |
|
11325 |
|
11326 |
|
11327 |
|
11328 |
|
11329 |
|
11330 |
|
11331 |
|
11332 |
|
11333 |
|
11334 |
|
11335 |
|
11336 |
|
11337 |
|
11338 <div class="meta"> |
|
11339 |
|
11340 |
|
11341 <p>Inherited from |
|
11342 <a href="../classes/EventTarget.html#method_on">EventTarget</a>: |
|
11343 |
|
11344 |
|
11345 |
|
11346 <a href="../files/event-custom_js_event-target.js.html#l188"><code>event-custom/js/event-target.js:188</code></a> |
|
11347 |
|
11348 </p> |
|
11349 |
|
11350 |
|
11351 |
|
11352 |
|
11353 |
|
11354 </div> |
|
11355 |
|
11356 <div class="description"> |
|
11357 <p>Subscribe a callback function to a custom event fired by this object or |
|
11358 from an object that bubbles its events to this object.</p> |
|
11359 |
|
11360 <p>Callback functions for events published with <code>emitFacade = true</code> will |
|
11361 receive an <code>EventFacade</code> as the first argument (typically named "e"). |
|
11362 These callbacks can then call <code>e.preventDefault()</code> to disable the |
|
11363 behavior published to that event's <code>defaultFn</code>. See the <code>EventFacade</code> |
|
11364 API for all available properties and methods. Subscribers to |
|
11365 non-<code>emitFacade</code> events will receive the arguments passed to <code>fire()</code> |
|
11366 after the event name.</p> |
|
11367 |
|
11368 <p>To subscribe to multiple events at once, pass an object as the first |
|
11369 argument, where the key:value pairs correspond to the eventName:callback, |
|
11370 or pass an array of event names as the first argument to subscribe to |
|
11371 all listed events with the same callback.</p> |
|
11372 |
|
11373 <p>Returning <code>false</code> from a callback is supported as an alternative to |
|
11374 calling <code>e.preventDefault(); e.stopPropagation();</code>. However, it is |
|
11375 recommended to use the event methods whenever possible.</p> |
|
11376 </div> |
|
11377 |
|
11378 |
|
11379 <div class="params"> |
|
11380 <h4>Parameters:</h4> |
|
11381 |
|
11382 <ul class="params-list"> |
|
11383 |
|
11384 <li class="param"> |
|
11385 |
|
11386 <code class="param-name">type</code> |
|
11387 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11388 |
|
11389 |
|
11390 |
|
11391 |
|
11392 <div class="param-description"> |
|
11393 <p>The name of the event</p> |
|
11394 </div> |
|
11395 |
|
11396 |
|
11397 </li> |
|
11398 |
|
11399 <li class="param"> |
|
11400 |
|
11401 <code class="param-name">fn</code> |
|
11402 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
11403 |
|
11404 |
|
11405 |
|
11406 |
|
11407 <div class="param-description"> |
|
11408 <p>The callback to execute in response to the event</p> |
|
11409 </div> |
|
11410 |
|
11411 |
|
11412 </li> |
|
11413 |
|
11414 <li class="param"> |
|
11415 |
|
11416 <code class="param-name optional">[context]</code> |
|
11417 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11418 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11419 |
|
11420 |
|
11421 |
|
11422 |
|
11423 <div class="param-description"> |
|
11424 <p>Override <code>this</code> object in callback</p> |
|
11425 </div> |
|
11426 |
|
11427 |
|
11428 </li> |
|
11429 |
|
11430 <li class="param"> |
|
11431 |
|
11432 <code class="param-name optional">[arg*]</code> |
|
11433 <span class="type">Any</span> |
|
11434 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11435 |
|
11436 |
|
11437 |
|
11438 |
|
11439 <div class="param-description"> |
|
11440 <p>0..n additional arguments to supply to the subscriber</p> |
|
11441 </div> |
|
11442 |
|
11443 |
|
11444 </li> |
|
11445 |
|
11446 </ul> |
|
11447 </div> |
|
11448 |
|
11449 |
|
11450 |
|
11451 <div class="returns"> |
|
11452 <h4>Returns:</h4> |
|
11453 |
|
11454 <div class="returns-description"> |
|
11455 |
|
11456 |
|
11457 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
11458 |
|
11459 A subscription handle capable of detaching that |
|
11460 subscription |
|
11461 |
|
11462 </div> |
|
11463 </div> |
|
11464 |
|
11465 |
|
11466 |
|
11467 </div> |
|
11468 |
|
11469 |
|
11470 <div id="method_once" class="method item inherited"> |
|
11471 <h3 class="name"><code>once</code></h3> |
|
11472 |
|
11473 |
|
11474 <div class="args"> |
|
11475 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11476 |
|
11477 <li class="arg"> |
|
11478 |
|
11479 <code>type</code> |
|
11480 |
|
11481 </li> |
|
11482 |
|
11483 <li class="arg"> |
|
11484 |
|
11485 <code>fn</code> |
|
11486 |
|
11487 </li> |
|
11488 |
|
11489 <li class="arg"> |
|
11490 |
|
11491 <code class="optional">[context]</code> |
|
11492 |
|
11493 </li> |
|
11494 |
|
11495 <li class="arg"> |
|
11496 |
|
11497 <code class="optional">[arg*]</code> |
|
11498 |
|
11499 </li> |
|
11500 |
|
11501 </ul><span class="paren">)</span> |
|
11502 </div> |
|
11503 |
|
11504 |
|
11505 |
|
11506 <span class="returns-inline"> |
|
11507 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
11508 </span> |
|
11509 |
|
11510 |
|
11511 |
|
11512 |
|
11513 |
|
11514 |
|
11515 |
|
11516 |
|
11517 |
|
11518 |
|
11519 |
|
11520 |
|
11521 |
|
11522 |
|
11523 <div class="meta"> |
|
11524 |
|
11525 |
|
11526 <p>Inherited from |
|
11527 <a href="../classes/EventTarget.html#method_once">EventTarget</a>: |
|
11528 |
|
11529 |
|
11530 |
|
11531 <a href="../files/event-custom_js_event-target.js.html#l124"><code>event-custom/js/event-target.js:124</code></a> |
|
11532 |
|
11533 </p> |
|
11534 |
|
11535 |
|
11536 |
|
11537 |
|
11538 |
|
11539 </div> |
|
11540 |
|
11541 <div class="description"> |
|
11542 <p>Listen to a custom event hosted by this object one time. |
|
11543 This is the equivalent to <code>on</code> except the |
|
11544 listener is immediatelly detached when it is executed.</p> |
|
11545 </div> |
|
11546 |
|
11547 |
|
11548 <div class="params"> |
|
11549 <h4>Parameters:</h4> |
|
11550 |
|
11551 <ul class="params-list"> |
|
11552 |
|
11553 <li class="param"> |
|
11554 |
|
11555 <code class="param-name">type</code> |
|
11556 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11557 |
|
11558 |
|
11559 |
|
11560 |
|
11561 <div class="param-description"> |
|
11562 <p>The name of the event</p> |
|
11563 </div> |
|
11564 |
|
11565 |
|
11566 </li> |
|
11567 |
|
11568 <li class="param"> |
|
11569 |
|
11570 <code class="param-name">fn</code> |
|
11571 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
11572 |
|
11573 |
|
11574 |
|
11575 |
|
11576 <div class="param-description"> |
|
11577 <p>The callback to execute in response to the event</p> |
|
11578 </div> |
|
11579 |
|
11580 |
|
11581 </li> |
|
11582 |
|
11583 <li class="param"> |
|
11584 |
|
11585 <code class="param-name optional">[context]</code> |
|
11586 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11587 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11588 |
|
11589 |
|
11590 |
|
11591 |
|
11592 <div class="param-description"> |
|
11593 <p>Override <code>this</code> object in callback</p> |
|
11594 </div> |
|
11595 |
|
11596 |
|
11597 </li> |
|
11598 |
|
11599 <li class="param"> |
|
11600 |
|
11601 <code class="param-name optional">[arg*]</code> |
|
11602 <span class="type">Any</span> |
|
11603 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11604 |
|
11605 |
|
11606 |
|
11607 |
|
11608 <div class="param-description"> |
|
11609 <p>0..n additional arguments to supply to the subscriber</p> |
|
11610 </div> |
|
11611 |
|
11612 |
|
11613 </li> |
|
11614 |
|
11615 </ul> |
|
11616 </div> |
|
11617 |
|
11618 |
|
11619 |
|
11620 <div class="returns"> |
|
11621 <h4>Returns:</h4> |
|
11622 |
|
11623 <div class="returns-description"> |
|
11624 |
|
11625 |
|
11626 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
11627 |
|
11628 A subscription handle capable of detaching the |
|
11629 subscription |
|
11630 |
|
11631 </div> |
|
11632 </div> |
|
11633 |
|
11634 |
|
11635 |
|
11636 </div> |
|
11637 |
|
11638 |
|
11639 <div id="method_onceAfter" class="method item inherited"> |
|
11640 <h3 class="name"><code>onceAfter</code></h3> |
|
11641 |
|
11642 |
|
11643 <div class="args"> |
|
11644 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11645 |
|
11646 <li class="arg"> |
|
11647 |
|
11648 <code>type</code> |
|
11649 |
|
11650 </li> |
|
11651 |
|
11652 <li class="arg"> |
|
11653 |
|
11654 <code>fn</code> |
|
11655 |
|
11656 </li> |
|
11657 |
|
11658 <li class="arg"> |
|
11659 |
|
11660 <code class="optional">[context]</code> |
|
11661 |
|
11662 </li> |
|
11663 |
|
11664 <li class="arg"> |
|
11665 |
|
11666 <code class="optional">[arg*]</code> |
|
11667 |
|
11668 </li> |
|
11669 |
|
11670 </ul><span class="paren">)</span> |
|
11671 </div> |
|
11672 |
|
11673 |
|
11674 |
|
11675 <span class="returns-inline"> |
|
11676 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
11677 </span> |
|
11678 |
|
11679 |
|
11680 |
|
11681 |
|
11682 |
|
11683 |
|
11684 |
|
11685 |
|
11686 |
|
11687 |
|
11688 |
|
11689 |
|
11690 |
|
11691 |
|
11692 <div class="meta"> |
|
11693 |
|
11694 |
|
11695 <p>Inherited from |
|
11696 <a href="../classes/EventTarget.html#method_onceAfter">EventTarget</a>: |
|
11697 |
|
11698 |
|
11699 |
|
11700 <a href="../files/event-custom_js_event-target.js.html#l146"><code>event-custom/js/event-target.js:146</code></a> |
|
11701 |
|
11702 </p> |
|
11703 |
|
11704 |
|
11705 |
|
11706 |
|
11707 |
|
11708 </div> |
|
11709 |
|
11710 <div class="description"> |
|
11711 <p>Listen to a custom event hosted by this object one time. |
|
11712 This is the equivalent to <code>after</code> except the |
|
11713 listener is immediatelly detached when it is executed.</p> |
|
11714 </div> |
|
11715 |
|
11716 |
|
11717 <div class="params"> |
|
11718 <h4>Parameters:</h4> |
|
11719 |
|
11720 <ul class="params-list"> |
|
11721 |
|
11722 <li class="param"> |
|
11723 |
|
11724 <code class="param-name">type</code> |
|
11725 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11726 |
|
11727 |
|
11728 |
|
11729 |
|
11730 <div class="param-description"> |
|
11731 <p>The name of the event</p> |
|
11732 </div> |
|
11733 |
|
11734 |
|
11735 </li> |
|
11736 |
|
11737 <li class="param"> |
|
11738 |
|
11739 <code class="param-name">fn</code> |
|
11740 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
11741 |
|
11742 |
|
11743 |
|
11744 |
|
11745 <div class="param-description"> |
|
11746 <p>The callback to execute in response to the event</p> |
|
11747 </div> |
|
11748 |
|
11749 |
|
11750 </li> |
|
11751 |
|
11752 <li class="param"> |
|
11753 |
|
11754 <code class="param-name optional">[context]</code> |
|
11755 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11756 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11757 |
|
11758 |
|
11759 |
|
11760 |
|
11761 <div class="param-description"> |
|
11762 <p>Override <code>this</code> object in callback</p> |
|
11763 </div> |
|
11764 |
|
11765 |
|
11766 </li> |
|
11767 |
|
11768 <li class="param"> |
|
11769 |
|
11770 <code class="param-name optional">[arg*]</code> |
|
11771 <span class="type">Any</span> |
|
11772 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11773 |
|
11774 |
|
11775 |
|
11776 |
|
11777 <div class="param-description"> |
|
11778 <p>0..n additional arguments to supply to the subscriber</p> |
|
11779 </div> |
|
11780 |
|
11781 |
|
11782 </li> |
|
11783 |
|
11784 </ul> |
|
11785 </div> |
|
11786 |
|
11787 |
|
11788 |
|
11789 <div class="returns"> |
|
11790 <h4>Returns:</h4> |
|
11791 |
|
11792 <div class="returns-description"> |
|
11793 |
|
11794 |
|
11795 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
11796 |
|
11797 A subscription handle capable of detaching that |
|
11798 subscription |
|
11799 |
|
11800 </div> |
|
11801 </div> |
|
11802 |
|
11803 |
|
11804 |
|
11805 </div> |
|
11806 |
|
11807 |
|
11808 <div id="method_parseType" class="method item inherited"> |
|
11809 <h3 class="name"><code>parseType</code></h3> |
|
11810 |
|
11811 |
|
11812 <div class="args"> |
|
11813 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11814 |
|
11815 <li class="arg"> |
|
11816 |
|
11817 <code>type</code> |
|
11818 |
|
11819 </li> |
|
11820 |
|
11821 <li class="arg"> |
|
11822 |
|
11823 <code class="optional">[pre=this._yuievt.config.prefix]</code> |
|
11824 |
|
11825 </li> |
|
11826 |
|
11827 </ul><span class="paren">)</span> |
|
11828 </div> |
|
11829 |
|
11830 |
|
11831 |
|
11832 <span class="returns-inline"> |
|
11833 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
11834 </span> |
|
11835 |
|
11836 |
|
11837 |
|
11838 |
|
11839 |
|
11840 |
|
11841 |
|
11842 |
|
11843 |
|
11844 |
|
11845 |
|
11846 |
|
11847 |
|
11848 |
|
11849 <div class="meta"> |
|
11850 |
|
11851 |
|
11852 <p>Inherited from |
|
11853 <a href="../classes/EventTarget.html#method_parseType">EventTarget</a>: |
|
11854 |
|
11855 |
|
11856 |
|
11857 <a href="../files/event-custom_js_event-target.js.html#l168"><code>event-custom/js/event-target.js:168</code></a> |
|
11858 |
|
11859 </p> |
|
11860 |
|
11861 |
|
11862 |
|
11863 |
|
11864 |
|
11865 <p>Available since 3.3.0</p> |
|
11866 |
|
11867 </div> |
|
11868 |
|
11869 <div class="description"> |
|
11870 <p>Takes the type parameter passed to 'on' and parses out the |
|
11871 various pieces that could be included in the type. If the |
|
11872 event type is passed without a prefix, it will be expanded |
|
11873 to include the prefix one is supplied or the event target |
|
11874 is configured with a default prefix.</p> |
|
11875 </div> |
|
11876 |
|
11877 |
|
11878 <div class="params"> |
|
11879 <h4>Parameters:</h4> |
|
11880 |
|
11881 <ul class="params-list"> |
|
11882 |
|
11883 <li class="param"> |
|
11884 |
|
11885 <code class="param-name">type</code> |
|
11886 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11887 |
|
11888 |
|
11889 |
|
11890 |
|
11891 <div class="param-description"> |
|
11892 <p>the type</p> |
|
11893 </div> |
|
11894 |
|
11895 |
|
11896 </li> |
|
11897 |
|
11898 <li class="param"> |
|
11899 |
|
11900 <code class="param-name optional">[pre=this._yuievt.config.prefix]</code> |
|
11901 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11902 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
11903 |
|
11904 |
|
11905 |
|
11906 |
|
11907 <div class="param-description"> |
|
11908 <p>the prefix</p> |
|
11909 </div> |
|
11910 |
|
11911 |
|
11912 </li> |
|
11913 |
|
11914 </ul> |
|
11915 </div> |
|
11916 |
|
11917 |
|
11918 |
|
11919 <div class="returns"> |
|
11920 <h4>Returns:</h4> |
|
11921 |
|
11922 <div class="returns-description"> |
|
11923 |
|
11924 |
|
11925 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>: |
|
11926 |
|
11927 an array containing: |
|
11928 * the detach category, if supplied, |
|
11929 * the prefixed event type, |
|
11930 * whether or not this is an after listener, |
|
11931 * the supplied event type |
|
11932 |
|
11933 </div> |
|
11934 </div> |
|
11935 |
|
11936 |
|
11937 |
|
11938 </div> |
|
11939 |
|
11940 |
|
11941 <div id="method_publish" class="method item inherited"> |
|
11942 <h3 class="name"><code>publish</code></h3> |
|
11943 |
|
11944 |
|
11945 <div class="args"> |
|
11946 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11947 |
|
11948 <li class="arg"> |
|
11949 |
|
11950 <code>type</code> |
|
11951 |
|
11952 </li> |
|
11953 |
|
11954 <li class="arg"> |
|
11955 |
|
11956 <code>opts</code> |
|
11957 |
|
11958 </li> |
|
11959 |
|
11960 </ul><span class="paren">)</span> |
|
11961 </div> |
|
11962 |
|
11963 |
|
11964 |
|
11965 <span class="returns-inline"> |
|
11966 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
11967 </span> |
|
11968 |
|
11969 |
|
11970 |
|
11971 |
|
11972 |
|
11973 |
|
11974 |
|
11975 |
|
11976 |
|
11977 |
|
11978 |
|
11979 |
|
11980 |
|
11981 |
|
11982 <div class="meta"> |
|
11983 |
|
11984 |
|
11985 <p>Inherited from |
|
11986 <a href="../classes/EventTarget.html#method_publish">EventTarget</a>: |
|
11987 |
|
11988 |
|
11989 |
|
11990 <a href="../files/event-custom_js_event-target.js.html#l493"><code>event-custom/js/event-target.js:493</code></a> |
|
11991 |
|
11992 </p> |
|
11993 |
|
11994 |
|
11995 |
|
11996 |
|
11997 |
|
11998 </div> |
|
11999 |
|
12000 <div class="description"> |
|
12001 <p>Creates a new custom event of the specified type. If a custom event |
|
12002 by that name already exists, it will not be re-created. In either |
|
12003 case the custom event is returned.</p> |
|
12004 </div> |
|
12005 |
|
12006 |
|
12007 <div class="params"> |
|
12008 <h4>Parameters:</h4> |
|
12009 |
|
12010 <ul class="params-list"> |
|
12011 |
|
12012 <li class="param"> |
|
12013 |
|
12014 <code class="param-name">type</code> |
|
12015 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12016 |
|
12017 |
|
12018 |
|
12019 |
|
12020 <div class="param-description"> |
|
12021 <p>the type, or name of the event</p> |
|
12022 </div> |
|
12023 |
|
12024 |
|
12025 </li> |
|
12026 |
|
12027 <li class="param"> |
|
12028 |
|
12029 <code class="param-name">opts</code> |
|
12030 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12031 |
|
12032 |
|
12033 |
|
12034 |
|
12035 <div class="param-description"> |
|
12036 <p>optional config params. Valid properties are:</p> |
|
12037 |
|
12038 <p><ul> |
|
12039 <li> |
|
12040 'broadcast': whether or not the YUI instance and YUI global are notified when the event is fired (false) |
|
12041 </li> |
|
12042 <li> |
|
12043 'bubbles': whether or not this event bubbles (true) |
|
12044 Events can only bubble if emitFacade is true. |
|
12045 </li> |
|
12046 <li> |
|
12047 'context': the default execution context for the listeners (this) |
|
12048 </li> |
|
12049 <li> |
|
12050 'defaultFn': the default function to execute when this event fires if preventDefault was not called |
|
12051 </li> |
|
12052 <li> |
|
12053 'emitFacade': whether or not this event emits a facade (false) |
|
12054 </li> |
|
12055 <li> |
|
12056 'prefix': the prefix for this targets events, e.g., 'menu' in 'menu:click' |
|
12057 </li> |
|
12058 <li> |
|
12059 'fireOnce': if an event is configured to fire once, new subscribers after |
|
12060 the fire will be notified immediately. |
|
12061 </li> |
|
12062 <li> |
|
12063 'async': fireOnce event listeners will fire synchronously if the event has already |
|
12064 fired unless async is true. |
|
12065 </li> |
|
12066 <li> |
|
12067 'preventable': whether or not preventDefault() has an effect (true) |
|
12068 </li> |
|
12069 <li> |
|
12070 'preventedFn': a function that is executed when preventDefault is called |
|
12071 </li> |
|
12072 <li> |
|
12073 'queuable': whether or not this event can be queued during bubbling (false) |
|
12074 </li> |
|
12075 <li> |
|
12076 'silent': if silent is true, debug messages are not provided for this event. |
|
12077 </li> |
|
12078 <li> |
|
12079 'stoppedFn': a function that is executed when stopPropagation is called |
|
12080 </li></p> |
|
12081 |
|
12082 <p><li> |
|
12083 'monitored': specifies whether or not this event should send notifications about |
|
12084 when the event has been attached, detached, or published. |
|
12085 </li> |
|
12086 <li> |
|
12087 'type': the event type (valid option if not provided as the first parameter to publish) |
|
12088 </li> |
|
12089 </ul></p> |
|
12090 </div> |
|
12091 |
|
12092 |
|
12093 </li> |
|
12094 |
|
12095 </ul> |
|
12096 </div> |
|
12097 |
|
12098 |
|
12099 |
|
12100 <div class="returns"> |
|
12101 <h4>Returns:</h4> |
|
12102 |
|
12103 <div class="returns-description"> |
|
12104 |
|
12105 |
|
12106 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>: |
|
12107 |
|
12108 the custom event |
|
12109 |
|
12110 </div> |
|
12111 </div> |
|
12112 |
|
12113 |
|
12114 |
|
12115 </div> |
|
12116 |
|
12117 |
|
12118 <div id="method_remove" class="method item inherited"> |
|
12119 <h3 class="name"><code>remove</code></h3> |
|
12120 |
|
12121 |
|
12122 <span class="paren">()</span> |
|
12123 |
|
12124 |
|
12125 |
|
12126 |
|
12127 |
|
12128 |
|
12129 |
|
12130 |
|
12131 |
|
12132 |
|
12133 |
|
12134 |
|
12135 |
|
12136 <span class="flag chainable">chainable</span> |
|
12137 |
|
12138 |
|
12139 |
|
12140 |
|
12141 <div class="meta"> |
|
12142 |
|
12143 |
|
12144 <p>Inherited from |
|
12145 <a href="../classes/View.html#method_remove">View</a>: |
|
12146 |
|
12147 |
|
12148 |
|
12149 <a href="../files/app_js_view.js.html#l272"><code>app/js/view.js:272</code></a> |
|
12150 |
|
12151 </p> |
|
12152 |
|
12153 |
|
12154 |
|
12155 |
|
12156 |
|
12157 </div> |
|
12158 |
|
12159 <div class="description"> |
|
12160 <p>Removes this view's container element from the DOM (if it's in the DOM), |
|
12161 but doesn't destroy it or any event listeners attached to it.</p> |
|
12162 </div> |
|
12163 |
|
12164 |
|
12165 |
|
12166 |
|
12167 |
|
12168 |
|
12169 </div> |
|
12170 |
|
12171 |
|
12172 <div id="method_removeAttr" class="method item inherited"> |
|
12173 <h3 class="name"><code>removeAttr</code></h3> |
|
12174 |
|
12175 |
|
12176 <div class="args"> |
|
12177 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12178 |
|
12179 <li class="arg"> |
|
12180 |
|
12181 <code>name</code> |
|
12182 |
|
12183 </li> |
|
12184 |
|
12185 </ul><span class="paren">)</span> |
|
12186 </div> |
|
12187 |
|
12188 |
|
12189 |
|
12190 |
|
12191 |
|
12192 |
|
12193 |
|
12194 |
|
12195 |
|
12196 |
|
12197 |
|
12198 |
|
12199 |
|
12200 |
|
12201 |
|
12202 |
|
12203 <div class="meta"> |
|
12204 |
|
12205 |
|
12206 <p>Inherited from |
|
12207 <a href="../classes/AttributeExtras.html#method_removeAttr">AttributeExtras</a>: |
|
12208 |
|
12209 |
|
12210 |
|
12211 <a href="../files/attribute_js_AttributeExtras.js.html#l79"><code>attribute/js/AttributeExtras.js:79</code></a> |
|
12212 |
|
12213 </p> |
|
12214 |
|
12215 |
|
12216 |
|
12217 |
|
12218 |
|
12219 </div> |
|
12220 |
|
12221 <div class="description"> |
|
12222 <p>Removes an attribute from the host object</p> |
|
12223 </div> |
|
12224 |
|
12225 |
|
12226 <div class="params"> |
|
12227 <h4>Parameters:</h4> |
|
12228 |
|
12229 <ul class="params-list"> |
|
12230 |
|
12231 <li class="param"> |
|
12232 |
|
12233 <code class="param-name">name</code> |
|
12234 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12235 |
|
12236 |
|
12237 |
|
12238 |
|
12239 <div class="param-description"> |
|
12240 <p>The name of the attribute to be removed.</p> |
|
12241 </div> |
|
12242 |
|
12243 |
|
12244 </li> |
|
12245 |
|
12246 </ul> |
|
12247 </div> |
|
12248 |
|
12249 |
|
12250 |
|
12251 |
|
12252 |
|
12253 </div> |
|
12254 |
|
12255 |
|
12256 <div id="method_removeTarget" class="method item inherited"> |
|
12257 <h3 class="name"><code>removeTarget</code></h3> |
|
12258 |
|
12259 |
|
12260 <div class="args"> |
|
12261 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12262 |
|
12263 <li class="arg"> |
|
12264 |
|
12265 <code>o</code> |
|
12266 |
|
12267 </li> |
|
12268 |
|
12269 </ul><span class="paren">)</span> |
|
12270 </div> |
|
12271 |
|
12272 |
|
12273 |
|
12274 |
|
12275 |
|
12276 |
|
12277 |
|
12278 |
|
12279 |
|
12280 |
|
12281 |
|
12282 |
|
12283 |
|
12284 |
|
12285 |
|
12286 |
|
12287 <div class="meta"> |
|
12288 |
|
12289 |
|
12290 <p>Inherited from |
|
12291 <a href="../classes/EventTarget.html#method_removeTarget">EventTarget</a>: |
|
12292 |
|
12293 |
|
12294 |
|
12295 <a href="../files/event-custom_js_event-facade.js.html#l489"><code>event-custom/js/event-facade.js:489</code></a> |
|
12296 |
|
12297 </p> |
|
12298 |
|
12299 |
|
12300 |
|
12301 |
|
12302 |
|
12303 </div> |
|
12304 |
|
12305 <div class="description"> |
|
12306 <p>Removes a bubble target</p> |
|
12307 </div> |
|
12308 |
|
12309 |
|
12310 <div class="params"> |
|
12311 <h4>Parameters:</h4> |
|
12312 |
|
12313 <ul class="params-list"> |
|
12314 |
|
12315 <li class="param"> |
|
12316 |
|
12317 <code class="param-name">o</code> |
|
12318 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
12319 |
|
12320 |
|
12321 |
|
12322 |
|
12323 <div class="param-description"> |
|
12324 <p>the target to remove</p> |
|
12325 </div> |
|
12326 |
|
12327 |
|
12328 </li> |
|
12329 |
|
12330 </ul> |
|
12331 </div> |
|
12332 |
|
12333 |
|
12334 |
|
12335 |
|
12336 |
|
12337 </div> |
|
12338 |
|
12339 |
|
12340 <div id="method_render" class="method item"> |
|
12341 <h3 class="name"><code>render</code></h3> |
|
12342 |
|
12343 |
|
12344 <span class="paren">()</span> |
|
12345 |
|
12346 |
|
12347 |
|
12348 <span class="returns-inline"> |
|
12349 <span class="type">TableView</span> |
|
12350 </span> |
|
12351 |
|
12352 |
|
12353 |
|
12354 |
|
12355 |
|
12356 |
|
12357 |
|
12358 |
|
12359 |
|
12360 |
|
12361 |
|
12362 <span class="flag chainable">chainable</span> |
|
12363 |
|
12364 |
|
12365 |
|
12366 |
|
12367 <div class="meta"> |
|
12368 |
|
12369 <p>Inherited from |
|
12370 <a href="../classes/View.html#method_render"> |
|
12371 View |
|
12372 </a> |
|
12373 |
|
12374 but overwritten in |
|
12375 |
|
12376 |
|
12377 |
|
12378 <a href="../files/datatable_js_table.js.html#l496"><code>datatable/js/table.js:496</code></a> |
|
12379 |
|
12380 </p> |
|
12381 |
|
12382 |
|
12383 |
|
12384 |
|
12385 |
|
12386 </div> |
|
12387 |
|
12388 <div class="description"> |
|
12389 <p>Creates the UI in the configured <code>container</code>.</p> |
|
12390 </div> |
|
12391 |
|
12392 |
|
12393 |
|
12394 |
|
12395 <div class="returns"> |
|
12396 <h4>Returns:</h4> |
|
12397 |
|
12398 <div class="returns-description"> |
|
12399 |
|
12400 |
|
12401 <span class="type">TableView</span>: |
|
12402 |
|
12403 |
|
12404 </div> |
|
12405 </div> |
|
12406 |
|
12407 |
|
12408 |
|
12409 </div> |
|
12410 |
|
12411 |
|
12412 <div id="method_reset" class="method item inherited"> |
|
12413 <h3 class="name"><code>reset</code></h3> |
|
12414 |
|
12415 |
|
12416 <div class="args"> |
|
12417 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12418 |
|
12419 <li class="arg"> |
|
12420 |
|
12421 <code>name</code> |
|
12422 |
|
12423 </li> |
|
12424 |
|
12425 </ul><span class="paren">)</span> |
|
12426 </div> |
|
12427 |
|
12428 |
|
12429 |
|
12430 <span class="returns-inline"> |
|
12431 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12432 </span> |
|
12433 |
|
12434 |
|
12435 |
|
12436 |
|
12437 |
|
12438 |
|
12439 |
|
12440 |
|
12441 |
|
12442 |
|
12443 |
|
12444 <span class="flag chainable">chainable</span> |
|
12445 |
|
12446 |
|
12447 |
|
12448 |
|
12449 <div class="meta"> |
|
12450 |
|
12451 |
|
12452 <p>Inherited from |
|
12453 <a href="../classes/AttributeExtras.html#method_reset">AttributeExtras</a>: |
|
12454 |
|
12455 |
|
12456 |
|
12457 <a href="../files/attribute_js_AttributeExtras.js.html#l89"><code>attribute/js/AttributeExtras.js:89</code></a> |
|
12458 |
|
12459 </p> |
|
12460 |
|
12461 |
|
12462 |
|
12463 |
|
12464 |
|
12465 </div> |
|
12466 |
|
12467 <div class="description"> |
|
12468 <p>Resets the attribute (or all attributes) to its initial value, as long as |
|
12469 the attribute is not readOnly, or writeOnce.</p> |
|
12470 </div> |
|
12471 |
|
12472 |
|
12473 <div class="params"> |
|
12474 <h4>Parameters:</h4> |
|
12475 |
|
12476 <ul class="params-list"> |
|
12477 |
|
12478 <li class="param"> |
|
12479 |
|
12480 <code class="param-name">name</code> |
|
12481 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12482 |
|
12483 |
|
12484 |
|
12485 |
|
12486 <div class="param-description"> |
|
12487 <p>Optional. The name of the attribute to reset. If omitted, all attributes are reset.</p> |
|
12488 </div> |
|
12489 |
|
12490 |
|
12491 </li> |
|
12492 |
|
12493 </ul> |
|
12494 </div> |
|
12495 |
|
12496 |
|
12497 |
|
12498 <div class="returns"> |
|
12499 <h4>Returns:</h4> |
|
12500 |
|
12501 <div class="returns-description"> |
|
12502 |
|
12503 |
|
12504 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
12505 |
|
12506 A reference to the host object. |
|
12507 |
|
12508 </div> |
|
12509 </div> |
|
12510 |
|
12511 |
|
12512 |
|
12513 </div> |
|
12514 |
|
12515 |
|
12516 <div id="method_set" class="method item inherited"> |
|
12517 <h3 class="name"><code>set</code></h3> |
|
12518 |
|
12519 |
|
12520 <div class="args"> |
|
12521 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12522 |
|
12523 <li class="arg"> |
|
12524 |
|
12525 <code>name</code> |
|
12526 |
|
12527 </li> |
|
12528 |
|
12529 <li class="arg"> |
|
12530 |
|
12531 <code>value</code> |
|
12532 |
|
12533 </li> |
|
12534 |
|
12535 <li class="arg"> |
|
12536 |
|
12537 <code class="optional">[opts]</code> |
|
12538 |
|
12539 </li> |
|
12540 |
|
12541 </ul><span class="paren">)</span> |
|
12542 </div> |
|
12543 |
|
12544 |
|
12545 |
|
12546 <span class="returns-inline"> |
|
12547 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12548 </span> |
|
12549 |
|
12550 |
|
12551 |
|
12552 |
|
12553 |
|
12554 |
|
12555 |
|
12556 |
|
12557 |
|
12558 |
|
12559 |
|
12560 <span class="flag chainable">chainable</span> |
|
12561 |
|
12562 |
|
12563 |
|
12564 |
|
12565 <div class="meta"> |
|
12566 |
|
12567 <p>Inherited from |
|
12568 <a href="../classes/AttributeObservable.html#method_set"> |
|
12569 AttributeObservable |
|
12570 </a> |
|
12571 |
|
12572 but overwritten in |
|
12573 |
|
12574 |
|
12575 |
|
12576 <a href="../files/attribute_js_AttributeCore.js.html#l410"><code>attribute/js/AttributeCore.js:410</code></a> |
|
12577 |
|
12578 </p> |
|
12579 |
|
12580 |
|
12581 |
|
12582 |
|
12583 |
|
12584 </div> |
|
12585 |
|
12586 <div class="description"> |
|
12587 <p>Sets the value of an attribute.</p> |
|
12588 </div> |
|
12589 |
|
12590 |
|
12591 <div class="params"> |
|
12592 <h4>Parameters:</h4> |
|
12593 |
|
12594 <ul class="params-list"> |
|
12595 |
|
12596 <li class="param"> |
|
12597 |
|
12598 <code class="param-name">name</code> |
|
12599 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12600 |
|
12601 |
|
12602 |
|
12603 |
|
12604 <div class="param-description"> |
|
12605 <p>The name of the attribute. If the |
|
12606 current value of the attribute is an Object, dot notation can be used |
|
12607 to set the value of a property within the object (e.g. <code>set("x.y.z", 5)</code>).</p> |
|
12608 </div> |
|
12609 |
|
12610 |
|
12611 </li> |
|
12612 |
|
12613 <li class="param"> |
|
12614 |
|
12615 <code class="param-name">value</code> |
|
12616 <span class="type">Any</span> |
|
12617 |
|
12618 |
|
12619 |
|
12620 |
|
12621 <div class="param-description"> |
|
12622 <p>The value to set the attribute to.</p> |
|
12623 </div> |
|
12624 |
|
12625 |
|
12626 </li> |
|
12627 |
|
12628 <li class="param"> |
|
12629 |
|
12630 <code class="param-name optional">[opts]</code> |
|
12631 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12632 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
12633 |
|
12634 |
|
12635 |
|
12636 |
|
12637 <div class="param-description"> |
|
12638 <p>Optional data providing the circumstances for the change.</p> |
|
12639 </div> |
|
12640 |
|
12641 |
|
12642 </li> |
|
12643 |
|
12644 </ul> |
|
12645 </div> |
|
12646 |
|
12647 |
|
12648 |
|
12649 <div class="returns"> |
|
12650 <h4>Returns:</h4> |
|
12651 |
|
12652 <div class="returns-description"> |
|
12653 |
|
12654 |
|
12655 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
12656 |
|
12657 A reference to the host object. |
|
12658 |
|
12659 </div> |
|
12660 </div> |
|
12661 |
|
12662 |
|
12663 |
|
12664 </div> |
|
12665 |
|
12666 |
|
12667 <div id="method_setAttrs" class="method item inherited"> |
|
12668 <h3 class="name"><code>setAttrs</code></h3> |
|
12669 |
|
12670 |
|
12671 <div class="args"> |
|
12672 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12673 |
|
12674 <li class="arg"> |
|
12675 |
|
12676 <code>attrs</code> |
|
12677 |
|
12678 </li> |
|
12679 |
|
12680 <li class="arg"> |
|
12681 |
|
12682 <code class="optional">[opts]</code> |
|
12683 |
|
12684 </li> |
|
12685 |
|
12686 </ul><span class="paren">)</span> |
|
12687 </div> |
|
12688 |
|
12689 |
|
12690 |
|
12691 <span class="returns-inline"> |
|
12692 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12693 </span> |
|
12694 |
|
12695 |
|
12696 |
|
12697 |
|
12698 |
|
12699 |
|
12700 |
|
12701 |
|
12702 |
|
12703 |
|
12704 |
|
12705 <span class="flag chainable">chainable</span> |
|
12706 |
|
12707 |
|
12708 |
|
12709 |
|
12710 <div class="meta"> |
|
12711 |
|
12712 <p>Inherited from |
|
12713 <a href="../classes/AttributeObservable.html#method_setAttrs"> |
|
12714 AttributeObservable |
|
12715 </a> |
|
12716 |
|
12717 but overwritten in |
|
12718 |
|
12719 |
|
12720 |
|
12721 <a href="../files/attribute_js_AttributeCore.js.html#l729"><code>attribute/js/AttributeCore.js:729</code></a> |
|
12722 |
|
12723 </p> |
|
12724 |
|
12725 |
|
12726 |
|
12727 |
|
12728 |
|
12729 </div> |
|
12730 |
|
12731 <div class="description"> |
|
12732 <p>Sets multiple attribute values.</p> |
|
12733 </div> |
|
12734 |
|
12735 |
|
12736 <div class="params"> |
|
12737 <h4>Parameters:</h4> |
|
12738 |
|
12739 <ul class="params-list"> |
|
12740 |
|
12741 <li class="param"> |
|
12742 |
|
12743 <code class="param-name">attrs</code> |
|
12744 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12745 |
|
12746 |
|
12747 |
|
12748 |
|
12749 <div class="param-description"> |
|
12750 <p>An object with attributes name/value pairs.</p> |
|
12751 </div> |
|
12752 |
|
12753 |
|
12754 </li> |
|
12755 |
|
12756 <li class="param"> |
|
12757 |
|
12758 <code class="param-name optional">[opts]</code> |
|
12759 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12760 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
12761 |
|
12762 |
|
12763 |
|
12764 |
|
12765 <div class="param-description"> |
|
12766 <p>Optional data providing the circumstances for the change.</p> |
|
12767 </div> |
|
12768 |
|
12769 |
|
12770 </li> |
|
12771 |
|
12772 </ul> |
|
12773 </div> |
|
12774 |
|
12775 |
|
12776 |
|
12777 <div class="returns"> |
|
12778 <h4>Returns:</h4> |
|
12779 |
|
12780 <div class="returns-description"> |
|
12781 |
|
12782 |
|
12783 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
12784 |
|
12785 A reference to the host object. |
|
12786 |
|
12787 </div> |
|
12788 </div> |
|
12789 |
|
12790 |
|
12791 |
|
12792 </div> |
|
12793 |
|
12794 |
|
12795 <div id="method_subscribe" class="method item deprecated inherited"> |
|
12796 <h3 class="name"><code>subscribe</code></h3> |
|
12797 |
|
12798 |
|
12799 <span class="paren">()</span> |
|
12800 |
|
12801 |
|
12802 |
|
12803 |
|
12804 |
|
12805 <span class="flag deprecated" title="use on">deprecated</span> |
|
12806 |
|
12807 |
|
12808 |
|
12809 |
|
12810 |
|
12811 |
|
12812 |
|
12813 |
|
12814 |
|
12815 |
|
12816 |
|
12817 |
|
12818 <div class="meta"> |
|
12819 |
|
12820 |
|
12821 <p>Inherited from |
|
12822 <a href="../classes/EventTarget.html#method_subscribe">EventTarget</a>: |
|
12823 |
|
12824 |
|
12825 |
|
12826 <a href="../files/event-custom_js_event-target.js.html#l336"><code>event-custom/js/event-target.js:336</code></a> |
|
12827 |
|
12828 </p> |
|
12829 |
|
12830 |
|
12831 |
|
12832 <p>Deprecated: use on</p> |
|
12833 |
|
12834 |
|
12835 |
|
12836 </div> |
|
12837 |
|
12838 <div class="description"> |
|
12839 <p>subscribe to an event</p> |
|
12840 </div> |
|
12841 |
|
12842 |
|
12843 |
|
12844 |
|
12845 |
|
12846 |
|
12847 </div> |
|
12848 |
|
12849 |
|
12850 <div id="method_toString" class="method item inherited"> |
|
12851 <h3 class="name"><code>toString</code></h3> |
|
12852 |
|
12853 |
|
12854 <span class="paren">()</span> |
|
12855 |
|
12856 |
|
12857 |
|
12858 <span class="returns-inline"> |
|
12859 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12860 </span> |
|
12861 |
|
12862 |
|
12863 |
|
12864 |
|
12865 |
|
12866 |
|
12867 |
|
12868 |
|
12869 |
|
12870 |
|
12871 |
|
12872 |
|
12873 |
|
12874 |
|
12875 <div class="meta"> |
|
12876 |
|
12877 |
|
12878 <p>Inherited from |
|
12879 <a href="../classes/BaseCore.html#method_toString">BaseCore</a>: |
|
12880 |
|
12881 |
|
12882 |
|
12883 <a href="../files/base_js_BaseCore.js.html#l754"><code>base/js/BaseCore.js:754</code></a> |
|
12884 |
|
12885 </p> |
|
12886 |
|
12887 |
|
12888 |
|
12889 |
|
12890 |
|
12891 </div> |
|
12892 |
|
12893 <div class="description"> |
|
12894 <p>Default toString implementation. Provides the constructor NAME |
|
12895 and the instance guid, if set.</p> |
|
12896 </div> |
|
12897 |
|
12898 |
|
12899 |
|
12900 |
|
12901 <div class="returns"> |
|
12902 <h4>Returns:</h4> |
|
12903 |
|
12904 <div class="returns-description"> |
|
12905 |
|
12906 |
|
12907 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
12908 |
|
12909 String representation for this object |
|
12910 |
|
12911 </div> |
|
12912 </div> |
|
12913 |
|
12914 |
|
12915 |
|
12916 </div> |
|
12917 |
|
12918 |
|
12919 <div id="method_unsubscribe" class="method item deprecated inherited"> |
|
12920 <h3 class="name"><code>unsubscribe</code></h3> |
|
12921 |
|
12922 |
|
12923 <span class="paren">()</span> |
|
12924 |
|
12925 |
|
12926 |
|
12927 |
|
12928 |
|
12929 <span class="flag deprecated" title="use detach">deprecated</span> |
|
12930 |
|
12931 |
|
12932 |
|
12933 |
|
12934 |
|
12935 |
|
12936 |
|
12937 |
|
12938 |
|
12939 |
|
12940 |
|
12941 |
|
12942 <div class="meta"> |
|
12943 |
|
12944 |
|
12945 <p>Inherited from |
|
12946 <a href="../classes/EventTarget.html#method_unsubscribe">EventTarget</a>: |
|
12947 |
|
12948 |
|
12949 |
|
12950 <a href="../files/event-custom_js_event-target.js.html#l459"><code>event-custom/js/event-target.js:459</code></a> |
|
12951 |
|
12952 </p> |
|
12953 |
|
12954 |
|
12955 |
|
12956 <p>Deprecated: use detach</p> |
|
12957 |
|
12958 |
|
12959 |
|
12960 </div> |
|
12961 |
|
12962 <div class="description"> |
|
12963 <p>detach a listener</p> |
|
12964 </div> |
|
12965 |
|
12966 |
|
12967 |
|
12968 |
|
12969 |
|
12970 |
|
12971 </div> |
|
12972 |
|
12973 |
|
12974 <div id="method_unsubscribeAll" class="method item deprecated inherited"> |
|
12975 <h3 class="name"><code>unsubscribeAll</code></h3> |
|
12976 |
|
12977 |
|
12978 <div class="args"> |
|
12979 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12980 |
|
12981 <li class="arg"> |
|
12982 |
|
12983 <code>type</code> |
|
12984 |
|
12985 </li> |
|
12986 |
|
12987 </ul><span class="paren">)</span> |
|
12988 </div> |
|
12989 |
|
12990 |
|
12991 |
|
12992 |
|
12993 |
|
12994 <span class="flag deprecated" title="use detachAll">deprecated</span> |
|
12995 |
|
12996 |
|
12997 |
|
12998 |
|
12999 |
|
13000 |
|
13001 |
|
13002 |
|
13003 |
|
13004 |
|
13005 |
|
13006 |
|
13007 <div class="meta"> |
|
13008 |
|
13009 |
|
13010 <p>Inherited from |
|
13011 <a href="../classes/EventTarget.html#method_unsubscribeAll">EventTarget</a>: |
|
13012 |
|
13013 |
|
13014 |
|
13015 <a href="../files/event-custom_js_event-target.js.html#l480"><code>event-custom/js/event-target.js:480</code></a> |
|
13016 |
|
13017 </p> |
|
13018 |
|
13019 |
|
13020 |
|
13021 <p>Deprecated: use detachAll</p> |
|
13022 |
|
13023 |
|
13024 |
|
13025 </div> |
|
13026 |
|
13027 <div class="description"> |
|
13028 <p>Removes all listeners from the specified event. If the event type |
|
13029 is not specified, all listeners from all hosted custom events will |
|
13030 be removed.</p> |
|
13031 </div> |
|
13032 |
|
13033 |
|
13034 <div class="params"> |
|
13035 <h4>Parameters:</h4> |
|
13036 |
|
13037 <ul class="params-list"> |
|
13038 |
|
13039 <li class="param"> |
|
13040 |
|
13041 <code class="param-name">type</code> |
|
13042 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13043 |
|
13044 |
|
13045 |
|
13046 |
|
13047 <div class="param-description"> |
|
13048 <p>The type, or name of the event</p> |
|
13049 </div> |
|
13050 |
|
13051 |
|
13052 </li> |
|
13053 |
|
13054 </ul> |
|
13055 </div> |
|
13056 |
|
13057 |
|
13058 |
|
13059 |
|
13060 |
|
13061 </div> |
|
13062 |
|
13063 |
|
13064 </div> |
|
13065 |
|
13066 |
|
13067 |
|
13068 <div id="properties" class="api-class-tabpanel"> |
|
13069 <h2 class="off-left">Properties</h2> |
|
13070 |
|
13071 |
|
13072 <div id="property__allowAdHocAttrs" class="property item protected inherited"> |
|
13073 <h3 class="name"><code>_allowAdHocAttrs</code></h3> |
|
13074 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
13075 |
|
13076 |
|
13077 |
|
13078 |
|
13079 <span class="flag protected">protected</span> |
|
13080 |
|
13081 |
|
13082 |
|
13083 |
|
13084 |
|
13085 |
|
13086 <div class="meta"> |
|
13087 |
|
13088 <p>Inherited from |
|
13089 <a href="../classes/BaseCore.html#property__allowAdHocAttrs"> |
|
13090 BaseCore |
|
13091 </a> |
|
13092 |
|
13093 but overwritten in |
|
13094 |
|
13095 |
|
13096 |
|
13097 <a href="../files/app_js_view.js.html#l111"><code>app/js/view.js:111</code></a> |
|
13098 |
|
13099 </p> |
|
13100 |
|
13101 |
|
13102 |
|
13103 |
|
13104 <p>Available since 3.5.0</p> |
|
13105 |
|
13106 </div> |
|
13107 |
|
13108 <div class="description"> |
|
13109 <p>This tells <code>Y.Base</code> that it should create ad-hoc attributes for config |
|
13110 properties passed to View's constructor. This makes it possible to |
|
13111 instantiate a view and set a bunch of attributes without having to subclass |
|
13112 <code>Y.View</code> and declare all those attributes first.</p> |
|
13113 </div> |
|
13114 |
|
13115 |
|
13116 <p><strong>Default:</strong> true</p> |
|
13117 |
|
13118 |
|
13119 |
|
13120 |
|
13121 |
|
13122 </div> |
|
13123 |
|
13124 |
|
13125 <div id="property_body" class="property item"> |
|
13126 <h3 class="name"><code>body</code></h3> |
|
13127 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13128 |
|
13129 |
|
13130 |
|
13131 |
|
13132 |
|
13133 |
|
13134 |
|
13135 |
|
13136 |
|
13137 <div class="meta"> |
|
13138 |
|
13139 |
|
13140 |
|
13141 <p> |
|
13142 |
|
13143 Defined in |
|
13144 |
|
13145 |
|
13146 |
|
13147 |
|
13148 <a href="../files/datatable_js_table.js.html#l50"><code>datatable/js/table.js:50</code></a> |
|
13149 |
|
13150 </p> |
|
13151 |
|
13152 |
|
13153 |
|
13154 |
|
13155 <p>Available since 3.5.0</p> |
|
13156 |
|
13157 </div> |
|
13158 |
|
13159 <div class="description"> |
|
13160 <p>The object or instance of the class assigned to <code>bodyView</code> that is |
|
13161 responsible for rendering and managing the table's <code><tbody></code>(s) and its |
|
13162 content.</p> |
|
13163 </div> |
|
13164 |
|
13165 |
|
13166 <p><strong>Default:</strong> undefined (initially unset)</p> |
|
13167 |
|
13168 |
|
13169 |
|
13170 |
|
13171 |
|
13172 </div> |
|
13173 |
|
13174 |
|
13175 <div id="property_CAPTION_TEMPLATE" class="property item"> |
|
13176 <h3 class="name"><code>CAPTION_TEMPLATE</code></h3> |
|
13177 <span class="type">HTML</span> |
|
13178 |
|
13179 |
|
13180 |
|
13181 |
|
13182 |
|
13183 |
|
13184 |
|
13185 |
|
13186 |
|
13187 <div class="meta"> |
|
13188 |
|
13189 |
|
13190 |
|
13191 <p> |
|
13192 |
|
13193 Defined in |
|
13194 |
|
13195 |
|
13196 |
|
13197 |
|
13198 <a href="../files/datatable_js_table.js.html#l29"><code>datatable/js/table.js:29</code></a> |
|
13199 |
|
13200 </p> |
|
13201 |
|
13202 |
|
13203 |
|
13204 |
|
13205 <p>Available since 3.6.0</p> |
|
13206 |
|
13207 </div> |
|
13208 |
|
13209 <div class="description"> |
|
13210 <p>The HTML template used to create the caption Node if the <code>caption</code> |
|
13211 attribute is set.</p> |
|
13212 </div> |
|
13213 |
|
13214 |
|
13215 <p><strong>Default:</strong> '<caption class="{className}"/>'</p> |
|
13216 |
|
13217 |
|
13218 |
|
13219 |
|
13220 |
|
13221 </div> |
|
13222 |
|
13223 |
|
13224 <div id="property_containerTemplate" class="property item inherited"> |
|
13225 <h3 class="name"><code>containerTemplate</code></h3> |
|
13226 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13227 |
|
13228 |
|
13229 |
|
13230 |
|
13231 |
|
13232 |
|
13233 |
|
13234 |
|
13235 |
|
13236 <div class="meta"> |
|
13237 |
|
13238 |
|
13239 <p>Inherited from |
|
13240 <a href="../classes/View.html#property_containerTemplate">View</a>: |
|
13241 |
|
13242 |
|
13243 |
|
13244 <a href="../files/app_js_view.js.html#l40"><code>app/js/view.js:40</code></a> |
|
13245 |
|
13246 </p> |
|
13247 |
|
13248 |
|
13249 |
|
13250 |
|
13251 <p>Available since 3.5.0</p> |
|
13252 |
|
13253 </div> |
|
13254 |
|
13255 <div class="description"> |
|
13256 <p>Template for this view's container.</p> |
|
13257 </div> |
|
13258 |
|
13259 |
|
13260 <p><strong>Default:</strong> "<div/>"</p> |
|
13261 |
|
13262 |
|
13263 |
|
13264 |
|
13265 |
|
13266 </div> |
|
13267 |
|
13268 |
|
13269 <div id="property_displayColumns" class="property item"> |
|
13270 <h3 class="name"><code>displayColumns</code></h3> |
|
13271 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span> |
|
13272 |
|
13273 |
|
13274 |
|
13275 |
|
13276 |
|
13277 |
|
13278 |
|
13279 |
|
13280 |
|
13281 <div class="meta"> |
|
13282 |
|
13283 |
|
13284 |
|
13285 <p> |
|
13286 |
|
13287 Defined in |
|
13288 |
|
13289 |
|
13290 |
|
13291 |
|
13292 <a href="../files/datatable_js_table.js.html#l421"><code>datatable/js/table.js:421</code></a> |
|
13293 |
|
13294 </p> |
|
13295 |
|
13296 |
|
13297 |
|
13298 |
|
13299 <p>Available since 3.6.0</p> |
|
13300 |
|
13301 </div> |
|
13302 |
|
13303 <div class="description"> |
|
13304 <p>Array of the columns that correspond to those with value cells in the |
|
13305 data rows. Excludes colspan header columns (configured with <code>children</code>).</p> |
|
13306 </div> |
|
13307 |
|
13308 |
|
13309 |
|
13310 |
|
13311 |
|
13312 |
|
13313 </div> |
|
13314 |
|
13315 |
|
13316 <div id="property_events" class="property item inherited"> |
|
13317 <h3 class="name"><code>events</code></h3> |
|
13318 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13319 |
|
13320 |
|
13321 |
|
13322 |
|
13323 |
|
13324 |
|
13325 |
|
13326 |
|
13327 |
|
13328 <div class="meta"> |
|
13329 |
|
13330 |
|
13331 <p>Inherited from |
|
13332 <a href="../classes/View.html#property_events">View</a>: |
|
13333 |
|
13334 |
|
13335 |
|
13336 <a href="../files/app_js_view.js.html#l50"><code>app/js/view.js:50</code></a> |
|
13337 |
|
13338 </p> |
|
13339 |
|
13340 |
|
13341 |
|
13342 |
|
13343 </div> |
|
13344 |
|
13345 <div class="description"> |
|
13346 <p>Hash of CSS selectors mapped to events to delegate to elements matching |
|
13347 those selectors.</p> |
|
13348 |
|
13349 <p>CSS selectors are relative to the <code>container</code> element. Events are attached |
|
13350 to the container, and delegation is used so that subscribers are only |
|
13351 notified of events that occur on elements inside the container that match |
|
13352 the specified selectors. This allows the container's contents to be re- |
|
13353 rendered as needed without losing event subscriptions.</p> |
|
13354 |
|
13355 <p>Event handlers can be specified either as functions or as strings that map |
|
13356 to function names on this view instance or its prototype.</p> |
|
13357 |
|
13358 <p>The <code>this</code> object in event handlers will refer to this view instance. If |
|
13359 you'd prefer <code>this</code> to be something else, use <code>Y.bind()</code> to bind a custom |
|
13360 <code>this</code> object.</p> |
|
13361 </div> |
|
13362 |
|
13363 |
|
13364 <p><strong>Default:</strong> {}</p> |
|
13365 |
|
13366 |
|
13367 |
|
13368 <div class="example"> |
|
13369 <h4>Example:</h4> |
|
13370 |
|
13371 <div class="example-content"> |
|
13372 <pre class="code prettyprint"><code>var view = new Y.View({ |
|
13373 events: { |
|
13374 // Call <code>this.toggle()</code> whenever the element with the id |
|
13375 // "toggle-button" is clicked. |
|
13376 '#toggle-button': {click: 'toggle'}, |
|
13377 |
|
13378 // Call <code>this.hoverOn()</code> when the mouse moves over any element |
|
13379 // with the "hoverable" class, and <code>this.hoverOff()</code> when the |
|
13380 // mouse moves out of any element with the "hoverable" class. |
|
13381 '.hoverable': { |
|
13382 mouseover: 'hoverOn', |
|
13383 mouseout : 'hoverOff' |
|
13384 } |
|
13385 } |
|
13386 }); |
|
13387 </code></pre> |
|
13388 </div> |
|
13389 </div> |
|
13390 |
|
13391 |
|
13392 |
|
13393 </div> |
|
13394 |
|
13395 |
|
13396 <div id="property_foot" class="property item"> |
|
13397 <h3 class="name"><code>foot</code></h3> |
|
13398 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13399 |
|
13400 |
|
13401 |
|
13402 |
|
13403 |
|
13404 |
|
13405 |
|
13406 |
|
13407 |
|
13408 <div class="meta"> |
|
13409 |
|
13410 |
|
13411 |
|
13412 <p> |
|
13413 |
|
13414 Defined in |
|
13415 |
|
13416 |
|
13417 |
|
13418 |
|
13419 <a href="../files/datatable_js_table.js.html#l62"><code>datatable/js/table.js:62</code></a> |
|
13420 |
|
13421 </p> |
|
13422 |
|
13423 |
|
13424 |
|
13425 |
|
13426 <p>Available since 3.5.0</p> |
|
13427 |
|
13428 </div> |
|
13429 |
|
13430 <div class="description"> |
|
13431 <p>The object or instance of the class assigned to <code>footerView</code> that is |
|
13432 responsible for rendering and managing the table's <code><tfoot></code> and its |
|
13433 content.</p> |
|
13434 </div> |
|
13435 |
|
13436 |
|
13437 <p><strong>Default:</strong> undefined (initially unset)</p> |
|
13438 |
|
13439 |
|
13440 |
|
13441 |
|
13442 |
|
13443 </div> |
|
13444 |
|
13445 |
|
13446 <div id="property_head" class="property item"> |
|
13447 <h3 class="name"><code>head</code></h3> |
|
13448 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13449 |
|
13450 |
|
13451 |
|
13452 |
|
13453 |
|
13454 |
|
13455 |
|
13456 |
|
13457 |
|
13458 <div class="meta"> |
|
13459 |
|
13460 |
|
13461 |
|
13462 <p> |
|
13463 |
|
13464 Defined in |
|
13465 |
|
13466 |
|
13467 |
|
13468 |
|
13469 <a href="../files/datatable_js_table.js.html#l74"><code>datatable/js/table.js:74</code></a> |
|
13470 |
|
13471 </p> |
|
13472 |
|
13473 |
|
13474 |
|
13475 |
|
13476 <p>Available since 3.5.0</p> |
|
13477 |
|
13478 </div> |
|
13479 |
|
13480 <div class="description"> |
|
13481 <p>The object or instance of the class assigned to <code>headerView</code> that is |
|
13482 responsible for rendering and managing the table's <code><thead></code> and its |
|
13483 content.</p> |
|
13484 </div> |
|
13485 |
|
13486 |
|
13487 <p><strong>Default:</strong> undefined (initially unset)</p> |
|
13488 |
|
13489 |
|
13490 |
|
13491 |
|
13492 |
|
13493 </div> |
|
13494 |
|
13495 |
|
13496 <div id="property_name" class="property item deprecated inherited"> |
|
13497 <h3 class="name"><code>name</code></h3> |
|
13498 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13499 |
|
13500 |
|
13501 <span class="flag deprecated" title="Use this.constructor.NAME">deprecated</span> |
|
13502 |
|
13503 |
|
13504 |
|
13505 |
|
13506 |
|
13507 |
|
13508 |
|
13509 |
|
13510 <div class="meta"> |
|
13511 |
|
13512 |
|
13513 <p>Inherited from |
|
13514 <a href="../classes/BaseCore.html#property_name">BaseCore</a>: |
|
13515 |
|
13516 |
|
13517 |
|
13518 <a href="../files/base_js_BaseCore.js.html#l242"><code>base/js/BaseCore.js:242</code></a> |
|
13519 |
|
13520 </p> |
|
13521 |
|
13522 |
|
13523 <p>Deprecated: Use this.constructor.NAME</p> |
|
13524 |
|
13525 |
|
13526 |
|
13527 </div> |
|
13528 |
|
13529 <div class="description"> |
|
13530 <p>The string used to identify the class of this object.</p> |
|
13531 </div> |
|
13532 |
|
13533 |
|
13534 |
|
13535 |
|
13536 |
|
13537 |
|
13538 </div> |
|
13539 |
|
13540 |
|
13541 <div id="property_TABLE_TEMPLATE" class="property item"> |
|
13542 <h3 class="name"><code>TABLE_TEMPLATE</code></h3> |
|
13543 <span class="type">HTML</span> |
|
13544 |
|
13545 |
|
13546 |
|
13547 |
|
13548 |
|
13549 |
|
13550 |
|
13551 |
|
13552 |
|
13553 <div class="meta"> |
|
13554 |
|
13555 |
|
13556 |
|
13557 <p> |
|
13558 |
|
13559 Defined in |
|
13560 |
|
13561 |
|
13562 |
|
13563 |
|
13564 <a href="../files/datatable_js_table.js.html#l40"><code>datatable/js/table.js:40</code></a> |
|
13565 |
|
13566 </p> |
|
13567 |
|
13568 |
|
13569 |
|
13570 |
|
13571 <p>Available since 3.6.0</p> |
|
13572 |
|
13573 </div> |
|
13574 |
|
13575 <div class="description"> |
|
13576 <p>The HTML template used to create the table Node.</p> |
|
13577 </div> |
|
13578 |
|
13579 |
|
13580 <p><strong>Default:</strong> '<table cellspacing="0" class="{className}"/>'</p> |
|
13581 |
|
13582 |
|
13583 |
|
13584 |
|
13585 |
|
13586 </div> |
|
13587 |
|
13588 |
|
13589 <div id="property_template" class="property item inherited"> |
|
13590 <h3 class="name"><code>template</code></h3> |
|
13591 <span class="type">Mixed</span> |
|
13592 |
|
13593 |
|
13594 |
|
13595 |
|
13596 |
|
13597 |
|
13598 |
|
13599 |
|
13600 |
|
13601 <div class="meta"> |
|
13602 |
|
13603 |
|
13604 <p>Inherited from |
|
13605 <a href="../classes/View.html#property_template">View</a>: |
|
13606 |
|
13607 |
|
13608 |
|
13609 <a href="../files/app_js_view.js.html#l91"><code>app/js/view.js:91</code></a> |
|
13610 |
|
13611 </p> |
|
13612 |
|
13613 |
|
13614 |
|
13615 |
|
13616 </div> |
|
13617 |
|
13618 <div class="description"> |
|
13619 <p>Template for this view's contents.</p> |
|
13620 |
|
13621 <p>This is a convenience property that has no default behavior of its own. |
|
13622 It's only provided as a convention to allow you to store whatever you |
|
13623 consider to be a template, whether that's an HTML string, a <code>Y.Node</code> |
|
13624 instance, a Mustache template, or anything else your little heart |
|
13625 desires.</p> |
|
13626 |
|
13627 <p>How this template gets used is entirely up to you and your custom |
|
13628 <code>render()</code> method.</p> |
|
13629 </div> |
|
13630 |
|
13631 |
|
13632 <p><strong>Default:</strong> ''</p> |
|
13633 |
|
13634 |
|
13635 |
|
13636 |
|
13637 |
|
13638 </div> |
|
13639 |
|
13640 |
|
13641 </div> |
|
13642 |
|
13643 |
|
13644 |
|
13645 <div id="attrs" class="api-class-tabpanel"> |
|
13646 <h2 class="off-left">Attributes</h2> |
|
13647 |
|
13648 |
|
13649 <div id="attr_bodyConfig" class="attr item"> |
|
13650 <a name="config_bodyConfig"></a> |
|
13651 <h3 class="name"><code>bodyConfig</code></h3> |
|
13652 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13653 |
|
13654 |
|
13655 |
|
13656 |
|
13657 |
|
13658 |
|
13659 |
|
13660 |
|
13661 |
|
13662 |
|
13663 |
|
13664 |
|
13665 |
|
13666 |
|
13667 |
|
13668 <div class="meta"> |
|
13669 |
|
13670 |
|
13671 |
|
13672 <p> |
|
13673 |
|
13674 Defined in |
|
13675 |
|
13676 |
|
13677 |
|
13678 |
|
13679 <a href="../files/datatable_js_table.js.html#l739"><code>datatable/js/table.js:739</code></a> |
|
13680 |
|
13681 </p> |
|
13682 |
|
13683 |
|
13684 |
|
13685 |
|
13686 <p>Available since 3.6.0</p> |
|
13687 |
|
13688 </div> |
|
13689 |
|
13690 <div class="description"> |
|
13691 <p>Configuration overrides used when instantiating the <code>bodyView</code> |
|
13692 instance.</p> |
|
13693 </div> |
|
13694 |
|
13695 |
|
13696 |
|
13697 |
|
13698 <div class="emits box"> |
|
13699 <h4>Fires event <code>bodyConfigChange</code></h4> |
|
13700 |
|
13701 <p> |
|
13702 Fires when the value for the configuration attribute <code>bodyConfig</code> is |
|
13703 changed. You can listen for the event using the <code>on</code> method if you |
|
13704 wish to be notified before the attribute's value has changed, or |
|
13705 using the <code>after</code> method if you wish to be notified after the |
|
13706 attribute's value has changed. |
|
13707 </p> |
|
13708 |
|
13709 <div class="params"> |
|
13710 <h4>Parameters:</h4> |
|
13711 |
|
13712 <ul class="params-list"> |
|
13713 <li class="param"> |
|
13714 <code class="param-name">e</code> |
|
13715 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
13716 |
|
13717 <div class="param-description"> |
|
13718 An Event Facade object with the following |
|
13719 attribute-specific properties added: |
|
13720 </div> |
|
13721 |
|
13722 <ul class="params-list"> |
|
13723 <li class="param"> |
|
13724 <code class="param-name">prevVal</code> |
|
13725 <span class="type">Any</span> |
|
13726 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
13727 </li> |
|
13728 <li class="param"> |
|
13729 <code class="param-name">newVal</code> |
|
13730 <span class="type">Any</span> |
|
13731 <div class="param-description">The value the attribute is to be set to.</div> |
|
13732 </li> |
|
13733 <li class="param"> |
|
13734 <code class="param-name">attrName</code> |
|
13735 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13736 <div class="param-description">The name of the attribute being set.</div> |
|
13737 </li> |
|
13738 <li class="param"> |
|
13739 <code class="param-name">subAttrName</code> |
|
13740 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13741 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
13742 </li> |
|
13743 </ul> |
|
13744 </li> |
|
13745 </ul> |
|
13746 </div> |
|
13747 </div> |
|
13748 |
|
13749 |
|
13750 |
|
13751 </div> |
|
13752 |
|
13753 |
|
13754 <div id="attr_bodyView" class="attr item"> |
|
13755 <a name="config_bodyView"></a> |
|
13756 <h3 class="name"><code>bodyView</code></h3> |
|
13757 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13758 |
|
13759 |
|
13760 |
|
13761 |
|
13762 |
|
13763 |
|
13764 |
|
13765 |
|
13766 |
|
13767 |
|
13768 |
|
13769 |
|
13770 |
|
13771 |
|
13772 |
|
13773 <div class="meta"> |
|
13774 |
|
13775 |
|
13776 |
|
13777 <p> |
|
13778 |
|
13779 Defined in |
|
13780 |
|
13781 |
|
13782 |
|
13783 |
|
13784 <a href="../files/datatable_js_table.js.html#l719"><code>datatable/js/table.js:719</code></a> |
|
13785 |
|
13786 </p> |
|
13787 |
|
13788 |
|
13789 |
|
13790 |
|
13791 <p>Available since 3.6.0</p> |
|
13792 |
|
13793 </div> |
|
13794 |
|
13795 <div class="description"> |
|
13796 <p>An instance of this class is used to render the contents of the table's |
|
13797 <code><tbody></code>—the data cells in the table.</p> |
|
13798 |
|
13799 <p>The instance of this View will be assigned to the instance's <code>body</code> |
|
13800 property.</p> |
|
13801 |
|
13802 <p>It is not strictly necessary that the class function assigned here be |
|
13803 a View subclass. It must however have a <code>render()</code> method.</p> |
|
13804 </div> |
|
13805 |
|
13806 |
|
13807 <p><strong>Default:</strong> Y.DataTable.BodyView</p> |
|
13808 |
|
13809 |
|
13810 |
|
13811 <div class="emits box"> |
|
13812 <h4>Fires event <code>bodyViewChange</code></h4> |
|
13813 |
|
13814 <p> |
|
13815 Fires when the value for the configuration attribute <code>bodyView</code> is |
|
13816 changed. You can listen for the event using the <code>on</code> method if you |
|
13817 wish to be notified before the attribute's value has changed, or |
|
13818 using the <code>after</code> method if you wish to be notified after the |
|
13819 attribute's value has changed. |
|
13820 </p> |
|
13821 |
|
13822 <div class="params"> |
|
13823 <h4>Parameters:</h4> |
|
13824 |
|
13825 <ul class="params-list"> |
|
13826 <li class="param"> |
|
13827 <code class="param-name">e</code> |
|
13828 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
13829 |
|
13830 <div class="param-description"> |
|
13831 An Event Facade object with the following |
|
13832 attribute-specific properties added: |
|
13833 </div> |
|
13834 |
|
13835 <ul class="params-list"> |
|
13836 <li class="param"> |
|
13837 <code class="param-name">prevVal</code> |
|
13838 <span class="type">Any</span> |
|
13839 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
13840 </li> |
|
13841 <li class="param"> |
|
13842 <code class="param-name">newVal</code> |
|
13843 <span class="type">Any</span> |
|
13844 <div class="param-description">The value the attribute is to be set to.</div> |
|
13845 </li> |
|
13846 <li class="param"> |
|
13847 <code class="param-name">attrName</code> |
|
13848 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13849 <div class="param-description">The name of the attribute being set.</div> |
|
13850 </li> |
|
13851 <li class="param"> |
|
13852 <code class="param-name">subAttrName</code> |
|
13853 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13854 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
13855 </li> |
|
13856 </ul> |
|
13857 </li> |
|
13858 </ul> |
|
13859 </div> |
|
13860 </div> |
|
13861 |
|
13862 |
|
13863 |
|
13864 </div> |
|
13865 |
|
13866 |
|
13867 <div id="attr_caption" class="attr item"> |
|
13868 <a name="config_caption"></a> |
|
13869 <h3 class="name"><code>caption</code></h3> |
|
13870 <span class="type">HTML</span> |
|
13871 |
|
13872 |
|
13873 |
|
13874 |
|
13875 |
|
13876 |
|
13877 |
|
13878 |
|
13879 |
|
13880 |
|
13881 |
|
13882 |
|
13883 |
|
13884 |
|
13885 |
|
13886 <div class="meta"> |
|
13887 |
|
13888 |
|
13889 |
|
13890 <p> |
|
13891 |
|
13892 Defined in |
|
13893 |
|
13894 |
|
13895 |
|
13896 |
|
13897 <a href="../files/datatable_js_table.js.html#l612"><code>datatable/js/table.js:612</code></a> |
|
13898 |
|
13899 </p> |
|
13900 |
|
13901 |
|
13902 |
|
13903 |
|
13904 <p>Available since 3.6.0</p> |
|
13905 |
|
13906 </div> |
|
13907 |
|
13908 <div class="description"> |
|
13909 <p>HTML content of an optional <code><caption></code> element to appear above the |
|
13910 table. Leave this config unset or set to a falsy value to remove the |
|
13911 caption.</p> |
|
13912 </div> |
|
13913 |
|
13914 |
|
13915 <p><strong>Default:</strong> undefined (initially unset)</p> |
|
13916 |
|
13917 |
|
13918 |
|
13919 <div class="emits box"> |
|
13920 <h4>Fires event <code>captionChange</code></h4> |
|
13921 |
|
13922 <p> |
|
13923 Fires when the value for the configuration attribute <code>caption</code> is |
|
13924 changed. You can listen for the event using the <code>on</code> method if you |
|
13925 wish to be notified before the attribute's value has changed, or |
|
13926 using the <code>after</code> method if you wish to be notified after the |
|
13927 attribute's value has changed. |
|
13928 </p> |
|
13929 |
|
13930 <div class="params"> |
|
13931 <h4>Parameters:</h4> |
|
13932 |
|
13933 <ul class="params-list"> |
|
13934 <li class="param"> |
|
13935 <code class="param-name">e</code> |
|
13936 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
13937 |
|
13938 <div class="param-description"> |
|
13939 An Event Facade object with the following |
|
13940 attribute-specific properties added: |
|
13941 </div> |
|
13942 |
|
13943 <ul class="params-list"> |
|
13944 <li class="param"> |
|
13945 <code class="param-name">prevVal</code> |
|
13946 <span class="type">Any</span> |
|
13947 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
13948 </li> |
|
13949 <li class="param"> |
|
13950 <code class="param-name">newVal</code> |
|
13951 <span class="type">Any</span> |
|
13952 <div class="param-description">The value the attribute is to be set to.</div> |
|
13953 </li> |
|
13954 <li class="param"> |
|
13955 <code class="param-name">attrName</code> |
|
13956 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13957 <div class="param-description">The name of the attribute being set.</div> |
|
13958 </li> |
|
13959 <li class="param"> |
|
13960 <code class="param-name">subAttrName</code> |
|
13961 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13962 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
13963 </li> |
|
13964 </ul> |
|
13965 </li> |
|
13966 </ul> |
|
13967 </div> |
|
13968 </div> |
|
13969 |
|
13970 |
|
13971 |
|
13972 </div> |
|
13973 |
|
13974 |
|
13975 <div id="attr_columns" class="attr item"> |
|
13976 <a name="config_columns"></a> |
|
13977 <h3 class="name"><code>columns</code></h3> |
|
13978 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span> |
|
13979 |
|
13980 |
|
13981 |
|
13982 |
|
13983 |
|
13984 |
|
13985 |
|
13986 |
|
13987 |
|
13988 |
|
13989 |
|
13990 |
|
13991 |
|
13992 |
|
13993 |
|
13994 <div class="meta"> |
|
13995 |
|
13996 |
|
13997 |
|
13998 <p> |
|
13999 |
|
14000 Defined in |
|
14001 |
|
14002 |
|
14003 |
|
14004 |
|
14005 <a href="../files/datatable_js_table.js.html#l624"><code>datatable/js/table.js:624</code></a> |
|
14006 |
|
14007 </p> |
|
14008 |
|
14009 |
|
14010 |
|
14011 |
|
14012 <p>Available since 3.6.0</p> |
|
14013 |
|
14014 </div> |
|
14015 |
|
14016 <div class="description"> |
|
14017 <p>Columns to include in the rendered table.</p> |
|
14018 |
|
14019 <p>This attribute takes an array of objects. Each object is considered a |
|
14020 data column or header cell to be rendered. How the objects are |
|
14021 translated into markup is delegated to the <code>headerView</code>, <code>bodyView</code>, |
|
14022 and <code>footerView</code>.</p> |
|
14023 |
|
14024 <p>The raw value is passed to the <code>headerView</code> and <code>footerView</code>. The |
|
14025 <code>bodyView</code> receives the instance's <code>displayColumns</code> array, which is |
|
14026 parsed from the columns array. If there are no nested columns (columns |
|
14027 configured with a <code>children</code> array), the <code>displayColumns</code> is the same |
|
14028 as the raw value.</p> |
|
14029 </div> |
|
14030 |
|
14031 |
|
14032 |
|
14033 |
|
14034 <div class="emits box"> |
|
14035 <h4>Fires event <code>columnsChange</code></h4> |
|
14036 |
|
14037 <p> |
|
14038 Fires when the value for the configuration attribute <code>columns</code> is |
|
14039 changed. You can listen for the event using the <code>on</code> method if you |
|
14040 wish to be notified before the attribute's value has changed, or |
|
14041 using the <code>after</code> method if you wish to be notified after the |
|
14042 attribute's value has changed. |
|
14043 </p> |
|
14044 |
|
14045 <div class="params"> |
|
14046 <h4>Parameters:</h4> |
|
14047 |
|
14048 <ul class="params-list"> |
|
14049 <li class="param"> |
|
14050 <code class="param-name">e</code> |
|
14051 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
14052 |
|
14053 <div class="param-description"> |
|
14054 An Event Facade object with the following |
|
14055 attribute-specific properties added: |
|
14056 </div> |
|
14057 |
|
14058 <ul class="params-list"> |
|
14059 <li class="param"> |
|
14060 <code class="param-name">prevVal</code> |
|
14061 <span class="type">Any</span> |
|
14062 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
14063 </li> |
|
14064 <li class="param"> |
|
14065 <code class="param-name">newVal</code> |
|
14066 <span class="type">Any</span> |
|
14067 <div class="param-description">The value the attribute is to be set to.</div> |
|
14068 </li> |
|
14069 <li class="param"> |
|
14070 <code class="param-name">attrName</code> |
|
14071 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14072 <div class="param-description">The name of the attribute being set.</div> |
|
14073 </li> |
|
14074 <li class="param"> |
|
14075 <code class="param-name">subAttrName</code> |
|
14076 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14077 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
14078 </li> |
|
14079 </ul> |
|
14080 </li> |
|
14081 </ul> |
|
14082 </div> |
|
14083 </div> |
|
14084 |
|
14085 |
|
14086 |
|
14087 </div> |
|
14088 |
|
14089 |
|
14090 <div id="attr_container" class="attr item inherited"> |
|
14091 <a name="config_container"></a> |
|
14092 <h3 class="name"><code>container</code></h3> |
|
14093 <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> |
|
14094 |
|
14095 |
|
14096 |
|
14097 |
|
14098 |
|
14099 |
|
14100 |
|
14101 |
|
14102 |
|
14103 |
|
14104 |
|
14105 |
|
14106 |
|
14107 |
|
14108 |
|
14109 <div class="meta"> |
|
14110 |
|
14111 |
|
14112 <p>Inherited from |
|
14113 <a href="../classes/View.html#attr_container">View</a>: |
|
14114 |
|
14115 |
|
14116 |
|
14117 <a href="../files/app_js_view.js.html#l376"><code>app/js/view.js:376</code></a> |
|
14118 |
|
14119 </p> |
|
14120 |
|
14121 |
|
14122 |
|
14123 |
|
14124 </div> |
|
14125 |
|
14126 <div class="description"> |
|
14127 <p>Container node into which this view's content will be rendered.</p> |
|
14128 |
|
14129 <p>The container node serves as the host for all DOM events attached by the |
|
14130 view. Delegation is used to handle events on children of the container, |
|
14131 allowing the container's contents to be re-rendered at any time without |
|
14132 losing event subscriptions.</p> |
|
14133 |
|
14134 <p>The default container is a <code><div></code> Node, but you can override this in |
|
14135 a subclass, or by passing in a custom <code>container</code> config value at |
|
14136 instantiation time. If you override the default container in a subclass |
|
14137 using <code>ATTRS</code>, you must use the <code>valueFn</code> property. The view's constructor |
|
14138 will ignore any assignments using <code>value</code>.</p> |
|
14139 |
|
14140 <p>When <code>container</code> is overridden by a subclass or passed as a config |
|
14141 option at instantiation time, you can provide it as a selector string, a |
|
14142 DOM element, a <code>Y.Node</code> instance, or (if you are subclassing and modifying |
|
14143 the attribute), a <code>valueFn</code> function that returns a <code>Y.Node</code> instance. |
|
14144 The value will be converted into a <code>Y.Node</code> instance if it isn't one |
|
14145 already.</p> |
|
14146 |
|
14147 <p>The container is not added to the page automatically. This allows you to |
|
14148 have full control over how and when your view is actually rendered to |
|
14149 the page.</p> |
|
14150 </div> |
|
14151 |
|
14152 |
|
14153 <p><strong>Default:</strong> Y.Node.create(this.containerTemplate)</p> |
|
14154 |
|
14155 |
|
14156 |
|
14157 <div class="emits box"> |
|
14158 <h4>Fires event <code>containerChange</code></h4> |
|
14159 |
|
14160 <p> |
|
14161 Fires when the value for the configuration attribute <code>container</code> is |
|
14162 changed. You can listen for the event using the <code>on</code> method if you |
|
14163 wish to be notified before the attribute's value has changed, or |
|
14164 using the <code>after</code> method if you wish to be notified after the |
|
14165 attribute's value has changed. |
|
14166 </p> |
|
14167 |
|
14168 <div class="params"> |
|
14169 <h4>Parameters:</h4> |
|
14170 |
|
14171 <ul class="params-list"> |
|
14172 <li class="param"> |
|
14173 <code class="param-name">e</code> |
|
14174 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
14175 |
|
14176 <div class="param-description"> |
|
14177 An Event Facade object with the following |
|
14178 attribute-specific properties added: |
|
14179 </div> |
|
14180 |
|
14181 <ul class="params-list"> |
|
14182 <li class="param"> |
|
14183 <code class="param-name">prevVal</code> |
|
14184 <span class="type">Any</span> |
|
14185 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
14186 </li> |
|
14187 <li class="param"> |
|
14188 <code class="param-name">newVal</code> |
|
14189 <span class="type">Any</span> |
|
14190 <div class="param-description">The value the attribute is to be set to.</div> |
|
14191 </li> |
|
14192 <li class="param"> |
|
14193 <code class="param-name">attrName</code> |
|
14194 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14195 <div class="param-description">The name of the attribute being set.</div> |
|
14196 </li> |
|
14197 <li class="param"> |
|
14198 <code class="param-name">subAttrName</code> |
|
14199 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14200 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
14201 </li> |
|
14202 </ul> |
|
14203 </li> |
|
14204 </ul> |
|
14205 </div> |
|
14206 </div> |
|
14207 |
|
14208 |
|
14209 |
|
14210 </div> |
|
14211 |
|
14212 |
|
14213 <div id="attr_destroyed" class="attr item inherited"> |
|
14214 <a name="config_destroyed"></a> |
|
14215 <h3 class="name"><code>destroyed</code></h3> |
|
14216 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
14217 |
|
14218 |
|
14219 |
|
14220 |
|
14221 |
|
14222 |
|
14223 |
|
14224 |
|
14225 |
|
14226 |
|
14227 |
|
14228 |
|
14229 |
|
14230 |
|
14231 <span class="flag readonly">readonly</span> |
|
14232 |
|
14233 |
|
14234 <div class="meta"> |
|
14235 |
|
14236 |
|
14237 <p>Inherited from |
|
14238 <a href="../classes/BaseCore.html#attr_destroyed">BaseCore</a>: |
|
14239 |
|
14240 |
|
14241 |
|
14242 <a href="../files/base_js_BaseCore.js.html#l157"><code>base/js/BaseCore.js:157</code></a> |
|
14243 |
|
14244 </p> |
|
14245 |
|
14246 |
|
14247 |
|
14248 |
|
14249 </div> |
|
14250 |
|
14251 <div class="description"> |
|
14252 <p>Flag indicating whether or not this object |
|
14253 has been through the destroy lifecycle phase.</p> |
|
14254 </div> |
|
14255 |
|
14256 |
|
14257 <p><strong>Default:</strong> false</p> |
|
14258 |
|
14259 |
|
14260 |
|
14261 <div class="emits box"> |
|
14262 <h4>Fires event <code>destroyedChange</code></h4> |
|
14263 |
|
14264 <p> |
|
14265 Fires when the value for the configuration attribute <code>destroyed</code> is |
|
14266 changed. You can listen for the event using the <code>on</code> method if you |
|
14267 wish to be notified before the attribute's value has changed, or |
|
14268 using the <code>after</code> method if you wish to be notified after the |
|
14269 attribute's value has changed. |
|
14270 </p> |
|
14271 |
|
14272 <div class="params"> |
|
14273 <h4>Parameters:</h4> |
|
14274 |
|
14275 <ul class="params-list"> |
|
14276 <li class="param"> |
|
14277 <code class="param-name">e</code> |
|
14278 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
14279 |
|
14280 <div class="param-description"> |
|
14281 An Event Facade object with the following |
|
14282 attribute-specific properties added: |
|
14283 </div> |
|
14284 |
|
14285 <ul class="params-list"> |
|
14286 <li class="param"> |
|
14287 <code class="param-name">prevVal</code> |
|
14288 <span class="type">Any</span> |
|
14289 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
14290 </li> |
|
14291 <li class="param"> |
|
14292 <code class="param-name">newVal</code> |
|
14293 <span class="type">Any</span> |
|
14294 <div class="param-description">The value the attribute is to be set to.</div> |
|
14295 </li> |
|
14296 <li class="param"> |
|
14297 <code class="param-name">attrName</code> |
|
14298 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14299 <div class="param-description">The name of the attribute being set.</div> |
|
14300 </li> |
|
14301 <li class="param"> |
|
14302 <code class="param-name">subAttrName</code> |
|
14303 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14304 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
14305 </li> |
|
14306 </ul> |
|
14307 </li> |
|
14308 </ul> |
|
14309 </div> |
|
14310 </div> |
|
14311 |
|
14312 |
|
14313 |
|
14314 </div> |
|
14315 |
|
14316 |
|
14317 <div id="attr_footerConfig" class="attr item"> |
|
14318 <a name="config_footerConfig"></a> |
|
14319 <h3 class="name"><code>footerConfig</code></h3> |
|
14320 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
14321 |
|
14322 |
|
14323 |
|
14324 |
|
14325 |
|
14326 |
|
14327 |
|
14328 |
|
14329 |
|
14330 |
|
14331 |
|
14332 |
|
14333 |
|
14334 |
|
14335 |
|
14336 <div class="meta"> |
|
14337 |
|
14338 |
|
14339 |
|
14340 <p> |
|
14341 |
|
14342 Defined in |
|
14343 |
|
14344 |
|
14345 |
|
14346 |
|
14347 <a href="../files/datatable_js_table.js.html#l709"><code>datatable/js/table.js:709</code></a> |
|
14348 |
|
14349 </p> |
|
14350 |
|
14351 |
|
14352 |
|
14353 |
|
14354 <p>Available since 3.6.0</p> |
|
14355 |
|
14356 </div> |
|
14357 |
|
14358 <div class="description"> |
|
14359 <p>Configuration overrides used when instantiating the <code>footerView</code> |
|
14360 instance.</p> |
|
14361 </div> |
|
14362 |
|
14363 |
|
14364 |
|
14365 |
|
14366 <div class="emits box"> |
|
14367 <h4>Fires event <code>footerConfigChange</code></h4> |
|
14368 |
|
14369 <p> |
|
14370 Fires when the value for the configuration attribute <code>footerConfig</code> is |
|
14371 changed. You can listen for the event using the <code>on</code> method if you |
|
14372 wish to be notified before the attribute's value has changed, or |
|
14373 using the <code>after</code> method if you wish to be notified after the |
|
14374 attribute's value has changed. |
|
14375 </p> |
|
14376 |
|
14377 <div class="params"> |
|
14378 <h4>Parameters:</h4> |
|
14379 |
|
14380 <ul class="params-list"> |
|
14381 <li class="param"> |
|
14382 <code class="param-name">e</code> |
|
14383 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
14384 |
|
14385 <div class="param-description"> |
|
14386 An Event Facade object with the following |
|
14387 attribute-specific properties added: |
|
14388 </div> |
|
14389 |
|
14390 <ul class="params-list"> |
|
14391 <li class="param"> |
|
14392 <code class="param-name">prevVal</code> |
|
14393 <span class="type">Any</span> |
|
14394 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
14395 </li> |
|
14396 <li class="param"> |
|
14397 <code class="param-name">newVal</code> |
|
14398 <span class="type">Any</span> |
|
14399 <div class="param-description">The value the attribute is to be set to.</div> |
|
14400 </li> |
|
14401 <li class="param"> |
|
14402 <code class="param-name">attrName</code> |
|
14403 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14404 <div class="param-description">The name of the attribute being set.</div> |
|
14405 </li> |
|
14406 <li class="param"> |
|
14407 <code class="param-name">subAttrName</code> |
|
14408 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14409 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
14410 </li> |
|
14411 </ul> |
|
14412 </li> |
|
14413 </ul> |
|
14414 </div> |
|
14415 </div> |
|
14416 |
|
14417 |
|
14418 |
|
14419 </div> |
|
14420 |
|
14421 |
|
14422 <div id="attr_footerView" class="attr item"> |
|
14423 <a name="config_footerView"></a> |
|
14424 <h3 class="name"><code>footerView</code></h3> |
|
14425 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
14426 |
|
14427 |
|
14428 |
|
14429 |
|
14430 |
|
14431 |
|
14432 |
|
14433 |
|
14434 |
|
14435 |
|
14436 |
|
14437 |
|
14438 |
|
14439 |
|
14440 |
|
14441 <div class="meta"> |
|
14442 |
|
14443 |
|
14444 |
|
14445 <p> |
|
14446 |
|
14447 Defined in |
|
14448 |
|
14449 |
|
14450 |
|
14451 |
|
14452 <a href="../files/datatable_js_table.js.html#l691"><code>datatable/js/table.js:691</code></a> |
|
14453 |
|
14454 </p> |
|
14455 |
|
14456 |
|
14457 |
|
14458 |
|
14459 <p>Available since 3.6.0</p> |
|
14460 |
|
14461 </div> |
|
14462 |
|
14463 <div class="description"> |
|
14464 <p>An instance of this class is used to render the contents of the |
|
14465 <code><tfoot></code> (if appropriate).</p> |
|
14466 |
|
14467 <p>The instance of this View will be assigned to the instance's <code>foot</code> |
|
14468 property.</p> |
|
14469 |
|
14470 <p>It is not strictly necessary that the class function assigned here be |
|
14471 a View subclass. It must however have a <code>render()</code> method.</p> |
|
14472 </div> |
|
14473 |
|
14474 |
|
14475 |
|
14476 |
|
14477 <div class="emits box"> |
|
14478 <h4>Fires event <code>footerViewChange</code></h4> |
|
14479 |
|
14480 <p> |
|
14481 Fires when the value for the configuration attribute <code>footerView</code> is |
|
14482 changed. You can listen for the event using the <code>on</code> method if you |
|
14483 wish to be notified before the attribute's value has changed, or |
|
14484 using the <code>after</code> method if you wish to be notified after the |
|
14485 attribute's value has changed. |
|
14486 </p> |
|
14487 |
|
14488 <div class="params"> |
|
14489 <h4>Parameters:</h4> |
|
14490 |
|
14491 <ul class="params-list"> |
|
14492 <li class="param"> |
|
14493 <code class="param-name">e</code> |
|
14494 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
14495 |
|
14496 <div class="param-description"> |
|
14497 An Event Facade object with the following |
|
14498 attribute-specific properties added: |
|
14499 </div> |
|
14500 |
|
14501 <ul class="params-list"> |
|
14502 <li class="param"> |
|
14503 <code class="param-name">prevVal</code> |
|
14504 <span class="type">Any</span> |
|
14505 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
14506 </li> |
|
14507 <li class="param"> |
|
14508 <code class="param-name">newVal</code> |
|
14509 <span class="type">Any</span> |
|
14510 <div class="param-description">The value the attribute is to be set to.</div> |
|
14511 </li> |
|
14512 <li class="param"> |
|
14513 <code class="param-name">attrName</code> |
|
14514 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14515 <div class="param-description">The name of the attribute being set.</div> |
|
14516 </li> |
|
14517 <li class="param"> |
|
14518 <code class="param-name">subAttrName</code> |
|
14519 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14520 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
14521 </li> |
|
14522 </ul> |
|
14523 </li> |
|
14524 </ul> |
|
14525 </div> |
|
14526 </div> |
|
14527 |
|
14528 |
|
14529 |
|
14530 </div> |
|
14531 |
|
14532 |
|
14533 <div id="attr_headerConfig" class="attr item"> |
|
14534 <a name="config_headerConfig"></a> |
|
14535 <h3 class="name"><code>headerConfig</code></h3> |
|
14536 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
14537 |
|
14538 |
|
14539 |
|
14540 |
|
14541 |
|
14542 |
|
14543 |
|
14544 |
|
14545 |
|
14546 |
|
14547 |
|
14548 |
|
14549 |
|
14550 |
|
14551 |
|
14552 <div class="meta"> |
|
14553 |
|
14554 |
|
14555 |
|
14556 <p> |
|
14557 |
|
14558 Defined in |
|
14559 |
|
14560 |
|
14561 |
|
14562 |
|
14563 <a href="../files/datatable_js_table.js.html#l681"><code>datatable/js/table.js:681</code></a> |
|
14564 |
|
14565 </p> |
|
14566 |
|
14567 |
|
14568 |
|
14569 |
|
14570 <p>Available since 3.6.0</p> |
|
14571 |
|
14572 </div> |
|
14573 |
|
14574 <div class="description"> |
|
14575 <p>Configuration overrides used when instantiating the <code>headerView</code> |
|
14576 instance.</p> |
|
14577 </div> |
|
14578 |
|
14579 |
|
14580 |
|
14581 |
|
14582 <div class="emits box"> |
|
14583 <h4>Fires event <code>headerConfigChange</code></h4> |
|
14584 |
|
14585 <p> |
|
14586 Fires when the value for the configuration attribute <code>headerConfig</code> is |
|
14587 changed. You can listen for the event using the <code>on</code> method if you |
|
14588 wish to be notified before the attribute's value has changed, or |
|
14589 using the <code>after</code> method if you wish to be notified after the |
|
14590 attribute's value has changed. |
|
14591 </p> |
|
14592 |
|
14593 <div class="params"> |
|
14594 <h4>Parameters:</h4> |
|
14595 |
|
14596 <ul class="params-list"> |
|
14597 <li class="param"> |
|
14598 <code class="param-name">e</code> |
|
14599 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
14600 |
|
14601 <div class="param-description"> |
|
14602 An Event Facade object with the following |
|
14603 attribute-specific properties added: |
|
14604 </div> |
|
14605 |
|
14606 <ul class="params-list"> |
|
14607 <li class="param"> |
|
14608 <code class="param-name">prevVal</code> |
|
14609 <span class="type">Any</span> |
|
14610 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
14611 </li> |
|
14612 <li class="param"> |
|
14613 <code class="param-name">newVal</code> |
|
14614 <span class="type">Any</span> |
|
14615 <div class="param-description">The value the attribute is to be set to.</div> |
|
14616 </li> |
|
14617 <li class="param"> |
|
14618 <code class="param-name">attrName</code> |
|
14619 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14620 <div class="param-description">The name of the attribute being set.</div> |
|
14621 </li> |
|
14622 <li class="param"> |
|
14623 <code class="param-name">subAttrName</code> |
|
14624 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14625 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
14626 </li> |
|
14627 </ul> |
|
14628 </li> |
|
14629 </ul> |
|
14630 </div> |
|
14631 </div> |
|
14632 |
|
14633 |
|
14634 |
|
14635 </div> |
|
14636 |
|
14637 |
|
14638 <div id="attr_headerView" class="attr item"> |
|
14639 <a name="config_headerView"></a> |
|
14640 <h3 class="name"><code>headerView</code></h3> |
|
14641 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
14642 |
|
14643 |
|
14644 |
|
14645 |
|
14646 |
|
14647 |
|
14648 |
|
14649 |
|
14650 |
|
14651 |
|
14652 |
|
14653 |
|
14654 |
|
14655 |
|
14656 |
|
14657 <div class="meta"> |
|
14658 |
|
14659 |
|
14660 |
|
14661 <p> |
|
14662 |
|
14663 Defined in |
|
14664 |
|
14665 |
|
14666 |
|
14667 |
|
14668 <a href="../files/datatable_js_table.js.html#l661"><code>datatable/js/table.js:661</code></a> |
|
14669 |
|
14670 </p> |
|
14671 |
|
14672 |
|
14673 |
|
14674 |
|
14675 <p>Available since 3.6.0</p> |
|
14676 |
|
14677 </div> |
|
14678 |
|
14679 <div class="description"> |
|
14680 <p>An instance of this class is used to render the contents of the |
|
14681 <code><thead></code>—the column headers for the table.</p> |
|
14682 |
|
14683 <p>The instance of this View will be assigned to the instance's <code>head</code> |
|
14684 property.</p> |
|
14685 |
|
14686 <p>It is not strictly necessary that the class function assigned here be |
|
14687 a View subclass. It must however have a <code>render()</code> method.</p> |
|
14688 </div> |
|
14689 |
|
14690 |
|
14691 <p><strong>Default:</strong> Y.DataTable.HeaderView</p> |
|
14692 |
|
14693 |
|
14694 |
|
14695 <div class="emits box"> |
|
14696 <h4>Fires event <code>headerViewChange</code></h4> |
|
14697 |
|
14698 <p> |
|
14699 Fires when the value for the configuration attribute <code>headerView</code> is |
|
14700 changed. You can listen for the event using the <code>on</code> method if you |
|
14701 wish to be notified before the attribute's value has changed, or |
|
14702 using the <code>after</code> method if you wish to be notified after the |
|
14703 attribute's value has changed. |
|
14704 </p> |
|
14705 |
|
14706 <div class="params"> |
|
14707 <h4>Parameters:</h4> |
|
14708 |
|
14709 <ul class="params-list"> |
|
14710 <li class="param"> |
|
14711 <code class="param-name">e</code> |
|
14712 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
14713 |
|
14714 <div class="param-description"> |
|
14715 An Event Facade object with the following |
|
14716 attribute-specific properties added: |
|
14717 </div> |
|
14718 |
|
14719 <ul class="params-list"> |
|
14720 <li class="param"> |
|
14721 <code class="param-name">prevVal</code> |
|
14722 <span class="type">Any</span> |
|
14723 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
14724 </li> |
|
14725 <li class="param"> |
|
14726 <code class="param-name">newVal</code> |
|
14727 <span class="type">Any</span> |
|
14728 <div class="param-description">The value the attribute is to be set to.</div> |
|
14729 </li> |
|
14730 <li class="param"> |
|
14731 <code class="param-name">attrName</code> |
|
14732 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14733 <div class="param-description">The name of the attribute being set.</div> |
|
14734 </li> |
|
14735 <li class="param"> |
|
14736 <code class="param-name">subAttrName</code> |
|
14737 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14738 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
14739 </li> |
|
14740 </ul> |
|
14741 </li> |
|
14742 </ul> |
|
14743 </div> |
|
14744 </div> |
|
14745 |
|
14746 |
|
14747 |
|
14748 </div> |
|
14749 |
|
14750 |
|
14751 <div id="attr_initialized" class="attr item inherited"> |
|
14752 <a name="config_initialized"></a> |
|
14753 <h3 class="name"><code>initialized</code></h3> |
|
14754 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
14755 |
|
14756 |
|
14757 |
|
14758 |
|
14759 |
|
14760 |
|
14761 |
|
14762 |
|
14763 |
|
14764 |
|
14765 |
|
14766 |
|
14767 |
|
14768 |
|
14769 <span class="flag readonly">readonly</span> |
|
14770 |
|
14771 |
|
14772 <div class="meta"> |
|
14773 |
|
14774 |
|
14775 <p>Inherited from |
|
14776 <a href="../classes/BaseCore.html#attr_initialized">BaseCore</a>: |
|
14777 |
|
14778 |
|
14779 |
|
14780 <a href="../files/base_js_BaseCore.js.html#l143"><code>base/js/BaseCore.js:143</code></a> |
|
14781 |
|
14782 </p> |
|
14783 |
|
14784 |
|
14785 |
|
14786 |
|
14787 </div> |
|
14788 |
|
14789 <div class="description"> |
|
14790 <p>Flag indicating whether or not this object |
|
14791 has been through the init lifecycle phase.</p> |
|
14792 </div> |
|
14793 |
|
14794 |
|
14795 <p><strong>Default:</strong> false</p> |
|
14796 |
|
14797 |
|
14798 |
|
14799 <div class="emits box"> |
|
14800 <h4>Fires event <code>initializedChange</code></h4> |
|
14801 |
|
14802 <p> |
|
14803 Fires when the value for the configuration attribute <code>initialized</code> is |
|
14804 changed. You can listen for the event using the <code>on</code> method if you |
|
14805 wish to be notified before the attribute's value has changed, or |
|
14806 using the <code>after</code> method if you wish to be notified after the |
|
14807 attribute's value has changed. |
|
14808 </p> |
|
14809 |
|
14810 <div class="params"> |
|
14811 <h4>Parameters:</h4> |
|
14812 |
|
14813 <ul class="params-list"> |
|
14814 <li class="param"> |
|
14815 <code class="param-name">e</code> |
|
14816 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
14817 |
|
14818 <div class="param-description"> |
|
14819 An Event Facade object with the following |
|
14820 attribute-specific properties added: |
|
14821 </div> |
|
14822 |
|
14823 <ul class="params-list"> |
|
14824 <li class="param"> |
|
14825 <code class="param-name">prevVal</code> |
|
14826 <span class="type">Any</span> |
|
14827 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
14828 </li> |
|
14829 <li class="param"> |
|
14830 <code class="param-name">newVal</code> |
|
14831 <span class="type">Any</span> |
|
14832 <div class="param-description">The value the attribute is to be set to.</div> |
|
14833 </li> |
|
14834 <li class="param"> |
|
14835 <code class="param-name">attrName</code> |
|
14836 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14837 <div class="param-description">The name of the attribute being set.</div> |
|
14838 </li> |
|
14839 <li class="param"> |
|
14840 <code class="param-name">subAttrName</code> |
|
14841 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14842 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
14843 </li> |
|
14844 </ul> |
|
14845 </li> |
|
14846 </ul> |
|
14847 </div> |
|
14848 </div> |
|
14849 |
|
14850 |
|
14851 |
|
14852 </div> |
|
14853 |
|
14854 |
|
14855 <div id="attr_summary" class="attr item"> |
|
14856 <a name="config_summary"></a> |
|
14857 <h3 class="name"><code>summary</code></h3> |
|
14858 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14859 |
|
14860 |
|
14861 |
|
14862 |
|
14863 |
|
14864 |
|
14865 |
|
14866 |
|
14867 |
|
14868 |
|
14869 |
|
14870 |
|
14871 |
|
14872 |
|
14873 |
|
14874 <div class="meta"> |
|
14875 |
|
14876 |
|
14877 |
|
14878 <p> |
|
14879 |
|
14880 Defined in |
|
14881 |
|
14882 |
|
14883 |
|
14884 |
|
14885 <a href="../files/datatable_js_table.js.html#l601"><code>datatable/js/table.js:601</code></a> |
|
14886 |
|
14887 </p> |
|
14888 |
|
14889 |
|
14890 |
|
14891 |
|
14892 <p>Available since 3.5.0</p> |
|
14893 |
|
14894 </div> |
|
14895 |
|
14896 <div class="description"> |
|
14897 <p>Content for the <code><table summary="ATTRIBUTE VALUE HERE"></code>. Values |
|
14898 assigned to this attribute will be HTML escaped for security.</p> |
|
14899 </div> |
|
14900 |
|
14901 |
|
14902 <p><strong>Default:</strong> '' (empty string)</p> |
|
14903 |
|
14904 |
|
14905 |
|
14906 <div class="emits box"> |
|
14907 <h4>Fires event <code>summaryChange</code></h4> |
|
14908 |
|
14909 <p> |
|
14910 Fires when the value for the configuration attribute <code>summary</code> is |
|
14911 changed. You can listen for the event using the <code>on</code> method if you |
|
14912 wish to be notified before the attribute's value has changed, or |
|
14913 using the <code>after</code> method if you wish to be notified after the |
|
14914 attribute's value has changed. |
|
14915 </p> |
|
14916 |
|
14917 <div class="params"> |
|
14918 <h4>Parameters:</h4> |
|
14919 |
|
14920 <ul class="params-list"> |
|
14921 <li class="param"> |
|
14922 <code class="param-name">e</code> |
|
14923 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
14924 |
|
14925 <div class="param-description"> |
|
14926 An Event Facade object with the following |
|
14927 attribute-specific properties added: |
|
14928 </div> |
|
14929 |
|
14930 <ul class="params-list"> |
|
14931 <li class="param"> |
|
14932 <code class="param-name">prevVal</code> |
|
14933 <span class="type">Any</span> |
|
14934 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
14935 </li> |
|
14936 <li class="param"> |
|
14937 <code class="param-name">newVal</code> |
|
14938 <span class="type">Any</span> |
|
14939 <div class="param-description">The value the attribute is to be set to.</div> |
|
14940 </li> |
|
14941 <li class="param"> |
|
14942 <code class="param-name">attrName</code> |
|
14943 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14944 <div class="param-description">The name of the attribute being set.</div> |
|
14945 </li> |
|
14946 <li class="param"> |
|
14947 <code class="param-name">subAttrName</code> |
|
14948 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14949 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
14950 </li> |
|
14951 </ul> |
|
14952 </li> |
|
14953 </ul> |
|
14954 </div> |
|
14955 </div> |
|
14956 |
|
14957 |
|
14958 |
|
14959 </div> |
|
14960 |
|
14961 |
|
14962 <div id="attr_width" class="attr item"> |
|
14963 <a name="config_width"></a> |
|
14964 <h3 class="name"><code>width</code></h3> |
|
14965 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14966 |
|
14967 |
|
14968 |
|
14969 |
|
14970 |
|
14971 |
|
14972 |
|
14973 |
|
14974 |
|
14975 |
|
14976 |
|
14977 |
|
14978 |
|
14979 |
|
14980 |
|
14981 <div class="meta"> |
|
14982 |
|
14983 |
|
14984 |
|
14985 <p> |
|
14986 |
|
14987 Defined in |
|
14988 |
|
14989 |
|
14990 |
|
14991 |
|
14992 <a href="../files/datatable_js_table.js.html#l646"><code>datatable/js/table.js:646</code></a> |
|
14993 |
|
14994 </p> |
|
14995 |
|
14996 |
|
14997 |
|
14998 |
|
14999 <p>Available since 3.6.0</p> |
|
15000 |
|
15001 </div> |
|
15002 |
|
15003 <div class="description"> |
|
15004 <p>Width of the table including borders. This value requires units, so |
|
15005 <code>200</code> is invalid, but <code>'200px'</code> is valid. Setting the empty string |
|
15006 (the default) will allow the browser to set the table width.</p> |
|
15007 </div> |
|
15008 |
|
15009 |
|
15010 <p><strong>Default:</strong> ''</p> |
|
15011 |
|
15012 |
|
15013 |
|
15014 <div class="emits box"> |
|
15015 <h4>Fires event <code>widthChange</code></h4> |
|
15016 |
|
15017 <p> |
|
15018 Fires when the value for the configuration attribute <code>width</code> is |
|
15019 changed. You can listen for the event using the <code>on</code> method if you |
|
15020 wish to be notified before the attribute's value has changed, or |
|
15021 using the <code>after</code> method if you wish to be notified after the |
|
15022 attribute's value has changed. |
|
15023 </p> |
|
15024 |
|
15025 <div class="params"> |
|
15026 <h4>Parameters:</h4> |
|
15027 |
|
15028 <ul class="params-list"> |
|
15029 <li class="param"> |
|
15030 <code class="param-name">e</code> |
|
15031 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
15032 |
|
15033 <div class="param-description"> |
|
15034 An Event Facade object with the following |
|
15035 attribute-specific properties added: |
|
15036 </div> |
|
15037 |
|
15038 <ul class="params-list"> |
|
15039 <li class="param"> |
|
15040 <code class="param-name">prevVal</code> |
|
15041 <span class="type">Any</span> |
|
15042 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
15043 </li> |
|
15044 <li class="param"> |
|
15045 <code class="param-name">newVal</code> |
|
15046 <span class="type">Any</span> |
|
15047 <div class="param-description">The value the attribute is to be set to.</div> |
|
15048 </li> |
|
15049 <li class="param"> |
|
15050 <code class="param-name">attrName</code> |
|
15051 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15052 <div class="param-description">The name of the attribute being set.</div> |
|
15053 </li> |
|
15054 <li class="param"> |
|
15055 <code class="param-name">subAttrName</code> |
|
15056 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15057 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
15058 </li> |
|
15059 </ul> |
|
15060 </li> |
|
15061 </ul> |
|
15062 </div> |
|
15063 </div> |
|
15064 |
|
15065 |
|
15066 |
|
15067 </div> |
|
15068 |
|
15069 |
|
15070 </div> |
|
15071 |
|
15072 |
|
15073 |
|
15074 <div id="events" class="api-class-tabpanel"> |
|
15075 <h2 class="off-left">Events</h2> |
|
15076 |
|
15077 |
|
15078 <div id="event_destroy" class="events item inherited"> |
|
15079 <h3 class="name"><code>destroy</code></h3> |
|
15080 <span class="type"></span> |
|
15081 |
|
15082 |
|
15083 |
|
15084 |
|
15085 |
|
15086 |
|
15087 |
|
15088 |
|
15089 |
|
15090 <div class="meta"> |
|
15091 |
|
15092 |
|
15093 <p>Inherited from |
|
15094 <a href="../classes/BaseObservable.html#event_destroy">BaseObservable</a>: |
|
15095 |
|
15096 |
|
15097 |
|
15098 <a href="../files/base_js_BaseObservable.js.html#l151"><code>base/js/BaseObservable.js:151</code></a> |
|
15099 |
|
15100 </p> |
|
15101 |
|
15102 |
|
15103 |
|
15104 |
|
15105 </div> |
|
15106 |
|
15107 <div class="description"> |
|
15108 <p> |
|
15109 Lifecycle event for the destroy phase, |
|
15110 fired prior to destruction. Invoking the preventDefault |
|
15111 method on the event object provided to subscribers will |
|
15112 prevent destruction from proceeding. |
|
15113 </p> |
|
15114 |
|
15115 <p> |
|
15116 Subscribers to the "after" moment of this event, will be notified |
|
15117 after destruction is complete (and as a result cannot prevent |
|
15118 destruction). |
|
15119 </p> |
|
15120 </div> |
|
15121 |
|
15122 |
|
15123 <div class="params"> |
|
15124 <h4>Event Payload:</h4> |
|
15125 |
|
15126 <ul class="params-list"> |
|
15127 |
|
15128 <li class="param"> |
|
15129 |
|
15130 <code class="param-name">e</code> |
|
15131 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
15132 |
|
15133 |
|
15134 |
|
15135 |
|
15136 <div class="param-description"> |
|
15137 <p>Event object</p> |
|
15138 </div> |
|
15139 |
|
15140 |
|
15141 </li> |
|
15142 |
|
15143 </ul> |
|
15144 </div> |
|
15145 |
|
15146 |
|
15147 |
|
15148 |
|
15149 </div> |
|
15150 |
|
15151 |
|
15152 <div id="event_init" class="events item inherited"> |
|
15153 <h3 class="name"><code>init</code></h3> |
|
15154 <span class="type"></span> |
|
15155 |
|
15156 |
|
15157 |
|
15158 |
|
15159 |
|
15160 |
|
15161 |
|
15162 |
|
15163 |
|
15164 <div class="meta"> |
|
15165 |
|
15166 |
|
15167 <p>Inherited from |
|
15168 <a href="../classes/BaseObservable.html#event_init">BaseObservable</a>: |
|
15169 |
|
15170 |
|
15171 |
|
15172 <a href="../files/base_js_BaseObservable.js.html#l62"><code>base/js/BaseObservable.js:62</code></a> |
|
15173 |
|
15174 </p> |
|
15175 |
|
15176 |
|
15177 |
|
15178 |
|
15179 </div> |
|
15180 |
|
15181 <div class="description"> |
|
15182 <p> |
|
15183 Lifecycle event for the init phase, fired prior to initialization. |
|
15184 Invoking the preventDefault() method on the event object provided |
|
15185 to subscribers will prevent initialization from occuring. |
|
15186 </p> |
|
15187 |
|
15188 <p> |
|
15189 Subscribers to the "after" momemt of this event, will be notified |
|
15190 after initialization of the object is complete (and therefore |
|
15191 cannot prevent initialization). |
|
15192 </p> |
|
15193 </div> |
|
15194 |
|
15195 |
|
15196 <div class="params"> |
|
15197 <h4>Event Payload:</h4> |
|
15198 |
|
15199 <ul class="params-list"> |
|
15200 |
|
15201 <li class="param"> |
|
15202 |
|
15203 <code class="param-name">e</code> |
|
15204 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
15205 |
|
15206 |
|
15207 |
|
15208 |
|
15209 <div class="param-description"> |
|
15210 <p>Event object, with a cfg property which |
|
15211 refers to the configuration object passed to the constructor.</p> |
|
15212 </div> |
|
15213 |
|
15214 |
|
15215 </li> |
|
15216 |
|
15217 </ul> |
|
15218 </div> |
|
15219 |
|
15220 |
|
15221 |
|
15222 |
|
15223 </div> |
|
15224 |
|
15225 |
|
15226 </div> |
|
15227 |
|
15228 </div> |
|
15229 </div> |
|
15230 |
|
15231 </div> |
|
15232 </div> |
|
15233 </div> |
|
15234 </div> |
|
15235 </div> |
|
15236 </div> |
|
15237 <script src="../assets/vendor/prettify/prettify-min.js"></script> |
|
15238 <script>prettyPrint();</script> |
|
15239 <script src="../assets/js/yui-prettify.js"></script> |
|
15240 <script src="../assets/../api.js"></script> |
|
15241 <script src="../assets/js/api-filter.js"></script> |
|
15242 <script src="../assets/js/api-list.js"></script> |
|
15243 <script src="../assets/js/api-search.js"></script> |
|
15244 <script src="../assets/js/apidocs.js"></script> |
|
15245 </body> |
|
15246 </html> |