Module: ContactsMenu

Classes

Contact
ContactCollection
ContactsListItemView
ContactsListView
ContactsMenuView

Members

(inner) _actionMenuShown :boolean

Type:
  • boolean
Source:

(inner) _collection :ContactCollection

Type:
  • ContactCollection
Source:

(inner) _contacts :undefined|ContactCollection

Type:
  • undefined | ContactCollection
Source:

(inner) _contactsTemplate :undefined|function

Type:
  • undefined | function
Source:

(inner) _contentTemplate :undefined|function

Type:
  • undefined | function
Source:

(inner) _errorTemplate :undefined|function

Type:
  • undefined | function
Source:

(inner) _loadingTemplate :undefined|function

Type:
  • undefined | function
Source:

(inner) _model :Contact

Type:
  • Contact
Source:

(inner) _onSearch

Source:

(inner) _searchTerm :string

Type:
Source:

(inner) _subViews :array

Type:
  • array
Source:

(inner) _template :undefined|function

Type:
  • undefined | function
Source:

(inner) className :string

Type:
Source:

Methods

(inner) _onChildActionMenuToggle($src) → {undefined}

Event callback to propagate opening (another) entry's action menu
Parameters:
Name Type Description
$src type
Source:
Returns:
Type
undefined

(private, inner) _onOtherActionMenuOpened($src) → {undefined}

Parameters:
Name Type Description
$src jQuery
Source:
Returns:
Type
undefined

(private, inner) _onToggleActionsMenu() → {undefined}

Toggle the visibility of the action popover menu
Source:
Returns:
Type
undefined

(inner) contactsTemplate(data) → {string}

Parameters:
Name Type Description
data object
Source:
Returns:
Type
string

(inner) contentTemplate(data) → {string}

Parameters:
Name Type Description
data object
Source:
Returns:
Type
string

(inner) errorTemplate(data) → {string}

Parameters:
Name Type Description
data object
Source:
Returns:
Type
string

(inner) initialize(options) → {undefined}

Parameters:
Name Type Description
options object
Source:
Returns:
Type
undefined

(inner) initialize() → {undefined}

Source:
Returns:
Type
undefined

(inner) initialize(options) → {undefined}

Parameters:
Name Type Description
options object
Source:
Returns:
Type
undefined

(inner) initialize(options) → {undefined}

Parameters:
Name Type Description
options object
Source:
Returns:
Type
undefined

(inner) loadingTemplate(data) → {string}

Parameters:
Name Type Description
data object
Source:
Returns:
Type
string

(inner) render() → {self}

Source:
Returns:
Type
self

(inner) render() → {self}

Source:
Returns:
Type
self

(inner) render(data) → {self}

Parameters:
Name Type Description
data object
Source:
Returns:
Type
self

(inner) showContacts(viewData, searchTerm) → {undefined}

Parameters:
Name Type Description
viewData object
searchTerm string
Source:
Returns:
Type
undefined

(inner) showError() → {undefined}

Source:
Returns:
Type
undefined

(inner) showLoading(text) → {undefined}

Parameters:
Name Type Description
text string
Source:
Returns:
Type
undefined

(inner) template(data) → {undefined}

Parameters:
Name Type Description
data object
Source:
Returns:
Type
undefined