Skip to main content

copy_by_command

Function copy_by_command 

Source
pub fn copy_by_command(text: &str) -> bool
Expand description

Copy text with the browser’s copy command, from a textarea placed off screen for the moment it takes: the way to the clipboard on a page with no Clipboard API, inside a click. Nothing the reader sees is selected. True when the browser says it copied.