Home > blockly > clipboard > getLastCopiedData
clipboard.getLastCopiedData() function
Gets the copy data for the last item copied. This is useful if you are implementing custom copy/paste behavior. If you want the default behavior, just use the copy and paste methods directly.
Signature:
export declare function getLastCopiedData(): ICopyable.ICopyData | null;
Returns:
ICopyable.ICopyData | null
copy data for the last item copied, or null if none set.