Skip to main content

select_contents

Function select_contents 

Source
pub fn select_contents(id: &str)
Expand description

Focus the element id and select the text inside it, from its first character to its last, so the reader can copy it by hand. The selection runs over the text, not the box around it.