Mojo.PatternMatching
| Method Name and Description |
|---|
|
Mojo.PatternMatching.addContactMatchFormatting(input, filter, template)
|
|
Mojo.PatternMatching.getContactPatternMatch(filter)
|
Method Detail
Properly highlight a contact string when it is being filtered/ matched
- Parameters:
- {Object} input
- text to change
- {Object} filter
- string to match
- {Object} template
- optional; what to use to draw the highlighting
Get the RegExp pattern for contacts where the first letter corresponds to first name and all other letters correspond to last name
- Parameters:
- {Object} filter
- string to match