Readonly
matchThe number of matches
Readonly
searchState which indicates the status of possible ongoing searches
Get / set the current search string. Note, setting will not start searching
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Notify the controller that the user wishes to enter the current text. If aIsPopupSelection is true, then a selection was made from the popup, so fill this value into the input field before continuing. If false, just use the current value of the input field.
Whether the controller wishes to prevent event propagation and default event.
Pass true if the selection was made from the popup.
The event that triggered the enter, like a key event if the user pressed the Return key or a click event if the user clicked a popup item.
Notify the controller of the following key navigation events: up, down, left, right, page up, page down
Whether the controller wishes to prevent event propagation and default event
Notify the controller that the user has changed text in the textbox. This includes all means of changing the text value, including typing a character, backspacing, deleting, pasting, committing composition or canceling composition.
NOTE: handleText() must be called after composition actually ends, even if the composition is canceled and the textbox value isn't changed. Then, implementation of handleText() can access the editor when it's not in composing mode. DOM compositionend event is not good timing for calling handleText(). DOM input event immediately after DOM compositionend event is the best timing to call this.
whether this handler started a new search.
Set the index of the result item that should be initially selected. This should be used when a search wants to pre-select an element before the user starts using results.
Setting this is not the same as just setting selectedIndex in nsIAutocompletePopup, since this will take care of updating any internal tracking variables of features like completeSelectedIndex.
Generated using TypeDoc
The input widget that is currently being controlled.