autocomplete-widget.js revision c878779d09e717508716acb5f3b25a6176fa2672
225N/AYUI.add('autocomplete-widget', function (Y) {
225N/A
225N/A/**
225N/A * Base widget implementation for AutoComplete.
225N/A *
225N/A * @module autocomplete
225N/A * @submodule autocomplete-widget
225N/A * @class AutoComplete
225N/A * @extends Widget
225N/A * @constructor
225N/A * @param {Object} config Configuration object.
225N/A * @since 3.3.0
225N/A */
225N/A
225N/Avar ACBase = Y.AutoCompleteBase,
225N/A
225N/A INPUT_NODE = 'inputNode',
225N/A
225N/AAutoComplete = Y.Base.create('autocomplete', Y.Widget, [ACBase], {
225N/A initializer: function () {
225N/A this._bindInput(this.get(INPUT_NODE));
225N/A },
3817N/A
225N/A destructor: function () {
225N/A this._unbindInput(this.get(INPUT_NODE));
225N/A }
225N/A}, {
225N/A ATTRS: {
1176N/A }
618N/A});
225N/A
225N/AY.AutoComplete = AutoComplete;
844N/A
1176N/A}, '@VERSION@', {
225N/A requires: ['autocomplete-base', 'base-build', 'widget']
1258N/A});
225N/A