Home / Function/ copyToClipboardWithMeta() — ui Function Reference

copyToClipboardWithMeta() — ui Function Reference

Architecture documentation for the copyToClipboardWithMeta() function in copy-button.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  950171c6_2456_bafd_9876_2b64c35e4630["copyToClipboardWithMeta()"]
  40c3b834_cac9_e0e3_2ccf_6a31f24f5b75["copy-button.tsx"]
  950171c6_2456_bafd_9876_2b64c35e4630 -->|defined in| 40c3b834_cac9_e0e3_2ccf_6a31f24f5b75
  6ee147a3_3075_9284_ee27_5495a885fb25["CopyButton()"]
  6ee147a3_3075_9284_ee27_5495a885fb25 -->|calls| 950171c6_2456_bafd_9876_2b64c35e4630
  4586c846_46c8_b5f5_983c_f1c4c9f97eb7["CopyWithClassNames()"]
  4586c846_46c8_b5f5_983c_f1c4c9f97eb7 -->|calls| 950171c6_2456_bafd_9876_2b64c35e4630
  4858f616_0bda_77ab_22ed_3eec46893e73["CopyNpmCommandButton()"]
  4858f616_0bda_77ab_22ed_3eec46893e73 -->|calls| 950171c6_2456_bafd_9876_2b64c35e4630
  style 950171c6_2456_bafd_9876_2b64c35e4630 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/components/copy-button.tsx lines 24–29

export async function copyToClipboardWithMeta(value: string, event?: Event) {
  navigator.clipboard.writeText(value)
  if (event) {
    trackEvent(event)
  }
}

Subdomains

Frequently Asked Questions

What does copyToClipboardWithMeta() do?
copyToClipboardWithMeta() is a function in the ui codebase, defined in deprecated/www/components/copy-button.tsx.
Where is copyToClipboardWithMeta() defined?
copyToClipboardWithMeta() is defined in deprecated/www/components/copy-button.tsx at line 24.
What calls copyToClipboardWithMeta()?
copyToClipboardWithMeta() is called by 3 function(s): CopyButton, CopyNpmCommandButton, CopyWithClassNames.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free