clipboard

stores the object with current clipboard data

object clipboard;

Example

const buffer = $$("fm").getState().clipboard;
// or
const buffer = $$("fm").config.clipboard;

Details

The object stores the current clipboard data being pasted. It contains an array of the file ID(s) and the mode for pasting ("cut" or "copy"). The object has the following structure:

 {
    files: ["/meow.mp3"],
    mode: "copy"
 }
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.