A base class for AutoComplete, providing:
Widget Lifecycle (initializer, renderUI, bindUI, syncUI, destructor)
Presenting users choices based on their input
Separating selected items
Keyboard interaction for selecting items
Quick Example:
var instance = new A.AutoComplete({
dataSource: [['AL', 'Alabama', 'The Heart of Dixie'],
['AK', 'Alaska', 'The Land of the Midnight Sun'],
['AZ', 'Arizona', 'The Grand Canyon State']],
schema: {
resultFields: ['key', 'name', 'description']
},
matchKey: 'name',
delimChar: ',',
typeAhead: true,
contentBox: '#myAutoComplete'
}).render();
Field Summary
Fields inherited from class org.sgx.j2s.yui3.yui.YUINativeWrapper
doBeforeExpandContainer(java.lang.String query,
java.lang.Object allResults)
An overridable method that is executed before the result container is shown.
Methods inherited from class org.sgx.j2s.aui.Component