@launchmenu/core
Version:
An environment for visual keyboard controlled applets
14 lines • 618 B
TypeScript
import { ITextField } from "../../_types/ITextField";
import { InsertTextCommand } from "./InsertTextCommand";
/** A command to paste text at the caret */
export declare class PasteTextCommand extends InsertTextCommand {
/** A promises that resolves whether any text was present to paste */
readonly pasted: Promise<boolean>;
protected resolve?: (pasted: boolean) => void;
/**
* Creates a new command to paste the copied text
* @param targetField The text field to paste the text in
*/
constructor(textField: ITextField);
}
//# sourceMappingURL=PasteTextCommand.d.ts.map