Copy link to clipboard
Copied
I currently have a listbox with the onDoubleClick event applied to list items. Is there an onclick event available for list items?
my code like this now
const list_folder = group_left.add('listbox', undefined, undefined, { name: 'list_folder', items: [] });
list_folder.onDoubleClick = update_list_file;
// list_folder.onClik ?
or
// listitem.onClik ?
Copy link to clipboard
Copied
I believe a listbox has onDoubleClick and onChange callbacks, but not onClick (haven't tested it though).
Copy link to clipboard
Copied
thanks for you reply, i try a lot, like listitem.addEventListener, not work too~ T_T