awesomplete
awesomplete copied to clipboard
Value return by item()
Please tell me what I should return from the item() function? The existing documentation does not specify what the return format should be other than a list item. How can I create a satisfactory list item ?
Function that takes two parameters, the first one being the suggestion text and the second one the user’s input and returns a list item.