Function quad_wasmnastics::clipboard::get_clipboard [−][src]
pub fn get_clipboard() -> Waiter<String>
Expand description
Try and get the string value off the clipboard. This could support other things (like images) but ehhhhh
Because the JS clipboard API is async
for some horrid reason, returns a Waiter.
If an error occurs on desktop it will return a Waiter that will never return Some.