C# Class Fluqi.Widget.jAutoComplete.Methods

The "Methods" are called after the control has been initialised. If for instance you want to change the value of a property, or invoke "some" action on the control (e.g. "open" or "close") you call the "Method" rather than through the "Options" (as Options is about the initialisation of the control).
Datei anzeigen Open project: toepoke/Fluqi

Public Methods

Method Description
Close ( ) : void

Close the Autocomplete menu. Useful in combination with the search method, to close the open menu.

Destroy ( ) : void

Remove the AutoComplete functionality completely. This will return the element back to its pre-init state.

Disable ( ) : void

Disable the AutoComplete.

Enable ( ) : void

Enable the AutoComplete.

Methods ( Fluqi.Widget.jAutoComplete.AutoComplete ac ) : System

Constructor

Search ( string searchParam ) : void

Triggers a search event, which, when data is available, then will display the suggestions; can be used by a selectbox-like button to open the suggestions when clicked. If no value argument is specified, the current input's value is used. Can be called with an empty string and minLength: 0 to display all items.

Search ( string searchParam, bool inDoubleQuotes ) : void

Triggers a search event, which, when data is available, then will display the suggestions; can be used by a selectbox-like button to open the suggestions when clicked. If no value argument is specified, the current input's value is used. Can be called with an empty string and minLength: 0 to display all items.

SearchJS ( string searchParam ) : void

Triggers a search event, which, when data is available, then will display the suggestions; can be used by a selectbox-like button to open the suggestions when clicked. If no value argument is specified, the current input's value is used. Can be called with an empty string and minLength: 0 to display all items. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

Widget ( ) : void

Returns the .ui-autocomplete element.

See http://jqueryui.com/demos/autocomplete/#method-widget for details.

Method Details

Close() public method

Close the Autocomplete menu. Useful in combination with the search method, to close the open menu.
public Close ( ) : void
return void

Destroy() public method

Remove the AutoComplete functionality completely. This will return the element back to its pre-init state.
public Destroy ( ) : void
return void

Disable() public method

Disable the AutoComplete.
public Disable ( ) : void
return void

Enable() public method

Enable the AutoComplete.
public Enable ( ) : void
return void

Methods() public method

Constructor
public Methods ( Fluqi.Widget.jAutoComplete.AutoComplete ac ) : System
ac Fluqi.Widget.jAutoComplete.AutoComplete Autocomplete object to be called
return System

Search() public method

Triggers a search event, which, when data is available, then will display the suggestions; can be used by a selectbox-like button to open the suggestions when clicked. If no value argument is specified, the current input's value is used. Can be called with an empty string and minLength: 0 to display all items.
public Search ( string searchParam ) : void
searchParam string Search string to use
return void

Search() public method

Triggers a search event, which, when data is available, then will display the suggestions; can be used by a selectbox-like button to open the suggestions when clicked. If no value argument is specified, the current input's value is used. Can be called with an empty string and minLength: 0 to display all items.
public Search ( string searchParam, bool inDoubleQuotes ) : void
searchParam string Search string to use
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
return void

SearchJS() public method

Triggers a search event, which, when data is available, then will display the suggestions; can be used by a selectbox-like button to open the suggestions when clicked. If no value argument is specified, the current input's value is used. Can be called with an empty string and minLength: 0 to display all items. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SearchJS ( string searchParam ) : void
searchParam string Search string to use
return void

Widget() public method

Returns the .ui-autocomplete element.
See http://jqueryui.com/demos/autocomplete/#method-widget for details.
public Widget ( ) : void
return void