Class ZmAddressInputField
Class Detail
ZmAddressInputField(params, autocompleteListView, inputId, templateId, type, strictMode, bubbleAddedCallback, bubbleRemovedCallback, bubbleMenuCreatedCallback, bubbleMenuResetOperationsCallback, noOutsideListening)
Creates an address input field that shows addresses as bubbles.
Author: Conrad Damon.
Method Detail
addBubble(params, address, match, bubble, index, skipNotify, noFocus, addClass, noParse)
Creates a bubble for the given address and adds it into the holding area. If the address
is a local group, it is expanded and the members are added individually.
addValue(text, skipNotify)
Adds address(es) to the input.
clear(skipNotify)
Removes all bubbles from the holding area.
getAddresses(asObjects)
Returns an ordered list of bubble addresses.
getSelection(bubble)
Returns a list of the currently selected bubbles. If a bubble has been selected via right-click,
but is not part of the current left-click selection, only it will be returned.
getValue()
Returns a string of concatenated bubble addresses.
{boolean}
handleDelete(checkInput)
Removes the selected bubble. If none are selected, selects the last one.
<static>
ZmAddressInputField.onHolderKeyClick(ev)
Handle arrow up, arrow down for bubble holder
<static>
ZmAddressInputField.onPaste(ev)
Makes bubbles out of addresses in pasted text.
<static>
ZmAddressInputField.removeBubble(bubbleId, skipNotify)
Removes the bubble with the given ID from the holding area.
removeBubble(bubbleId, skipNotify)
Removes the bubble with the given ID from the holding area.
setInputValue(text)
Sets the value of the input without looking for email addresses. No bubbles will be added.
setSelected(bubble, selected)
Sets selection of the given bubble.
setValue(text, add, skipNotify, invokeAutocomplete)
Parses the given text into email addresses, and adds a bubble for each one
that we don't already have. Since text is passed in, we don't recognize expandable DLs.
A bubble may be added for a string even if it doesn't parse as an email address.
|
||||||||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:40 GMT-0400 (EDT)
|