C# Class Fluqi.Widget.jAutoComplete.Events

A set of events to apply to a set of jQuery UI AutoComplete.
Inheritance: Core.Options
Datei anzeigen Open project: toepoke/Fluqi

Public Methods

Method Description
SetChangeEvent ( string methodSource ) : Events

Triggered when the field is blurred, if the value has changed; ui.item refers to the selected item.

SetCloseEvent ( string methodSource ) : Events

When the list is hidden - doesn't have to occur together with a change.

SetCreateEvent ( string methodSource ) : Events

This event is triggered when autocomplete is created.

SetFocusEvent ( string methodSource ) : Events

Before focus is moved to an item (not selecting), ui.item refers to the focused item. The default action of focus is to replace the text field's value with the value of the focused item, though only if the focus event was triggered by a keyboard interaction. Canceling this event prevents the value from being updated, but does not prevent the menu item from being focused.

SetOpenEvent ( string methodSource ) : Events

Triggered when the suggestion menu is opened.

SetResponseEvent ( string methodSource ) : Events

Triggered after a search completes, but before the menu is shown. Useful for local manipuation of suggestion data, where a custom "source" option callback is not required. This event is always triggered when a search completes, even if the menu will not be shown because there are no results or the Autocomplete is disabled.

SetSearchEvent ( string methodSource ) : Events

Specifies the code that should be used when event is called from jQuery. Note that you shouldn't include any function prototype information as Fluqi does this part for you.

SetSelectEvent ( string methodSource ) : Events

Triggered when an item is selected from the menu; ui.item refers to the selected item. The default action of select is to replace the text field's value with the value of the selected item. Canceling this event prevents the value from being updated, but does not prevent the menu from closing.

Method Details

SetChangeEvent() public method

Triggered when the field is blurred, if the value has changed; ui.item refers to the selected item.
public SetChangeEvent ( string methodSource ) : Events
methodSource string Source code to use when the event is called
return Events

SetCloseEvent() public method

When the list is hidden - doesn't have to occur together with a change.
public SetCloseEvent ( string methodSource ) : Events
methodSource string Source code to use when the event is called
return Events

SetCreateEvent() public method

This event is triggered when autocomplete is created.
public SetCreateEvent ( string methodSource ) : Events
methodSource string
return Events

SetFocusEvent() public method

Before focus is moved to an item (not selecting), ui.item refers to the focused item. The default action of focus is to replace the text field's value with the value of the focused item, though only if the focus event was triggered by a keyboard interaction. Canceling this event prevents the value from being updated, but does not prevent the menu item from being focused.
public SetFocusEvent ( string methodSource ) : Events
methodSource string Source code to use when the event is called
return Events

SetOpenEvent() public method

Triggered when the suggestion menu is opened.
public SetOpenEvent ( string methodSource ) : Events
methodSource string Source code to use when the event is called
return Events

SetResponseEvent() public method

Triggered after a search completes, but before the menu is shown. Useful for local manipuation of suggestion data, where a custom "source" option callback is not required. This event is always triggered when a search completes, even if the menu will not be shown because there are no results or the Autocomplete is disabled.
public SetResponseEvent ( string methodSource ) : Events
methodSource string
return Events

SetSearchEvent() public method

Specifies the code that should be used when event is called from jQuery. Note that you shouldn't include any function prototype information as Fluqi does this part for you.
public SetSearchEvent ( string methodSource ) : Events
methodSource string Source code to use when the event is called
return Events

SetSelectEvent() public method

Triggered when an item is selected from the menu; ui.item refers to the selected item. The default action of select is to replace the text field's value with the value of the selected item. Canceling this event prevents the value from being updated, but does not prevent the menu from closing.
public SetSelectEvent ( string methodSource ) : Events
methodSource string Source code to use when the event is called
return Events