Stay organized with collections
Save and categorize content based on your preferences.
blockly > IPaster
IPaster interface
An object that can paste data into a workspace.
Signature:
export interface IPaster<U extends ICopyData, T extends ICopyable<U>>
Methods
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eIPaster\u003c/code\u003e interface defines objects capable of pasting data into a Blockly workspace.\u003c/p\u003e\n"],["\u003cp\u003eIt uses generics to handle different types of copy data and copyable elements.\u003c/p\u003e\n"],["\u003cp\u003eThe primary method, \u003ccode\u003epaste\u003c/code\u003e, inserts copied data into a specific workspace at a given coordinate.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [IPaster](./blockly.ipaster_interface.md)\n\nIPaster interface\n-----------------\n\nAn object that can paste data into a workspace.\n\n**Signature:** \n\n export interface IPaster\u003cU extends ICopyData, T extends ICopyable\u003cU\u003e\u003e \n\nMethods\n-------\n\n| Method | Description |\n|--------------------------------------------------------------------------------------------------|-------------|\n| [paste(copyData, workspace, coordinate)](./blockly.ipaster_interface.paste_1_methodsignature.md) | |"]]