|
1 <!DOCTYPE html> |
|
2 <html lang="en"> |
|
3 <head> |
|
4 <meta charset="utf-8"> |
|
5 <title>AutoCompleteBase - 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>AutoCompleteBase Class</h1> |
|
1532 <div class="box meta"> |
|
1533 |
|
1534 |
|
1535 |
|
1536 |
|
1537 |
|
1538 <div class="foundat"> |
|
1539 Defined in: <a href="../files/autocomplete_js_autocomplete-base.js.html#l19"><code>autocomplete/js/autocomplete-base.js:19</code></a> |
|
1540 </div> |
|
1541 |
|
1542 |
|
1543 |
|
1544 |
|
1545 Module: <a href="../modules/autocomplete-base.html">autocomplete-base</a><br> |
|
1546 Parent Module: <a href="../modules/autocomplete.html">autocomplete</a> |
|
1547 |
|
1548 |
|
1549 |
|
1550 |
|
1551 </div> |
|
1552 |
|
1553 |
|
1554 |
|
1555 <div class="box intro"> |
|
1556 <p>Extension that provides core autocomplete logic (but no UI implementation) for a |
|
1557 text input field or textarea.</p> |
|
1558 |
|
1559 <p>The <code>AutoCompleteBase</code> class provides events and attributes that abstract away |
|
1560 core autocomplete logic and configuration, but does not provide a widget |
|
1561 implementation or suggestion UI. For a prepackaged autocomplete widget, see |
|
1562 <code>AutoCompleteList</code>.</p> |
|
1563 |
|
1564 <p>This extension cannot be instantiated directly, since it doesn't provide an |
|
1565 actual implementation. It's intended to be mixed into a <code>Y.Base</code>-based class or |
|
1566 widget.</p> |
|
1567 |
|
1568 <p><code>Y.Widget</code>-based example:</p> |
|
1569 |
|
1570 <pre class="code prettyprint"><code>YUI().use('autocomplete-base', 'widget', function (Y) { |
|
1571 var MyAC = Y.Base.create('myAC', Y.Widget, [Y.AutoCompleteBase], { |
|
1572 // Custom prototype methods and properties. |
|
1573 }, { |
|
1574 // Custom static methods and properties. |
|
1575 }); |
|
1576 |
|
1577 // Custom implementation code. |
|
1578 }); |
|
1579 </code></pre> |
|
1580 |
|
1581 <p><code>Y.Base</code>-based example:</p> |
|
1582 |
|
1583 <pre class="code prettyprint"><code>YUI().use('autocomplete-base', function (Y) { |
|
1584 var MyAC = Y.Base.create('myAC', Y.Base, [Y.AutoCompleteBase], { |
|
1585 initializer: function () { |
|
1586 this._bindUIACBase(); |
|
1587 this._syncUIACBase(); |
|
1588 }, |
|
1589 |
|
1590 // Custom prototype methods and properties. |
|
1591 }, { |
|
1592 // Custom static methods and properties. |
|
1593 }); |
|
1594 |
|
1595 // Custom implementation code. |
|
1596 }); |
|
1597 </code></pre> |
|
1598 </div> |
|
1599 |
|
1600 |
|
1601 |
|
1602 <div id="classdocs" class="tabview"> |
|
1603 <ul class="api-class-tabs"> |
|
1604 <li class="api-class-tab index"><a href="#index">Index</a></li> |
|
1605 |
|
1606 |
|
1607 <li class="api-class-tab methods"><a href="#methods">Methods</a></li> |
|
1608 |
|
1609 |
|
1610 <li class="api-class-tab properties"><a href="#properties">Properties</a></li> |
|
1611 |
|
1612 |
|
1613 <li class="api-class-tab attrs"><a href="#attrs">Attributes</a></li> |
|
1614 |
|
1615 |
|
1616 <li class="api-class-tab events"><a href="#events">Events</a></li> |
|
1617 |
|
1618 </ul> |
|
1619 |
|
1620 <div> |
|
1621 <div id="index" class="api-class-tabpanel index"> |
|
1622 <h2 class="off-left">Item Index</h2> |
|
1623 |
|
1624 |
|
1625 <div class="index-section methods"> |
|
1626 <h3>Methods</h3> |
|
1627 |
|
1628 <ul class="index-list methods"> |
|
1629 |
|
1630 <li class="index-item method protected"> |
|
1631 <a href="#method__afterSourceTypeChange">_afterSourceTypeChange</a> |
|
1632 |
|
1633 |
|
1634 |
|
1635 </li> |
|
1636 |
|
1637 <li class="index-item method protected"> |
|
1638 <a href="#method__afterValueChange">_afterValueChange</a> |
|
1639 |
|
1640 |
|
1641 |
|
1642 </li> |
|
1643 |
|
1644 <li class="index-item method protected"> |
|
1645 <a href="#method__beforeCreateObjectSource">_beforeCreateObjectSource</a> |
|
1646 |
|
1647 |
|
1648 |
|
1649 </li> |
|
1650 |
|
1651 <li class="index-item method protected"> |
|
1652 <a href="#method__bindUIACBase">_bindUIACBase</a> |
|
1653 |
|
1654 |
|
1655 |
|
1656 </li> |
|
1657 |
|
1658 <li class="index-item method protected"> |
|
1659 <a href="#method__createArraySource">_createArraySource</a> |
|
1660 |
|
1661 |
|
1662 |
|
1663 </li> |
|
1664 |
|
1665 <li class="index-item method protected"> |
|
1666 <a href="#method__createFunctionSource">_createFunctionSource</a> |
|
1667 |
|
1668 |
|
1669 |
|
1670 </li> |
|
1671 |
|
1672 <li class="index-item method protected"> |
|
1673 <a href="#method__createIOSource">_createIOSource</a> |
|
1674 |
|
1675 |
|
1676 |
|
1677 </li> |
|
1678 |
|
1679 <li class="index-item method protected"> |
|
1680 <a href="#method__createJSONPSource">_createJSONPSource</a> |
|
1681 |
|
1682 |
|
1683 |
|
1684 </li> |
|
1685 |
|
1686 <li class="index-item method protected"> |
|
1687 <a href="#method__createObjectSource">_createObjectSource</a> |
|
1688 |
|
1689 |
|
1690 |
|
1691 </li> |
|
1692 |
|
1693 <li class="index-item method protected"> |
|
1694 <a href="#method__createSelectSource">_createSelectSource</a> |
|
1695 |
|
1696 |
|
1697 |
|
1698 </li> |
|
1699 |
|
1700 <li class="index-item method protected"> |
|
1701 <a href="#method__createStringSource">_createStringSource</a> |
|
1702 |
|
1703 |
|
1704 |
|
1705 </li> |
|
1706 |
|
1707 <li class="index-item method protected"> |
|
1708 <a href="#method__createYQLSource">_createYQLSource</a> |
|
1709 |
|
1710 |
|
1711 |
|
1712 </li> |
|
1713 |
|
1714 <li class="index-item method protected"> |
|
1715 <a href="#method__defaultYQLLocator">_defaultYQLLocator</a> |
|
1716 |
|
1717 |
|
1718 |
|
1719 </li> |
|
1720 |
|
1721 <li class="index-item method protected"> |
|
1722 <a href="#method__defClearFn">_defClearFn</a> |
|
1723 |
|
1724 |
|
1725 |
|
1726 </li> |
|
1727 |
|
1728 <li class="index-item method protected"> |
|
1729 <a href="#method__defQueryFn">_defQueryFn</a> |
|
1730 |
|
1731 |
|
1732 |
|
1733 </li> |
|
1734 |
|
1735 <li class="index-item method protected"> |
|
1736 <a href="#method__defResultsFn">_defResultsFn</a> |
|
1737 |
|
1738 |
|
1739 |
|
1740 </li> |
|
1741 |
|
1742 <li class="index-item method protected"> |
|
1743 <a href="#method__functionValidator">_functionValidator</a> |
|
1744 |
|
1745 |
|
1746 |
|
1747 </li> |
|
1748 |
|
1749 <li class="index-item method protected"> |
|
1750 <a href="#method__getObjectValue">_getObjectValue</a> |
|
1751 |
|
1752 |
|
1753 |
|
1754 </li> |
|
1755 |
|
1756 <li class="index-item method protected"> |
|
1757 <a href="#method__getXHRUrl">_getXHRUrl</a> |
|
1758 |
|
1759 |
|
1760 |
|
1761 </li> |
|
1762 |
|
1763 <li class="index-item method protected"> |
|
1764 <a href="#method__jsonpFormatter">_jsonpFormatter</a> |
|
1765 |
|
1766 |
|
1767 |
|
1768 </li> |
|
1769 |
|
1770 <li class="index-item method protected"> |
|
1771 <a href="#method__onInputBlur">_onInputBlur</a> |
|
1772 |
|
1773 |
|
1774 |
|
1775 </li> |
|
1776 |
|
1777 <li class="index-item method protected"> |
|
1778 <a href="#method__onInputValueChange">_onInputValueChange</a> |
|
1779 |
|
1780 |
|
1781 |
|
1782 </li> |
|
1783 |
|
1784 <li class="index-item method protected"> |
|
1785 <a href="#method__onResponse">_onResponse</a> |
|
1786 |
|
1787 |
|
1788 |
|
1789 </li> |
|
1790 |
|
1791 <li class="index-item method protected"> |
|
1792 <a href="#method__parseResponse">_parseResponse</a> |
|
1793 |
|
1794 |
|
1795 |
|
1796 </li> |
|
1797 |
|
1798 <li class="index-item method protected"> |
|
1799 <a href="#method__parseValue">_parseValue</a> |
|
1800 |
|
1801 |
|
1802 |
|
1803 </li> |
|
1804 |
|
1805 <li class="index-item method protected"> |
|
1806 <a href="#method__setEnableCache">_setEnableCache</a> |
|
1807 |
|
1808 |
|
1809 |
|
1810 </li> |
|
1811 |
|
1812 <li class="index-item method protected"> |
|
1813 <a href="#method__setLocator">_setLocator</a> |
|
1814 |
|
1815 |
|
1816 |
|
1817 </li> |
|
1818 |
|
1819 <li class="index-item method protected"> |
|
1820 <a href="#method__setRequestTemplate">_setRequestTemplate</a> |
|
1821 |
|
1822 |
|
1823 |
|
1824 </li> |
|
1825 |
|
1826 <li class="index-item method protected"> |
|
1827 <a href="#method__setResultFilters">_setResultFilters</a> |
|
1828 |
|
1829 |
|
1830 |
|
1831 </li> |
|
1832 |
|
1833 <li class="index-item method protected"> |
|
1834 <a href="#method__setResultHighlighter">_setResultHighlighter</a> |
|
1835 |
|
1836 |
|
1837 |
|
1838 </li> |
|
1839 |
|
1840 <li class="index-item method protected"> |
|
1841 <a href="#method__setSource">_setSource</a> |
|
1842 |
|
1843 |
|
1844 |
|
1845 </li> |
|
1846 |
|
1847 <li class="index-item method protected"> |
|
1848 <a href="#method__sourceSuccess">_sourceSuccess</a> |
|
1849 |
|
1850 |
|
1851 |
|
1852 </li> |
|
1853 |
|
1854 <li class="index-item method protected"> |
|
1855 <a href="#method__syncBrowserAutocomplete">_syncBrowserAutocomplete</a> |
|
1856 |
|
1857 |
|
1858 |
|
1859 </li> |
|
1860 |
|
1861 <li class="index-item method protected"> |
|
1862 <a href="#method__syncUIACBase">_syncUIACBase</a> |
|
1863 |
|
1864 |
|
1865 |
|
1866 </li> |
|
1867 |
|
1868 <li class="index-item method protected"> |
|
1869 <a href="#method__updateValue">_updateValue</a> |
|
1870 |
|
1871 |
|
1872 |
|
1873 </li> |
|
1874 |
|
1875 <li class="index-item method"> |
|
1876 <a href="#method_clearCache">clearCache</a> |
|
1877 |
|
1878 |
|
1879 |
|
1880 </li> |
|
1881 |
|
1882 <li class="index-item method"> |
|
1883 <a href="#method_sendRequest">sendRequest</a> |
|
1884 |
|
1885 |
|
1886 |
|
1887 </li> |
|
1888 |
|
1889 </ul> |
|
1890 </div> |
|
1891 |
|
1892 |
|
1893 |
|
1894 <div class="index-section properties"> |
|
1895 <h3>Properties</h3> |
|
1896 |
|
1897 <ul class="index-list properties"> |
|
1898 |
|
1899 <li class="index-item property protected"> |
|
1900 <a href="#property__YQL_SOURCE_REGEX">_YQL_SOURCE_REGEX</a> |
|
1901 |
|
1902 |
|
1903 |
|
1904 </li> |
|
1905 |
|
1906 <li class="index-item property"> |
|
1907 <a href="#property_SOURCE_TYPES">SOURCE_TYPES</a> |
|
1908 |
|
1909 |
|
1910 <span class="flag static">static</span> |
|
1911 |
|
1912 |
|
1913 </li> |
|
1914 |
|
1915 </ul> |
|
1916 </div> |
|
1917 |
|
1918 |
|
1919 |
|
1920 <div class="index-section attrs"> |
|
1921 <h3>Attributes</h3> |
|
1922 |
|
1923 <ul class="index-list attrs"> |
|
1924 |
|
1925 <li class="index-item attr"> |
|
1926 <a href="#attr_allowBrowserAutocomplete">allowBrowserAutocomplete</a> |
|
1927 </li> |
|
1928 |
|
1929 <li class="index-item attr"> |
|
1930 <a href="#attr_allowTrailingDelimiter">allowTrailingDelimiter</a> |
|
1931 </li> |
|
1932 |
|
1933 <li class="index-item attr"> |
|
1934 <a href="#attr_enableCache">enableCache</a> |
|
1935 </li> |
|
1936 |
|
1937 <li class="index-item attr"> |
|
1938 <a href="#attr_inputNode">inputNode</a> |
|
1939 </li> |
|
1940 |
|
1941 <li class="index-item attr"> |
|
1942 <a href="#attr_maxResults">maxResults</a> |
|
1943 </li> |
|
1944 |
|
1945 <li class="index-item attr"> |
|
1946 <a href="#attr_minQueryLength">minQueryLength</a> |
|
1947 </li> |
|
1948 |
|
1949 <li class="index-item attr"> |
|
1950 <a href="#attr_query">query</a> |
|
1951 </li> |
|
1952 |
|
1953 <li class="index-item attr"> |
|
1954 <a href="#attr_queryDelay">queryDelay</a> |
|
1955 </li> |
|
1956 |
|
1957 <li class="index-item attr"> |
|
1958 <a href="#attr_queryDelimiter">queryDelimiter</a> |
|
1959 </li> |
|
1960 |
|
1961 <li class="index-item attr"> |
|
1962 <a href="#attr_requestTemplate">requestTemplate</a> |
|
1963 </li> |
|
1964 |
|
1965 <li class="index-item attr"> |
|
1966 <a href="#attr_resultFilters">resultFilters</a> |
|
1967 </li> |
|
1968 |
|
1969 <li class="index-item attr"> |
|
1970 <a href="#attr_resultFormatter">resultFormatter</a> |
|
1971 </li> |
|
1972 |
|
1973 <li class="index-item attr"> |
|
1974 <a href="#attr_resultHighlighter">resultHighlighter</a> |
|
1975 </li> |
|
1976 |
|
1977 <li class="index-item attr"> |
|
1978 <a href="#attr_resultListLocator">resultListLocator</a> |
|
1979 </li> |
|
1980 |
|
1981 <li class="index-item attr"> |
|
1982 <a href="#attr_results">results</a> |
|
1983 </li> |
|
1984 |
|
1985 <li class="index-item attr"> |
|
1986 <a href="#attr_resultTextLocator">resultTextLocator</a> |
|
1987 </li> |
|
1988 |
|
1989 <li class="index-item attr"> |
|
1990 <a href="#attr_source">source</a> |
|
1991 </li> |
|
1992 |
|
1993 <li class="index-item attr"> |
|
1994 <a href="#attr_sourceType">sourceType</a> |
|
1995 </li> |
|
1996 |
|
1997 <li class="index-item attr"> |
|
1998 <a href="#attr_tokenInput">tokenInput</a> |
|
1999 </li> |
|
2000 |
|
2001 <li class="index-item attr"> |
|
2002 <a href="#attr_value">value</a> |
|
2003 </li> |
|
2004 |
|
2005 <li class="index-item attr"> |
|
2006 <a href="#attr_yqlEnv">yqlEnv</a> |
|
2007 </li> |
|
2008 |
|
2009 <li class="index-item attr"> |
|
2010 <a href="#attr_yqlProtocol">yqlProtocol</a> |
|
2011 </li> |
|
2012 |
|
2013 </ul> |
|
2014 </div> |
|
2015 |
|
2016 |
|
2017 |
|
2018 <div class="index-section events"> |
|
2019 <h3>Events</h3> |
|
2020 |
|
2021 <ul class="index-list events"> |
|
2022 |
|
2023 <li class="index-item event"> |
|
2024 <a href="#event_clear">clear</a> |
|
2025 |
|
2026 |
|
2027 |
|
2028 </li> |
|
2029 |
|
2030 <li class="index-item event"> |
|
2031 <a href="#event_query">query</a> |
|
2032 |
|
2033 |
|
2034 |
|
2035 </li> |
|
2036 |
|
2037 <li class="index-item event"> |
|
2038 <a href="#event_results">results</a> |
|
2039 |
|
2040 |
|
2041 |
|
2042 </li> |
|
2043 |
|
2044 </ul> |
|
2045 </div> |
|
2046 |
|
2047 </div> |
|
2048 |
|
2049 |
|
2050 <div id="methods" class="api-class-tabpanel"> |
|
2051 <h2 class="off-left">Methods</h2> |
|
2052 |
|
2053 |
|
2054 <div id="method__afterSourceTypeChange" class="method item protected"> |
|
2055 <h3 class="name"><code>_afterSourceTypeChange</code></h3> |
|
2056 |
|
2057 |
|
2058 <div class="args"> |
|
2059 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2060 |
|
2061 <li class="arg"> |
|
2062 |
|
2063 <code>e</code> |
|
2064 |
|
2065 </li> |
|
2066 |
|
2067 </ul><span class="paren">)</span> |
|
2068 </div> |
|
2069 |
|
2070 |
|
2071 |
|
2072 |
|
2073 |
|
2074 |
|
2075 |
|
2076 <span class="flag protected">protected</span> |
|
2077 |
|
2078 |
|
2079 |
|
2080 |
|
2081 |
|
2082 |
|
2083 |
|
2084 |
|
2085 |
|
2086 |
|
2087 <div class="meta"> |
|
2088 |
|
2089 |
|
2090 |
|
2091 <p> |
|
2092 |
|
2093 Defined in |
|
2094 |
|
2095 |
|
2096 |
|
2097 |
|
2098 <a href="../files/autocomplete_js_autocomplete-base.js.html#l789"><code>autocomplete/js/autocomplete-base.js:789</code></a> |
|
2099 |
|
2100 </p> |
|
2101 |
|
2102 |
|
2103 |
|
2104 |
|
2105 |
|
2106 </div> |
|
2107 |
|
2108 <div class="description"> |
|
2109 <p>Updates the current <code>source</code> based on the new <code>sourceType</code> to ensure that |
|
2110 the two attributes don't get out of sync when they're changed separately.</p> |
|
2111 </div> |
|
2112 |
|
2113 |
|
2114 <div class="params"> |
|
2115 <h4>Parameters:</h4> |
|
2116 |
|
2117 <ul class="params-list"> |
|
2118 |
|
2119 <li class="param"> |
|
2120 |
|
2121 <code class="param-name">e</code> |
|
2122 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
2123 |
|
2124 |
|
2125 |
|
2126 |
|
2127 <div class="param-description"> |
|
2128 |
|
2129 </div> |
|
2130 |
|
2131 |
|
2132 </li> |
|
2133 |
|
2134 </ul> |
|
2135 </div> |
|
2136 |
|
2137 |
|
2138 |
|
2139 |
|
2140 |
|
2141 </div> |
|
2142 |
|
2143 |
|
2144 <div id="method__afterValueChange" class="method item protected"> |
|
2145 <h3 class="name"><code>_afterValueChange</code></h3> |
|
2146 |
|
2147 |
|
2148 <div class="args"> |
|
2149 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2150 |
|
2151 <li class="arg"> |
|
2152 |
|
2153 <code>e</code> |
|
2154 |
|
2155 </li> |
|
2156 |
|
2157 </ul><span class="paren">)</span> |
|
2158 </div> |
|
2159 |
|
2160 |
|
2161 |
|
2162 |
|
2163 |
|
2164 |
|
2165 |
|
2166 <span class="flag protected">protected</span> |
|
2167 |
|
2168 |
|
2169 |
|
2170 |
|
2171 |
|
2172 |
|
2173 |
|
2174 |
|
2175 |
|
2176 |
|
2177 <div class="meta"> |
|
2178 |
|
2179 |
|
2180 |
|
2181 <p> |
|
2182 |
|
2183 Defined in |
|
2184 |
|
2185 |
|
2186 |
|
2187 |
|
2188 <a href="../files/autocomplete_js_autocomplete-base.js.html#l803"><code>autocomplete/js/autocomplete-base.js:803</code></a> |
|
2189 |
|
2190 </p> |
|
2191 |
|
2192 |
|
2193 |
|
2194 |
|
2195 |
|
2196 </div> |
|
2197 |
|
2198 <div class="description"> |
|
2199 <p>Handles change events for the <code>value</code> attribute.</p> |
|
2200 </div> |
|
2201 |
|
2202 |
|
2203 <div class="params"> |
|
2204 <h4>Parameters:</h4> |
|
2205 |
|
2206 <ul class="params-list"> |
|
2207 |
|
2208 <li class="param"> |
|
2209 |
|
2210 <code class="param-name">e</code> |
|
2211 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
2212 |
|
2213 |
|
2214 |
|
2215 |
|
2216 <div class="param-description"> |
|
2217 |
|
2218 </div> |
|
2219 |
|
2220 |
|
2221 </li> |
|
2222 |
|
2223 </ul> |
|
2224 </div> |
|
2225 |
|
2226 |
|
2227 |
|
2228 |
|
2229 |
|
2230 </div> |
|
2231 |
|
2232 |
|
2233 <div id="method__beforeCreateObjectSource" class="method item protected"> |
|
2234 <h3 class="name"><code>_beforeCreateObjectSource</code></h3> |
|
2235 |
|
2236 |
|
2237 <div class="args"> |
|
2238 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2239 |
|
2240 <li class="arg"> |
|
2241 |
|
2242 <code>source</code> |
|
2243 |
|
2244 </li> |
|
2245 |
|
2246 </ul><span class="paren">)</span> |
|
2247 </div> |
|
2248 |
|
2249 |
|
2250 |
|
2251 |
|
2252 |
|
2253 |
|
2254 |
|
2255 <span class="flag protected">protected</span> |
|
2256 |
|
2257 |
|
2258 |
|
2259 |
|
2260 |
|
2261 |
|
2262 |
|
2263 |
|
2264 |
|
2265 |
|
2266 <div class="meta"> |
|
2267 |
|
2268 |
|
2269 |
|
2270 <p>Provided by the <a href="../modules/autocomplete-sources.html">autocomplete-sources</a> module.</p> |
|
2271 |
|
2272 <p> |
|
2273 |
|
2274 Defined in |
|
2275 |
|
2276 |
|
2277 |
|
2278 |
|
2279 <a href="../files/autocomplete_js_autocomplete-sources.js.html#l29"><code>autocomplete/js/autocomplete-sources.js:29</code></a> |
|
2280 |
|
2281 </p> |
|
2282 |
|
2283 |
|
2284 |
|
2285 |
|
2286 |
|
2287 </div> |
|
2288 |
|
2289 <div class="description"> |
|
2290 <p>Runs before AutoCompleteBase's <code>_createObjectSource()</code> method and augments |
|
2291 it to support additional object-based source types.</p> |
|
2292 </div> |
|
2293 |
|
2294 |
|
2295 <div class="params"> |
|
2296 <h4>Parameters:</h4> |
|
2297 |
|
2298 <ul class="params-list"> |
|
2299 |
|
2300 <li class="param"> |
|
2301 |
|
2302 <code class="param-name">source</code> |
|
2303 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
2304 |
|
2305 |
|
2306 |
|
2307 |
|
2308 <div class="param-description"> |
|
2309 |
|
2310 </div> |
|
2311 |
|
2312 |
|
2313 </li> |
|
2314 |
|
2315 </ul> |
|
2316 </div> |
|
2317 |
|
2318 |
|
2319 |
|
2320 |
|
2321 |
|
2322 </div> |
|
2323 |
|
2324 |
|
2325 <div id="method__bindUIACBase" class="method item protected"> |
|
2326 <h3 class="name"><code>_bindUIACBase</code></h3> |
|
2327 |
|
2328 |
|
2329 <span class="paren">()</span> |
|
2330 |
|
2331 |
|
2332 |
|
2333 |
|
2334 |
|
2335 |
|
2336 |
|
2337 <span class="flag protected">protected</span> |
|
2338 |
|
2339 |
|
2340 |
|
2341 |
|
2342 |
|
2343 |
|
2344 |
|
2345 |
|
2346 |
|
2347 |
|
2348 <div class="meta"> |
|
2349 |
|
2350 |
|
2351 |
|
2352 <p> |
|
2353 |
|
2354 Defined in |
|
2355 |
|
2356 |
|
2357 |
|
2358 |
|
2359 <a href="../files/autocomplete_js_autocomplete-base.js.html#l242"><code>autocomplete/js/autocomplete-base.js:242</code></a> |
|
2360 |
|
2361 </p> |
|
2362 |
|
2363 |
|
2364 |
|
2365 |
|
2366 |
|
2367 </div> |
|
2368 |
|
2369 <div class="description"> |
|
2370 <p>Attaches event listeners and behaviors.</p> |
|
2371 </div> |
|
2372 |
|
2373 |
|
2374 |
|
2375 |
|
2376 |
|
2377 |
|
2378 </div> |
|
2379 |
|
2380 |
|
2381 <div id="method__createArraySource" class="method item protected"> |
|
2382 <h3 class="name"><code>_createArraySource</code></h3> |
|
2383 |
|
2384 |
|
2385 <div class="args"> |
|
2386 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2387 |
|
2388 <li class="arg"> |
|
2389 |
|
2390 <code>source</code> |
|
2391 |
|
2392 </li> |
|
2393 |
|
2394 </ul><span class="paren">)</span> |
|
2395 </div> |
|
2396 |
|
2397 |
|
2398 |
|
2399 <span class="returns-inline"> |
|
2400 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2401 </span> |
|
2402 |
|
2403 |
|
2404 |
|
2405 |
|
2406 |
|
2407 <span class="flag protected">protected</span> |
|
2408 |
|
2409 |
|
2410 |
|
2411 |
|
2412 |
|
2413 |
|
2414 |
|
2415 |
|
2416 |
|
2417 |
|
2418 <div class="meta"> |
|
2419 |
|
2420 |
|
2421 |
|
2422 <p> |
|
2423 |
|
2424 Defined in |
|
2425 |
|
2426 |
|
2427 |
|
2428 |
|
2429 <a href="../files/autocomplete_js_autocomplete-base.js.html#l291"><code>autocomplete/js/autocomplete-base.js:291</code></a> |
|
2430 |
|
2431 </p> |
|
2432 |
|
2433 |
|
2434 |
|
2435 |
|
2436 |
|
2437 </div> |
|
2438 |
|
2439 <div class="description"> |
|
2440 <p>Creates a DataSource-like object that simply returns the specified array as |
|
2441 a response. See the <code>source</code> attribute for more details.</p> |
|
2442 </div> |
|
2443 |
|
2444 |
|
2445 <div class="params"> |
|
2446 <h4>Parameters:</h4> |
|
2447 |
|
2448 <ul class="params-list"> |
|
2449 |
|
2450 <li class="param"> |
|
2451 |
|
2452 <code class="param-name">source</code> |
|
2453 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
2454 |
|
2455 |
|
2456 |
|
2457 |
|
2458 <div class="param-description"> |
|
2459 |
|
2460 </div> |
|
2461 |
|
2462 |
|
2463 </li> |
|
2464 |
|
2465 </ul> |
|
2466 </div> |
|
2467 |
|
2468 |
|
2469 |
|
2470 <div class="returns"> |
|
2471 <h4>Returns:</h4> |
|
2472 |
|
2473 <div class="returns-description"> |
|
2474 |
|
2475 |
|
2476 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
2477 |
|
2478 DataSource-like object. |
|
2479 |
|
2480 </div> |
|
2481 </div> |
|
2482 |
|
2483 |
|
2484 |
|
2485 </div> |
|
2486 |
|
2487 |
|
2488 <div id="method__createFunctionSource" class="method item protected"> |
|
2489 <h3 class="name"><code>_createFunctionSource</code></h3> |
|
2490 |
|
2491 |
|
2492 <div class="args"> |
|
2493 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2494 |
|
2495 <li class="arg"> |
|
2496 |
|
2497 <code>source</code> |
|
2498 |
|
2499 </li> |
|
2500 |
|
2501 </ul><span class="paren">)</span> |
|
2502 </div> |
|
2503 |
|
2504 |
|
2505 |
|
2506 <span class="returns-inline"> |
|
2507 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2508 </span> |
|
2509 |
|
2510 |
|
2511 |
|
2512 |
|
2513 |
|
2514 <span class="flag protected">protected</span> |
|
2515 |
|
2516 |
|
2517 |
|
2518 |
|
2519 |
|
2520 |
|
2521 |
|
2522 |
|
2523 |
|
2524 |
|
2525 <div class="meta"> |
|
2526 |
|
2527 |
|
2528 |
|
2529 <p> |
|
2530 |
|
2531 Defined in |
|
2532 |
|
2533 |
|
2534 |
|
2535 |
|
2536 <a href="../files/autocomplete_js_autocomplete-base.js.html#l311"><code>autocomplete/js/autocomplete-base.js:311</code></a> |
|
2537 |
|
2538 </p> |
|
2539 |
|
2540 |
|
2541 |
|
2542 |
|
2543 |
|
2544 </div> |
|
2545 |
|
2546 <div class="description"> |
|
2547 <p>Creates a DataSource-like object that passes the query to a custom-defined |
|
2548 function, which is expected to call the provided callback with an array of |
|
2549 results. See the <code>source</code> attribute for more details.</p> |
|
2550 </div> |
|
2551 |
|
2552 |
|
2553 <div class="params"> |
|
2554 <h4>Parameters:</h4> |
|
2555 |
|
2556 <ul class="params-list"> |
|
2557 |
|
2558 <li class="param"> |
|
2559 |
|
2560 <code class="param-name">source</code> |
|
2561 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
2562 |
|
2563 |
|
2564 |
|
2565 |
|
2566 <div class="param-description"> |
|
2567 <p>Function that accepts a query and a callback as |
|
2568 parameters, and calls the callback with an array of results.</p> |
|
2569 </div> |
|
2570 |
|
2571 |
|
2572 </li> |
|
2573 |
|
2574 </ul> |
|
2575 </div> |
|
2576 |
|
2577 |
|
2578 |
|
2579 <div class="returns"> |
|
2580 <h4>Returns:</h4> |
|
2581 |
|
2582 <div class="returns-description"> |
|
2583 |
|
2584 |
|
2585 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
2586 |
|
2587 DataSource-like object. |
|
2588 |
|
2589 </div> |
|
2590 </div> |
|
2591 |
|
2592 |
|
2593 |
|
2594 </div> |
|
2595 |
|
2596 |
|
2597 <div id="method__createIOSource" class="method item protected"> |
|
2598 <h3 class="name"><code>_createIOSource</code></h3> |
|
2599 |
|
2600 |
|
2601 <div class="args"> |
|
2602 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2603 |
|
2604 <li class="arg"> |
|
2605 |
|
2606 <code>source</code> |
|
2607 |
|
2608 </li> |
|
2609 |
|
2610 </ul><span class="paren">)</span> |
|
2611 </div> |
|
2612 |
|
2613 |
|
2614 |
|
2615 <span class="returns-inline"> |
|
2616 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2617 </span> |
|
2618 |
|
2619 |
|
2620 |
|
2621 |
|
2622 |
|
2623 <span class="flag protected">protected</span> |
|
2624 |
|
2625 |
|
2626 |
|
2627 |
|
2628 |
|
2629 |
|
2630 |
|
2631 |
|
2632 |
|
2633 |
|
2634 <div class="meta"> |
|
2635 |
|
2636 |
|
2637 |
|
2638 <p>Provided by the <a href="../modules/autocomplete-sources.html">autocomplete-sources</a> module.</p> |
|
2639 |
|
2640 <p> |
|
2641 |
|
2642 Defined in |
|
2643 |
|
2644 |
|
2645 |
|
2646 |
|
2647 <a href="../files/autocomplete_js_autocomplete-sources.js.html#l57"><code>autocomplete/js/autocomplete-sources.js:57</code></a> |
|
2648 |
|
2649 </p> |
|
2650 |
|
2651 |
|
2652 |
|
2653 |
|
2654 |
|
2655 </div> |
|
2656 |
|
2657 <div class="description"> |
|
2658 <p>Creates a DataSource-like object that uses <code>Y.io</code> as a source. See the |
|
2659 <code>source</code> attribute for more details.</p> |
|
2660 </div> |
|
2661 |
|
2662 |
|
2663 <div class="params"> |
|
2664 <h4>Parameters:</h4> |
|
2665 |
|
2666 <ul class="params-list"> |
|
2667 |
|
2668 <li class="param"> |
|
2669 |
|
2670 <code class="param-name">source</code> |
|
2671 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
2672 |
|
2673 |
|
2674 |
|
2675 |
|
2676 <div class="param-description"> |
|
2677 <p>URL.</p> |
|
2678 </div> |
|
2679 |
|
2680 |
|
2681 </li> |
|
2682 |
|
2683 </ul> |
|
2684 </div> |
|
2685 |
|
2686 |
|
2687 |
|
2688 <div class="returns"> |
|
2689 <h4>Returns:</h4> |
|
2690 |
|
2691 <div class="returns-description"> |
|
2692 |
|
2693 |
|
2694 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
2695 |
|
2696 DataSource-like object. |
|
2697 |
|
2698 </div> |
|
2699 </div> |
|
2700 |
|
2701 |
|
2702 |
|
2703 </div> |
|
2704 |
|
2705 |
|
2706 <div id="method__createJSONPSource" class="method item protected"> |
|
2707 <h3 class="name"><code>_createJSONPSource</code></h3> |
|
2708 |
|
2709 |
|
2710 <div class="args"> |
|
2711 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2712 |
|
2713 <li class="arg"> |
|
2714 |
|
2715 <code>source</code> |
|
2716 |
|
2717 </li> |
|
2718 |
|
2719 </ul><span class="paren">)</span> |
|
2720 </div> |
|
2721 |
|
2722 |
|
2723 |
|
2724 <span class="returns-inline"> |
|
2725 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2726 </span> |
|
2727 |
|
2728 |
|
2729 |
|
2730 |
|
2731 |
|
2732 <span class="flag protected">protected</span> |
|
2733 |
|
2734 |
|
2735 |
|
2736 |
|
2737 |
|
2738 |
|
2739 |
|
2740 |
|
2741 |
|
2742 |
|
2743 <div class="meta"> |
|
2744 |
|
2745 |
|
2746 |
|
2747 <p>Provided by the <a href="../modules/autocomplete-sources.html">autocomplete-sources</a> module.</p> |
|
2748 |
|
2749 <p> |
|
2750 |
|
2751 Defined in |
|
2752 |
|
2753 |
|
2754 |
|
2755 |
|
2756 <a href="../files/autocomplete_js_autocomplete-sources.js.html#l130"><code>autocomplete/js/autocomplete-sources.js:130</code></a> |
|
2757 |
|
2758 </p> |
|
2759 |
|
2760 |
|
2761 |
|
2762 |
|
2763 |
|
2764 </div> |
|
2765 |
|
2766 <div class="description"> |
|
2767 <p>Creates a DataSource-like object that uses the specified JSONPRequest |
|
2768 instance as a source. See the <code>source</code> attribute for more details.</p> |
|
2769 </div> |
|
2770 |
|
2771 |
|
2772 <div class="params"> |
|
2773 <h4>Parameters:</h4> |
|
2774 |
|
2775 <ul class="params-list"> |
|
2776 |
|
2777 <li class="param"> |
|
2778 |
|
2779 <code class="param-name">source</code> |
|
2780 <span class="type"><a href="../classes/JSONPRequest.html" class="crosslink">JSONPRequest</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
2781 |
|
2782 |
|
2783 |
|
2784 |
|
2785 <div class="param-description"> |
|
2786 <p>URL string or JSONPRequest instance.</p> |
|
2787 </div> |
|
2788 |
|
2789 |
|
2790 </li> |
|
2791 |
|
2792 </ul> |
|
2793 </div> |
|
2794 |
|
2795 |
|
2796 |
|
2797 <div class="returns"> |
|
2798 <h4>Returns:</h4> |
|
2799 |
|
2800 <div class="returns-description"> |
|
2801 |
|
2802 |
|
2803 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
2804 |
|
2805 DataSource-like object. |
|
2806 |
|
2807 </div> |
|
2808 </div> |
|
2809 |
|
2810 |
|
2811 |
|
2812 </div> |
|
2813 |
|
2814 |
|
2815 <div id="method__createObjectSource" class="method item protected"> |
|
2816 <h3 class="name"><code>_createObjectSource</code></h3> |
|
2817 |
|
2818 |
|
2819 <div class="args"> |
|
2820 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2821 |
|
2822 <li class="arg"> |
|
2823 |
|
2824 <code>source</code> |
|
2825 |
|
2826 </li> |
|
2827 |
|
2828 </ul><span class="paren">)</span> |
|
2829 </div> |
|
2830 |
|
2831 |
|
2832 |
|
2833 <span class="returns-inline"> |
|
2834 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2835 </span> |
|
2836 |
|
2837 |
|
2838 |
|
2839 |
|
2840 |
|
2841 <span class="flag protected">protected</span> |
|
2842 |
|
2843 |
|
2844 |
|
2845 |
|
2846 |
|
2847 |
|
2848 |
|
2849 |
|
2850 |
|
2851 |
|
2852 <div class="meta"> |
|
2853 |
|
2854 |
|
2855 |
|
2856 <p> |
|
2857 |
|
2858 Defined in |
|
2859 |
|
2860 |
|
2861 |
|
2862 |
|
2863 <a href="../files/autocomplete_js_autocomplete-base.js.html#l343"><code>autocomplete/js/autocomplete-base.js:343</code></a> |
|
2864 |
|
2865 </p> |
|
2866 |
|
2867 |
|
2868 |
|
2869 |
|
2870 |
|
2871 </div> |
|
2872 |
|
2873 <div class="description"> |
|
2874 <p>Creates a DataSource-like object that looks up queries as properties on the |
|
2875 specified object, and returns the found value (if any) as a response. See |
|
2876 the <code>source</code> attribute for more details.</p> |
|
2877 </div> |
|
2878 |
|
2879 |
|
2880 <div class="params"> |
|
2881 <h4>Parameters:</h4> |
|
2882 |
|
2883 <ul class="params-list"> |
|
2884 |
|
2885 <li class="param"> |
|
2886 |
|
2887 <code class="param-name">source</code> |
|
2888 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2889 |
|
2890 |
|
2891 |
|
2892 |
|
2893 <div class="param-description"> |
|
2894 |
|
2895 </div> |
|
2896 |
|
2897 |
|
2898 </li> |
|
2899 |
|
2900 </ul> |
|
2901 </div> |
|
2902 |
|
2903 |
|
2904 |
|
2905 <div class="returns"> |
|
2906 <h4>Returns:</h4> |
|
2907 |
|
2908 <div class="returns-description"> |
|
2909 |
|
2910 |
|
2911 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
2912 |
|
2913 DataSource-like object. |
|
2914 |
|
2915 </div> |
|
2916 </div> |
|
2917 |
|
2918 |
|
2919 |
|
2920 </div> |
|
2921 |
|
2922 |
|
2923 <div id="method__createSelectSource" class="method item protected"> |
|
2924 <h3 class="name"><code>_createSelectSource</code></h3> |
|
2925 |
|
2926 |
|
2927 <div class="args"> |
|
2928 <span class="paren">(</span><ul class="args-list inline commas"> |
|
2929 |
|
2930 <li class="arg"> |
|
2931 |
|
2932 <code>source</code> |
|
2933 |
|
2934 </li> |
|
2935 |
|
2936 </ul><span class="paren">)</span> |
|
2937 </div> |
|
2938 |
|
2939 |
|
2940 |
|
2941 <span class="returns-inline"> |
|
2942 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
2943 </span> |
|
2944 |
|
2945 |
|
2946 |
|
2947 |
|
2948 |
|
2949 <span class="flag protected">protected</span> |
|
2950 |
|
2951 |
|
2952 |
|
2953 |
|
2954 |
|
2955 |
|
2956 |
|
2957 |
|
2958 |
|
2959 |
|
2960 <div class="meta"> |
|
2961 |
|
2962 |
|
2963 |
|
2964 <p>Provided by the <a href="../modules/autocomplete-sources.html">autocomplete-sources</a> module.</p> |
|
2965 |
|
2966 <p> |
|
2967 |
|
2968 Defined in |
|
2969 |
|
2970 |
|
2971 |
|
2972 |
|
2973 <a href="../files/autocomplete_js_autocomplete-sources.js.html#l199"><code>autocomplete/js/autocomplete-sources.js:199</code></a> |
|
2974 |
|
2975 </p> |
|
2976 |
|
2977 |
|
2978 |
|
2979 |
|
2980 |
|
2981 </div> |
|
2982 |
|
2983 <div class="description"> |
|
2984 <p>Creates a DataSource-like object that uses the specified <code><select></code> node as |
|
2985 a source.</p> |
|
2986 </div> |
|
2987 |
|
2988 |
|
2989 <div class="params"> |
|
2990 <h4>Parameters:</h4> |
|
2991 |
|
2992 <ul class="params-list"> |
|
2993 |
|
2994 <li class="param"> |
|
2995 |
|
2996 <code class="param-name">source</code> |
|
2997 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
2998 |
|
2999 |
|
3000 |
|
3001 |
|
3002 <div class="param-description"> |
|
3003 <p>YUI Node instance wrapping a <code><select></code> node.</p> |
|
3004 </div> |
|
3005 |
|
3006 |
|
3007 </li> |
|
3008 |
|
3009 </ul> |
|
3010 </div> |
|
3011 |
|
3012 |
|
3013 |
|
3014 <div class="returns"> |
|
3015 <h4>Returns:</h4> |
|
3016 |
|
3017 <div class="returns-description"> |
|
3018 |
|
3019 |
|
3020 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
3021 |
|
3022 DataSource-like object. |
|
3023 |
|
3024 </div> |
|
3025 </div> |
|
3026 |
|
3027 |
|
3028 |
|
3029 </div> |
|
3030 |
|
3031 |
|
3032 <div id="method__createStringSource" class="method item protected"> |
|
3033 <h3 class="name"><code>_createStringSource</code></h3> |
|
3034 |
|
3035 |
|
3036 <div class="args"> |
|
3037 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3038 |
|
3039 <li class="arg"> |
|
3040 |
|
3041 <code>source</code> |
|
3042 |
|
3043 </li> |
|
3044 |
|
3045 </ul><span class="paren">)</span> |
|
3046 </div> |
|
3047 |
|
3048 |
|
3049 |
|
3050 <span class="returns-inline"> |
|
3051 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3052 </span> |
|
3053 |
|
3054 |
|
3055 |
|
3056 |
|
3057 |
|
3058 <span class="flag protected">protected</span> |
|
3059 |
|
3060 |
|
3061 |
|
3062 |
|
3063 |
|
3064 |
|
3065 |
|
3066 |
|
3067 |
|
3068 |
|
3069 <div class="meta"> |
|
3070 |
|
3071 |
|
3072 |
|
3073 <p>Provided by the <a href="../modules/autocomplete-sources.html">autocomplete-sources</a> module.</p> |
|
3074 |
|
3075 <p> |
|
3076 |
|
3077 Defined in |
|
3078 |
|
3079 |
|
3080 |
|
3081 |
|
3082 <a href="../files/autocomplete_js_autocomplete-sources.js.html#l233"><code>autocomplete/js/autocomplete-sources.js:233</code></a> |
|
3083 |
|
3084 </p> |
|
3085 |
|
3086 |
|
3087 |
|
3088 |
|
3089 |
|
3090 </div> |
|
3091 |
|
3092 <div class="description"> |
|
3093 <p>Creates a DataSource-like object that calls the specified URL or executes |
|
3094 the specified YQL query for results. If the string starts with "select ", |
|
3095 "use ", or "set " (case-insensitive), it's assumed to be a YQL query; |
|
3096 otherwise, it's assumed to be a URL (which may be absolute or relative). |
|
3097 URLs containing a "{callback}" placeholder are assumed to be JSONP URLs; all |
|
3098 others will use XHR. See the <code>source</code> attribute for more details.</p> |
|
3099 </div> |
|
3100 |
|
3101 |
|
3102 <div class="params"> |
|
3103 <h4>Parameters:</h4> |
|
3104 |
|
3105 <ul class="params-list"> |
|
3106 |
|
3107 <li class="param"> |
|
3108 |
|
3109 <code class="param-name">source</code> |
|
3110 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
3111 |
|
3112 |
|
3113 |
|
3114 |
|
3115 <div class="param-description"> |
|
3116 <p>URL or YQL query.</p> |
|
3117 </div> |
|
3118 |
|
3119 |
|
3120 </li> |
|
3121 |
|
3122 </ul> |
|
3123 </div> |
|
3124 |
|
3125 |
|
3126 |
|
3127 <div class="returns"> |
|
3128 <h4>Returns:</h4> |
|
3129 |
|
3130 <div class="returns-description"> |
|
3131 |
|
3132 |
|
3133 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
3134 |
|
3135 DataSource-like object. |
|
3136 |
|
3137 </div> |
|
3138 </div> |
|
3139 |
|
3140 |
|
3141 |
|
3142 </div> |
|
3143 |
|
3144 |
|
3145 <div id="method__createYQLSource" class="method item protected"> |
|
3146 <h3 class="name"><code>_createYQLSource</code></h3> |
|
3147 |
|
3148 |
|
3149 <div class="args"> |
|
3150 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3151 |
|
3152 <li class="arg"> |
|
3153 |
|
3154 <code>source</code> |
|
3155 |
|
3156 </li> |
|
3157 |
|
3158 </ul><span class="paren">)</span> |
|
3159 </div> |
|
3160 |
|
3161 |
|
3162 |
|
3163 <span class="returns-inline"> |
|
3164 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3165 </span> |
|
3166 |
|
3167 |
|
3168 |
|
3169 |
|
3170 |
|
3171 <span class="flag protected">protected</span> |
|
3172 |
|
3173 |
|
3174 |
|
3175 |
|
3176 |
|
3177 |
|
3178 |
|
3179 |
|
3180 |
|
3181 |
|
3182 <div class="meta"> |
|
3183 |
|
3184 |
|
3185 |
|
3186 <p>Provided by the <a href="../modules/autocomplete-sources.html">autocomplete-sources</a> module.</p> |
|
3187 |
|
3188 <p> |
|
3189 |
|
3190 Defined in |
|
3191 |
|
3192 |
|
3193 |
|
3194 |
|
3195 <a href="../files/autocomplete_js_autocomplete-sources.js.html#l261"><code>autocomplete/js/autocomplete-sources.js:261</code></a> |
|
3196 |
|
3197 </p> |
|
3198 |
|
3199 |
|
3200 |
|
3201 |
|
3202 |
|
3203 </div> |
|
3204 |
|
3205 <div class="description"> |
|
3206 <p>Creates a DataSource-like object that uses the specified YQL query string to |
|
3207 create a YQL-based source. See the <code>source</code> attribute for details. If no |
|
3208 <code>resultListLocator</code> is defined, this method will set a best-guess locator |
|
3209 that might work for many typical YQL queries.</p> |
|
3210 </div> |
|
3211 |
|
3212 |
|
3213 <div class="params"> |
|
3214 <h4>Parameters:</h4> |
|
3215 |
|
3216 <ul class="params-list"> |
|
3217 |
|
3218 <li class="param"> |
|
3219 |
|
3220 <code class="param-name">source</code> |
|
3221 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
3222 |
|
3223 |
|
3224 |
|
3225 |
|
3226 <div class="param-description"> |
|
3227 <p>YQL query.</p> |
|
3228 </div> |
|
3229 |
|
3230 |
|
3231 </li> |
|
3232 |
|
3233 </ul> |
|
3234 </div> |
|
3235 |
|
3236 |
|
3237 |
|
3238 <div class="returns"> |
|
3239 <h4>Returns:</h4> |
|
3240 |
|
3241 <div class="returns-description"> |
|
3242 |
|
3243 |
|
3244 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
3245 |
|
3246 DataSource-like object. |
|
3247 |
|
3248 </div> |
|
3249 </div> |
|
3250 |
|
3251 |
|
3252 |
|
3253 </div> |
|
3254 |
|
3255 |
|
3256 <div id="method__defaultYQLLocator" class="method item protected"> |
|
3257 <h3 class="name"><code>_defaultYQLLocator</code></h3> |
|
3258 |
|
3259 |
|
3260 <div class="args"> |
|
3261 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3262 |
|
3263 <li class="arg"> |
|
3264 |
|
3265 <code>response</code> |
|
3266 |
|
3267 </li> |
|
3268 |
|
3269 </ul><span class="paren">)</span> |
|
3270 </div> |
|
3271 |
|
3272 |
|
3273 |
|
3274 <span class="returns-inline"> |
|
3275 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
3276 </span> |
|
3277 |
|
3278 |
|
3279 |
|
3280 |
|
3281 |
|
3282 <span class="flag protected">protected</span> |
|
3283 |
|
3284 |
|
3285 |
|
3286 |
|
3287 |
|
3288 |
|
3289 |
|
3290 |
|
3291 |
|
3292 |
|
3293 <div class="meta"> |
|
3294 |
|
3295 |
|
3296 |
|
3297 <p>Provided by the <a href="../modules/autocomplete-sources.html">autocomplete-sources</a> module.</p> |
|
3298 |
|
3299 <p> |
|
3300 |
|
3301 Defined in |
|
3302 |
|
3303 |
|
3304 |
|
3305 |
|
3306 <a href="../files/autocomplete_js_autocomplete-sources.js.html#l348"><code>autocomplete/js/autocomplete-sources.js:348</code></a> |
|
3307 |
|
3308 </p> |
|
3309 |
|
3310 |
|
3311 |
|
3312 |
|
3313 |
|
3314 </div> |
|
3315 |
|
3316 <div class="description"> |
|
3317 <p>Default resultListLocator used when a string-based YQL source is set and the |
|
3318 implementer hasn't already specified one.</p> |
|
3319 </div> |
|
3320 |
|
3321 |
|
3322 <div class="params"> |
|
3323 <h4>Parameters:</h4> |
|
3324 |
|
3325 <ul class="params-list"> |
|
3326 |
|
3327 <li class="param"> |
|
3328 |
|
3329 <code class="param-name">response</code> |
|
3330 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3331 |
|
3332 |
|
3333 |
|
3334 |
|
3335 <div class="param-description"> |
|
3336 <p>YQL response object.</p> |
|
3337 </div> |
|
3338 |
|
3339 |
|
3340 </li> |
|
3341 |
|
3342 </ul> |
|
3343 </div> |
|
3344 |
|
3345 |
|
3346 |
|
3347 <div class="returns"> |
|
3348 <h4>Returns:</h4> |
|
3349 |
|
3350 <div class="returns-description"> |
|
3351 |
|
3352 |
|
3353 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>: |
|
3354 |
|
3355 |
|
3356 </div> |
|
3357 </div> |
|
3358 |
|
3359 |
|
3360 |
|
3361 </div> |
|
3362 |
|
3363 |
|
3364 <div id="method__defClearFn" class="method item protected"> |
|
3365 <h3 class="name"><code>_defClearFn</code></h3> |
|
3366 |
|
3367 |
|
3368 <span class="paren">()</span> |
|
3369 |
|
3370 |
|
3371 |
|
3372 |
|
3373 |
|
3374 |
|
3375 |
|
3376 <span class="flag protected">protected</span> |
|
3377 |
|
3378 |
|
3379 |
|
3380 |
|
3381 |
|
3382 |
|
3383 |
|
3384 |
|
3385 |
|
3386 |
|
3387 <div class="meta"> |
|
3388 |
|
3389 |
|
3390 |
|
3391 <p> |
|
3392 |
|
3393 Defined in |
|
3394 |
|
3395 |
|
3396 |
|
3397 |
|
3398 <a href="../files/autocomplete_js_autocomplete-base.js.html#l932"><code>autocomplete/js/autocomplete-base.js:932</code></a> |
|
3399 |
|
3400 </p> |
|
3401 |
|
3402 |
|
3403 |
|
3404 |
|
3405 |
|
3406 </div> |
|
3407 |
|
3408 <div class="description"> |
|
3409 <p>Default <code>clear</code> event handler. Sets the <code>results</code> attribute to an empty |
|
3410 array and <code>query</code> to null.</p> |
|
3411 </div> |
|
3412 |
|
3413 |
|
3414 |
|
3415 |
|
3416 |
|
3417 |
|
3418 </div> |
|
3419 |
|
3420 |
|
3421 <div id="method__defQueryFn" class="method item protected"> |
|
3422 <h3 class="name"><code>_defQueryFn</code></h3> |
|
3423 |
|
3424 |
|
3425 <div class="args"> |
|
3426 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3427 |
|
3428 <li class="arg"> |
|
3429 |
|
3430 <code>e</code> |
|
3431 |
|
3432 </li> |
|
3433 |
|
3434 </ul><span class="paren">)</span> |
|
3435 </div> |
|
3436 |
|
3437 |
|
3438 |
|
3439 |
|
3440 |
|
3441 |
|
3442 |
|
3443 <span class="flag protected">protected</span> |
|
3444 |
|
3445 |
|
3446 |
|
3447 |
|
3448 |
|
3449 |
|
3450 |
|
3451 |
|
3452 |
|
3453 |
|
3454 <div class="meta"> |
|
3455 |
|
3456 |
|
3457 |
|
3458 <p> |
|
3459 |
|
3460 Defined in |
|
3461 |
|
3462 |
|
3463 |
|
3464 |
|
3465 <a href="../files/autocomplete_js_autocomplete-base.js.html#l944"><code>autocomplete/js/autocomplete-base.js:944</code></a> |
|
3466 |
|
3467 </p> |
|
3468 |
|
3469 |
|
3470 |
|
3471 |
|
3472 |
|
3473 </div> |
|
3474 |
|
3475 <div class="description"> |
|
3476 <p>Default <code>query</code> event handler. Sets the <code>query</code> attribute and sends a |
|
3477 request to the source if one is configured.</p> |
|
3478 </div> |
|
3479 |
|
3480 |
|
3481 <div class="params"> |
|
3482 <h4>Parameters:</h4> |
|
3483 |
|
3484 <ul class="params-list"> |
|
3485 |
|
3486 <li class="param"> |
|
3487 |
|
3488 <code class="param-name">e</code> |
|
3489 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
3490 |
|
3491 |
|
3492 |
|
3493 |
|
3494 <div class="param-description"> |
|
3495 |
|
3496 </div> |
|
3497 |
|
3498 |
|
3499 </li> |
|
3500 |
|
3501 </ul> |
|
3502 </div> |
|
3503 |
|
3504 |
|
3505 |
|
3506 |
|
3507 |
|
3508 </div> |
|
3509 |
|
3510 |
|
3511 <div id="method__defResultsFn" class="method item protected"> |
|
3512 <h3 class="name"><code>_defResultsFn</code></h3> |
|
3513 |
|
3514 |
|
3515 <div class="args"> |
|
3516 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3517 |
|
3518 <li class="arg"> |
|
3519 |
|
3520 <code>e</code> |
|
3521 |
|
3522 </li> |
|
3523 |
|
3524 </ul><span class="paren">)</span> |
|
3525 </div> |
|
3526 |
|
3527 |
|
3528 |
|
3529 |
|
3530 |
|
3531 |
|
3532 |
|
3533 <span class="flag protected">protected</span> |
|
3534 |
|
3535 |
|
3536 |
|
3537 |
|
3538 |
|
3539 |
|
3540 |
|
3541 |
|
3542 |
|
3543 |
|
3544 <div class="meta"> |
|
3545 |
|
3546 |
|
3547 |
|
3548 <p> |
|
3549 |
|
3550 Defined in |
|
3551 |
|
3552 |
|
3553 |
|
3554 |
|
3555 <a href="../files/autocomplete_js_autocomplete-base.js.html#l957"><code>autocomplete/js/autocomplete-base.js:957</code></a> |
|
3556 |
|
3557 </p> |
|
3558 |
|
3559 |
|
3560 |
|
3561 |
|
3562 |
|
3563 </div> |
|
3564 |
|
3565 <div class="description"> |
|
3566 <p>Default <code>results</code> event handler. Sets the <code>results</code> attribute to the latest |
|
3567 results.</p> |
|
3568 </div> |
|
3569 |
|
3570 |
|
3571 <div class="params"> |
|
3572 <h4>Parameters:</h4> |
|
3573 |
|
3574 <ul class="params-list"> |
|
3575 |
|
3576 <li class="param"> |
|
3577 |
|
3578 <code class="param-name">e</code> |
|
3579 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
3580 |
|
3581 |
|
3582 |
|
3583 |
|
3584 <div class="param-description"> |
|
3585 |
|
3586 </div> |
|
3587 |
|
3588 |
|
3589 </li> |
|
3590 |
|
3591 </ul> |
|
3592 </div> |
|
3593 |
|
3594 |
|
3595 |
|
3596 |
|
3597 |
|
3598 </div> |
|
3599 |
|
3600 |
|
3601 <div id="method__functionValidator" class="method item protected"> |
|
3602 <h3 class="name"><code>_functionValidator</code></h3> |
|
3603 |
|
3604 |
|
3605 <div class="args"> |
|
3606 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3607 |
|
3608 <li class="arg"> |
|
3609 |
|
3610 <code>value</code> |
|
3611 |
|
3612 </li> |
|
3613 |
|
3614 </ul><span class="paren">)</span> |
|
3615 </div> |
|
3616 |
|
3617 |
|
3618 |
|
3619 |
|
3620 |
|
3621 |
|
3622 |
|
3623 <span class="flag protected">protected</span> |
|
3624 |
|
3625 |
|
3626 |
|
3627 |
|
3628 |
|
3629 |
|
3630 |
|
3631 |
|
3632 |
|
3633 |
|
3634 <div class="meta"> |
|
3635 |
|
3636 |
|
3637 |
|
3638 <p> |
|
3639 |
|
3640 Defined in |
|
3641 |
|
3642 |
|
3643 |
|
3644 |
|
3645 <a href="../files/autocomplete_js_autocomplete-base.js.html#l369"><code>autocomplete/js/autocomplete-base.js:369</code></a> |
|
3646 |
|
3647 </p> |
|
3648 |
|
3649 |
|
3650 |
|
3651 |
|
3652 |
|
3653 </div> |
|
3654 |
|
3655 <div class="description"> |
|
3656 <p>Returns <code>true</code> if <em>value</em> is either a function or <code>null</code>.</p> |
|
3657 </div> |
|
3658 |
|
3659 |
|
3660 <div class="params"> |
|
3661 <h4>Parameters:</h4> |
|
3662 |
|
3663 <ul class="params-list"> |
|
3664 |
|
3665 <li class="param"> |
|
3666 |
|
3667 <code class="param-name">value</code> |
|
3668 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | Null</span> |
|
3669 |
|
3670 |
|
3671 |
|
3672 |
|
3673 <div class="param-description"> |
|
3674 <p>Value to validate.</p> |
|
3675 </div> |
|
3676 |
|
3677 |
|
3678 </li> |
|
3679 |
|
3680 </ul> |
|
3681 </div> |
|
3682 |
|
3683 |
|
3684 |
|
3685 |
|
3686 |
|
3687 </div> |
|
3688 |
|
3689 |
|
3690 <div id="method__getObjectValue" class="method item protected"> |
|
3691 <h3 class="name"><code>_getObjectValue</code></h3> |
|
3692 |
|
3693 |
|
3694 <div class="args"> |
|
3695 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3696 |
|
3697 <li class="arg"> |
|
3698 |
|
3699 <code>obj</code> |
|
3700 |
|
3701 </li> |
|
3702 |
|
3703 <li class="arg"> |
|
3704 |
|
3705 <code>path</code> |
|
3706 |
|
3707 </li> |
|
3708 |
|
3709 </ul><span class="paren">)</span> |
|
3710 </div> |
|
3711 |
|
3712 |
|
3713 |
|
3714 <span class="returns-inline"> |
|
3715 <span class="type">Any</span> |
|
3716 </span> |
|
3717 |
|
3718 |
|
3719 |
|
3720 |
|
3721 |
|
3722 <span class="flag protected">protected</span> |
|
3723 |
|
3724 |
|
3725 |
|
3726 |
|
3727 |
|
3728 |
|
3729 |
|
3730 |
|
3731 |
|
3732 |
|
3733 <div class="meta"> |
|
3734 |
|
3735 |
|
3736 |
|
3737 <p> |
|
3738 |
|
3739 Defined in |
|
3740 |
|
3741 |
|
3742 |
|
3743 |
|
3744 <a href="../files/autocomplete_js_autocomplete-base.js.html#l380"><code>autocomplete/js/autocomplete-base.js:380</code></a> |
|
3745 |
|
3746 </p> |
|
3747 |
|
3748 |
|
3749 |
|
3750 |
|
3751 |
|
3752 </div> |
|
3753 |
|
3754 <div class="description"> |
|
3755 <p>Faster and safer alternative to <code>Y.Object.getValue()</code>. Doesn't bother |
|
3756 casting the path to an array (since we already know it's an array) and |
|
3757 doesn't throw an error if a value in the middle of the object hierarchy is |
|
3758 neither <code>undefined</code> nor an object.</p> |
|
3759 </div> |
|
3760 |
|
3761 |
|
3762 <div class="params"> |
|
3763 <h4>Parameters:</h4> |
|
3764 |
|
3765 <ul class="params-list"> |
|
3766 |
|
3767 <li class="param"> |
|
3768 |
|
3769 <code class="param-name">obj</code> |
|
3770 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3771 |
|
3772 |
|
3773 |
|
3774 |
|
3775 <div class="param-description"> |
|
3776 |
|
3777 </div> |
|
3778 |
|
3779 |
|
3780 </li> |
|
3781 |
|
3782 <li class="param"> |
|
3783 |
|
3784 <code class="param-name">path</code> |
|
3785 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
3786 |
|
3787 |
|
3788 |
|
3789 |
|
3790 <div class="param-description"> |
|
3791 |
|
3792 </div> |
|
3793 |
|
3794 |
|
3795 </li> |
|
3796 |
|
3797 </ul> |
|
3798 </div> |
|
3799 |
|
3800 |
|
3801 |
|
3802 <div class="returns"> |
|
3803 <h4>Returns:</h4> |
|
3804 |
|
3805 <div class="returns-description"> |
|
3806 |
|
3807 |
|
3808 <span class="type">Any</span>: |
|
3809 |
|
3810 Located value, or <code>undefined</code> if the value was |
|
3811 not found at the specified path. |
|
3812 |
|
3813 </div> |
|
3814 </div> |
|
3815 |
|
3816 |
|
3817 |
|
3818 </div> |
|
3819 |
|
3820 |
|
3821 <div id="method__getXHRUrl" class="method item protected"> |
|
3822 <h3 class="name"><code>_getXHRUrl</code></h3> |
|
3823 |
|
3824 |
|
3825 <div class="args"> |
|
3826 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3827 |
|
3828 <li class="arg"> |
|
3829 |
|
3830 <code>url</code> |
|
3831 |
|
3832 </li> |
|
3833 |
|
3834 <li class="arg"> |
|
3835 |
|
3836 <code>request</code> |
|
3837 |
|
3838 </li> |
|
3839 |
|
3840 </ul><span class="paren">)</span> |
|
3841 </div> |
|
3842 |
|
3843 |
|
3844 |
|
3845 <span class="returns-inline"> |
|
3846 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
3847 </span> |
|
3848 |
|
3849 |
|
3850 |
|
3851 |
|
3852 |
|
3853 <span class="flag protected">protected</span> |
|
3854 |
|
3855 |
|
3856 |
|
3857 |
|
3858 |
|
3859 |
|
3860 |
|
3861 |
|
3862 |
|
3863 |
|
3864 <div class="meta"> |
|
3865 |
|
3866 |
|
3867 |
|
3868 <p>Provided by the <a href="../modules/autocomplete-sources.html">autocomplete-sources</a> module.</p> |
|
3869 |
|
3870 <p> |
|
3871 |
|
3872 Defined in |
|
3873 |
|
3874 |
|
3875 |
|
3876 |
|
3877 <a href="../files/autocomplete_js_autocomplete-sources.js.html#l380"><code>autocomplete/js/autocomplete-sources.js:380</code></a> |
|
3878 |
|
3879 </p> |
|
3880 |
|
3881 |
|
3882 |
|
3883 |
|
3884 |
|
3885 </div> |
|
3886 |
|
3887 <div class="description"> |
|
3888 <p>Returns a formatted XHR URL based on the specified base <em>url</em>, <em>query</em>, and |
|
3889 the current <em>requestTemplate</em> if any.</p> |
|
3890 </div> |
|
3891 |
|
3892 |
|
3893 <div class="params"> |
|
3894 <h4>Parameters:</h4> |
|
3895 |
|
3896 <ul class="params-list"> |
|
3897 |
|
3898 <li class="param"> |
|
3899 |
|
3900 <code class="param-name">url</code> |
|
3901 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
3902 |
|
3903 |
|
3904 |
|
3905 |
|
3906 <div class="param-description"> |
|
3907 <p>Base URL.</p> |
|
3908 </div> |
|
3909 |
|
3910 |
|
3911 </li> |
|
3912 |
|
3913 <li class="param"> |
|
3914 |
|
3915 <code class="param-name">request</code> |
|
3916 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3917 |
|
3918 |
|
3919 |
|
3920 |
|
3921 <div class="param-description"> |
|
3922 <p>Request object containing <code>query</code> and <code>request</code> |
|
3923 properties.</p> |
|
3924 </div> |
|
3925 |
|
3926 |
|
3927 </li> |
|
3928 |
|
3929 </ul> |
|
3930 </div> |
|
3931 |
|
3932 |
|
3933 |
|
3934 <div class="returns"> |
|
3935 <h4>Returns:</h4> |
|
3936 |
|
3937 <div class="returns-description"> |
|
3938 |
|
3939 |
|
3940 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
3941 |
|
3942 Formatted URL. |
|
3943 |
|
3944 </div> |
|
3945 </div> |
|
3946 |
|
3947 |
|
3948 |
|
3949 </div> |
|
3950 |
|
3951 |
|
3952 <div id="method__jsonpFormatter" class="method item protected"> |
|
3953 <h3 class="name"><code>_jsonpFormatter</code></h3> |
|
3954 |
|
3955 |
|
3956 <div class="args"> |
|
3957 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3958 |
|
3959 <li class="arg"> |
|
3960 |
|
3961 <code>url</code> |
|
3962 |
|
3963 </li> |
|
3964 |
|
3965 <li class="arg"> |
|
3966 |
|
3967 <code>proxy</code> |
|
3968 |
|
3969 </li> |
|
3970 |
|
3971 <li class="arg"> |
|
3972 |
|
3973 <code>query</code> |
|
3974 |
|
3975 </li> |
|
3976 |
|
3977 </ul><span class="paren">)</span> |
|
3978 </div> |
|
3979 |
|
3980 |
|
3981 |
|
3982 <span class="returns-inline"> |
|
3983 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
3984 </span> |
|
3985 |
|
3986 |
|
3987 |
|
3988 |
|
3989 |
|
3990 <span class="flag protected">protected</span> |
|
3991 |
|
3992 |
|
3993 |
|
3994 |
|
3995 |
|
3996 |
|
3997 |
|
3998 |
|
3999 |
|
4000 |
|
4001 <div class="meta"> |
|
4002 |
|
4003 |
|
4004 |
|
4005 <p>Provided by the <a href="../modules/autocomplete-sources.html">autocomplete-sources</a> module.</p> |
|
4006 |
|
4007 <p> |
|
4008 |
|
4009 Defined in |
|
4010 |
|
4011 |
|
4012 |
|
4013 |
|
4014 <a href="../files/autocomplete_js_autocomplete-sources.js.html#l406"><code>autocomplete/js/autocomplete-sources.js:406</code></a> |
|
4015 |
|
4016 </p> |
|
4017 |
|
4018 |
|
4019 |
|
4020 |
|
4021 |
|
4022 </div> |
|
4023 |
|
4024 <div class="description"> |
|
4025 <p>URL formatter passed to <code>JSONPRequest</code> instances.</p> |
|
4026 </div> |
|
4027 |
|
4028 |
|
4029 <div class="params"> |
|
4030 <h4>Parameters:</h4> |
|
4031 |
|
4032 <ul class="params-list"> |
|
4033 |
|
4034 <li class="param"> |
|
4035 |
|
4036 <code class="param-name">url</code> |
|
4037 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4038 |
|
4039 |
|
4040 |
|
4041 |
|
4042 <div class="param-description"> |
|
4043 |
|
4044 </div> |
|
4045 |
|
4046 |
|
4047 </li> |
|
4048 |
|
4049 <li class="param"> |
|
4050 |
|
4051 <code class="param-name">proxy</code> |
|
4052 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4053 |
|
4054 |
|
4055 |
|
4056 |
|
4057 <div class="param-description"> |
|
4058 |
|
4059 </div> |
|
4060 |
|
4061 |
|
4062 </li> |
|
4063 |
|
4064 <li class="param"> |
|
4065 |
|
4066 <code class="param-name">query</code> |
|
4067 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4068 |
|
4069 |
|
4070 |
|
4071 |
|
4072 <div class="param-description"> |
|
4073 |
|
4074 </div> |
|
4075 |
|
4076 |
|
4077 </li> |
|
4078 |
|
4079 </ul> |
|
4080 </div> |
|
4081 |
|
4082 |
|
4083 |
|
4084 <div class="returns"> |
|
4085 <h4>Returns:</h4> |
|
4086 |
|
4087 <div class="returns-description"> |
|
4088 |
|
4089 |
|
4090 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
4091 |
|
4092 Formatted URL |
|
4093 |
|
4094 </div> |
|
4095 </div> |
|
4096 |
|
4097 |
|
4098 |
|
4099 </div> |
|
4100 |
|
4101 |
|
4102 <div id="method__onInputBlur" class="method item protected"> |
|
4103 <h3 class="name"><code>_onInputBlur</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/autocomplete_js_autocomplete-base.js.html#l860"><code>autocomplete/js/autocomplete-base.js:860</code></a> |
|
4147 |
|
4148 </p> |
|
4149 |
|
4150 |
|
4151 |
|
4152 |
|
4153 |
|
4154 </div> |
|
4155 |
|
4156 <div class="description"> |
|
4157 <p>Handles <code>blur</code> events on the input node.</p> |
|
4158 </div> |
|
4159 |
|
4160 |
|
4161 <div class="params"> |
|
4162 <h4>Parameters:</h4> |
|
4163 |
|
4164 <ul class="params-list"> |
|
4165 |
|
4166 <li class="param"> |
|
4167 |
|
4168 <code class="param-name">e</code> |
|
4169 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4170 |
|
4171 |
|
4172 |
|
4173 |
|
4174 <div class="param-description"> |
|
4175 |
|
4176 </div> |
|
4177 |
|
4178 |
|
4179 </li> |
|
4180 |
|
4181 </ul> |
|
4182 </div> |
|
4183 |
|
4184 |
|
4185 |
|
4186 |
|
4187 |
|
4188 </div> |
|
4189 |
|
4190 |
|
4191 <div id="method__onInputValueChange" class="method item protected"> |
|
4192 <h3 class="name"><code>_onInputValueChange</code></h3> |
|
4193 |
|
4194 |
|
4195 <div class="args"> |
|
4196 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4197 |
|
4198 <li class="arg"> |
|
4199 |
|
4200 <code>e</code> |
|
4201 |
|
4202 </li> |
|
4203 |
|
4204 </ul><span class="paren">)</span> |
|
4205 </div> |
|
4206 |
|
4207 |
|
4208 |
|
4209 |
|
4210 |
|
4211 |
|
4212 |
|
4213 <span class="flag protected">protected</span> |
|
4214 |
|
4215 |
|
4216 |
|
4217 |
|
4218 |
|
4219 |
|
4220 |
|
4221 |
|
4222 |
|
4223 |
|
4224 <div class="meta"> |
|
4225 |
|
4226 |
|
4227 |
|
4228 <p> |
|
4229 |
|
4230 Defined in |
|
4231 |
|
4232 |
|
4233 |
|
4234 |
|
4235 <a href="../files/autocomplete_js_autocomplete-base.js.html#l898"><code>autocomplete/js/autocomplete-base.js:898</code></a> |
|
4236 |
|
4237 </p> |
|
4238 |
|
4239 |
|
4240 |
|
4241 |
|
4242 |
|
4243 </div> |
|
4244 |
|
4245 <div class="description"> |
|
4246 <p>Handles <code>valueChange</code> events on the input node and fires a <code>query</code> event |
|
4247 when the input value meets the configured criteria.</p> |
|
4248 </div> |
|
4249 |
|
4250 |
|
4251 <div class="params"> |
|
4252 <h4>Parameters:</h4> |
|
4253 |
|
4254 <ul class="params-list"> |
|
4255 |
|
4256 <li class="param"> |
|
4257 |
|
4258 <code class="param-name">e</code> |
|
4259 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4260 |
|
4261 |
|
4262 |
|
4263 |
|
4264 <div class="param-description"> |
|
4265 |
|
4266 </div> |
|
4267 |
|
4268 |
|
4269 </li> |
|
4270 |
|
4271 </ul> |
|
4272 </div> |
|
4273 |
|
4274 |
|
4275 |
|
4276 |
|
4277 |
|
4278 </div> |
|
4279 |
|
4280 |
|
4281 <div id="method__onResponse" class="method item protected"> |
|
4282 <h3 class="name"><code>_onResponse</code></h3> |
|
4283 |
|
4284 |
|
4285 <div class="args"> |
|
4286 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4287 |
|
4288 <li class="arg"> |
|
4289 |
|
4290 <code>e</code> |
|
4291 |
|
4292 </li> |
|
4293 |
|
4294 </ul><span class="paren">)</span> |
|
4295 </div> |
|
4296 |
|
4297 |
|
4298 |
|
4299 |
|
4300 |
|
4301 |
|
4302 |
|
4303 <span class="flag protected">protected</span> |
|
4304 |
|
4305 |
|
4306 |
|
4307 |
|
4308 |
|
4309 |
|
4310 |
|
4311 |
|
4312 |
|
4313 |
|
4314 <div class="meta"> |
|
4315 |
|
4316 |
|
4317 |
|
4318 <p> |
|
4319 |
|
4320 Defined in |
|
4321 |
|
4322 |
|
4323 |
|
4324 |
|
4325 <a href="../files/autocomplete_js_autocomplete-base.js.html#l916"><code>autocomplete/js/autocomplete-base.js:916</code></a> |
|
4326 |
|
4327 </p> |
|
4328 |
|
4329 |
|
4330 |
|
4331 |
|
4332 |
|
4333 </div> |
|
4334 |
|
4335 <div class="description"> |
|
4336 <p>Handles source responses and fires the <code>results</code> event.</p> |
|
4337 </div> |
|
4338 |
|
4339 |
|
4340 <div class="params"> |
|
4341 <h4>Parameters:</h4> |
|
4342 |
|
4343 <ul class="params-list"> |
|
4344 |
|
4345 <li class="param"> |
|
4346 |
|
4347 <code class="param-name">e</code> |
|
4348 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4349 |
|
4350 |
|
4351 |
|
4352 |
|
4353 <div class="param-description"> |
|
4354 |
|
4355 </div> |
|
4356 |
|
4357 |
|
4358 </li> |
|
4359 |
|
4360 </ul> |
|
4361 </div> |
|
4362 |
|
4363 |
|
4364 |
|
4365 |
|
4366 |
|
4367 </div> |
|
4368 |
|
4369 |
|
4370 <div id="method__parseResponse" class="method item protected"> |
|
4371 <h3 class="name"><code>_parseResponse</code></h3> |
|
4372 |
|
4373 |
|
4374 <div class="args"> |
|
4375 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4376 |
|
4377 <li class="arg"> |
|
4378 |
|
4379 <code>query</code> |
|
4380 |
|
4381 </li> |
|
4382 |
|
4383 <li class="arg"> |
|
4384 |
|
4385 <code>response</code> |
|
4386 |
|
4387 </li> |
|
4388 |
|
4389 <li class="arg"> |
|
4390 |
|
4391 <code>data</code> |
|
4392 |
|
4393 </li> |
|
4394 |
|
4395 </ul><span class="paren">)</span> |
|
4396 </div> |
|
4397 |
|
4398 |
|
4399 |
|
4400 |
|
4401 |
|
4402 |
|
4403 |
|
4404 <span class="flag protected">protected</span> |
|
4405 |
|
4406 |
|
4407 |
|
4408 |
|
4409 |
|
4410 |
|
4411 |
|
4412 |
|
4413 |
|
4414 |
|
4415 <div class="meta"> |
|
4416 |
|
4417 |
|
4418 |
|
4419 <p> |
|
4420 |
|
4421 Defined in |
|
4422 |
|
4423 |
|
4424 |
|
4425 |
|
4426 <a href="../files/autocomplete_js_autocomplete-base.js.html#l405"><code>autocomplete/js/autocomplete-base.js:405</code></a> |
|
4427 |
|
4428 </p> |
|
4429 |
|
4430 |
|
4431 |
|
4432 |
|
4433 |
|
4434 </div> |
|
4435 |
|
4436 <div class="description"> |
|
4437 <p>Parses result responses, performs filtering and highlighting, and fires the |
|
4438 <code>results</code> event.</p> |
|
4439 </div> |
|
4440 |
|
4441 |
|
4442 <div class="params"> |
|
4443 <h4>Parameters:</h4> |
|
4444 |
|
4445 <ul class="params-list"> |
|
4446 |
|
4447 <li class="param"> |
|
4448 |
|
4449 <code class="param-name">query</code> |
|
4450 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4451 |
|
4452 |
|
4453 |
|
4454 |
|
4455 <div class="param-description"> |
|
4456 <p>Query that generated these results.</p> |
|
4457 </div> |
|
4458 |
|
4459 |
|
4460 </li> |
|
4461 |
|
4462 <li class="param"> |
|
4463 |
|
4464 <code class="param-name">response</code> |
|
4465 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4466 |
|
4467 |
|
4468 |
|
4469 |
|
4470 <div class="param-description"> |
|
4471 <p>Response containing results.</p> |
|
4472 </div> |
|
4473 |
|
4474 |
|
4475 </li> |
|
4476 |
|
4477 <li class="param"> |
|
4478 |
|
4479 <code class="param-name">data</code> |
|
4480 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4481 |
|
4482 |
|
4483 |
|
4484 |
|
4485 <div class="param-description"> |
|
4486 <p>Raw response data.</p> |
|
4487 </div> |
|
4488 |
|
4489 |
|
4490 </li> |
|
4491 |
|
4492 </ul> |
|
4493 </div> |
|
4494 |
|
4495 |
|
4496 |
|
4497 |
|
4498 |
|
4499 </div> |
|
4500 |
|
4501 |
|
4502 <div id="method__parseValue" class="method item protected"> |
|
4503 <h3 class="name"><code>_parseValue</code></h3> |
|
4504 |
|
4505 |
|
4506 <div class="args"> |
|
4507 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4508 |
|
4509 <li class="arg"> |
|
4510 |
|
4511 <code>value</code> |
|
4512 |
|
4513 </li> |
|
4514 |
|
4515 </ul><span class="paren">)</span> |
|
4516 </div> |
|
4517 |
|
4518 |
|
4519 |
|
4520 <span class="returns-inline"> |
|
4521 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | Null</span> |
|
4522 </span> |
|
4523 |
|
4524 |
|
4525 |
|
4526 |
|
4527 |
|
4528 <span class="flag protected">protected</span> |
|
4529 |
|
4530 |
|
4531 |
|
4532 |
|
4533 |
|
4534 |
|
4535 |
|
4536 |
|
4537 |
|
4538 |
|
4539 <div class="meta"> |
|
4540 |
|
4541 |
|
4542 |
|
4543 <p> |
|
4544 |
|
4545 Defined in |
|
4546 |
|
4547 |
|
4548 |
|
4549 |
|
4550 <a href="../files/autocomplete_js_autocomplete-base.js.html#l536"><code>autocomplete/js/autocomplete-base.js:536</code></a> |
|
4551 |
|
4552 </p> |
|
4553 |
|
4554 |
|
4555 |
|
4556 |
|
4557 |
|
4558 </div> |
|
4559 |
|
4560 <div class="description"> |
|
4561 <p>Returns the query portion of the specified input value, or <code>null</code> if there |
|
4562 is no suitable query within the input value.</p> |
|
4563 |
|
4564 <p>If a query delimiter is defined, the query will be the last delimited part |
|
4565 of of the string.</p> |
|
4566 </div> |
|
4567 |
|
4568 |
|
4569 <div class="params"> |
|
4570 <h4>Parameters:</h4> |
|
4571 |
|
4572 <ul class="params-list"> |
|
4573 |
|
4574 <li class="param"> |
|
4575 |
|
4576 <code class="param-name">value</code> |
|
4577 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4578 |
|
4579 |
|
4580 |
|
4581 |
|
4582 <div class="param-description"> |
|
4583 <p>Input value from which to extract the query.</p> |
|
4584 </div> |
|
4585 |
|
4586 |
|
4587 </li> |
|
4588 |
|
4589 </ul> |
|
4590 </div> |
|
4591 |
|
4592 |
|
4593 |
|
4594 <div class="returns"> |
|
4595 <h4>Returns:</h4> |
|
4596 |
|
4597 <div class="returns-description"> |
|
4598 |
|
4599 |
|
4600 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | Null</span>: |
|
4601 |
|
4602 query |
|
4603 |
|
4604 </div> |
|
4605 </div> |
|
4606 |
|
4607 |
|
4608 |
|
4609 </div> |
|
4610 |
|
4611 |
|
4612 <div id="method__setEnableCache" class="method item protected"> |
|
4613 <h3 class="name"><code>_setEnableCache</code></h3> |
|
4614 |
|
4615 |
|
4616 <div class="args"> |
|
4617 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4618 |
|
4619 <li class="arg"> |
|
4620 |
|
4621 <code>value</code> |
|
4622 |
|
4623 </li> |
|
4624 |
|
4625 </ul><span class="paren">)</span> |
|
4626 </div> |
|
4627 |
|
4628 |
|
4629 |
|
4630 |
|
4631 |
|
4632 |
|
4633 |
|
4634 <span class="flag protected">protected</span> |
|
4635 |
|
4636 |
|
4637 |
|
4638 |
|
4639 |
|
4640 |
|
4641 |
|
4642 |
|
4643 |
|
4644 |
|
4645 <div class="meta"> |
|
4646 |
|
4647 |
|
4648 |
|
4649 <p> |
|
4650 |
|
4651 Defined in |
|
4652 |
|
4653 |
|
4654 |
|
4655 |
|
4656 <a href="../files/autocomplete_js_autocomplete-base.js.html#l559"><code>autocomplete/js/autocomplete-base.js:559</code></a> |
|
4657 |
|
4658 </p> |
|
4659 |
|
4660 |
|
4661 |
|
4662 |
|
4663 |
|
4664 <p>Available since 3.5.0</p> |
|
4665 |
|
4666 </div> |
|
4667 |
|
4668 <div class="description"> |
|
4669 <p>Setter for the <code>enableCache</code> attribute.</p> |
|
4670 </div> |
|
4671 |
|
4672 |
|
4673 <div class="params"> |
|
4674 <h4>Parameters:</h4> |
|
4675 |
|
4676 <ul class="params-list"> |
|
4677 |
|
4678 <li class="param"> |
|
4679 |
|
4680 <code class="param-name">value</code> |
|
4681 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
4682 |
|
4683 |
|
4684 |
|
4685 |
|
4686 <div class="param-description"> |
|
4687 |
|
4688 </div> |
|
4689 |
|
4690 |
|
4691 </li> |
|
4692 |
|
4693 </ul> |
|
4694 </div> |
|
4695 |
|
4696 |
|
4697 |
|
4698 |
|
4699 |
|
4700 </div> |
|
4701 |
|
4702 |
|
4703 <div id="method__setLocator" class="method item protected"> |
|
4704 <h3 class="name"><code>_setLocator</code></h3> |
|
4705 |
|
4706 |
|
4707 <div class="args"> |
|
4708 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4709 |
|
4710 <li class="arg"> |
|
4711 |
|
4712 <code>locator</code> |
|
4713 |
|
4714 </li> |
|
4715 |
|
4716 </ul><span class="paren">)</span> |
|
4717 </div> |
|
4718 |
|
4719 |
|
4720 |
|
4721 <span class="returns-inline"> |
|
4722 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | Null</span> |
|
4723 </span> |
|
4724 |
|
4725 |
|
4726 |
|
4727 |
|
4728 |
|
4729 <span class="flag protected">protected</span> |
|
4730 |
|
4731 |
|
4732 |
|
4733 |
|
4734 |
|
4735 |
|
4736 |
|
4737 |
|
4738 |
|
4739 |
|
4740 <div class="meta"> |
|
4741 |
|
4742 |
|
4743 |
|
4744 <p> |
|
4745 |
|
4746 Defined in |
|
4747 |
|
4748 |
|
4749 |
|
4750 |
|
4751 <a href="../files/autocomplete_js_autocomplete-base.js.html#l576"><code>autocomplete/js/autocomplete-base.js:576</code></a> |
|
4752 |
|
4753 </p> |
|
4754 |
|
4755 |
|
4756 |
|
4757 |
|
4758 |
|
4759 </div> |
|
4760 |
|
4761 <div class="description"> |
|
4762 <p>Setter for locator attributes.</p> |
|
4763 </div> |
|
4764 |
|
4765 |
|
4766 <div class="params"> |
|
4767 <h4>Parameters:</h4> |
|
4768 |
|
4769 <ul class="params-list"> |
|
4770 |
|
4771 <li class="param"> |
|
4772 |
|
4773 <code class="param-name">locator</code> |
|
4774 <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/String" class="crosslink external" target="_blank">String</a> | Null</span> |
|
4775 |
|
4776 |
|
4777 |
|
4778 |
|
4779 <div class="param-description"> |
|
4780 |
|
4781 </div> |
|
4782 |
|
4783 |
|
4784 </li> |
|
4785 |
|
4786 </ul> |
|
4787 </div> |
|
4788 |
|
4789 |
|
4790 |
|
4791 <div class="returns"> |
|
4792 <h4>Returns:</h4> |
|
4793 |
|
4794 <div class="returns-description"> |
|
4795 |
|
4796 |
|
4797 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | Null</span>: |
|
4798 |
|
4799 |
|
4800 </div> |
|
4801 </div> |
|
4802 |
|
4803 |
|
4804 |
|
4805 </div> |
|
4806 |
|
4807 |
|
4808 <div id="method__setRequestTemplate" class="method item protected"> |
|
4809 <h3 class="name"><code>_setRequestTemplate</code></h3> |
|
4810 |
|
4811 |
|
4812 <div class="args"> |
|
4813 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4814 |
|
4815 <li class="arg"> |
|
4816 |
|
4817 <code>template</code> |
|
4818 |
|
4819 </li> |
|
4820 |
|
4821 </ul><span class="paren">)</span> |
|
4822 </div> |
|
4823 |
|
4824 |
|
4825 |
|
4826 <span class="returns-inline"> |
|
4827 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | Null</span> |
|
4828 </span> |
|
4829 |
|
4830 |
|
4831 |
|
4832 |
|
4833 |
|
4834 <span class="flag protected">protected</span> |
|
4835 |
|
4836 |
|
4837 |
|
4838 |
|
4839 |
|
4840 |
|
4841 |
|
4842 |
|
4843 |
|
4844 |
|
4845 <div class="meta"> |
|
4846 |
|
4847 |
|
4848 |
|
4849 <p> |
|
4850 |
|
4851 Defined in |
|
4852 |
|
4853 |
|
4854 |
|
4855 |
|
4856 <a href="../files/autocomplete_js_autocomplete-base.js.html#l598"><code>autocomplete/js/autocomplete-base.js:598</code></a> |
|
4857 |
|
4858 </p> |
|
4859 |
|
4860 |
|
4861 |
|
4862 |
|
4863 |
|
4864 </div> |
|
4865 |
|
4866 <div class="description"> |
|
4867 <p>Setter for the <code>requestTemplate</code> attribute.</p> |
|
4868 </div> |
|
4869 |
|
4870 |
|
4871 <div class="params"> |
|
4872 <h4>Parameters:</h4> |
|
4873 |
|
4874 <ul class="params-list"> |
|
4875 |
|
4876 <li class="param"> |
|
4877 |
|
4878 <code class="param-name">template</code> |
|
4879 <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/String" class="crosslink external" target="_blank">String</a> | Null</span> |
|
4880 |
|
4881 |
|
4882 |
|
4883 |
|
4884 <div class="param-description"> |
|
4885 |
|
4886 </div> |
|
4887 |
|
4888 |
|
4889 </li> |
|
4890 |
|
4891 </ul> |
|
4892 </div> |
|
4893 |
|
4894 |
|
4895 |
|
4896 <div class="returns"> |
|
4897 <h4>Returns:</h4> |
|
4898 |
|
4899 <div class="returns-description"> |
|
4900 |
|
4901 |
|
4902 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | Null</span>: |
|
4903 |
|
4904 |
|
4905 </div> |
|
4906 </div> |
|
4907 |
|
4908 |
|
4909 |
|
4910 </div> |
|
4911 |
|
4912 |
|
4913 <div id="method__setResultFilters" class="method item protected"> |
|
4914 <h3 class="name"><code>_setResultFilters</code></h3> |
|
4915 |
|
4916 |
|
4917 <div class="args"> |
|
4918 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4919 |
|
4920 <li class="arg"> |
|
4921 |
|
4922 <code>filters</code> |
|
4923 |
|
4924 </li> |
|
4925 |
|
4926 </ul><span class="paren">)</span> |
|
4927 </div> |
|
4928 |
|
4929 |
|
4930 |
|
4931 <span class="returns-inline"> |
|
4932 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span> |
|
4933 </span> |
|
4934 |
|
4935 |
|
4936 |
|
4937 |
|
4938 |
|
4939 <span class="flag protected">protected</span> |
|
4940 |
|
4941 |
|
4942 |
|
4943 |
|
4944 |
|
4945 |
|
4946 |
|
4947 |
|
4948 |
|
4949 |
|
4950 <div class="meta"> |
|
4951 |
|
4952 |
|
4953 |
|
4954 <p> |
|
4955 |
|
4956 Defined in |
|
4957 |
|
4958 |
|
4959 |
|
4960 |
|
4961 <a href="../files/autocomplete_js_autocomplete-base.js.html#l618"><code>autocomplete/js/autocomplete-base.js:618</code></a> |
|
4962 |
|
4963 </p> |
|
4964 |
|
4965 |
|
4966 |
|
4967 |
|
4968 |
|
4969 </div> |
|
4970 |
|
4971 <div class="description"> |
|
4972 <p>Setter for the <code>resultFilters</code> attribute.</p> |
|
4973 </div> |
|
4974 |
|
4975 |
|
4976 <div class="params"> |
|
4977 <h4>Parameters:</h4> |
|
4978 |
|
4979 <ul class="params-list"> |
|
4980 |
|
4981 <li class="param"> |
|
4982 |
|
4983 <code class="param-name">filters</code> |
|
4984 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | <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/String" class="crosslink external" target="_blank">String</a> | Null</span> |
|
4985 |
|
4986 |
|
4987 |
|
4988 |
|
4989 <div class="param-description"> |
|
4990 <p><code>null</code>, a filter |
|
4991 function, an array of filter functions, or a string or array of strings |
|
4992 representing the names of methods on <code>Y.AutoCompleteFilters</code>.</p> |
|
4993 </div> |
|
4994 |
|
4995 |
|
4996 </li> |
|
4997 |
|
4998 </ul> |
|
4999 </div> |
|
5000 |
|
5001 |
|
5002 |
|
5003 <div class="returns"> |
|
5004 <h4>Returns:</h4> |
|
5005 |
|
5006 <div class="returns-description"> |
|
5007 |
|
5008 |
|
5009 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>: |
|
5010 |
|
5011 Array of filter functions (empty if filters is |
|
5012 <code>null</code>). |
|
5013 |
|
5014 </div> |
|
5015 </div> |
|
5016 |
|
5017 |
|
5018 |
|
5019 </div> |
|
5020 |
|
5021 |
|
5022 <div id="method__setResultHighlighter" class="method item protected"> |
|
5023 <h3 class="name"><code>_setResultHighlighter</code></h3> |
|
5024 |
|
5025 |
|
5026 <div class="args"> |
|
5027 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5028 |
|
5029 <li class="arg"> |
|
5030 |
|
5031 <code>highlighter</code> |
|
5032 |
|
5033 </li> |
|
5034 |
|
5035 </ul><span class="paren">)</span> |
|
5036 </div> |
|
5037 |
|
5038 |
|
5039 |
|
5040 <span class="returns-inline"> |
|
5041 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | Null</span> |
|
5042 </span> |
|
5043 |
|
5044 |
|
5045 |
|
5046 |
|
5047 |
|
5048 <span class="flag protected">protected</span> |
|
5049 |
|
5050 |
|
5051 |
|
5052 |
|
5053 |
|
5054 |
|
5055 |
|
5056 |
|
5057 |
|
5058 |
|
5059 <div class="meta"> |
|
5060 |
|
5061 |
|
5062 |
|
5063 <p> |
|
5064 |
|
5065 Defined in |
|
5066 |
|
5067 |
|
5068 |
|
5069 |
|
5070 <a href="../files/autocomplete_js_autocomplete-base.js.html#l661"><code>autocomplete/js/autocomplete-base.js:661</code></a> |
|
5071 |
|
5072 </p> |
|
5073 |
|
5074 |
|
5075 |
|
5076 |
|
5077 |
|
5078 </div> |
|
5079 |
|
5080 <div class="description"> |
|
5081 <p>Setter for the <code>resultHighlighter</code> attribute.</p> |
|
5082 </div> |
|
5083 |
|
5084 |
|
5085 <div class="params"> |
|
5086 <h4>Parameters:</h4> |
|
5087 |
|
5088 <ul class="params-list"> |
|
5089 |
|
5090 <li class="param"> |
|
5091 |
|
5092 <code class="param-name">highlighter</code> |
|
5093 <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/String" class="crosslink external" target="_blank">String</a> | Null</span> |
|
5094 |
|
5095 |
|
5096 |
|
5097 |
|
5098 <div class="param-description"> |
|
5099 <p><code>null</code>, a highlighter function, or |
|
5100 a string representing the name of a method on |
|
5101 <code>Y.AutoCompleteHighlighters</code>.</p> |
|
5102 </div> |
|
5103 |
|
5104 |
|
5105 </li> |
|
5106 |
|
5107 </ul> |
|
5108 </div> |
|
5109 |
|
5110 |
|
5111 |
|
5112 <div class="returns"> |
|
5113 <h4>Returns:</h4> |
|
5114 |
|
5115 <div class="returns-description"> |
|
5116 |
|
5117 |
|
5118 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | Null</span>: |
|
5119 |
|
5120 |
|
5121 </div> |
|
5122 </div> |
|
5123 |
|
5124 |
|
5125 |
|
5126 </div> |
|
5127 |
|
5128 |
|
5129 <div id="method__setSource" class="method item protected"> |
|
5130 <h3 class="name"><code>_setSource</code></h3> |
|
5131 |
|
5132 |
|
5133 <div class="args"> |
|
5134 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5135 |
|
5136 <li class="arg"> |
|
5137 |
|
5138 <code>source</code> |
|
5139 |
|
5140 </li> |
|
5141 |
|
5142 </ul><span class="paren">)</span> |
|
5143 </div> |
|
5144 |
|
5145 |
|
5146 |
|
5147 <span class="returns-inline"> |
|
5148 <span class="type">DataSource | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5149 </span> |
|
5150 |
|
5151 |
|
5152 |
|
5153 |
|
5154 |
|
5155 <span class="flag protected">protected</span> |
|
5156 |
|
5157 |
|
5158 |
|
5159 |
|
5160 |
|
5161 |
|
5162 |
|
5163 |
|
5164 |
|
5165 |
|
5166 <div class="meta"> |
|
5167 |
|
5168 |
|
5169 |
|
5170 <p> |
|
5171 |
|
5172 Defined in |
|
5173 |
|
5174 |
|
5175 |
|
5176 |
|
5177 <a href="../files/autocomplete_js_autocomplete-base.js.html#l688"><code>autocomplete/js/autocomplete-base.js:688</code></a> |
|
5178 |
|
5179 </p> |
|
5180 |
|
5181 |
|
5182 |
|
5183 |
|
5184 |
|
5185 </div> |
|
5186 |
|
5187 <div class="description"> |
|
5188 <p>Setter for the <code>source</code> attribute. Returns a DataSource or a DataSource-like |
|
5189 object depending on the type of <em>source</em> and/or the value of the |
|
5190 <code>sourceType</code> attribute.</p> |
|
5191 </div> |
|
5192 |
|
5193 |
|
5194 <div class="params"> |
|
5195 <h4>Parameters:</h4> |
|
5196 |
|
5197 <ul class="params-list"> |
|
5198 |
|
5199 <li class="param"> |
|
5200 |
|
5201 <code class="param-name">source</code> |
|
5202 <span class="type">Any</span> |
|
5203 |
|
5204 |
|
5205 |
|
5206 |
|
5207 <div class="param-description"> |
|
5208 <p>AutoComplete source. See the <code>source</code> attribute for |
|
5209 details.</p> |
|
5210 </div> |
|
5211 |
|
5212 |
|
5213 </li> |
|
5214 |
|
5215 </ul> |
|
5216 </div> |
|
5217 |
|
5218 |
|
5219 |
|
5220 <div class="returns"> |
|
5221 <h4>Returns:</h4> |
|
5222 |
|
5223 <div class="returns-description"> |
|
5224 |
|
5225 |
|
5226 <span class="type">DataSource | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
5227 |
|
5228 |
|
5229 </div> |
|
5230 </div> |
|
5231 |
|
5232 |
|
5233 |
|
5234 </div> |
|
5235 |
|
5236 |
|
5237 <div id="method__sourceSuccess" class="method item protected"> |
|
5238 <h3 class="name"><code>_sourceSuccess</code></h3> |
|
5239 |
|
5240 |
|
5241 <div class="args"> |
|
5242 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5243 |
|
5244 <li class="arg"> |
|
5245 |
|
5246 <code>data</code> |
|
5247 |
|
5248 </li> |
|
5249 |
|
5250 <li class="arg"> |
|
5251 |
|
5252 <code>request</code> |
|
5253 |
|
5254 </li> |
|
5255 |
|
5256 </ul><span class="paren">)</span> |
|
5257 </div> |
|
5258 |
|
5259 |
|
5260 |
|
5261 |
|
5262 |
|
5263 |
|
5264 |
|
5265 <span class="flag protected">protected</span> |
|
5266 |
|
5267 |
|
5268 |
|
5269 |
|
5270 |
|
5271 |
|
5272 |
|
5273 |
|
5274 |
|
5275 |
|
5276 <div class="meta"> |
|
5277 |
|
5278 |
|
5279 |
|
5280 <p> |
|
5281 |
|
5282 Defined in |
|
5283 |
|
5284 |
|
5285 |
|
5286 |
|
5287 <a href="../files/autocomplete_js_autocomplete-base.js.html#l723"><code>autocomplete/js/autocomplete-base.js:723</code></a> |
|
5288 |
|
5289 </p> |
|
5290 |
|
5291 |
|
5292 |
|
5293 |
|
5294 |
|
5295 </div> |
|
5296 |
|
5297 <div class="description"> |
|
5298 <p>Shared success callback for non-DataSource sources.</p> |
|
5299 </div> |
|
5300 |
|
5301 |
|
5302 <div class="params"> |
|
5303 <h4>Parameters:</h4> |
|
5304 |
|
5305 <ul class="params-list"> |
|
5306 |
|
5307 <li class="param"> |
|
5308 |
|
5309 <code class="param-name">data</code> |
|
5310 <span class="type">Any</span> |
|
5311 |
|
5312 |
|
5313 |
|
5314 |
|
5315 <div class="param-description"> |
|
5316 <p>Response data.</p> |
|
5317 </div> |
|
5318 |
|
5319 |
|
5320 </li> |
|
5321 |
|
5322 <li class="param"> |
|
5323 |
|
5324 <code class="param-name">request</code> |
|
5325 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5326 |
|
5327 |
|
5328 |
|
5329 |
|
5330 <div class="param-description"> |
|
5331 <p>Request object.</p> |
|
5332 </div> |
|
5333 |
|
5334 |
|
5335 </li> |
|
5336 |
|
5337 </ul> |
|
5338 </div> |
|
5339 |
|
5340 |
|
5341 |
|
5342 |
|
5343 |
|
5344 </div> |
|
5345 |
|
5346 |
|
5347 <div id="method__syncBrowserAutocomplete" class="method item protected"> |
|
5348 <h3 class="name"><code>_syncBrowserAutocomplete</code></h3> |
|
5349 |
|
5350 |
|
5351 <span class="paren">()</span> |
|
5352 |
|
5353 |
|
5354 |
|
5355 |
|
5356 |
|
5357 |
|
5358 |
|
5359 <span class="flag protected">protected</span> |
|
5360 |
|
5361 |
|
5362 |
|
5363 |
|
5364 |
|
5365 |
|
5366 |
|
5367 |
|
5368 |
|
5369 |
|
5370 <div class="meta"> |
|
5371 |
|
5372 |
|
5373 |
|
5374 <p> |
|
5375 |
|
5376 Defined in |
|
5377 |
|
5378 |
|
5379 |
|
5380 |
|
5381 <a href="../files/autocomplete_js_autocomplete-base.js.html#l738"><code>autocomplete/js/autocomplete-base.js:738</code></a> |
|
5382 |
|
5383 </p> |
|
5384 |
|
5385 |
|
5386 |
|
5387 |
|
5388 |
|
5389 </div> |
|
5390 |
|
5391 <div class="description"> |
|
5392 <p>Synchronizes the UI state of the <code>allowBrowserAutocomplete</code> attribute.</p> |
|
5393 </div> |
|
5394 |
|
5395 |
|
5396 |
|
5397 |
|
5398 |
|
5399 |
|
5400 </div> |
|
5401 |
|
5402 |
|
5403 <div id="method__syncUIACBase" class="method item protected"> |
|
5404 <h3 class="name"><code>_syncUIACBase</code></h3> |
|
5405 |
|
5406 |
|
5407 <span class="paren">()</span> |
|
5408 |
|
5409 |
|
5410 |
|
5411 |
|
5412 |
|
5413 |
|
5414 |
|
5415 <span class="flag protected">protected</span> |
|
5416 |
|
5417 |
|
5418 |
|
5419 |
|
5420 |
|
5421 |
|
5422 |
|
5423 |
|
5424 |
|
5425 |
|
5426 <div class="meta"> |
|
5427 |
|
5428 |
|
5429 |
|
5430 <p> |
|
5431 |
|
5432 Defined in |
|
5433 |
|
5434 |
|
5435 |
|
5436 |
|
5437 <a href="../files/autocomplete_js_autocomplete-base.js.html#l278"><code>autocomplete/js/autocomplete-base.js:278</code></a> |
|
5438 |
|
5439 </p> |
|
5440 |
|
5441 |
|
5442 |
|
5443 |
|
5444 |
|
5445 </div> |
|
5446 |
|
5447 <div class="description"> |
|
5448 <p>Synchronizes the UI state of the <code>inputNode</code>.</p> |
|
5449 </div> |
|
5450 |
|
5451 |
|
5452 |
|
5453 |
|
5454 |
|
5455 |
|
5456 </div> |
|
5457 |
|
5458 |
|
5459 <div id="method__updateValue" class="method item protected"> |
|
5460 <h3 class="name"><code>_updateValue</code></h3> |
|
5461 |
|
5462 |
|
5463 <div class="args"> |
|
5464 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5465 |
|
5466 <li class="arg"> |
|
5467 |
|
5468 <code>newVal</code> |
|
5469 |
|
5470 </li> |
|
5471 |
|
5472 </ul><span class="paren">)</span> |
|
5473 </div> |
|
5474 |
|
5475 |
|
5476 |
|
5477 |
|
5478 |
|
5479 |
|
5480 |
|
5481 <span class="flag protected">protected</span> |
|
5482 |
|
5483 |
|
5484 |
|
5485 |
|
5486 |
|
5487 |
|
5488 |
|
5489 |
|
5490 |
|
5491 |
|
5492 <div class="meta"> |
|
5493 |
|
5494 |
|
5495 |
|
5496 <p> |
|
5497 |
|
5498 Defined in |
|
5499 |
|
5500 |
|
5501 |
|
5502 |
|
5503 <a href="../files/autocomplete_js_autocomplete-base.js.html#l753"><code>autocomplete/js/autocomplete-base.js:753</code></a> |
|
5504 |
|
5505 </p> |
|
5506 |
|
5507 |
|
5508 |
|
5509 |
|
5510 |
|
5511 </div> |
|
5512 |
|
5513 <div class="description"> |
|
5514 <p>Updates the query portion of the <code>value</code> attribute.</p> |
|
5515 |
|
5516 <p>If a query delimiter is defined, the last delimited portion of the input |
|
5517 value will be replaced with the specified <em>value</em>.</p> |
|
5518 </div> |
|
5519 |
|
5520 |
|
5521 <div class="params"> |
|
5522 <h4>Parameters:</h4> |
|
5523 |
|
5524 <ul class="params-list"> |
|
5525 |
|
5526 <li class="param"> |
|
5527 |
|
5528 <code class="param-name">newVal</code> |
|
5529 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5530 |
|
5531 |
|
5532 |
|
5533 |
|
5534 <div class="param-description"> |
|
5535 <p>New value.</p> |
|
5536 </div> |
|
5537 |
|
5538 |
|
5539 </li> |
|
5540 |
|
5541 </ul> |
|
5542 </div> |
|
5543 |
|
5544 |
|
5545 |
|
5546 |
|
5547 |
|
5548 </div> |
|
5549 |
|
5550 |
|
5551 <div id="method_clearCache" class="method item"> |
|
5552 <h3 class="name"><code>clearCache</code></h3> |
|
5553 |
|
5554 |
|
5555 <span class="paren">()</span> |
|
5556 |
|
5557 |
|
5558 |
|
5559 |
|
5560 |
|
5561 |
|
5562 |
|
5563 |
|
5564 |
|
5565 |
|
5566 |
|
5567 |
|
5568 |
|
5569 <span class="flag chainable">chainable</span> |
|
5570 |
|
5571 |
|
5572 |
|
5573 |
|
5574 <div class="meta"> |
|
5575 |
|
5576 |
|
5577 |
|
5578 <p> |
|
5579 |
|
5580 Defined in |
|
5581 |
|
5582 |
|
5583 |
|
5584 |
|
5585 <a href="../files/autocomplete_js_autocomplete-base.js.html#l177"><code>autocomplete/js/autocomplete-base.js:177</code></a> |
|
5586 |
|
5587 </p> |
|
5588 |
|
5589 |
|
5590 |
|
5591 |
|
5592 |
|
5593 <p>Available since 3.5.0</p> |
|
5594 |
|
5595 </div> |
|
5596 |
|
5597 <div class="description"> |
|
5598 <p>Clears the result cache.</p> |
|
5599 </div> |
|
5600 |
|
5601 |
|
5602 |
|
5603 |
|
5604 |
|
5605 |
|
5606 </div> |
|
5607 |
|
5608 |
|
5609 <div id="method_sendRequest" class="method item"> |
|
5610 <h3 class="name"><code>sendRequest</code></h3> |
|
5611 |
|
5612 |
|
5613 <div class="args"> |
|
5614 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5615 |
|
5616 <li class="arg"> |
|
5617 |
|
5618 <code class="optional">[query]</code> |
|
5619 |
|
5620 </li> |
|
5621 |
|
5622 <li class="arg"> |
|
5623 |
|
5624 <code class="optional">[requestTemplate]</code> |
|
5625 |
|
5626 </li> |
|
5627 |
|
5628 </ul><span class="paren">)</span> |
|
5629 </div> |
|
5630 |
|
5631 |
|
5632 |
|
5633 |
|
5634 |
|
5635 |
|
5636 |
|
5637 |
|
5638 |
|
5639 |
|
5640 |
|
5641 |
|
5642 |
|
5643 <span class="flag chainable">chainable</span> |
|
5644 |
|
5645 |
|
5646 |
|
5647 |
|
5648 <div class="meta"> |
|
5649 |
|
5650 |
|
5651 |
|
5652 <p> |
|
5653 |
|
5654 Defined in |
|
5655 |
|
5656 |
|
5657 |
|
5658 |
|
5659 <a href="../files/autocomplete_js_autocomplete-base.js.html#l189"><code>autocomplete/js/autocomplete-base.js:189</code></a> |
|
5660 |
|
5661 </p> |
|
5662 |
|
5663 |
|
5664 |
|
5665 |
|
5666 |
|
5667 </div> |
|
5668 |
|
5669 <div class="description"> |
|
5670 <p>Sends a request to the configured source. If no source is configured, this |
|
5671 method won't do anything.</p> |
|
5672 |
|
5673 <p>Usually there's no reason to call this method manually; it will be called |
|
5674 automatically when user input causes a <code>query</code> event to be fired. The only |
|
5675 time you'll need to call this method manually is if you want to force a |
|
5676 request to be sent when no user input has occurred.</p> |
|
5677 </div> |
|
5678 |
|
5679 |
|
5680 <div class="params"> |
|
5681 <h4>Parameters:</h4> |
|
5682 |
|
5683 <ul class="params-list"> |
|
5684 |
|
5685 <li class="param"> |
|
5686 |
|
5687 <code class="param-name optional">[query]</code> |
|
5688 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5689 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
5690 |
|
5691 |
|
5692 |
|
5693 |
|
5694 <div class="param-description"> |
|
5695 <p>Query to send. If specified, the <code>query</code> attribute |
|
5696 will be set to this query. If not specified, the current value of the |
|
5697 <code>query</code> attribute will be used.</p> |
|
5698 </div> |
|
5699 |
|
5700 |
|
5701 </li> |
|
5702 |
|
5703 <li class="param"> |
|
5704 |
|
5705 <code class="param-name optional">[requestTemplate]</code> |
|
5706 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
5707 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
5708 |
|
5709 |
|
5710 |
|
5711 |
|
5712 <div class="param-description"> |
|
5713 <p>Request template function. If not |
|
5714 specified, the current value of the <code>requestTemplate</code> attribute will be |
|
5715 used.</p> |
|
5716 </div> |
|
5717 |
|
5718 |
|
5719 </li> |
|
5720 |
|
5721 </ul> |
|
5722 </div> |
|
5723 |
|
5724 |
|
5725 |
|
5726 |
|
5727 |
|
5728 </div> |
|
5729 |
|
5730 |
|
5731 </div> |
|
5732 |
|
5733 |
|
5734 |
|
5735 <div id="properties" class="api-class-tabpanel"> |
|
5736 <h2 class="off-left">Properties</h2> |
|
5737 |
|
5738 |
|
5739 <div id="property__YQL_SOURCE_REGEX" class="property item protected"> |
|
5740 <h3 class="name"><code>_YQL_SOURCE_REGEX</code></h3> |
|
5741 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp" class="crosslink external" target="_blank">RegExp</a></span> |
|
5742 |
|
5743 |
|
5744 |
|
5745 |
|
5746 <span class="flag protected">protected</span> |
|
5747 |
|
5748 |
|
5749 |
|
5750 |
|
5751 |
|
5752 |
|
5753 <div class="meta"> |
|
5754 |
|
5755 |
|
5756 |
|
5757 <p>Provided by the <a href="../modules/autocomplete-sources.html">autocomplete-sources</a> module.</p> |
|
5758 |
|
5759 <p> |
|
5760 |
|
5761 Defined in |
|
5762 |
|
5763 |
|
5764 |
|
5765 |
|
5766 <a href="../files/autocomplete_js_autocomplete-sources.js.html#l19"><code>autocomplete/js/autocomplete-sources.js:19</code></a> |
|
5767 |
|
5768 </p> |
|
5769 |
|
5770 |
|
5771 |
|
5772 |
|
5773 </div> |
|
5774 |
|
5775 <div class="description"> |
|
5776 <p>Regular expression used to determine whether a String source is a YQL query.</p> |
|
5777 </div> |
|
5778 |
|
5779 |
|
5780 |
|
5781 |
|
5782 |
|
5783 |
|
5784 </div> |
|
5785 |
|
5786 |
|
5787 <div id="property_SOURCE_TYPES" class="property item"> |
|
5788 <h3 class="name"><code>SOURCE_TYPES</code></h3> |
|
5789 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5790 |
|
5791 |
|
5792 |
|
5793 |
|
5794 |
|
5795 |
|
5796 |
|
5797 |
|
5798 <span class="flag static">static</span> |
|
5799 |
|
5800 |
|
5801 <div class="meta"> |
|
5802 |
|
5803 |
|
5804 |
|
5805 <p> |
|
5806 |
|
5807 Defined in |
|
5808 |
|
5809 |
|
5810 |
|
5811 |
|
5812 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1525"><code>autocomplete/js/autocomplete-base.js:1525</code></a> |
|
5813 |
|
5814 </p> |
|
5815 |
|
5816 |
|
5817 |
|
5818 |
|
5819 </div> |
|
5820 |
|
5821 <div class="description"> |
|
5822 <p>Mapping of built-in source types to their setter functions. DataSource instances |
|
5823 and DataSource-like objects are handled natively, so are not mapped here.</p> |
|
5824 </div> |
|
5825 |
|
5826 |
|
5827 |
|
5828 |
|
5829 |
|
5830 |
|
5831 </div> |
|
5832 |
|
5833 |
|
5834 </div> |
|
5835 |
|
5836 |
|
5837 |
|
5838 <div id="attrs" class="api-class-tabpanel"> |
|
5839 <h2 class="off-left">Attributes</h2> |
|
5840 |
|
5841 |
|
5842 <div id="attr_allowBrowserAutocomplete" class="attr item"> |
|
5843 <a name="config_allowBrowserAutocomplete"></a> |
|
5844 <h3 class="name"><code>allowBrowserAutocomplete</code></h3> |
|
5845 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
5846 |
|
5847 |
|
5848 |
|
5849 |
|
5850 |
|
5851 |
|
5852 |
|
5853 |
|
5854 |
|
5855 |
|
5856 |
|
5857 |
|
5858 |
|
5859 |
|
5860 |
|
5861 <div class="meta"> |
|
5862 |
|
5863 |
|
5864 |
|
5865 <p> |
|
5866 |
|
5867 Defined in |
|
5868 |
|
5869 |
|
5870 |
|
5871 |
|
5872 <a href="../files/autocomplete_js_autocomplete-base.js.html#l972"><code>autocomplete/js/autocomplete-base.js:972</code></a> |
|
5873 |
|
5874 </p> |
|
5875 |
|
5876 |
|
5877 |
|
5878 |
|
5879 </div> |
|
5880 |
|
5881 <div class="description"> |
|
5882 <p>Whether or not to enable the browser's built-in autocomplete functionality |
|
5883 for input fields.</p> |
|
5884 </div> |
|
5885 |
|
5886 |
|
5887 <p><strong>Default:</strong> false</p> |
|
5888 |
|
5889 |
|
5890 |
|
5891 <div class="emits box"> |
|
5892 <h4>Fires event <code>allowBrowserAutocompleteChange</code></h4> |
|
5893 |
|
5894 <p> |
|
5895 Fires when the value for the configuration attribute <code>allowBrowserAutocomplete</code> is |
|
5896 changed. You can listen for the event using the <code>on</code> method if you |
|
5897 wish to be notified before the attribute's value has changed, or |
|
5898 using the <code>after</code> method if you wish to be notified after the |
|
5899 attribute's value has changed. |
|
5900 </p> |
|
5901 |
|
5902 <div class="params"> |
|
5903 <h4>Parameters:</h4> |
|
5904 |
|
5905 <ul class="params-list"> |
|
5906 <li class="param"> |
|
5907 <code class="param-name">e</code> |
|
5908 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
5909 |
|
5910 <div class="param-description"> |
|
5911 An Event Facade object with the following |
|
5912 attribute-specific properties added: |
|
5913 </div> |
|
5914 |
|
5915 <ul class="params-list"> |
|
5916 <li class="param"> |
|
5917 <code class="param-name">prevVal</code> |
|
5918 <span class="type">Any</span> |
|
5919 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
5920 </li> |
|
5921 <li class="param"> |
|
5922 <code class="param-name">newVal</code> |
|
5923 <span class="type">Any</span> |
|
5924 <div class="param-description">The value the attribute is to be set to.</div> |
|
5925 </li> |
|
5926 <li class="param"> |
|
5927 <code class="param-name">attrName</code> |
|
5928 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5929 <div class="param-description">The name of the attribute being set.</div> |
|
5930 </li> |
|
5931 <li class="param"> |
|
5932 <code class="param-name">subAttrName</code> |
|
5933 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5934 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
5935 </li> |
|
5936 </ul> |
|
5937 </li> |
|
5938 </ul> |
|
5939 </div> |
|
5940 </div> |
|
5941 |
|
5942 |
|
5943 |
|
5944 </div> |
|
5945 |
|
5946 |
|
5947 <div id="attr_allowTrailingDelimiter" class="attr item"> |
|
5948 <a name="config_allowTrailingDelimiter"></a> |
|
5949 <h3 class="name"><code>allowTrailingDelimiter</code></h3> |
|
5950 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
5951 |
|
5952 |
|
5953 |
|
5954 |
|
5955 |
|
5956 |
|
5957 |
|
5958 |
|
5959 |
|
5960 |
|
5961 |
|
5962 |
|
5963 |
|
5964 |
|
5965 |
|
5966 <div class="meta"> |
|
5967 |
|
5968 |
|
5969 |
|
5970 <p> |
|
5971 |
|
5972 Defined in |
|
5973 |
|
5974 |
|
5975 |
|
5976 |
|
5977 <a href="../files/autocomplete_js_autocomplete-base.js.html#l984"><code>autocomplete/js/autocomplete-base.js:984</code></a> |
|
5978 |
|
5979 </p> |
|
5980 |
|
5981 |
|
5982 |
|
5983 |
|
5984 </div> |
|
5985 |
|
5986 <div class="description"> |
|
5987 <p>When a <code>queryDelimiter</code> is set, trailing delimiters will automatically be |
|
5988 stripped from the input value by default when the input node loses focus. |
|
5989 Set this to <code>true</code> to allow trailing delimiters.</p> |
|
5990 </div> |
|
5991 |
|
5992 |
|
5993 <p><strong>Default:</strong> false</p> |
|
5994 |
|
5995 |
|
5996 |
|
5997 <div class="emits box"> |
|
5998 <h4>Fires event <code>allowTrailingDelimiterChange</code></h4> |
|
5999 |
|
6000 <p> |
|
6001 Fires when the value for the configuration attribute <code>allowTrailingDelimiter</code> is |
|
6002 changed. You can listen for the event using the <code>on</code> method if you |
|
6003 wish to be notified before the attribute's value has changed, or |
|
6004 using the <code>after</code> method if you wish to be notified after the |
|
6005 attribute's value has changed. |
|
6006 </p> |
|
6007 |
|
6008 <div class="params"> |
|
6009 <h4>Parameters:</h4> |
|
6010 |
|
6011 <ul class="params-list"> |
|
6012 <li class="param"> |
|
6013 <code class="param-name">e</code> |
|
6014 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
6015 |
|
6016 <div class="param-description"> |
|
6017 An Event Facade object with the following |
|
6018 attribute-specific properties added: |
|
6019 </div> |
|
6020 |
|
6021 <ul class="params-list"> |
|
6022 <li class="param"> |
|
6023 <code class="param-name">prevVal</code> |
|
6024 <span class="type">Any</span> |
|
6025 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
6026 </li> |
|
6027 <li class="param"> |
|
6028 <code class="param-name">newVal</code> |
|
6029 <span class="type">Any</span> |
|
6030 <div class="param-description">The value the attribute is to be set to.</div> |
|
6031 </li> |
|
6032 <li class="param"> |
|
6033 <code class="param-name">attrName</code> |
|
6034 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6035 <div class="param-description">The name of the attribute being set.</div> |
|
6036 </li> |
|
6037 <li class="param"> |
|
6038 <code class="param-name">subAttrName</code> |
|
6039 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6040 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
6041 </li> |
|
6042 </ul> |
|
6043 </li> |
|
6044 </ul> |
|
6045 </div> |
|
6046 </div> |
|
6047 |
|
6048 |
|
6049 |
|
6050 </div> |
|
6051 |
|
6052 |
|
6053 <div id="attr_enableCache" class="attr item"> |
|
6054 <a name="config_enableCache"></a> |
|
6055 <h3 class="name"><code>enableCache</code></h3> |
|
6056 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
6057 |
|
6058 |
|
6059 |
|
6060 |
|
6061 |
|
6062 |
|
6063 |
|
6064 |
|
6065 |
|
6066 |
|
6067 |
|
6068 |
|
6069 |
|
6070 |
|
6071 |
|
6072 <div class="meta"> |
|
6073 |
|
6074 |
|
6075 |
|
6076 <p> |
|
6077 |
|
6078 Defined in |
|
6079 |
|
6080 |
|
6081 |
|
6082 |
|
6083 <a href="../files/autocomplete_js_autocomplete-base.js.html#l997"><code>autocomplete/js/autocomplete-base.js:997</code></a> |
|
6084 |
|
6085 </p> |
|
6086 |
|
6087 |
|
6088 |
|
6089 |
|
6090 <p>Available since 3.5.0</p> |
|
6091 |
|
6092 </div> |
|
6093 |
|
6094 <div class="description"> |
|
6095 <p>Whether or not to enable in-memory caching in result sources that support |
|
6096 it.</p> |
|
6097 </div> |
|
6098 |
|
6099 |
|
6100 <p><strong>Default:</strong> true</p> |
|
6101 |
|
6102 |
|
6103 |
|
6104 <div class="emits box"> |
|
6105 <h4>Fires event <code>enableCacheChange</code></h4> |
|
6106 |
|
6107 <p> |
|
6108 Fires when the value for the configuration attribute <code>enableCache</code> is |
|
6109 changed. You can listen for the event using the <code>on</code> method if you |
|
6110 wish to be notified before the attribute's value has changed, or |
|
6111 using the <code>after</code> method if you wish to be notified after the |
|
6112 attribute's value has changed. |
|
6113 </p> |
|
6114 |
|
6115 <div class="params"> |
|
6116 <h4>Parameters:</h4> |
|
6117 |
|
6118 <ul class="params-list"> |
|
6119 <li class="param"> |
|
6120 <code class="param-name">e</code> |
|
6121 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
6122 |
|
6123 <div class="param-description"> |
|
6124 An Event Facade object with the following |
|
6125 attribute-specific properties added: |
|
6126 </div> |
|
6127 |
|
6128 <ul class="params-list"> |
|
6129 <li class="param"> |
|
6130 <code class="param-name">prevVal</code> |
|
6131 <span class="type">Any</span> |
|
6132 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
6133 </li> |
|
6134 <li class="param"> |
|
6135 <code class="param-name">newVal</code> |
|
6136 <span class="type">Any</span> |
|
6137 <div class="param-description">The value the attribute is to be set to.</div> |
|
6138 </li> |
|
6139 <li class="param"> |
|
6140 <code class="param-name">attrName</code> |
|
6141 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6142 <div class="param-description">The name of the attribute being set.</div> |
|
6143 </li> |
|
6144 <li class="param"> |
|
6145 <code class="param-name">subAttrName</code> |
|
6146 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6147 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
6148 </li> |
|
6149 </ul> |
|
6150 </li> |
|
6151 </ul> |
|
6152 </div> |
|
6153 </div> |
|
6154 |
|
6155 |
|
6156 |
|
6157 </div> |
|
6158 |
|
6159 |
|
6160 <div id="attr_inputNode" class="attr item"> |
|
6161 <a name="config_inputNode"></a> |
|
6162 <h3 class="name"><code>inputNode</code></h3> |
|
6163 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a> | <a href="https://developer.mozilla.org/en/Document_Object_Model_(DOM)/HTMLElement" class="crosslink external" target="_blank">HTMLElement</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6164 |
|
6165 |
|
6166 |
|
6167 |
|
6168 |
|
6169 |
|
6170 |
|
6171 |
|
6172 |
|
6173 |
|
6174 |
|
6175 |
|
6176 |
|
6177 |
|
6178 |
|
6179 <div class="meta"> |
|
6180 |
|
6181 |
|
6182 |
|
6183 <p> |
|
6184 |
|
6185 Defined in |
|
6186 |
|
6187 |
|
6188 |
|
6189 |
|
6190 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1012"><code>autocomplete/js/autocomplete-base.js:1012</code></a> |
|
6191 |
|
6192 </p> |
|
6193 |
|
6194 |
|
6195 |
|
6196 |
|
6197 </div> |
|
6198 |
|
6199 <div class="description"> |
|
6200 <p>Node to monitor for changes, which will generate <code>query</code> events when |
|
6201 appropriate. May be either an <code><input></code> or a <code><textarea></code>.</p> |
|
6202 </div> |
|
6203 |
|
6204 |
|
6205 |
|
6206 |
|
6207 <div class="emits box"> |
|
6208 <h4>Fires event <code>inputNodeChange</code></h4> |
|
6209 |
|
6210 <p> |
|
6211 Fires when the value for the configuration attribute <code>inputNode</code> is |
|
6212 changed. You can listen for the event using the <code>on</code> method if you |
|
6213 wish to be notified before the attribute's value has changed, or |
|
6214 using the <code>after</code> method if you wish to be notified after the |
|
6215 attribute's value has changed. |
|
6216 </p> |
|
6217 |
|
6218 <div class="params"> |
|
6219 <h4>Parameters:</h4> |
|
6220 |
|
6221 <ul class="params-list"> |
|
6222 <li class="param"> |
|
6223 <code class="param-name">e</code> |
|
6224 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
6225 |
|
6226 <div class="param-description"> |
|
6227 An Event Facade object with the following |
|
6228 attribute-specific properties added: |
|
6229 </div> |
|
6230 |
|
6231 <ul class="params-list"> |
|
6232 <li class="param"> |
|
6233 <code class="param-name">prevVal</code> |
|
6234 <span class="type">Any</span> |
|
6235 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
6236 </li> |
|
6237 <li class="param"> |
|
6238 <code class="param-name">newVal</code> |
|
6239 <span class="type">Any</span> |
|
6240 <div class="param-description">The value the attribute is to be set to.</div> |
|
6241 </li> |
|
6242 <li class="param"> |
|
6243 <code class="param-name">attrName</code> |
|
6244 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6245 <div class="param-description">The name of the attribute being set.</div> |
|
6246 </li> |
|
6247 <li class="param"> |
|
6248 <code class="param-name">subAttrName</code> |
|
6249 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6250 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
6251 </li> |
|
6252 </ul> |
|
6253 </li> |
|
6254 </ul> |
|
6255 </div> |
|
6256 </div> |
|
6257 |
|
6258 |
|
6259 |
|
6260 </div> |
|
6261 |
|
6262 |
|
6263 <div id="attr_maxResults" class="attr item"> |
|
6264 <a name="config_maxResults"></a> |
|
6265 <h3 class="name"><code>maxResults</code></h3> |
|
6266 <span class="type"><a href="../classes/Number.html" class="crosslink">Number</a></span> |
|
6267 |
|
6268 |
|
6269 |
|
6270 |
|
6271 |
|
6272 |
|
6273 |
|
6274 |
|
6275 |
|
6276 |
|
6277 |
|
6278 |
|
6279 |
|
6280 |
|
6281 |
|
6282 <div class="meta"> |
|
6283 |
|
6284 |
|
6285 |
|
6286 <p> |
|
6287 |
|
6288 Defined in |
|
6289 |
|
6290 |
|
6291 |
|
6292 |
|
6293 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1025"><code>autocomplete/js/autocomplete-base.js:1025</code></a> |
|
6294 |
|
6295 </p> |
|
6296 |
|
6297 |
|
6298 |
|
6299 |
|
6300 </div> |
|
6301 |
|
6302 <div class="description"> |
|
6303 <p>Maximum number of results to return. A value of <code>0</code> or less will allow an |
|
6304 unlimited number of results.</p> |
|
6305 </div> |
|
6306 |
|
6307 |
|
6308 <p><strong>Default:</strong> 0</p> |
|
6309 |
|
6310 |
|
6311 |
|
6312 <div class="emits box"> |
|
6313 <h4>Fires event <code>maxResultsChange</code></h4> |
|
6314 |
|
6315 <p> |
|
6316 Fires when the value for the configuration attribute <code>maxResults</code> is |
|
6317 changed. You can listen for the event using the <code>on</code> method if you |
|
6318 wish to be notified before the attribute's value has changed, or |
|
6319 using the <code>after</code> method if you wish to be notified after the |
|
6320 attribute's value has changed. |
|
6321 </p> |
|
6322 |
|
6323 <div class="params"> |
|
6324 <h4>Parameters:</h4> |
|
6325 |
|
6326 <ul class="params-list"> |
|
6327 <li class="param"> |
|
6328 <code class="param-name">e</code> |
|
6329 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
6330 |
|
6331 <div class="param-description"> |
|
6332 An Event Facade object with the following |
|
6333 attribute-specific properties added: |
|
6334 </div> |
|
6335 |
|
6336 <ul class="params-list"> |
|
6337 <li class="param"> |
|
6338 <code class="param-name">prevVal</code> |
|
6339 <span class="type">Any</span> |
|
6340 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
6341 </li> |
|
6342 <li class="param"> |
|
6343 <code class="param-name">newVal</code> |
|
6344 <span class="type">Any</span> |
|
6345 <div class="param-description">The value the attribute is to be set to.</div> |
|
6346 </li> |
|
6347 <li class="param"> |
|
6348 <code class="param-name">attrName</code> |
|
6349 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6350 <div class="param-description">The name of the attribute being set.</div> |
|
6351 </li> |
|
6352 <li class="param"> |
|
6353 <code class="param-name">subAttrName</code> |
|
6354 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6355 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
6356 </li> |
|
6357 </ul> |
|
6358 </li> |
|
6359 </ul> |
|
6360 </div> |
|
6361 </div> |
|
6362 |
|
6363 |
|
6364 |
|
6365 </div> |
|
6366 |
|
6367 |
|
6368 <div id="attr_minQueryLength" class="attr item"> |
|
6369 <a name="config_minQueryLength"></a> |
|
6370 <h3 class="name"><code>minQueryLength</code></h3> |
|
6371 <span class="type"><a href="../classes/Number.html" class="crosslink">Number</a></span> |
|
6372 |
|
6373 |
|
6374 |
|
6375 |
|
6376 |
|
6377 |
|
6378 |
|
6379 |
|
6380 |
|
6381 |
|
6382 |
|
6383 |
|
6384 |
|
6385 |
|
6386 |
|
6387 <div class="meta"> |
|
6388 |
|
6389 |
|
6390 |
|
6391 <p> |
|
6392 |
|
6393 Defined in |
|
6394 |
|
6395 |
|
6396 |
|
6397 |
|
6398 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1037"><code>autocomplete/js/autocomplete-base.js:1037</code></a> |
|
6399 |
|
6400 </p> |
|
6401 |
|
6402 |
|
6403 |
|
6404 |
|
6405 </div> |
|
6406 |
|
6407 <div class="description"> |
|
6408 <p>Minimum number of characters that must be entered before a <code>query</code> event |
|
6409 will be fired. A value of <code>0</code> allows empty queries; a negative value will |
|
6410 effectively disable all <code>query</code> events.</p> |
|
6411 </div> |
|
6412 |
|
6413 |
|
6414 <p><strong>Default:</strong> 1</p> |
|
6415 |
|
6416 |
|
6417 |
|
6418 <div class="emits box"> |
|
6419 <h4>Fires event <code>minQueryLengthChange</code></h4> |
|
6420 |
|
6421 <p> |
|
6422 Fires when the value for the configuration attribute <code>minQueryLength</code> is |
|
6423 changed. You can listen for the event using the <code>on</code> method if you |
|
6424 wish to be notified before the attribute's value has changed, or |
|
6425 using the <code>after</code> method if you wish to be notified after the |
|
6426 attribute's value has changed. |
|
6427 </p> |
|
6428 |
|
6429 <div class="params"> |
|
6430 <h4>Parameters:</h4> |
|
6431 |
|
6432 <ul class="params-list"> |
|
6433 <li class="param"> |
|
6434 <code class="param-name">e</code> |
|
6435 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
6436 |
|
6437 <div class="param-description"> |
|
6438 An Event Facade object with the following |
|
6439 attribute-specific properties added: |
|
6440 </div> |
|
6441 |
|
6442 <ul class="params-list"> |
|
6443 <li class="param"> |
|
6444 <code class="param-name">prevVal</code> |
|
6445 <span class="type">Any</span> |
|
6446 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
6447 </li> |
|
6448 <li class="param"> |
|
6449 <code class="param-name">newVal</code> |
|
6450 <span class="type">Any</span> |
|
6451 <div class="param-description">The value the attribute is to be set to.</div> |
|
6452 </li> |
|
6453 <li class="param"> |
|
6454 <code class="param-name">attrName</code> |
|
6455 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6456 <div class="param-description">The name of the attribute being set.</div> |
|
6457 </li> |
|
6458 <li class="param"> |
|
6459 <code class="param-name">subAttrName</code> |
|
6460 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6461 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
6462 </li> |
|
6463 </ul> |
|
6464 </li> |
|
6465 </ul> |
|
6466 </div> |
|
6467 </div> |
|
6468 |
|
6469 |
|
6470 |
|
6471 </div> |
|
6472 |
|
6473 |
|
6474 <div id="attr_query" class="attr item"> |
|
6475 <a name="config_query"></a> |
|
6476 <h3 class="name"><code>query</code></h3> |
|
6477 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | Null</span> |
|
6478 |
|
6479 |
|
6480 |
|
6481 |
|
6482 |
|
6483 |
|
6484 |
|
6485 |
|
6486 |
|
6487 |
|
6488 |
|
6489 |
|
6490 |
|
6491 |
|
6492 <span class="flag readonly">readonly</span> |
|
6493 |
|
6494 |
|
6495 <div class="meta"> |
|
6496 |
|
6497 |
|
6498 |
|
6499 <p> |
|
6500 |
|
6501 Defined in |
|
6502 |
|
6503 |
|
6504 |
|
6505 |
|
6506 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1050"><code>autocomplete/js/autocomplete-base.js:1050</code></a> |
|
6507 |
|
6508 </p> |
|
6509 |
|
6510 |
|
6511 |
|
6512 |
|
6513 </div> |
|
6514 |
|
6515 <div class="description"> |
|
6516 <p>Current query, or <code>null</code> if there is no current query.</p> |
|
6517 |
|
6518 <p>The query might not be the same as the current value of the input node, both |
|
6519 for timing reasons (due to <code>queryDelay</code>) and because when one or more |
|
6520 <code>queryDelimiter</code> separators are in use, only the last portion of the |
|
6521 delimited input string will be used as the query value.</p> |
|
6522 </div> |
|
6523 |
|
6524 |
|
6525 <p><strong>Default:</strong> null</p> |
|
6526 |
|
6527 |
|
6528 |
|
6529 <div class="emits box"> |
|
6530 <h4>Fires event <code>queryChange</code></h4> |
|
6531 |
|
6532 <p> |
|
6533 Fires when the value for the configuration attribute <code>query</code> is |
|
6534 changed. You can listen for the event using the <code>on</code> method if you |
|
6535 wish to be notified before the attribute's value has changed, or |
|
6536 using the <code>after</code> method if you wish to be notified after the |
|
6537 attribute's value has changed. |
|
6538 </p> |
|
6539 |
|
6540 <div class="params"> |
|
6541 <h4>Parameters:</h4> |
|
6542 |
|
6543 <ul class="params-list"> |
|
6544 <li class="param"> |
|
6545 <code class="param-name">e</code> |
|
6546 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
6547 |
|
6548 <div class="param-description"> |
|
6549 An Event Facade object with the following |
|
6550 attribute-specific properties added: |
|
6551 </div> |
|
6552 |
|
6553 <ul class="params-list"> |
|
6554 <li class="param"> |
|
6555 <code class="param-name">prevVal</code> |
|
6556 <span class="type">Any</span> |
|
6557 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
6558 </li> |
|
6559 <li class="param"> |
|
6560 <code class="param-name">newVal</code> |
|
6561 <span class="type">Any</span> |
|
6562 <div class="param-description">The value the attribute is to be set to.</div> |
|
6563 </li> |
|
6564 <li class="param"> |
|
6565 <code class="param-name">attrName</code> |
|
6566 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6567 <div class="param-description">The name of the attribute being set.</div> |
|
6568 </li> |
|
6569 <li class="param"> |
|
6570 <code class="param-name">subAttrName</code> |
|
6571 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6572 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
6573 </li> |
|
6574 </ul> |
|
6575 </li> |
|
6576 </ul> |
|
6577 </div> |
|
6578 </div> |
|
6579 |
|
6580 |
|
6581 |
|
6582 </div> |
|
6583 |
|
6584 |
|
6585 <div id="attr_queryDelay" class="attr item"> |
|
6586 <a name="config_queryDelay"></a> |
|
6587 <h3 class="name"><code>queryDelay</code></h3> |
|
6588 <span class="type"><a href="../classes/Number.html" class="crosslink">Number</a></span> |
|
6589 |
|
6590 |
|
6591 |
|
6592 |
|
6593 |
|
6594 |
|
6595 |
|
6596 |
|
6597 |
|
6598 |
|
6599 |
|
6600 |
|
6601 |
|
6602 |
|
6603 |
|
6604 <div class="meta"> |
|
6605 |
|
6606 |
|
6607 |
|
6608 <p> |
|
6609 |
|
6610 Defined in |
|
6611 |
|
6612 |
|
6613 |
|
6614 |
|
6615 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1068"><code>autocomplete/js/autocomplete-base.js:1068</code></a> |
|
6616 |
|
6617 </p> |
|
6618 |
|
6619 |
|
6620 |
|
6621 |
|
6622 </div> |
|
6623 |
|
6624 <div class="description"> |
|
6625 <p>Number of milliseconds to delay after input before triggering a <code>query</code> |
|
6626 event. If new input occurs before this delay is over, the previous input |
|
6627 event will be ignored and a new delay will begin.</p> |
|
6628 |
|
6629 <p>This can be useful both to throttle queries to a remote data source and to |
|
6630 avoid distracting the user by showing them less relevant results before |
|
6631 they've paused their typing.</p> |
|
6632 </div> |
|
6633 |
|
6634 |
|
6635 <p><strong>Default:</strong> 100</p> |
|
6636 |
|
6637 |
|
6638 |
|
6639 <div class="emits box"> |
|
6640 <h4>Fires event <code>queryDelayChange</code></h4> |
|
6641 |
|
6642 <p> |
|
6643 Fires when the value for the configuration attribute <code>queryDelay</code> is |
|
6644 changed. You can listen for the event using the <code>on</code> method if you |
|
6645 wish to be notified before the attribute's value has changed, or |
|
6646 using the <code>after</code> method if you wish to be notified after the |
|
6647 attribute's value has changed. |
|
6648 </p> |
|
6649 |
|
6650 <div class="params"> |
|
6651 <h4>Parameters:</h4> |
|
6652 |
|
6653 <ul class="params-list"> |
|
6654 <li class="param"> |
|
6655 <code class="param-name">e</code> |
|
6656 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
6657 |
|
6658 <div class="param-description"> |
|
6659 An Event Facade object with the following |
|
6660 attribute-specific properties added: |
|
6661 </div> |
|
6662 |
|
6663 <ul class="params-list"> |
|
6664 <li class="param"> |
|
6665 <code class="param-name">prevVal</code> |
|
6666 <span class="type">Any</span> |
|
6667 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
6668 </li> |
|
6669 <li class="param"> |
|
6670 <code class="param-name">newVal</code> |
|
6671 <span class="type">Any</span> |
|
6672 <div class="param-description">The value the attribute is to be set to.</div> |
|
6673 </li> |
|
6674 <li class="param"> |
|
6675 <code class="param-name">attrName</code> |
|
6676 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6677 <div class="param-description">The name of the attribute being set.</div> |
|
6678 </li> |
|
6679 <li class="param"> |
|
6680 <code class="param-name">subAttrName</code> |
|
6681 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6682 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
6683 </li> |
|
6684 </ul> |
|
6685 </li> |
|
6686 </ul> |
|
6687 </div> |
|
6688 </div> |
|
6689 |
|
6690 |
|
6691 |
|
6692 </div> |
|
6693 |
|
6694 |
|
6695 <div id="attr_queryDelimiter" class="attr item"> |
|
6696 <a name="config_queryDelimiter"></a> |
|
6697 <h3 class="name"><code>queryDelimiter</code></h3> |
|
6698 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | Null</span> |
|
6699 |
|
6700 |
|
6701 |
|
6702 |
|
6703 |
|
6704 |
|
6705 |
|
6706 |
|
6707 |
|
6708 |
|
6709 |
|
6710 |
|
6711 |
|
6712 |
|
6713 |
|
6714 <div class="meta"> |
|
6715 |
|
6716 |
|
6717 |
|
6718 <p> |
|
6719 |
|
6720 Defined in |
|
6721 |
|
6722 |
|
6723 |
|
6724 |
|
6725 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1085"><code>autocomplete/js/autocomplete-base.js:1085</code></a> |
|
6726 |
|
6727 </p> |
|
6728 |
|
6729 |
|
6730 |
|
6731 |
|
6732 </div> |
|
6733 |
|
6734 <div class="description"> |
|
6735 <p>Query delimiter string. When a delimiter is configured, the input value |
|
6736 will be split on the delimiter, and only the last portion will be used in |
|
6737 autocomplete queries and updated when the <code>query</code> attribute is |
|
6738 modified.</p> |
|
6739 </div> |
|
6740 |
|
6741 |
|
6742 <p><strong>Default:</strong> null</p> |
|
6743 |
|
6744 |
|
6745 |
|
6746 <div class="emits box"> |
|
6747 <h4>Fires event <code>queryDelimiterChange</code></h4> |
|
6748 |
|
6749 <p> |
|
6750 Fires when the value for the configuration attribute <code>queryDelimiter</code> is |
|
6751 changed. You can listen for the event using the <code>on</code> method if you |
|
6752 wish to be notified before the attribute's value has changed, or |
|
6753 using the <code>after</code> method if you wish to be notified after the |
|
6754 attribute's value has changed. |
|
6755 </p> |
|
6756 |
|
6757 <div class="params"> |
|
6758 <h4>Parameters:</h4> |
|
6759 |
|
6760 <ul class="params-list"> |
|
6761 <li class="param"> |
|
6762 <code class="param-name">e</code> |
|
6763 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
6764 |
|
6765 <div class="param-description"> |
|
6766 An Event Facade object with the following |
|
6767 attribute-specific properties added: |
|
6768 </div> |
|
6769 |
|
6770 <ul class="params-list"> |
|
6771 <li class="param"> |
|
6772 <code class="param-name">prevVal</code> |
|
6773 <span class="type">Any</span> |
|
6774 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
6775 </li> |
|
6776 <li class="param"> |
|
6777 <code class="param-name">newVal</code> |
|
6778 <span class="type">Any</span> |
|
6779 <div class="param-description">The value the attribute is to be set to.</div> |
|
6780 </li> |
|
6781 <li class="param"> |
|
6782 <code class="param-name">attrName</code> |
|
6783 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6784 <div class="param-description">The name of the attribute being set.</div> |
|
6785 </li> |
|
6786 <li class="param"> |
|
6787 <code class="param-name">subAttrName</code> |
|
6788 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6789 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
6790 </li> |
|
6791 </ul> |
|
6792 </li> |
|
6793 </ul> |
|
6794 </div> |
|
6795 </div> |
|
6796 |
|
6797 |
|
6798 |
|
6799 </div> |
|
6800 |
|
6801 |
|
6802 <div id="attr_requestTemplate" class="attr item"> |
|
6803 <a name="config_requestTemplate"></a> |
|
6804 <h3 class="name"><code>requestTemplate</code></h3> |
|
6805 <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/String" class="crosslink external" target="_blank">String</a> | Null</span> |
|
6806 |
|
6807 |
|
6808 |
|
6809 |
|
6810 |
|
6811 |
|
6812 |
|
6813 |
|
6814 |
|
6815 |
|
6816 |
|
6817 |
|
6818 |
|
6819 |
|
6820 |
|
6821 <div class="meta"> |
|
6822 |
|
6823 |
|
6824 |
|
6825 <p> |
|
6826 |
|
6827 Defined in |
|
6828 |
|
6829 |
|
6830 |
|
6831 |
|
6832 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1099"><code>autocomplete/js/autocomplete-base.js:1099</code></a> |
|
6833 |
|
6834 </p> |
|
6835 |
|
6836 |
|
6837 |
|
6838 |
|
6839 </div> |
|
6840 |
|
6841 <div class="description"> |
|
6842 <p>Source request template. This can be a function that accepts a query as a |
|
6843 parameter and returns a request string, or it can be a string containing the |
|
6844 placeholder "{query}", which will be replaced with the actual URI-encoded |
|
6845 query. In either case, the resulting string will be appended to the request |
|
6846 URL when the <code>source</code> attribute is set to a remote DataSource, JSONP URL, or |
|
6847 XHR URL (it will not be appended to YQL URLs).</p> |
|
6848 |
|
6849 <p>While <code>requestTemplate</code> may be set to either a function or a string, it will |
|
6850 always be returned as a function that accepts a query argument and returns a |
|
6851 string.</p> |
|
6852 </div> |
|
6853 |
|
6854 |
|
6855 <p><strong>Default:</strong> null</p> |
|
6856 |
|
6857 |
|
6858 |
|
6859 <div class="emits box"> |
|
6860 <h4>Fires event <code>requestTemplateChange</code></h4> |
|
6861 |
|
6862 <p> |
|
6863 Fires when the value for the configuration attribute <code>requestTemplate</code> is |
|
6864 changed. You can listen for the event using the <code>on</code> method if you |
|
6865 wish to be notified before the attribute's value has changed, or |
|
6866 using the <code>after</code> method if you wish to be notified after the |
|
6867 attribute's value has changed. |
|
6868 </p> |
|
6869 |
|
6870 <div class="params"> |
|
6871 <h4>Parameters:</h4> |
|
6872 |
|
6873 <ul class="params-list"> |
|
6874 <li class="param"> |
|
6875 <code class="param-name">e</code> |
|
6876 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
6877 |
|
6878 <div class="param-description"> |
|
6879 An Event Facade object with the following |
|
6880 attribute-specific properties added: |
|
6881 </div> |
|
6882 |
|
6883 <ul class="params-list"> |
|
6884 <li class="param"> |
|
6885 <code class="param-name">prevVal</code> |
|
6886 <span class="type">Any</span> |
|
6887 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
6888 </li> |
|
6889 <li class="param"> |
|
6890 <code class="param-name">newVal</code> |
|
6891 <span class="type">Any</span> |
|
6892 <div class="param-description">The value the attribute is to be set to.</div> |
|
6893 </li> |
|
6894 <li class="param"> |
|
6895 <code class="param-name">attrName</code> |
|
6896 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6897 <div class="param-description">The name of the attribute being set.</div> |
|
6898 </li> |
|
6899 <li class="param"> |
|
6900 <code class="param-name">subAttrName</code> |
|
6901 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6902 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
6903 </li> |
|
6904 </ul> |
|
6905 </li> |
|
6906 </ul> |
|
6907 </div> |
|
6908 </div> |
|
6909 |
|
6910 |
|
6911 |
|
6912 </div> |
|
6913 |
|
6914 |
|
6915 <div id="attr_resultFilters" class="attr item"> |
|
6916 <a name="config_resultFilters"></a> |
|
6917 <h3 class="name"><code>resultFilters</code></h3> |
|
6918 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
6919 |
|
6920 |
|
6921 |
|
6922 |
|
6923 |
|
6924 |
|
6925 |
|
6926 |
|
6927 |
|
6928 |
|
6929 |
|
6930 |
|
6931 |
|
6932 |
|
6933 |
|
6934 <div class="meta"> |
|
6935 |
|
6936 |
|
6937 |
|
6938 <p> |
|
6939 |
|
6940 Defined in |
|
6941 |
|
6942 |
|
6943 |
|
6944 |
|
6945 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1120"><code>autocomplete/js/autocomplete-base.js:1120</code></a> |
|
6946 |
|
6947 </p> |
|
6948 |
|
6949 |
|
6950 |
|
6951 |
|
6952 </div> |
|
6953 |
|
6954 <div class="description"> |
|
6955 <p>Array of local result filter functions. If provided, each filter will be |
|
6956 called with two arguments when results are received: the query and an array |
|
6957 of result objects. See the documentation for the <code>results</code> event for a list |
|
6958 of the properties available on each result object.</p> |
|
6959 |
|
6960 <p>Each filter is expected to return a filtered or modified version of the |
|
6961 results array, which will then be passed on to subsequent filters, then the |
|
6962 <code>resultHighlighter</code> function (if set), then the <code>resultFormatter</code> function |
|
6963 (if set), and finally to subscribers to the <code>results</code> event.</p> |
|
6964 |
|
6965 <p>If no <code>source</code> is set, result filters will not be called.</p> |
|
6966 |
|
6967 <p>Prepackaged result filters provided by the autocomplete-filters and |
|
6968 autocomplete-filters-accentfold modules can be used by specifying the filter |
|
6969 name as a string, such as <code>'phraseMatch'</code> (assuming the necessary filters |
|
6970 module is loaded).</p> |
|
6971 </div> |
|
6972 |
|
6973 |
|
6974 <p><strong>Default:</strong> []</p> |
|
6975 |
|
6976 |
|
6977 |
|
6978 <div class="emits box"> |
|
6979 <h4>Fires event <code>resultFiltersChange</code></h4> |
|
6980 |
|
6981 <p> |
|
6982 Fires when the value for the configuration attribute <code>resultFilters</code> is |
|
6983 changed. You can listen for the event using the <code>on</code> method if you |
|
6984 wish to be notified before the attribute's value has changed, or |
|
6985 using the <code>after</code> method if you wish to be notified after the |
|
6986 attribute's value has changed. |
|
6987 </p> |
|
6988 |
|
6989 <div class="params"> |
|
6990 <h4>Parameters:</h4> |
|
6991 |
|
6992 <ul class="params-list"> |
|
6993 <li class="param"> |
|
6994 <code class="param-name">e</code> |
|
6995 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
6996 |
|
6997 <div class="param-description"> |
|
6998 An Event Facade object with the following |
|
6999 attribute-specific properties added: |
|
7000 </div> |
|
7001 |
|
7002 <ul class="params-list"> |
|
7003 <li class="param"> |
|
7004 <code class="param-name">prevVal</code> |
|
7005 <span class="type">Any</span> |
|
7006 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
7007 </li> |
|
7008 <li class="param"> |
|
7009 <code class="param-name">newVal</code> |
|
7010 <span class="type">Any</span> |
|
7011 <div class="param-description">The value the attribute is to be set to.</div> |
|
7012 </li> |
|
7013 <li class="param"> |
|
7014 <code class="param-name">attrName</code> |
|
7015 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7016 <div class="param-description">The name of the attribute being set.</div> |
|
7017 </li> |
|
7018 <li class="param"> |
|
7019 <code class="param-name">subAttrName</code> |
|
7020 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7021 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
7022 </li> |
|
7023 </ul> |
|
7024 </li> |
|
7025 </ul> |
|
7026 </div> |
|
7027 </div> |
|
7028 |
|
7029 |
|
7030 |
|
7031 </div> |
|
7032 |
|
7033 |
|
7034 <div id="attr_resultFormatter" class="attr item"> |
|
7035 <a name="config_resultFormatter"></a> |
|
7036 <h3 class="name"><code>resultFormatter</code></h3> |
|
7037 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | Null</span> |
|
7038 |
|
7039 |
|
7040 |
|
7041 |
|
7042 |
|
7043 |
|
7044 |
|
7045 |
|
7046 |
|
7047 |
|
7048 |
|
7049 |
|
7050 |
|
7051 |
|
7052 |
|
7053 <div class="meta"> |
|
7054 |
|
7055 |
|
7056 |
|
7057 <p> |
|
7058 |
|
7059 Defined in |
|
7060 |
|
7061 |
|
7062 |
|
7063 |
|
7064 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1147"><code>autocomplete/js/autocomplete-base.js:1147</code></a> |
|
7065 |
|
7066 </p> |
|
7067 |
|
7068 |
|
7069 |
|
7070 |
|
7071 </div> |
|
7072 |
|
7073 <div class="description"> |
|
7074 <p>Function which will be used to format results. If provided, this function |
|
7075 will be called with two arguments after results have been received and |
|
7076 filtered: the query and an array of result objects. The formatter is |
|
7077 expected to return an array of HTML strings or Node instances containing the |
|
7078 desired HTML for each result.</p> |
|
7079 |
|
7080 <p>See the documentation for the <code>results</code> event for a list of the properties |
|
7081 available on each result object.</p> |
|
7082 |
|
7083 <p>If no <code>source</code> is set, the formatter will not be called.</p> |
|
7084 </div> |
|
7085 |
|
7086 |
|
7087 |
|
7088 |
|
7089 <div class="emits box"> |
|
7090 <h4>Fires event <code>resultFormatterChange</code></h4> |
|
7091 |
|
7092 <p> |
|
7093 Fires when the value for the configuration attribute <code>resultFormatter</code> is |
|
7094 changed. You can listen for the event using the <code>on</code> method if you |
|
7095 wish to be notified before the attribute's value has changed, or |
|
7096 using the <code>after</code> method if you wish to be notified after the |
|
7097 attribute's value has changed. |
|
7098 </p> |
|
7099 |
|
7100 <div class="params"> |
|
7101 <h4>Parameters:</h4> |
|
7102 |
|
7103 <ul class="params-list"> |
|
7104 <li class="param"> |
|
7105 <code class="param-name">e</code> |
|
7106 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
7107 |
|
7108 <div class="param-description"> |
|
7109 An Event Facade object with the following |
|
7110 attribute-specific properties added: |
|
7111 </div> |
|
7112 |
|
7113 <ul class="params-list"> |
|
7114 <li class="param"> |
|
7115 <code class="param-name">prevVal</code> |
|
7116 <span class="type">Any</span> |
|
7117 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
7118 </li> |
|
7119 <li class="param"> |
|
7120 <code class="param-name">newVal</code> |
|
7121 <span class="type">Any</span> |
|
7122 <div class="param-description">The value the attribute is to be set to.</div> |
|
7123 </li> |
|
7124 <li class="param"> |
|
7125 <code class="param-name">attrName</code> |
|
7126 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7127 <div class="param-description">The name of the attribute being set.</div> |
|
7128 </li> |
|
7129 <li class="param"> |
|
7130 <code class="param-name">subAttrName</code> |
|
7131 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7132 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
7133 </li> |
|
7134 </ul> |
|
7135 </li> |
|
7136 </ul> |
|
7137 </div> |
|
7138 </div> |
|
7139 |
|
7140 |
|
7141 |
|
7142 </div> |
|
7143 |
|
7144 |
|
7145 <div id="attr_resultHighlighter" class="attr item"> |
|
7146 <a name="config_resultHighlighter"></a> |
|
7147 <h3 class="name"><code>resultHighlighter</code></h3> |
|
7148 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | Null</span> |
|
7149 |
|
7150 |
|
7151 |
|
7152 |
|
7153 |
|
7154 |
|
7155 |
|
7156 |
|
7157 |
|
7158 |
|
7159 |
|
7160 |
|
7161 |
|
7162 |
|
7163 |
|
7164 <div class="meta"> |
|
7165 |
|
7166 |
|
7167 |
|
7168 <p> |
|
7169 |
|
7170 Defined in |
|
7171 |
|
7172 |
|
7173 |
|
7174 |
|
7175 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1167"><code>autocomplete/js/autocomplete-base.js:1167</code></a> |
|
7176 |
|
7177 </p> |
|
7178 |
|
7179 |
|
7180 |
|
7181 |
|
7182 </div> |
|
7183 |
|
7184 <div class="description"> |
|
7185 <p>Function which will be used to highlight results. If provided, this function |
|
7186 will be called with two arguments after results have been received and |
|
7187 filtered: the query and an array of filtered result objects. The highlighter |
|
7188 is expected to return an array of highlighted result text in the form of |
|
7189 HTML strings.</p> |
|
7190 |
|
7191 <p>See the documentation for the <code>results</code> event for a list of the properties |
|
7192 available on each result object.</p> |
|
7193 |
|
7194 <p>If no <code>source</code> is set, the highlighter will not be called.</p> |
|
7195 </div> |
|
7196 |
|
7197 |
|
7198 |
|
7199 |
|
7200 <div class="emits box"> |
|
7201 <h4>Fires event <code>resultHighlighterChange</code></h4> |
|
7202 |
|
7203 <p> |
|
7204 Fires when the value for the configuration attribute <code>resultHighlighter</code> is |
|
7205 changed. You can listen for the event using the <code>on</code> method if you |
|
7206 wish to be notified before the attribute's value has changed, or |
|
7207 using the <code>after</code> method if you wish to be notified after the |
|
7208 attribute's value has changed. |
|
7209 </p> |
|
7210 |
|
7211 <div class="params"> |
|
7212 <h4>Parameters:</h4> |
|
7213 |
|
7214 <ul class="params-list"> |
|
7215 <li class="param"> |
|
7216 <code class="param-name">e</code> |
|
7217 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
7218 |
|
7219 <div class="param-description"> |
|
7220 An Event Facade object with the following |
|
7221 attribute-specific properties added: |
|
7222 </div> |
|
7223 |
|
7224 <ul class="params-list"> |
|
7225 <li class="param"> |
|
7226 <code class="param-name">prevVal</code> |
|
7227 <span class="type">Any</span> |
|
7228 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
7229 </li> |
|
7230 <li class="param"> |
|
7231 <code class="param-name">newVal</code> |
|
7232 <span class="type">Any</span> |
|
7233 <div class="param-description">The value the attribute is to be set to.</div> |
|
7234 </li> |
|
7235 <li class="param"> |
|
7236 <code class="param-name">attrName</code> |
|
7237 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7238 <div class="param-description">The name of the attribute being set.</div> |
|
7239 </li> |
|
7240 <li class="param"> |
|
7241 <code class="param-name">subAttrName</code> |
|
7242 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7243 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
7244 </li> |
|
7245 </ul> |
|
7246 </li> |
|
7247 </ul> |
|
7248 </div> |
|
7249 </div> |
|
7250 |
|
7251 |
|
7252 |
|
7253 </div> |
|
7254 |
|
7255 |
|
7256 <div id="attr_resultListLocator" class="attr item"> |
|
7257 <a name="config_resultListLocator"></a> |
|
7258 <h3 class="name"><code>resultListLocator</code></h3> |
|
7259 <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/String" class="crosslink external" target="_blank">String</a> | Null</span> |
|
7260 |
|
7261 |
|
7262 |
|
7263 |
|
7264 |
|
7265 |
|
7266 |
|
7267 |
|
7268 |
|
7269 |
|
7270 |
|
7271 |
|
7272 |
|
7273 |
|
7274 |
|
7275 <div class="meta"> |
|
7276 |
|
7277 |
|
7278 |
|
7279 <p> |
|
7280 |
|
7281 Defined in |
|
7282 |
|
7283 |
|
7284 |
|
7285 |
|
7286 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1187"><code>autocomplete/js/autocomplete-base.js:1187</code></a> |
|
7287 |
|
7288 </p> |
|
7289 |
|
7290 |
|
7291 |
|
7292 |
|
7293 </div> |
|
7294 |
|
7295 <div class="description"> |
|
7296 <p>Locator that should be used to extract an array of results from a non-array |
|
7297 response.</p> |
|
7298 |
|
7299 <p>By default, no locator is applied, and all responses are assumed to be |
|
7300 arrays by default. If all responses are already arrays, you don't need to |
|
7301 define a locator.</p> |
|
7302 |
|
7303 <p>The locator may be either a function (which will receive the raw response as |
|
7304 an argument and must return an array) or a string representing an object |
|
7305 path, such as "foo.bar.baz" (which would return the value of |
|
7306 <code>result.foo.bar.baz</code> if the response is an object).</p> |
|
7307 |
|
7308 <p>While <code>resultListLocator</code> may be set to either a function or a string, it |
|
7309 will always be returned as a function that accepts a response argument and |
|
7310 returns an array.</p> |
|
7311 </div> |
|
7312 |
|
7313 |
|
7314 |
|
7315 |
|
7316 <div class="emits box"> |
|
7317 <h4>Fires event <code>resultListLocatorChange</code></h4> |
|
7318 |
|
7319 <p> |
|
7320 Fires when the value for the configuration attribute <code>resultListLocator</code> is |
|
7321 changed. You can listen for the event using the <code>on</code> method if you |
|
7322 wish to be notified before the attribute's value has changed, or |
|
7323 using the <code>after</code> method if you wish to be notified after the |
|
7324 attribute's value has changed. |
|
7325 </p> |
|
7326 |
|
7327 <div class="params"> |
|
7328 <h4>Parameters:</h4> |
|
7329 |
|
7330 <ul class="params-list"> |
|
7331 <li class="param"> |
|
7332 <code class="param-name">e</code> |
|
7333 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
7334 |
|
7335 <div class="param-description"> |
|
7336 An Event Facade object with the following |
|
7337 attribute-specific properties added: |
|
7338 </div> |
|
7339 |
|
7340 <ul class="params-list"> |
|
7341 <li class="param"> |
|
7342 <code class="param-name">prevVal</code> |
|
7343 <span class="type">Any</span> |
|
7344 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
7345 </li> |
|
7346 <li class="param"> |
|
7347 <code class="param-name">newVal</code> |
|
7348 <span class="type">Any</span> |
|
7349 <div class="param-description">The value the attribute is to be set to.</div> |
|
7350 </li> |
|
7351 <li class="param"> |
|
7352 <code class="param-name">attrName</code> |
|
7353 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7354 <div class="param-description">The name of the attribute being set.</div> |
|
7355 </li> |
|
7356 <li class="param"> |
|
7357 <code class="param-name">subAttrName</code> |
|
7358 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7359 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
7360 </li> |
|
7361 </ul> |
|
7362 </li> |
|
7363 </ul> |
|
7364 </div> |
|
7365 </div> |
|
7366 |
|
7367 |
|
7368 |
|
7369 </div> |
|
7370 |
|
7371 |
|
7372 <div id="attr_results" class="attr item"> |
|
7373 <a name="config_results"></a> |
|
7374 <h3 class="name"><code>results</code></h3> |
|
7375 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
7376 |
|
7377 |
|
7378 |
|
7379 |
|
7380 |
|
7381 |
|
7382 |
|
7383 |
|
7384 |
|
7385 |
|
7386 |
|
7387 |
|
7388 |
|
7389 |
|
7390 <span class="flag readonly">readonly</span> |
|
7391 |
|
7392 |
|
7393 <div class="meta"> |
|
7394 |
|
7395 |
|
7396 |
|
7397 <p> |
|
7398 |
|
7399 Defined in |
|
7400 |
|
7401 |
|
7402 |
|
7403 |
|
7404 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1212"><code>autocomplete/js/autocomplete-base.js:1212</code></a> |
|
7405 |
|
7406 </p> |
|
7407 |
|
7408 |
|
7409 |
|
7410 |
|
7411 </div> |
|
7412 |
|
7413 <div class="description"> |
|
7414 <p>Current results, or an empty array if there are no results.</p> |
|
7415 </div> |
|
7416 |
|
7417 |
|
7418 <p><strong>Default:</strong> []</p> |
|
7419 |
|
7420 |
|
7421 |
|
7422 <div class="emits box"> |
|
7423 <h4>Fires event <code>resultsChange</code></h4> |
|
7424 |
|
7425 <p> |
|
7426 Fires when the value for the configuration attribute <code>results</code> is |
|
7427 changed. You can listen for the event using the <code>on</code> method if you |
|
7428 wish to be notified before the attribute's value has changed, or |
|
7429 using the <code>after</code> method if you wish to be notified after the |
|
7430 attribute's value has changed. |
|
7431 </p> |
|
7432 |
|
7433 <div class="params"> |
|
7434 <h4>Parameters:</h4> |
|
7435 |
|
7436 <ul class="params-list"> |
|
7437 <li class="param"> |
|
7438 <code class="param-name">e</code> |
|
7439 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
7440 |
|
7441 <div class="param-description"> |
|
7442 An Event Facade object with the following |
|
7443 attribute-specific properties added: |
|
7444 </div> |
|
7445 |
|
7446 <ul class="params-list"> |
|
7447 <li class="param"> |
|
7448 <code class="param-name">prevVal</code> |
|
7449 <span class="type">Any</span> |
|
7450 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
7451 </li> |
|
7452 <li class="param"> |
|
7453 <code class="param-name">newVal</code> |
|
7454 <span class="type">Any</span> |
|
7455 <div class="param-description">The value the attribute is to be set to.</div> |
|
7456 </li> |
|
7457 <li class="param"> |
|
7458 <code class="param-name">attrName</code> |
|
7459 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7460 <div class="param-description">The name of the attribute being set.</div> |
|
7461 </li> |
|
7462 <li class="param"> |
|
7463 <code class="param-name">subAttrName</code> |
|
7464 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7465 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
7466 </li> |
|
7467 </ul> |
|
7468 </li> |
|
7469 </ul> |
|
7470 </div> |
|
7471 </div> |
|
7472 |
|
7473 |
|
7474 |
|
7475 </div> |
|
7476 |
|
7477 |
|
7478 <div id="attr_resultTextLocator" class="attr item"> |
|
7479 <a name="config_resultTextLocator"></a> |
|
7480 <h3 class="name"><code>resultTextLocator</code></h3> |
|
7481 <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/String" class="crosslink external" target="_blank">String</a> | Null</span> |
|
7482 |
|
7483 |
|
7484 |
|
7485 |
|
7486 |
|
7487 |
|
7488 |
|
7489 |
|
7490 |
|
7491 |
|
7492 |
|
7493 |
|
7494 |
|
7495 |
|
7496 |
|
7497 <div class="meta"> |
|
7498 |
|
7499 |
|
7500 |
|
7501 <p> |
|
7502 |
|
7503 Defined in |
|
7504 |
|
7505 |
|
7506 |
|
7507 |
|
7508 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1225"><code>autocomplete/js/autocomplete-base.js:1225</code></a> |
|
7509 |
|
7510 </p> |
|
7511 |
|
7512 |
|
7513 |
|
7514 |
|
7515 </div> |
|
7516 |
|
7517 <div class="description"> |
|
7518 <p>Locator that should be used to extract a plain text string from a non-string |
|
7519 result item. The resulting text value will typically be the value that ends |
|
7520 up being inserted into an input field or textarea when the user of an |
|
7521 autocomplete implementation selects a result.</p> |
|
7522 |
|
7523 <p>By default, no locator is applied, and all results are assumed to be plain |
|
7524 text strings. If all results are already plain text strings, you don't need |
|
7525 to define a locator.</p> |
|
7526 |
|
7527 <p>The locator may be either a function (which will receive the raw result as |
|
7528 an argument and must return a string) or a string representing an object |
|
7529 path, such as "foo.bar.baz" (which would return the value of |
|
7530 <code>result.foo.bar.baz</code> if the result is an object).</p> |
|
7531 |
|
7532 <p>While <code>resultTextLocator</code> may be set to either a function or a string, it |
|
7533 will always be returned as a function that accepts a result argument and |
|
7534 returns a string.</p> |
|
7535 </div> |
|
7536 |
|
7537 |
|
7538 |
|
7539 |
|
7540 <div class="emits box"> |
|
7541 <h4>Fires event <code>resultTextLocatorChange</code></h4> |
|
7542 |
|
7543 <p> |
|
7544 Fires when the value for the configuration attribute <code>resultTextLocator</code> is |
|
7545 changed. You can listen for the event using the <code>on</code> method if you |
|
7546 wish to be notified before the attribute's value has changed, or |
|
7547 using the <code>after</code> method if you wish to be notified after the |
|
7548 attribute's value has changed. |
|
7549 </p> |
|
7550 |
|
7551 <div class="params"> |
|
7552 <h4>Parameters:</h4> |
|
7553 |
|
7554 <ul class="params-list"> |
|
7555 <li class="param"> |
|
7556 <code class="param-name">e</code> |
|
7557 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
7558 |
|
7559 <div class="param-description"> |
|
7560 An Event Facade object with the following |
|
7561 attribute-specific properties added: |
|
7562 </div> |
|
7563 |
|
7564 <ul class="params-list"> |
|
7565 <li class="param"> |
|
7566 <code class="param-name">prevVal</code> |
|
7567 <span class="type">Any</span> |
|
7568 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
7569 </li> |
|
7570 <li class="param"> |
|
7571 <code class="param-name">newVal</code> |
|
7572 <span class="type">Any</span> |
|
7573 <div class="param-description">The value the attribute is to be set to.</div> |
|
7574 </li> |
|
7575 <li class="param"> |
|
7576 <code class="param-name">attrName</code> |
|
7577 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7578 <div class="param-description">The name of the attribute being set.</div> |
|
7579 </li> |
|
7580 <li class="param"> |
|
7581 <code class="param-name">subAttrName</code> |
|
7582 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7583 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
7584 </li> |
|
7585 </ul> |
|
7586 </li> |
|
7587 </ul> |
|
7588 </div> |
|
7589 </div> |
|
7590 |
|
7591 |
|
7592 |
|
7593 </div> |
|
7594 |
|
7595 |
|
7596 <div id="attr_source" class="attr item"> |
|
7597 <a name="config_source"></a> |
|
7598 <h3 class="name"><code>source</code></h3> |
|
7599 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | DataSource | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | <a href="../classes/Node.html" class="crosslink">Node</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | Null</span> |
|
7600 |
|
7601 |
|
7602 |
|
7603 |
|
7604 |
|
7605 |
|
7606 |
|
7607 |
|
7608 |
|
7609 |
|
7610 |
|
7611 |
|
7612 |
|
7613 |
|
7614 |
|
7615 <div class="meta"> |
|
7616 |
|
7617 |
|
7618 |
|
7619 <p> |
|
7620 |
|
7621 Defined in |
|
7622 |
|
7623 |
|
7624 |
|
7625 |
|
7626 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1252"><code>autocomplete/js/autocomplete-base.js:1252</code></a> |
|
7627 |
|
7628 </p> |
|
7629 |
|
7630 |
|
7631 |
|
7632 |
|
7633 </div> |
|
7634 |
|
7635 <div class="description"> |
|
7636 <p>Source for autocomplete results. The following source types are supported:</p> |
|
7637 |
|
7638 <dl> |
|
7639 <dt>Array</dt> |
|
7640 <dd> |
|
7641 <p> |
|
7642 The full array will be provided to any configured filters for each |
|
7643 query. This is an easy way to create a fully client-side autocomplete |
|
7644 implementation. |
|
7645 </p> |
|
7646 |
|
7647 <p> |
|
7648 Example: <code>['first result', 'second result', 'etc']</code> |
|
7649 </p> |
|
7650 </dd> |
|
7651 |
|
7652 <dt>DataSource</dt> |
|
7653 <dd> |
|
7654 A <code>DataSource</code> instance or other object that provides a DataSource-like |
|
7655 <code>sendRequest</code> method. See the <code>DataSource</code> documentation for details. |
|
7656 </dd> |
|
7657 |
|
7658 <dt>Function</dt> |
|
7659 <dd> |
|
7660 <p> |
|
7661 A function source will be called with the current query and a |
|
7662 callback function as parameters, and should either return an array of |
|
7663 results (for synchronous operation) or return nothing and pass an |
|
7664 array of results to the provided callback (for asynchronous |
|
7665 operation). |
|
7666 </p> |
|
7667 |
|
7668 <p> |
|
7669 Example (synchronous): |
|
7670 </p> |
|
7671 |
|
7672 <pre> |
|
7673 function (query) { |
|
7674 return ['foo', 'bar']; |
|
7675 } |
|
7676 </pre> |
|
7677 |
|
7678 <p> |
|
7679 Example (async): |
|
7680 </p> |
|
7681 |
|
7682 <pre> |
|
7683 function (query, callback) { |
|
7684 callback(['foo', 'bar']); |
|
7685 } |
|
7686 </pre> |
|
7687 </dd> |
|
7688 |
|
7689 <dt>Object</dt> |
|
7690 <dd> |
|
7691 <p> |
|
7692 An object will be treated as a query hashmap. If a property on the |
|
7693 object matches the current query, the value of that property will be |
|
7694 used as the response. |
|
7695 </p> |
|
7696 |
|
7697 <p> |
|
7698 The response is assumed to be an array of results by default. If the |
|
7699 response is not an array, provide a <code>resultListLocator</code> to |
|
7700 process the response and return an array. |
|
7701 </p> |
|
7702 |
|
7703 <p> |
|
7704 Example: <code>{foo: ['foo result 1', 'foo result 2'], bar: ['bar result']}</code> |
|
7705 </p> |
|
7706 </dd> |
|
7707 </dl> |
|
7708 |
|
7709 <p>If the optional <code>autocomplete-sources</code> module is loaded, then |
|
7710 the following additional source types will be supported as well:</p> |
|
7711 |
|
7712 <dl> |
|
7713 <dt><select> Node</dt> |
|
7714 <dd> |
|
7715 You may provide a YUI Node instance wrapping a <select> |
|
7716 element, and the options in the list will be used as results. You |
|
7717 will also need to specify a <code>resultTextLocator</code> of 'text' |
|
7718 or 'value', depending on what you want to use as the text of the |
|
7719 result. |
|
7720 |
|
7721 Each result will be an object with the following properties: |
|
7722 |
|
7723 <dl> |
|
7724 <dt>html (String)</dt> |
|
7725 <dd> |
|
7726 <p>HTML content of the <option> element.</p> |
|
7727 </dd> |
|
7728 |
|
7729 <dt>index (Number)</dt> |
|
7730 <dd> |
|
7731 <p>Index of the <option> element in the list.</p> |
|
7732 </dd> |
|
7733 |
|
7734 <dt>node (Y.Node)</dt> |
|
7735 <dd> |
|
7736 <p>Node instance referring to the original <option> element.</p> |
|
7737 </dd> |
|
7738 |
|
7739 <dt>selected (Boolean)</dt> |
|
7740 <dd> |
|
7741 <p>Whether or not this item is currently selected in the |
|
7742 <select> list.</p> |
|
7743 </dd> |
|
7744 |
|
7745 <dt>text (String)</dt> |
|
7746 <dd> |
|
7747 <p>Text content of the <option> element.</p> |
|
7748 </dd> |
|
7749 |
|
7750 <dt>value (String)</dt> |
|
7751 <dd> |
|
7752 <p>Value of the <option> element.</p> |
|
7753 </dd> |
|
7754 </dl> |
|
7755 </dd> |
|
7756 |
|
7757 <dt>String (JSONP URL)</dt> |
|
7758 <dd> |
|
7759 <p> |
|
7760 If a URL with a <code>{callback}</code> placeholder is provided, it will be used to |
|
7761 make a JSONP request. The <code>{query}</code> placeholder will be replaced with |
|
7762 the current query, and the <code>{callback}</code> placeholder will be replaced |
|
7763 with an internally-generated JSONP callback name. Both placeholders must |
|
7764 appear in the URL, or the request will fail. An optional <code>{maxResults}</code> |
|
7765 placeholder may also be provided, and will be replaced with the value of |
|
7766 the maxResults attribute (or 1000 if the maxResults attribute is 0 or |
|
7767 less). |
|
7768 </p> |
|
7769 |
|
7770 <p> |
|
7771 The response is assumed to be an array of results by default. If the |
|
7772 response is not an array, provide a <code>resultListLocator</code> to process the |
|
7773 response and return an array. |
|
7774 </p> |
|
7775 |
|
7776 <p> |
|
7777 <strong>The <code>jsonp</code> module must be loaded in order for |
|
7778 JSONP URL sources to work.</strong> If the <code>jsonp</code> module |
|
7779 is not already loaded, it will be loaded on demand if possible. |
|
7780 </p> |
|
7781 |
|
7782 <p> |
|
7783 Example: <code>'http://example.com/search?q={query}&callback={callback}'</code> |
|
7784 </p> |
|
7785 </dd> |
|
7786 |
|
7787 <dt>String (XHR URL)</dt> |
|
7788 <dd> |
|
7789 <p> |
|
7790 If a URL without a <code>{callback}</code> placeholder is provided, it will be used |
|
7791 to make a same-origin XHR request. The <code>{query}</code> placeholder will be |
|
7792 replaced with the current query. An optional <code>{maxResults}</code> placeholder |
|
7793 may also be provided, and will be replaced with the value of the |
|
7794 maxResults attribute (or 1000 if the maxResults attribute is 0 or less). |
|
7795 </p> |
|
7796 |
|
7797 <p> |
|
7798 The response is assumed to be a JSON array of results by default. If the |
|
7799 response is a JSON object and not an array, provide a |
|
7800 <code>resultListLocator</code> to process the response and return an array. If the |
|
7801 response is in some form other than JSON, you will need to use a custom |
|
7802 DataSource instance as the source. |
|
7803 </p> |
|
7804 |
|
7805 <p> |
|
7806 <strong>The <code>io-base</code> and <code>json-parse</code> modules |
|
7807 must be loaded in order for XHR URL sources to work.</strong> If |
|
7808 these modules are not already loaded, they will be loaded on demand |
|
7809 if possible. |
|
7810 </p> |
|
7811 |
|
7812 <p> |
|
7813 Example: <code>'http://example.com/search?q={query}'</code> |
|
7814 </p> |
|
7815 </dd> |
|
7816 |
|
7817 <dt>String (YQL query)</dt> |
|
7818 <dd> |
|
7819 <p> |
|
7820 If a YQL query is provided, it will be used to make a YQL request. The |
|
7821 <code>{query}</code> placeholder will be replaced with the current autocomplete |
|
7822 query. This placeholder must appear in the YQL query, or the request |
|
7823 will fail. An optional <code>{maxResults}</code> placeholder may also be provided, |
|
7824 and will be replaced with the value of the maxResults attribute (or 1000 |
|
7825 if the maxResults attribute is 0 or less). |
|
7826 </p> |
|
7827 |
|
7828 <p> |
|
7829 <strong>The <code>yql</code> module must be loaded in order for YQL |
|
7830 sources to work.</strong> If the <code>yql</code> module is not |
|
7831 already loaded, it will be loaded on demand if possible. |
|
7832 </p> |
|
7833 |
|
7834 <p> |
|
7835 Example: <code>'select * from search.suggest where query="{query}"'</code> |
|
7836 </p> |
|
7837 </dd> |
|
7838 </dl> |
|
7839 |
|
7840 <p>As an alternative to providing a source, you could simply listen for <code>query</code> |
|
7841 events and handle them any way you see fit. Providing a source is optional, |
|
7842 but will usually be simpler.</p> |
|
7843 </div> |
|
7844 |
|
7845 |
|
7846 |
|
7847 |
|
7848 <div class="emits box"> |
|
7849 <h4>Fires event <code>sourceChange</code></h4> |
|
7850 |
|
7851 <p> |
|
7852 Fires when the value for the configuration attribute <code>source</code> is |
|
7853 changed. You can listen for the event using the <code>on</code> method if you |
|
7854 wish to be notified before the attribute's value has changed, or |
|
7855 using the <code>after</code> method if you wish to be notified after the |
|
7856 attribute's value has changed. |
|
7857 </p> |
|
7858 |
|
7859 <div class="params"> |
|
7860 <h4>Parameters:</h4> |
|
7861 |
|
7862 <ul class="params-list"> |
|
7863 <li class="param"> |
|
7864 <code class="param-name">e</code> |
|
7865 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
7866 |
|
7867 <div class="param-description"> |
|
7868 An Event Facade object with the following |
|
7869 attribute-specific properties added: |
|
7870 </div> |
|
7871 |
|
7872 <ul class="params-list"> |
|
7873 <li class="param"> |
|
7874 <code class="param-name">prevVal</code> |
|
7875 <span class="type">Any</span> |
|
7876 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
7877 </li> |
|
7878 <li class="param"> |
|
7879 <code class="param-name">newVal</code> |
|
7880 <span class="type">Any</span> |
|
7881 <div class="param-description">The value the attribute is to be set to.</div> |
|
7882 </li> |
|
7883 <li class="param"> |
|
7884 <code class="param-name">attrName</code> |
|
7885 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7886 <div class="param-description">The name of the attribute being set.</div> |
|
7887 </li> |
|
7888 <li class="param"> |
|
7889 <code class="param-name">subAttrName</code> |
|
7890 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7891 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
7892 </li> |
|
7893 </ul> |
|
7894 </li> |
|
7895 </ul> |
|
7896 </div> |
|
7897 </div> |
|
7898 |
|
7899 |
|
7900 |
|
7901 </div> |
|
7902 |
|
7903 |
|
7904 <div id="attr_sourceType" class="attr item"> |
|
7905 <a name="config_sourceType"></a> |
|
7906 <h3 class="name"><code>sourceType</code></h3> |
|
7907 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7908 |
|
7909 |
|
7910 |
|
7911 |
|
7912 |
|
7913 |
|
7914 |
|
7915 |
|
7916 |
|
7917 |
|
7918 |
|
7919 |
|
7920 |
|
7921 |
|
7922 |
|
7923 <div class="meta"> |
|
7924 |
|
7925 |
|
7926 |
|
7927 <p> |
|
7928 |
|
7929 Defined in |
|
7930 |
|
7931 |
|
7932 |
|
7933 |
|
7934 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1469"><code>autocomplete/js/autocomplete-base.js:1469</code></a> |
|
7935 |
|
7936 </p> |
|
7937 |
|
7938 |
|
7939 |
|
7940 |
|
7941 </div> |
|
7942 |
|
7943 <div class="description"> |
|
7944 <p>May be used to force a specific source type, overriding the automatic source |
|
7945 type detection. It should almost never be necessary to do this, but as they |
|
7946 taught us in the Boy Scouts, one should always be prepared, so it's here if |
|
7947 you need it. Be warned that if you set this attribute and something breaks, |
|
7948 it's your own fault.</p> |
|
7949 |
|
7950 <p>Supported <code>sourceType</code> values are: 'array', 'datasource', 'function', and |
|
7951 'object'.</p> |
|
7952 |
|
7953 <p>If the <code>autocomplete-sources</code> module is loaded, the following additional |
|
7954 source types are supported: 'io', 'jsonp', 'select', 'string', 'yql'</p> |
|
7955 </div> |
|
7956 |
|
7957 |
|
7958 |
|
7959 |
|
7960 <div class="emits box"> |
|
7961 <h4>Fires event <code>sourceTypeChange</code></h4> |
|
7962 |
|
7963 <p> |
|
7964 Fires when the value for the configuration attribute <code>sourceType</code> is |
|
7965 changed. You can listen for the event using the <code>on</code> method if you |
|
7966 wish to be notified before the attribute's value has changed, or |
|
7967 using the <code>after</code> method if you wish to be notified after the |
|
7968 attribute's value has changed. |
|
7969 </p> |
|
7970 |
|
7971 <div class="params"> |
|
7972 <h4>Parameters:</h4> |
|
7973 |
|
7974 <ul class="params-list"> |
|
7975 <li class="param"> |
|
7976 <code class="param-name">e</code> |
|
7977 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
7978 |
|
7979 <div class="param-description"> |
|
7980 An Event Facade object with the following |
|
7981 attribute-specific properties added: |
|
7982 </div> |
|
7983 |
|
7984 <ul class="params-list"> |
|
7985 <li class="param"> |
|
7986 <code class="param-name">prevVal</code> |
|
7987 <span class="type">Any</span> |
|
7988 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
7989 </li> |
|
7990 <li class="param"> |
|
7991 <code class="param-name">newVal</code> |
|
7992 <span class="type">Any</span> |
|
7993 <div class="param-description">The value the attribute is to be set to.</div> |
|
7994 </li> |
|
7995 <li class="param"> |
|
7996 <code class="param-name">attrName</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 <div class="param-description">The name of the attribute being set.</div> |
|
7999 </li> |
|
8000 <li class="param"> |
|
8001 <code class="param-name">subAttrName</code> |
|
8002 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8003 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
8004 </li> |
|
8005 </ul> |
|
8006 </li> |
|
8007 </ul> |
|
8008 </div> |
|
8009 </div> |
|
8010 |
|
8011 |
|
8012 |
|
8013 </div> |
|
8014 |
|
8015 |
|
8016 <div id="attr_tokenInput" class="attr item"> |
|
8017 <a name="config_tokenInput"></a> |
|
8018 <h3 class="name"><code>tokenInput</code></h3> |
|
8019 <span class="type">Plugin.TokenInput</span> |
|
8020 |
|
8021 |
|
8022 |
|
8023 |
|
8024 |
|
8025 |
|
8026 |
|
8027 |
|
8028 |
|
8029 |
|
8030 |
|
8031 |
|
8032 |
|
8033 |
|
8034 <span class="flag readonly">readonly</span> |
|
8035 |
|
8036 |
|
8037 <div class="meta"> |
|
8038 |
|
8039 |
|
8040 |
|
8041 <p> |
|
8042 |
|
8043 Defined in |
|
8044 |
|
8045 |
|
8046 |
|
8047 |
|
8048 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1489"><code>autocomplete/js/autocomplete-base.js:1489</code></a> |
|
8049 |
|
8050 </p> |
|
8051 |
|
8052 |
|
8053 |
|
8054 |
|
8055 </div> |
|
8056 |
|
8057 <div class="description"> |
|
8058 <p>If the <code>inputNode</code> specified at instantiation time has a <code>node-tokeninput</code> |
|
8059 plugin attached to it, this attribute will be a reference to the |
|
8060 <code>Y.Plugin.TokenInput</code> instance.</p> |
|
8061 </div> |
|
8062 |
|
8063 |
|
8064 |
|
8065 |
|
8066 <div class="emits box"> |
|
8067 <h4>Fires event <code>tokenInputChange</code></h4> |
|
8068 |
|
8069 <p> |
|
8070 Fires when the value for the configuration attribute <code>tokenInput</code> is |
|
8071 changed. You can listen for the event using the <code>on</code> method if you |
|
8072 wish to be notified before the attribute's value has changed, or |
|
8073 using the <code>after</code> method if you wish to be notified after the |
|
8074 attribute's value has changed. |
|
8075 </p> |
|
8076 |
|
8077 <div class="params"> |
|
8078 <h4>Parameters:</h4> |
|
8079 |
|
8080 <ul class="params-list"> |
|
8081 <li class="param"> |
|
8082 <code class="param-name">e</code> |
|
8083 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
8084 |
|
8085 <div class="param-description"> |
|
8086 An Event Facade object with the following |
|
8087 attribute-specific properties added: |
|
8088 </div> |
|
8089 |
|
8090 <ul class="params-list"> |
|
8091 <li class="param"> |
|
8092 <code class="param-name">prevVal</code> |
|
8093 <span class="type">Any</span> |
|
8094 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
8095 </li> |
|
8096 <li class="param"> |
|
8097 <code class="param-name">newVal</code> |
|
8098 <span class="type">Any</span> |
|
8099 <div class="param-description">The value the attribute is to be set to.</div> |
|
8100 </li> |
|
8101 <li class="param"> |
|
8102 <code class="param-name">attrName</code> |
|
8103 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8104 <div class="param-description">The name of the attribute being set.</div> |
|
8105 </li> |
|
8106 <li class="param"> |
|
8107 <code class="param-name">subAttrName</code> |
|
8108 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8109 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
8110 </li> |
|
8111 </ul> |
|
8112 </li> |
|
8113 </ul> |
|
8114 </div> |
|
8115 </div> |
|
8116 |
|
8117 |
|
8118 |
|
8119 </div> |
|
8120 |
|
8121 |
|
8122 <div id="attr_value" class="attr item"> |
|
8123 <a name="config_value"></a> |
|
8124 <h3 class="name"><code>value</code></h3> |
|
8125 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8126 |
|
8127 |
|
8128 |
|
8129 |
|
8130 |
|
8131 |
|
8132 |
|
8133 |
|
8134 |
|
8135 |
|
8136 |
|
8137 |
|
8138 |
|
8139 |
|
8140 |
|
8141 <div class="meta"> |
|
8142 |
|
8143 |
|
8144 |
|
8145 <p> |
|
8146 |
|
8147 Defined in |
|
8148 |
|
8149 |
|
8150 |
|
8151 |
|
8152 <a href="../files/autocomplete_js_autocomplete-base.js.html#l1502"><code>autocomplete/js/autocomplete-base.js:1502</code></a> |
|
8153 |
|
8154 </p> |
|
8155 |
|
8156 |
|
8157 |
|
8158 |
|
8159 </div> |
|
8160 |
|
8161 <div class="description"> |
|
8162 <p>Current value of the input node.</p> |
|
8163 </div> |
|
8164 |
|
8165 |
|
8166 <p><strong>Default:</strong> ''</p> |
|
8167 |
|
8168 |
|
8169 |
|
8170 <div class="emits box"> |
|
8171 <h4>Fires event <code>valueChange</code></h4> |
|
8172 |
|
8173 <p> |
|
8174 Fires when the value for the configuration attribute <code>value</code> is |
|
8175 changed. You can listen for the event using the <code>on</code> method if you |
|
8176 wish to be notified before the attribute's value has changed, or |
|
8177 using the <code>after</code> method if you wish to be notified after the |
|
8178 attribute's value has changed. |
|
8179 </p> |
|
8180 |
|
8181 <div class="params"> |
|
8182 <h4>Parameters:</h4> |
|
8183 |
|
8184 <ul class="params-list"> |
|
8185 <li class="param"> |
|
8186 <code class="param-name">e</code> |
|
8187 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
8188 |
|
8189 <div class="param-description"> |
|
8190 An Event Facade object with the following |
|
8191 attribute-specific properties added: |
|
8192 </div> |
|
8193 |
|
8194 <ul class="params-list"> |
|
8195 <li class="param"> |
|
8196 <code class="param-name">prevVal</code> |
|
8197 <span class="type">Any</span> |
|
8198 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
8199 </li> |
|
8200 <li class="param"> |
|
8201 <code class="param-name">newVal</code> |
|
8202 <span class="type">Any</span> |
|
8203 <div class="param-description">The value the attribute is to be set to.</div> |
|
8204 </li> |
|
8205 <li class="param"> |
|
8206 <code class="param-name">attrName</code> |
|
8207 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8208 <div class="param-description">The name of the attribute being set.</div> |
|
8209 </li> |
|
8210 <li class="param"> |
|
8211 <code class="param-name">subAttrName</code> |
|
8212 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8213 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
8214 </li> |
|
8215 </ul> |
|
8216 </li> |
|
8217 </ul> |
|
8218 </div> |
|
8219 </div> |
|
8220 |
|
8221 |
|
8222 |
|
8223 </div> |
|
8224 |
|
8225 |
|
8226 <div id="attr_yqlEnv" class="attr item"> |
|
8227 <a name="config_yqlEnv"></a> |
|
8228 <h3 class="name"><code>yqlEnv</code></h3> |
|
8229 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8230 |
|
8231 |
|
8232 |
|
8233 |
|
8234 |
|
8235 |
|
8236 |
|
8237 |
|
8238 |
|
8239 |
|
8240 |
|
8241 |
|
8242 |
|
8243 |
|
8244 |
|
8245 <div class="meta"> |
|
8246 |
|
8247 |
|
8248 |
|
8249 <p>Provided by the <a href="../modules/autocomplete-sources.html">autocomplete-sources</a> module.</p> |
|
8250 |
|
8251 <p> |
|
8252 |
|
8253 Defined in |
|
8254 |
|
8255 |
|
8256 |
|
8257 |
|
8258 <a href="../files/autocomplete_js_autocomplete-sources.js.html#l435"><code>autocomplete/js/autocomplete-sources.js:435</code></a> |
|
8259 |
|
8260 </p> |
|
8261 |
|
8262 |
|
8263 |
|
8264 |
|
8265 </div> |
|
8266 |
|
8267 <div class="description"> |
|
8268 <p>YQL environment file URL to load when the <code>source</code> is set to a YQL query. |
|
8269 Set this to <code>null</code> to use the default Open Data Tables environment file |
|
8270 (http://datatables.org/alltables.env).</p> |
|
8271 </div> |
|
8272 |
|
8273 |
|
8274 <p><strong>Default:</strong> null</p> |
|
8275 |
|
8276 |
|
8277 |
|
8278 <div class="emits box"> |
|
8279 <h4>Fires event <code>yqlEnvChange</code></h4> |
|
8280 |
|
8281 <p> |
|
8282 Fires when the value for the configuration attribute <code>yqlEnv</code> is |
|
8283 changed. You can listen for the event using the <code>on</code> method if you |
|
8284 wish to be notified before the attribute's value has changed, or |
|
8285 using the <code>after</code> method if you wish to be notified after the |
|
8286 attribute's value has changed. |
|
8287 </p> |
|
8288 |
|
8289 <div class="params"> |
|
8290 <h4>Parameters:</h4> |
|
8291 |
|
8292 <ul class="params-list"> |
|
8293 <li class="param"> |
|
8294 <code class="param-name">e</code> |
|
8295 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
8296 |
|
8297 <div class="param-description"> |
|
8298 An Event Facade object with the following |
|
8299 attribute-specific properties added: |
|
8300 </div> |
|
8301 |
|
8302 <ul class="params-list"> |
|
8303 <li class="param"> |
|
8304 <code class="param-name">prevVal</code> |
|
8305 <span class="type">Any</span> |
|
8306 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
8307 </li> |
|
8308 <li class="param"> |
|
8309 <code class="param-name">newVal</code> |
|
8310 <span class="type">Any</span> |
|
8311 <div class="param-description">The value the attribute is to be set to.</div> |
|
8312 </li> |
|
8313 <li class="param"> |
|
8314 <code class="param-name">attrName</code> |
|
8315 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8316 <div class="param-description">The name of the attribute being set.</div> |
|
8317 </li> |
|
8318 <li class="param"> |
|
8319 <code class="param-name">subAttrName</code> |
|
8320 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8321 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
8322 </li> |
|
8323 </ul> |
|
8324 </li> |
|
8325 </ul> |
|
8326 </div> |
|
8327 </div> |
|
8328 |
|
8329 |
|
8330 |
|
8331 </div> |
|
8332 |
|
8333 |
|
8334 <div id="attr_yqlProtocol" class="attr item"> |
|
8335 <a name="config_yqlProtocol"></a> |
|
8336 <h3 class="name"><code>yqlProtocol</code></h3> |
|
8337 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8338 |
|
8339 |
|
8340 |
|
8341 |
|
8342 |
|
8343 |
|
8344 |
|
8345 |
|
8346 |
|
8347 |
|
8348 |
|
8349 |
|
8350 |
|
8351 |
|
8352 |
|
8353 <div class="meta"> |
|
8354 |
|
8355 |
|
8356 |
|
8357 <p>Provided by the <a href="../modules/autocomplete-sources.html">autocomplete-sources</a> module.</p> |
|
8358 |
|
8359 <p> |
|
8360 |
|
8361 Defined in |
|
8362 |
|
8363 |
|
8364 |
|
8365 |
|
8366 <a href="../files/autocomplete_js_autocomplete-sources.js.html#l449"><code>autocomplete/js/autocomplete-sources.js:449</code></a> |
|
8367 |
|
8368 </p> |
|
8369 |
|
8370 |
|
8371 |
|
8372 |
|
8373 </div> |
|
8374 |
|
8375 <div class="description"> |
|
8376 <p>URL protocol to use when the <code>source</code> is set to a YQL query.</p> |
|
8377 </div> |
|
8378 |
|
8379 |
|
8380 <p><strong>Default:</strong> 'http'</p> |
|
8381 |
|
8382 |
|
8383 |
|
8384 <div class="emits box"> |
|
8385 <h4>Fires event <code>yqlProtocolChange</code></h4> |
|
8386 |
|
8387 <p> |
|
8388 Fires when the value for the configuration attribute <code>yqlProtocol</code> is |
|
8389 changed. You can listen for the event using the <code>on</code> method if you |
|
8390 wish to be notified before the attribute's value has changed, or |
|
8391 using the <code>after</code> method if you wish to be notified after the |
|
8392 attribute's value has changed. |
|
8393 </p> |
|
8394 |
|
8395 <div class="params"> |
|
8396 <h4>Parameters:</h4> |
|
8397 |
|
8398 <ul class="params-list"> |
|
8399 <li class="param"> |
|
8400 <code class="param-name">e</code> |
|
8401 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
8402 |
|
8403 <div class="param-description"> |
|
8404 An Event Facade object with the following |
|
8405 attribute-specific properties added: |
|
8406 </div> |
|
8407 |
|
8408 <ul class="params-list"> |
|
8409 <li class="param"> |
|
8410 <code class="param-name">prevVal</code> |
|
8411 <span class="type">Any</span> |
|
8412 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
8413 </li> |
|
8414 <li class="param"> |
|
8415 <code class="param-name">newVal</code> |
|
8416 <span class="type">Any</span> |
|
8417 <div class="param-description">The value the attribute is to be set to.</div> |
|
8418 </li> |
|
8419 <li class="param"> |
|
8420 <code class="param-name">attrName</code> |
|
8421 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8422 <div class="param-description">The name of the attribute being set.</div> |
|
8423 </li> |
|
8424 <li class="param"> |
|
8425 <code class="param-name">subAttrName</code> |
|
8426 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8427 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
8428 </li> |
|
8429 </ul> |
|
8430 </li> |
|
8431 </ul> |
|
8432 </div> |
|
8433 </div> |
|
8434 |
|
8435 |
|
8436 |
|
8437 </div> |
|
8438 |
|
8439 |
|
8440 </div> |
|
8441 |
|
8442 |
|
8443 |
|
8444 <div id="events" class="api-class-tabpanel"> |
|
8445 <h2 class="off-left">Events</h2> |
|
8446 |
|
8447 |
|
8448 <div id="event_clear" class="events item"> |
|
8449 <h3 class="name"><code>clear</code></h3> |
|
8450 <span class="type"></span> |
|
8451 |
|
8452 |
|
8453 |
|
8454 |
|
8455 |
|
8456 |
|
8457 |
|
8458 |
|
8459 |
|
8460 <div class="meta"> |
|
8461 |
|
8462 |
|
8463 |
|
8464 <p> |
|
8465 |
|
8466 Defined in |
|
8467 |
|
8468 |
|
8469 |
|
8470 |
|
8471 <a href="../files/autocomplete_js_autocomplete-base.js.html#l103"><code>autocomplete/js/autocomplete-base.js:103</code></a> |
|
8472 |
|
8473 </p> |
|
8474 |
|
8475 |
|
8476 |
|
8477 |
|
8478 </div> |
|
8479 |
|
8480 <div class="description"> |
|
8481 <p>Fires after the query has been completely cleared or no longer meets the |
|
8482 minimum query length requirement.</p> |
|
8483 </div> |
|
8484 |
|
8485 |
|
8486 <div class="params"> |
|
8487 <h4>Event Payload:</h4> |
|
8488 |
|
8489 <ul class="params-list"> |
|
8490 |
|
8491 <li class="param"> |
|
8492 |
|
8493 <code class="param-name">prevVal</code> |
|
8494 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8495 |
|
8496 |
|
8497 |
|
8498 |
|
8499 <div class="param-description"> |
|
8500 <p>Value of the query before it was cleared.</p> |
|
8501 </div> |
|
8502 |
|
8503 |
|
8504 </li> |
|
8505 |
|
8506 <li class="param"> |
|
8507 |
|
8508 <code class="param-name">src</code> |
|
8509 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8510 |
|
8511 |
|
8512 |
|
8513 |
|
8514 <div class="param-description"> |
|
8515 <p>Source of the event.</p> |
|
8516 </div> |
|
8517 |
|
8518 |
|
8519 </li> |
|
8520 |
|
8521 </ul> |
|
8522 </div> |
|
8523 |
|
8524 |
|
8525 |
|
8526 |
|
8527 </div> |
|
8528 |
|
8529 |
|
8530 <div id="event_query" class="events item"> |
|
8531 <h3 class="name"><code>query</code></h3> |
|
8532 <span class="type"></span> |
|
8533 |
|
8534 |
|
8535 |
|
8536 |
|
8537 |
|
8538 |
|
8539 |
|
8540 |
|
8541 |
|
8542 <div class="meta"> |
|
8543 |
|
8544 |
|
8545 |
|
8546 <p> |
|
8547 |
|
8548 Defined in |
|
8549 |
|
8550 |
|
8551 |
|
8552 |
|
8553 <a href="../files/autocomplete_js_autocomplete-base.js.html#l116"><code>autocomplete/js/autocomplete-base.js:116</code></a> |
|
8554 |
|
8555 </p> |
|
8556 |
|
8557 |
|
8558 |
|
8559 |
|
8560 </div> |
|
8561 |
|
8562 <div class="description"> |
|
8563 <p>Fires when the contents of the input field have changed and the input |
|
8564 value meets the criteria necessary to generate an autocomplete query.</p> |
|
8565 </div> |
|
8566 |
|
8567 |
|
8568 <div class="params"> |
|
8569 <h4>Event Payload:</h4> |
|
8570 |
|
8571 <ul class="params-list"> |
|
8572 |
|
8573 <li class="param"> |
|
8574 |
|
8575 <code class="param-name">inputValue</code> |
|
8576 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8577 |
|
8578 |
|
8579 |
|
8580 |
|
8581 <div class="param-description"> |
|
8582 <p>Full contents of the text input field or |
|
8583 textarea that generated the query.</p> |
|
8584 </div> |
|
8585 |
|
8586 |
|
8587 </li> |
|
8588 |
|
8589 <li class="param"> |
|
8590 |
|
8591 <code class="param-name">query</code> |
|
8592 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8593 |
|
8594 |
|
8595 |
|
8596 |
|
8597 <div class="param-description"> |
|
8598 <p>AutoComplete query. This is the string that will |
|
8599 be used to request completion results. It may or may not be the same |
|
8600 as <code>inputValue</code>.</p> |
|
8601 </div> |
|
8602 |
|
8603 |
|
8604 </li> |
|
8605 |
|
8606 <li class="param"> |
|
8607 |
|
8608 <code class="param-name">src</code> |
|
8609 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8610 |
|
8611 |
|
8612 |
|
8613 |
|
8614 <div class="param-description"> |
|
8615 <p>Source of the event.</p> |
|
8616 </div> |
|
8617 |
|
8618 |
|
8619 </li> |
|
8620 |
|
8621 </ul> |
|
8622 </div> |
|
8623 |
|
8624 |
|
8625 |
|
8626 |
|
8627 </div> |
|
8628 |
|
8629 |
|
8630 <div id="event_results" class="events item"> |
|
8631 <h3 class="name"><code>results</code></h3> |
|
8632 <span class="type"></span> |
|
8633 |
|
8634 |
|
8635 |
|
8636 |
|
8637 |
|
8638 |
|
8639 |
|
8640 |
|
8641 |
|
8642 <div class="meta"> |
|
8643 |
|
8644 |
|
8645 |
|
8646 <p> |
|
8647 |
|
8648 Defined in |
|
8649 |
|
8650 |
|
8651 |
|
8652 |
|
8653 <a href="../files/autocomplete_js_autocomplete-base.js.html#l133"><code>autocomplete/js/autocomplete-base.js:133</code></a> |
|
8654 |
|
8655 </p> |
|
8656 |
|
8657 |
|
8658 |
|
8659 |
|
8660 </div> |
|
8661 |
|
8662 <div class="description"> |
|
8663 <p>Fires after query results are received from the source. If no source has |
|
8664 been set, this event will not fire.</p> |
|
8665 </div> |
|
8666 |
|
8667 |
|
8668 <div class="params"> |
|
8669 <h4>Event Payload:</h4> |
|
8670 |
|
8671 <ul class="params-list"> |
|
8672 |
|
8673 <li class="param"> |
|
8674 |
|
8675 <code class="param-name">data</code> |
|
8676 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8677 |
|
8678 |
|
8679 |
|
8680 |
|
8681 <div class="param-description"> |
|
8682 <p>Raw, unfiltered result data (if available).</p> |
|
8683 </div> |
|
8684 |
|
8685 |
|
8686 </li> |
|
8687 |
|
8688 <li class="param"> |
|
8689 |
|
8690 <code class="param-name">query</code> |
|
8691 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8692 |
|
8693 |
|
8694 |
|
8695 |
|
8696 <div class="param-description"> |
|
8697 <p>Query that generated these results.</p> |
|
8698 </div> |
|
8699 |
|
8700 |
|
8701 </li> |
|
8702 |
|
8703 <li class="param"> |
|
8704 |
|
8705 <code class="param-name">results</code> |
|
8706 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span> |
|
8707 |
|
8708 |
|
8709 |
|
8710 |
|
8711 <div class="param-description"> |
|
8712 <p>Array of filtered, formatted, and highlighted |
|
8713 results. Each item in the array is an object with the following |
|
8714 properties:</p> |
|
8715 </div> |
|
8716 |
|
8717 |
|
8718 <ul class="params-list"> |
|
8719 |
|
8720 <li class="param"> |
|
8721 |
|
8722 <code class="param-name">display</code> |
|
8723 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a> | <a href="https://developer.mozilla.org/en/Document_Object_Model_(DOM)/HTMLElement" class="crosslink external" target="_blank">HTMLElement</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8724 |
|
8725 |
|
8726 <div class="param-description"> |
|
8727 <p>Formatted result |
|
8728 HTML suitable for display to the user. If no custom formatter is |
|
8729 set, this will be an HTML-escaped version of the string in the |
|
8730 <code>text</code> property.</p> |
|
8731 </div> |
|
8732 |
|
8733 |
|
8734 </li> |
|
8735 |
|
8736 <li class="param"> |
|
8737 |
|
8738 <code class="param-name optional">[highlighted]</code> |
|
8739 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8740 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
8741 |
|
8742 |
|
8743 <div class="param-description"> |
|
8744 <p>Highlighted (but not |
|
8745 formatted) result text. This property will only be set if a |
|
8746 highlighter is in use.</p> |
|
8747 </div> |
|
8748 |
|
8749 |
|
8750 </li> |
|
8751 |
|
8752 <li class="param"> |
|
8753 |
|
8754 <code class="param-name">raw</code> |
|
8755 <span class="type">Any</span> |
|
8756 |
|
8757 |
|
8758 <div class="param-description"> |
|
8759 <p>Raw, unformatted result in whatever form it |
|
8760 was provided by the source.</p> |
|
8761 </div> |
|
8762 |
|
8763 |
|
8764 </li> |
|
8765 |
|
8766 <li class="param"> |
|
8767 |
|
8768 <code class="param-name">text</code> |
|
8769 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8770 |
|
8771 |
|
8772 <div class="param-description"> |
|
8773 <p>Plain text version of the result, |
|
8774 suitable for being inserted into the value of a text input field |
|
8775 or textarea when the result is selected by a user. This value is |
|
8776 not HTML-escaped and should not be inserted into the page using |
|
8777 <code>innerHTML</code> or <code>Node#setContent()</code>.</p> |
|
8778 </div> |
|
8779 |
|
8780 |
|
8781 </li> |
|
8782 |
|
8783 </ul> |
|
8784 |
|
8785 </li> |
|
8786 |
|
8787 </ul> |
|
8788 </div> |
|
8789 |
|
8790 |
|
8791 |
|
8792 |
|
8793 </div> |
|
8794 |
|
8795 |
|
8796 </div> |
|
8797 |
|
8798 </div> |
|
8799 </div> |
|
8800 |
|
8801 </div> |
|
8802 </div> |
|
8803 </div> |
|
8804 </div> |
|
8805 </div> |
|
8806 </div> |
|
8807 <script src="../assets/vendor/prettify/prettify-min.js"></script> |
|
8808 <script>prettyPrint();</script> |
|
8809 <script src="../assets/js/yui-prettify.js"></script> |
|
8810 <script src="../assets/../api.js"></script> |
|
8811 <script src="../assets/js/api-filter.js"></script> |
|
8812 <script src="../assets/js/api-list.js"></script> |
|
8813 <script src="../assets/js/api-search.js"></script> |
|
8814 <script src="../assets/js/apidocs.js"></script> |
|
8815 </body> |
|
8816 </html> |