UnreviewedUnreviewedcopy: stringText copied to the clipboard on activation.
Optional UnreviewedcopyWithUrl?: booleanPrefix the copied text with // URL: <current page URL>.
Optional UnreviewedonCopyRequest?: () => voidRefresh a dynamic copy value before activation. Set the new string in
application state so the next render updates copy. Return values are
ignored. Fires on pointerdown and Enter/Space keydown.
Optional UnreviewedonCopied?: (ok: boolean) => voidFires after the copy attempt with whether it succeeded.
OptionalcopyNode?: neverOptionalcopyUrl?: neverUnreviewedcopyNode: boolean | stringCopy a DOM node as rich text (text/html) + plain text. true copies
the nearest ancestor marked data-copy-source; a string is a CSS
selector for an ancestor region (closest). The copy control is stripped
from the copied output.
Optional UnreviewedonCopied?: (ok: boolean) => voidFires after the copy attempt with whether it succeeded.
Optionalcopy?: neverOptionalcopyUrl?: neverOptionalcopyWithUrl?: neverOptionalonCopyRequest?: neverUnreviewedcopyUrl: trueCopy the current page URL (location.href).
Optional UnreviewedonCopied?: (ok: boolean) => voidFires after the copy attempt with whether it succeeded.
Optionalcopy?: neverOptionalcopyNode?: neverOptionalcopyWithUrl?: neverOptionalonCopyRequest?: never
The copy target for a copy preset (
ButtonCopy/MenuItemCopy) — exactly one of a literal string, a DOM region, or the page URL. The write itself is performed by the slotted<a-copy>element; these props map to its attributes viacopyElementProps.copyWithUrl/onCopyRequestare only meaningful for the string target, so the union pins themneverelsewhere.