Is there a way to get a callback from click events? I'd like to update other components when a word is clicked.