Zimlet JavaScript API Reference - ZmContactSearch

Class ZmContactSearch


Extends DwtComposite TODO: scroll-based paging TODO: adapt for contact picker and attachcontacts zimlet.

This class creates and manages a component that lets the user search for and select one or more contacts. It is intended to be plugged into a larger component such as a dialog or a tab view.

Defined in: ZmContactSearch.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ZmContactSearch(params, parent, className, options, preamble, searchFor, showEmails)
Creates a component that lets the user search for and select one or more contacts.
Method Summary
Method Attributes Method Name and Description
 
search(ascending, firstTime, lastId, lastSortVal)
Performs a search.
 
Returns a string representation of the object.
Class Detail
ZmContactSearch(params, parent, className, options, preamble, searchFor, showEmails)
Creates a component that lets the user search for and select one or more contacts.
Author: Conrad Damon.
Parameters:
{hash} params
hash of parameters:
{DwtComposite} parent
the containing widget
{string} className
the CSS class
{hash} options
hash of options:
{string} preamble
explanatory text
{array} searchFor
list of ZmContactsApp.SEARCHFOR_*
{boolean} showEmails
if true, show each email in results
Method Detail
search(ascending, firstTime, lastId, lastSortVal)
Performs a search.
Parameters:
ascending
firstTime
lastId
lastSortVal

{String} toString()
Returns a string representation of the object.
Returns:
{String} a string representation of the object

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:31 GMT-0400 (EDT)