Called when the picker should close: on Escape, or a click outside it. Only Escape should move focus back to the field.
Called with the full class of the icon picked.
OptionaltoggleShown before the search box, such as the button that opened the picker, so the picker can stand in for the field it belongs to.
OptionalvalueThe class currently chosen, e.g. fas fa-bolt.
Any other virtual element properties, including attributes and event handlers.