Skip to main content

set_text

Function set_text 

Source
pub fn set_text(sel: &Selection<'_>, new_text: &str)
Expand description

Set text before first child element.

Removes existing pre-element text and inserts new text.