Link click with metaKey or ctrlKey

Is there any way to determine whether a route transition was caused by a click while the user was holding the metaKey or ctrlKey? The normal behavior for those is to tell the browser to open the link in a new browser tab, but there are cases where apps would want to override that behavior.

I’d be equally happy, or even more so, with a way to do this with action instead of link-to.