public final class Clipboard extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
readText(com.vaadin.flow.function.SerializableConsumer<String> callback)
Read the current content of the devices clipboard.
|
static void |
writeText(String text)
Write a string into the devices clipboard.
|
public static void readText(com.vaadin.flow.function.SerializableConsumer<String> callback)
callback - The callback that consumes the text received from the devices clipboard.public static void writeText(String text)
text - The text that should be written to the clipboard.Copyright © 2020 XDEV Software Corp.. All rights reserved.