Jump to Content
Front PlatformGuidesAPI ReferenceChangelogCommunity
GuidesAPI ReferenceChangelog
GuidesAPI ReferenceChangelogCommunityFrontFront Platform
API Reference
Front
All
Pages
Start typing to search…
These docs are for v0.1.0. Click to read the latest docs for v1.0.0.

Plugin SDK

  • Getting Events From Front
    • Messages
    • Conversations
    • Contacts
  • Controlling Front
    • Unassign
    • Assign
    • Toggle Archived
    • Toggle Trashed
    • Open URL
    • Compose New Message
    • Compose Reply
    • Compose Forward
    • Update Draft
    • Tagging a Conversation
    • Untagging a Conversation
    • Moving a Conversation to an Inbox
    • Search
    • Insert HTML
    • Add Topic
    • Set Panel Width
  • Dialogs
    • Alert
    • Report
    • Confirm
    • Prompt
    • Prompt Date
    • Item List
    • Copy to Clipboard
  • Accessing Front Data
    • User Profile
    • Fetch Inboxes
    • Fetch Channels
    • Fetch Teammates
    • Fetch Tags
    • Fetch Notes
    • Fetch Draft

Copy to Clipboard

Front.copyToClipboard(payload)

Copy a string to the user's clipboard.

payload: string

The string to copy to the user's clipboard.

Front.copyToClipboard('payload');

Still got questions?

Visit our Developer Q&A