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).
Afficher le fichier Open project: toepoke/Fluqi

Méthodes publiques

Méthode 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 méthode

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

Destroy() public méthode

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

Disable() public méthode

Disable the AutoComplete.
public Disable ( ) : void
Résultat void

Enable() public méthode

Enable the AutoComplete.
public Enable ( ) : void
Résultat void

Methods() public méthode

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

Search() public méthode

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
Résultat void

Search() public méthode

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 (') ///
Résultat void

SearchJS() public méthode

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
Résultat void

Widget() public méthode

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