Visit Mozilla.org

XUL:Method:addSession

From MDC

« XUL Reference home

addSession( session )
Return type: nsIAutoCompleteSession
Adds a new session object to the autocomplete widget. This can be used to create a customized autocomplete results list. The argument should be an object which implements the nsIAutoCompleteSession interface. This method returns the object passed in.