Digia Academy
Digia StudioDiscordLinkedIn
  • Introduction
    • FAQs
  • What's New
    • 2024
      • March
  • DIGIA STUDIO INTRODUCTION
    • Dashboard
    • Builder Tool
      • Navigation Menu
      • Tool Bar
      • Pages and Widgets Panel
      • Canvas Area
      • Properties Panel
    • Creating a New Project
    • Creating new Pages
    • Working with Widget Tree
    • Build Your First App
      • Hello World
      • Bytes App
        • Onboarding
        • Defining API Calls
        • Courses
        • Articles
        • Viewing your App
    • SDK Integration
      • Insert Single Pages from Digia Studio
  • Actions
    • Call API Rest Action
    • Call Rest API
    • Pop Current
    • Pop to Route
    • openUrl
    • Go To Page
    • Post Message
    • Set Page State
    • Wait (delay)
    • Drawer
    • Toast
    • Open Dialog
    • Share
    • Copy to Clipboard
  • Operations
    • API Call
    • Operators
      • Json Operators
      • Logical Operators
      • Date Time Operators
      • Math Operators
      • String Operations
  • BUILDING UI
    • Widgets
      • Form Widgets
        • PinField
        • Calendar
        • Text Form Field
      • Base Widgets
        • Animated Button
        • Check Box
        • Video Player
        • Spacer
        • Stack
        • Wrap
        • Text
        • Avatar
        • Rich Text
        • Image
        • Button
        • Icon
        • Switch
        • Sized Box
        • HtmlView
        • Lottie Animation
        • Linear Progress Bar
        • YouTube Player
        • Circular Progress Bar
      • Layout Widgets
        • ListView
        • Web View
        • Future Builder
        • Conditional Builder
        • Stream Builder
        • GridView
        • Column
        • Row
        • Container
        • Expandable
        • Divider (Horizontal)
        • Divider (Vertical)
        • Carousel
      • Persistent Footers Widgets
        • NavigationBar Widget
      • Page Widgets
        • Stepper Widget
        • Scaffold Widget
        • Paginated Listview Widget
        • TabView
        • AppBar
      • Widget Commonalities
    • Event Handlers
  • Theme
    • Colors
    • Typography
  • DATA AND BACKEND
    • API Calls
      • Setting up API Calls
      • Create API Calls
      • Import API From Curl
  • DEPLOYING YOUR APP
    • Deployment
    • Release History
  • Settings
    • App Settings
    • App Assets
    • Media Assets
  • JARGON
    • Data integration
Powered by GitBook
On this page
  • Adding the Copy to Clipboard Action:
  • Benefits:
  1. Actions

Copy to Clipboard

PreviousShareNextOperations

Last updated 2 months ago

Using this action, you can enable users to easily copy a specific piece of text to their clipboard with a single click.

Adding the Copy to Clipboard Action:

  1. Select the Widget (e.g., Button) on which you want to add the action. This could be any widget that triggers an action flow (e.g., button click).

  2. In the right-side properties panel, navigate to "On Click" (if available) and click the "+" button to add a new action for the selected element.

  3. Select the option "Copy to Clipboard" from the dropdown menu. This will add the Copy to Clipboard action to your workflow.

  4. Enter the Text: In the designated field that appears when you select "Copy to Clipboard," enter the exact text content you want users to be able to copy. This is typically mandatory for the action to function correctly.

Benefits:

  • Improved User Experience: This action simplifies the process of copying text, reducing the need for manual selection and pasting.

  • Increased Efficiency: Users can quickly copy relevant information within your app without interrupting their workflow.

  • Applicable Scenarios: This action is useful for various situations, including:

    • Copying promo codes or discount coupons.

    • Copying usernames, passwords, or other login credentials (ensure proper security considerations when using this for sensitive information).

    • Copying URLs or links to specific resources within your app.