property UseCardLinkResult.handledAsNewTab

Opens the page in a new tab and returns true when e is a ctrl, cmd or shift click away from any anchor. A click handler that plays media calls it first, so that such a click opens the page instead.

Type

(e: MouseEvent) => boolean

Usage

import { type UseCardLinkResult } from "src/hooks/shared/useCardLink.ts";