Closed komxvl closed 4 years ago
You want to open mention list after clicking a button?
@komxvl on selecting an input create a span element inside which you place the selected element. To that span element add an event listener and within the event function generate a keyboard event somewhat like this
const event = new KeyboardEvent("keydown", { key : `@`, code : `Digit2`});
How I can to show mention list when click on @items. Like this