C# Класс Fluqi.Widget.jAutoComplete.Events

A set of events to apply to a set of jQuery UI AutoComplete.
Наследование: Core.Options
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

SetChangeEvent() публичный Метод

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
Результат Events

SetCloseEvent() публичный Метод

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
Результат Events

SetCreateEvent() публичный Метод

This event is triggered when autocomplete is created.
public SetCreateEvent ( string methodSource ) : Events
methodSource string
Результат Events

SetFocusEvent() публичный Метод

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
Результат Events

SetOpenEvent() публичный Метод

Triggered when the suggestion menu is opened.
public SetOpenEvent ( string methodSource ) : Events
methodSource string Source code to use when the event is called
Результат Events

SetResponseEvent() публичный Метод

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
Результат Events

SetSearchEvent() публичный Метод

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
Результат Events

SetSelectEvent() публичный Метод

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
Результат Events