42d805f1e61a84164fd1d341180de7477d99e596 |
|
27-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
AutoComplete plugin renders itself by default. |
f94ade3d86f8002647707af993d80f794a7f0164 |
|
21-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
More ARIA tweaks. Back to the original implementation now. |
fe1ddbe42962c92508fc71d32ee076607d330e56 |
|
20-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
ARIA improvements. |
4912ebaa6574c564f07b09c203f2f6735eb14acf |
|
06-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
Update fuji combo URL. |
8a473112ab5d8c74fb79ef0553ba5f038fe3bde3 |
|
29-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
AutoComplete source may now be set to a YQL query string.
When the source is a string, AutoComplete will detect whether it's a YQL
query or a URL. If it's a URL, it'll be loaded via the jsonp module. If
it's a YQL query, the query will be executed via the yql module.
That means the following implementation code is all that's needed to
instantiate a working AutoCompleteList widget that displays search
suggestions as you type:
var ac = new Y.AutoComplete({
inputNode: '#foo',
source: 'select * from search.suggest where query="{query}"'
}).render();
The necessary module (either jsonp or yql) must already be loaded;
AutoComplete doesn't pull them in by default in order to avoid
increasing its dependency payload unnecessarily. |
b1ec001afbb5c5d84675023047109f2a42748bd0 |
|
28-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
Make AutoComplete a bajillion times easier to use.
The "dataSource" attribute has been renamed to "source", and can now be
an Array, DataSource, Object, or String.
Set it to an array, and that array is your local autocomplete source.
Use an Object, and queries are looked up in the object's properties. Use
a URL string, and AutoComplete will make a JSONP request to that URL.
And of course, you can still use a DataSource too (but now you don't
have to). |
2783b7256f25fd2bd470f63cdd9b09ff774678af |
|
22-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
Example improvements. |
e94d811620f0a7011e8b8568f4694e8a2e0f20f5 |
|
21-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
Add comment clarifying what fuji.jetpants.com is. |
c1d6f8ae693649c44677dcc578e9b1143b99b5f7 |
|
21-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
Simple autocomplete example using fuji.jetpants.com combo URLs. |