onClick

val onClick: (handleInput: (TextInputCommand) -> Unit) -> Unit

Action to be executed when the user selects this suggestion. The method will be passed the editor's input handler as a parameter, so you can do edits to the source.