Theia API Documentation v1.77.0
    Preparing search index...

    Access to the system clipboard. Reading may require a user permission prompt in browsers.

    interface ClipboardService {
        onDidWriteText?: Event<string>;
        readText(): MaybePromise<string>;
        writeText(value: string): MaybePromise<void>;
    }

    Implemented by

    Index
    onDidWriteText?: Event<string>

    Emitted with the written text after writeText updated the clipboard. Such writes dispatch no DOM copy event, so this is the only way to observe them.