feat(event): call function onSelect