Class: SlickCompleteItem

SlickCompleteItem(id, text, name, icon)

SlickCompleteItem Class used to handle the SlickComplete module's predictions

Constructor

new SlickCompleteItem(id, text, name, icon)

Creates an instance of SlickCompleteItem
Parameters:
Name Type Description
id String | Number Item's ID
text String Text matching the user's input
name String Item's locale name
icon String Item's icon URL
Source: