Add an event emit for clicking

Add an event emit for clicking, passing the selector.