Or does it only work with a Mouse OnClick?
Yes, they work for touch when your EventSystem sends pointer events from touches. This is the default when you have the mobile input standard asset installed via this menu item:
Assets -> Import Package -> CrossPlatformInput