All Downloads are FREE. Search and download functionalities are using the official Maven repository.

js.web.dom.Clipboard Maven / Gradle / Ivy

package js.web.dom;

import js.lang.StringPromise;
import js.lang.VoidPromise;
import org.teavm.jso.JSBody;


public interface Clipboard extends EventTarget {
    @JSBody(script = "return Clipboard.prototype")
    static Clipboard prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(script = "return new Clipboard()")
    static Clipboard create() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    StringPromise readText();

    VoidPromise writeText(String data);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy